/* ===================================
   THEPADELFORGE - ULTRA-SIMPLE BRANDING
   Single Font, Minimal Colors, Product-First
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* White Background, Dark Text, Electric Blue Accent */
    --white: #FFFFFF;
    --black: #0A0A0A;
    --grey-dark: #1A1A1A;
    --grey: #666666;
    --grey-light: #999999;
    --blue: #0066FF;
    --blue-dark: #0052CC;
    --border: #E5E5E5;
    --bg-light: #F8F9FA;

    /* Single Font Family */
    --font: 'Inter', -apple-system, system-ui, sans-serif;

    /* Spacing */
    --container: 1200px;
    --section: 120px;
    --gap: 24px;

    /* Minimal Effects */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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);
}

/* ===================================
   TYPOGRAPHY - SINGLE FONT, VARYING WEIGHTS
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(20px, 3vw, 32px); }
h4 { font-size: 20px; }

p { color: var(--grey); }

/* ===================================
   NAVIGATION - MINIMAL
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 16px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 35px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--grey);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s var(--ease);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--blue);
}

.cta-btn {
    background: var(--blue);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s var(--ease);
}

.cta-btn:hover {
    background: var(--blue-dark);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--black);
}

/* Language Selector Dropdown */
.language-selector {
    position: relative;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    background: var(--white);
}

.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);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease);
    z-index: 1000;
}

.language-selector.open .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--grey-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s var(--ease);
    border-bottom: 1px solid var(--bg-light);
}

.language-dropdown a:last-child {
    border-bottom: none;
}

.language-dropdown a:hover {
    background: var(--bg-light);
    color: var(--blue);
}

.language-dropdown a.active {
    background: var(--blue);
    color: var(--white);
}

.language-dropdown .lang-flag {
    font-size: 18px;
}

.language-dropdown .lang-name {
    flex: 1;
}

/* ===================================
   HERO - PRODUCT FIRST
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--grey);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
    max-width: 800px;
    margin: 0 auto;
}

.trust-item {
    text-align: center;
    animation: scaleIn 0.5s var(--ease) forwards;
    opacity: 0;
}

.trust-number {
    display: block;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.trust-label {
    font-size: 13px;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* ===================================
   BUTTONS - MINIMAL
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s var(--ease);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--black);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-outline {
    background: transparent;
    color: var(--black);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* ===================================
   SECTIONS - SIMPLE
   =================================== */
section {
    padding: var(--section) 0;
}

.quality-section {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 50%, #F0F7FF 100%);
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    color: var(--grey);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--grey);
    line-height: 1.6;
    margin-top: 16px;
}

/* ===================================
   PRODUCT GRID - SIMPLE
   =================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: var(--border);
}

.product-card {
    background: var(--white);
    padding: 60px 40px;
    transition: all 0.3s var(--ease);
    animation: fadeInUp 0.6s var(--ease) forwards;
    opacity: 0;
}

.product-card:hover {
    background: var(--bg-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.product-visual {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.product-card:hover .product-visual {
    background: var(--blue);
    transform: scale(1.1) rotate(5deg);
}

.product-icon {
    font-size: 36px;
}

.product-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-card p {
    font-size: 15px;
    line-height: 1.6;
}

.specs-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.specs-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--grey);
    font-size: 14px;
}

.specs-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

/* ===================================
   FOOTER - MINIMAL
   =================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col p {
    color: var(--grey);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact a {
    color: var(--blue);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s var(--ease);
}

.footer-contact a:hover {
    color: var(--blue-dark);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--grey);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--grey);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s var(--ease);
}

.footer-col ul li a:hover {
    color: var(--blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--grey);
    font-size: 13px;
}

.footer-bottom a {
    color: var(--grey);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.footer-bottom a:hover {
    color: var(--blue);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 968px) {
    :root {
        --section: 80px;
    }

    .nav-menu {
        position: fixed;
        top: 81px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 40px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform 0.3s var(--ease);
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-cta {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    :root {
        --section: 60px;
    }

    .hero-trust {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s var(--ease) forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }

.trust-item:nth-child(1) { animation-delay: 0.2s; }
.trust-item:nth-child(2) { animation-delay: 0.3s; }
.trust-item:nth-child(3) { animation-delay: 0.4s; }

/* Section animations on scroll */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Image hover effects */
.terrain-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.terrain-image img {
    transition: transform 0.5s var(--ease);
}

.product-card:hover .terrain-image img {
    transform: scale(1.05);
}

.hero-content h1 {
    animation: fadeInUp 0.8s var(--ease) forwards;
}

.hero-subtitle {
    animation: fadeInUp 0.8s var(--ease) 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeInUp 0.8s var(--ease) 0.4s forwards;
    opacity: 0;
}

/* Hover effects */
.btn {
    position: relative;
    overflow: hidden;
    transform-origin: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s var(--ease), height 0.5s var(--ease);
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

/* Pulse animation for CTA buttons */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(0, 102, 255, 0);
    }
}

.btn-primary {
    animation: pulse 3s infinite;
}

.btn-primary:hover {
    animation: none;
}

/* Navbar link hover effect */
.nav-menu a {
    position: relative;
}

.nav-menu a:not(.cta-btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.3s var(--ease);
}

.nav-menu a:not(.cta-btn):hover::after,
.nav-menu a:not(.cta-btn).active::after {
    width: 100%;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center { text-align: center; }
.text-grey { color: var(--grey); }
.mt-sm { margin-top: 20px; }
.mt-md { margin-top: 40px; }
.mt-lg { margin-top: 60px; }
.mb-sm { margin-bottom: 20px; }
.mb-md { margin-bottom: 40px; }
.mb-lg { margin-bottom: 60px; }
