/* ===================================
   THEPADELFORGE - CLEAN REBUILD
   Mobile-First Responsive Design
   =================================== */

/* ===================================
   RESET & BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --white: #FFFFFF;
    --black: #0A0A0A;
    --grey-dark: #1A1A1A;
    --grey: #666666;
    --grey-light: #999999;
    --blue: #0066FF;
    --blue-dark: #0052CC;
    --border: #E5E5E5;
    --bg-light: #F8F9FA;

    /* Typography */
    --font: 'Inter', -apple-system, system-ui, sans-serif;

    /* Spacing */
    --container: 1200px;
    --section: 60px;
    --gap: 20px;

    /* Effects */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    :root {
        --section: 80px;
        --gap: 24px;
    }
}

@media (min-width: 1024px) {
    :root {
        --section: 100px;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gap);
    width: 100%;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--black);
}

h1 {
    font-size: 32px;
    margin-bottom: 16px;
}

h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    h1 { font-size: 48px; }
    h2 { font-size: 40px; }
    h3 { font-size: 28px; }
    h4 { font-size: 22px; }
}

@media (min-width: 1024px) {
    h1 { font-size: 64px; }
    h2 { font-size: 48px; }
    h3 { font-size: 32px; }
    h4 { font-size: 24px; }
}

p {
    color: var(--grey);
    margin-bottom: 16px;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 12px 0;
}

@media (min-width: 768px) {
    .navbar {
        padding: 16px 0;
    }
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-img {
    height: 28px;
    width: auto;
    display: block;
}

@media (min-width: 768px) {
    .logo-img {
        height: 35px;
    }
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s var(--ease);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* Navigation menu - Mobile first */
.nav-menu {
    position: fixed;
    top: 61px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 40px 20px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    list-style: none;
    overflow-y: auto;
    z-index: 999;
}

.nav-menu.active {
    transform: translateX(0);
}

.nav-menu li {
    margin-bottom: 24px;
}

/* Desktop navigation */
@media (min-width: 1024px) {
    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0;
        gap: 32px;
        transform: none;
        background: none;
        backdrop-filter: none;
        overflow-y: visible;
    }

    .nav-menu li {
        margin-bottom: 0;
    }
}

.nav-menu a {
    color: var(--grey);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s var(--ease);
    display: block;
}

@media (min-width: 1024px) {
    .nav-menu a {
        font-size: 15px;
        white-space: nowrap;
    }
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--blue);
}

/* CTA Button */
.cta-btn {
    background: var(--blue);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s var(--ease);
    text-align: center;
    white-space: nowrap;
    display: inline-block;
}

.cta-btn:hover {
    background: var(--blue-dark);
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    background: var(--white);
}

@media (min-width: 1024px) {
    .language-toggle {
        padding: 8px 12px;
        font-size: 13px;
    }
}

.language-toggle:hover {
    border-color: var(--blue);
    background: var(--bg-light);
}

.language-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s var(--ease);
}

.language-selector.open .language-toggle svg {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease);
    z-index: 1000;
}

@media (min-width: 1024px) {
    .language-dropdown {
        left: auto;
        right: 0;
        min-width: 160px;
    }
}

.language-selector.open .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    color: var(--grey-dark) !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s var(--ease);
    border-bottom: 1px solid var(--border);
}

.language-dropdown a:last-child {
    border-bottom: none;
}

.language-dropdown a:hover {
    background: var(--bg-light);
    color: var(--blue) !important;
}

.language-dropdown a.active {
    background: var(--bg-light);
    color: var(--blue) !important;
}

.lang-flag {
    font-size: 18px;
}

.lang-name {
    flex: 1;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s var(--ease);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--black);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--blue);
    color: var(--blue);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 1px solid var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    padding: calc(var(--section) + 60px) 0 var(--section) 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafe 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 102, 255, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 90% 60%, rgba(0, 102, 255, 0.08), transparent),
        radial-gradient(ellipse 70% 50% at 10% 80%, rgba(0, 102, 255, 0.06), transparent);
    animation: gradientFloat 18s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(0, 102, 255, 0.03) 30%,
        transparent 50%,
        rgba(0, 102, 255, 0.05) 70%,
        transparent 100%
    );
    background-size: 200% 200%;
    animation: waveMove 20s ease infinite;
    z-index: 0;
}

@keyframes gradientFloat {
    0%, 100% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    33% {
        opacity: 0.8;
        transform: translate(20px, -20px) scale(1.05);
    }
    66% {
        opacity: 0.9;
        transform: translate(-20px, 10px) scale(0.98);
    }
}

@keyframes waveMove {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: var(--black);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--grey);
    margin-bottom: 32px;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 20px;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        gap: 20px;
    }
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 32px;
    margin-top: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 8px;
}

.trust-label {
    display: block;
    font-size: 14px;
    color: var(--grey);
    font-weight: 500;
}

/* ===================================
   SECTIONS
   =================================== */
section {
    padding: var(--section) 0;
}

.section-bg {
    background: var(--bg-light);
}

.section-header {
    margin-bottom: 48px;
}

.section-header.center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--grey);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 20px;
    }
}

/* ===================================
   PRODUCT GRID
   =================================== */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.product-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}

@media (min-width: 768px) {
    .product-card {
        padding: 40px 32px;
    }
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--blue);
}

.product-card h3 {
    color: var(--black);
    margin-bottom: 16px;
}

.product-card p {
    color: var(--grey);
    font-size: 15px;
    line-height: 1.7;
}

/* ===================================
   OFFER BOXES
   =================================== */
.offer-box {
    background: var(--white);
    padding: 40px 24px;
    margin-bottom: 60px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

@media (min-width: 768px) {
    .offer-box {
        padding: 60px 40px;
    }
}

@media (min-width: 1024px) {
    .offer-box {
        padding: 80px 60px;
        margin-bottom: 80px;
    }
}

.offer-box-gradient {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 50%, #F0F7FF 100%);
    padding: 40px 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

@media (min-width: 768px) {
    .offer-box-gradient {
        padding: 60px 40px;
    }
}

@media (min-width: 1024px) {
    .offer-box-gradient {
        padding: 80px 60px;
    }
}

.offer-inner-box {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 8px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .offer-inner-box {
        padding: 40px 32px;
    }
}

.quality-section {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 50%, #F0F7FF 100%);
}

/* ===================================
   SPECS LIST
   =================================== */
.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--grey);
    font-size: 15px;
    line-height: 1.6;
}

.specs-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
    font-size: 16px;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.mt-md {
    margin-top: 24px;
}

.mt-lg {
    margin-top: 32px;
}

.center {
    text-align: center;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--grey-dark);
    color: var(--white);
    padding: 60px 0 24px 0;
}

@media (min-width: 768px) {
    .footer {
        padding: 80px 0 32px 0;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 60px;
    }
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.footer p {
    color: var(--grey-light);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-top: 16px;
}

.footer h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 16px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: var(--grey-light);
    text-decoration: none;
    transition: color 0.2s var(--ease);
    font-size: 14px;
}

.footer ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--grey-light);
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--blue);
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s var(--ease);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.scroll-top-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-4px);
}
