/* ===================================
   NEX UG - B2B TRADE COMPANY
   INDUSTRIAL ELEGANCE REDESIGN
   =================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--surface);
    line-height: 1.6;
}

/* ===================================
   CSS VARIABLES - NEW DESIGN SYSTEM
   =================================== */

:root {
    /* Primary - Deep Charcoal/Slate */
    --primary: #1a1a2e;
    --primary-light: #2d2d44;
    --primary-lighter: #3d3d5c;

    /* Accent - Warm Gold */
    --accent: #c9a227;
    --accent-light: #d4b24a;
    --accent-dark: #a8871f;

    /* CTA - Deep Green */
    --cta: #2d5a27;
    --cta-hover: #3d7a37;

    /* Surfaces */
    --surface: #f8f7f4;
    --surface-alt: #edeae3;
    --surface-white: #ffffff;

    /* Text */
    --text-primary: #1a1a2e;
    --text-secondary: #5a5a6e;
    --text-muted: #8a8a9a;

    /* Borders */
    --border-color: #e0ddd6;
    --border-dark: #ccc9c0;

    /* Spacing System (4px base) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows - Subtle */
    --shadow-sm: 0 1px 3px rgba(26,26,46,0.06);
    --shadow-md: 0 4px 12px rgba(26,26,46,0.08);
    --shadow-lg: 0 8px 24px rgba(26,26,46,0.12);
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-primary);
    font-weight: 600;
}

h1 {
    font-size: 56px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-4);
}

h3 {
    font-size: 28px;
    line-height: 1.3;
}

h4 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent);
}

ul, ol {
    list-style: none;
}

/* Small caps utility */
.small-caps {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ===================================
   LAYOUT
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    width: 100%;
}

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--surface-alt);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    background: transparent;
    transition: all 0.3s ease;
    z-index: 1000;
}

.site-header.scrolled {
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.02em;
    color: var(--primary);
    transition: color 0.2s ease;
}

.logo:hover {
    color: var(--accent);
}

.logo-text {
    display: flex;
    align-items: baseline;
}

.main-nav {
    display: flex;
    gap: var(--space-8);
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-primary);
    position: relative;
    padding: 4px 0;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-cta {
    padding: 12px 24px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .main-nav,
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-6);
}

.mobile-nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 18px;
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--border-color);
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    color: white;
}

.btn-accent {
    background: var(--accent);
    color: var(--primary);
}

.btn-accent:hover {
    background: var(--accent-light);
    color: var(--primary);
}

.btn-cta {
    background: var(--cta);
    color: white;
}

.btn-cta:hover {
    background: var(--cta-hover);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 14px 0;
}

.btn-ghost:hover {
    color: var(--accent);
}

/* ===================================
   HERO SECTION - SPLIT LAYOUT
   =================================== */

.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--surface);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-tagline {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-4);
}

.hero-content h1 {
    color: var(--text-primary);
    margin-bottom: var(--space-5);
}

.hero-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    align-items: center;
    margin-bottom: var(--space-10);
}

.hero-trust {
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-color);
}

.hero-trust-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.hero-logos {
    display: flex;
    gap: var(--space-6);
    align-items: center;
    opacity: 0.6;
}

.hero-logo {
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-logo svg {
    width: 100%;
    height: 100%;
}

/* Hero Visual - Abstract Composition */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-composition {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.composition-shape {
    position: absolute;
    border-radius: var(--radius-lg);
}

.shape-1 {
    width: 70%;
    height: 70%;
    background: var(--primary);
    top: 0;
    left: 0;
}

.shape-2 {
    width: 50%;
    height: 50%;
    background: var(--accent);
    bottom: 10%;
    right: 0;
}

.shape-3 {
    width: 40%;
    height: 40%;
    background: var(--surface-alt);
    border: 2px solid var(--border-color);
    bottom: 0;
    left: 15%;
}

.shape-accent {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    top: 20%;
    right: 20%;
}

@media (max-width: 1024px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-trust {
        text-align: center;
    }

    .hero-logos {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-composition {
        max-width: 350px;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

/* ===================================
   STATS BAR - HORIZONTAL INLINE
   =================================== */

.stats-bar {
    background: var(--surface-white);
    padding: var(--space-10) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-item {
    text-align: center;
    flex: 1;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .stats-content {
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 0 0 50%;
        padding: var(--space-4) 0;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-number {
        font-size: 36px;
    }
}

/* ===================================
   PRODUCT CATEGORIES - ASYMMETRIC
   =================================== */

.categories-section {
    padding: 120px 0;
}

.section-header {
    margin-bottom: var(--space-12);
}

.section-header h2 {
    margin-bottom: var(--space-3);
}

.section-header p {
    font-size: 18px;
    max-width: 500px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 1100px;
    margin: 0 auto;
}

.category-card {
    background: var(--surface-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.2s ease;
}

.category-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.category-image {
    aspect-ratio: 4/3;
    background: var(--surface-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-image svg {
    width: 60%;
    height: 60%;
    opacity: 0.3;
}

.category-text {
    padding: var(--space-6);
}

.category-text h3 {
    margin-bottom: var(--space-3);
    font-size: 22px;
}

.category-text p {
    margin-bottom: var(--space-4);
    font-size: 15px;
    line-height: 1.6;
}

.category-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.category-link:hover {
    color: var(--accent-dark);
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   FEATURES STRIP - HORIZONTAL
   =================================== */

.features-strip {
    background: var(--primary);
    padding: var(--space-12) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.feature-item {
    text-align: center;
    color: white;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
    stroke-width: 1.5;
    fill: none;
}

.feature-item h4 {
    color: white;
    font-size: 16px;
    margin-bottom: var(--space-2);
}

.feature-item p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   TESTIMONIAL - SINGLE FEATURED
   =================================== */

.testimonial-section {
    padding: 120px 0;
    background: var(--surface-alt);
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: var(--space-8);
}

.testimonial-quote::before {
    content: '"';
    display: block;
    font-size: 72px;
    color: var(--accent);
    line-height: 0.5;
    margin-bottom: var(--space-4);
}

.testimonial-divider {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 0 auto var(--space-6);
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.testimonial-company {
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .testimonial-quote {
        font-size: 24px;
    }
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    background: var(--primary);
    padding: 100px 60px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-4);
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin-bottom: var(--space-8);
}

/* ===================================
   FOOTER - SIMPLIFIED
   =================================== */

.site-footer {
    background: var(--primary);
    color: white;
    padding: var(--space-12) 0 var(--space-6);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: white;
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    max-width: 280px;
}

.footer-column h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a,
.footer-links li {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-legal a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

/* ===================================
   PAGE HERO (for other pages)
   =================================== */

.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--surface);
}

.page-hero-content {
    max-width: 700px;
}

.page-hero-content h1 {
    margin-bottom: var(--space-4);
}

.page-hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero-content h1 {
        font-size: 36px;
    }
}

/* ===================================
   SOLUTIONS SECTION
   =================================== */

.solutions-section {
    padding: 100px 0;
    background: var(--surface-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 1000px;
    margin: 0 auto;
}

.solution-card {
    padding: var(--space-8);
    background: var(--surface-white);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.solution-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.solution-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.solution-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    stroke-width: 1.5;
    fill: none;
}

.solution-card h4 {
    margin-bottom: var(--space-3);
    font-size: 20px;
}

.solution-card p {
    font-size: 15px;
    margin-bottom: var(--space-4);
}

.solution-card a {
    font-weight: 600;
    font-size: 14px;
    color: var(--accent);
}

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   BENEFITS SECTION
   =================================== */

.benefits-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.benefits-content h2 {
    margin-bottom: var(--space-4);
}

.benefits-content > p {
    margin-bottom: var(--space-8);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.benefit-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.benefit-check {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-check svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary);
    stroke-width: 2;
}

.benefit-text h4 {
    margin-bottom: var(--space-1);
    font-size: 16px;
}

.benefit-text p {
    font-size: 14px;
    color: var(--text-muted);
}

.benefits-visual {
    display: flex;
    justify-content: center;
}

.benefits-image {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: var(--primary);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.benefits-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    background: var(--accent);
    border-radius: var(--radius-lg) 0 0 0;
}

@media (max-width: 1024px) {
    .benefits-section {
        grid-template-columns: 1fr;
    }

    .benefits-visual {
        order: -1;
    }

    .benefits-image {
        max-width: 350px;
    }
}

/* ===================================
   CONTACT FORM STYLES
   =================================== */

.contact-section {
    padding: 100px 0;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--surface-white);
    padding: var(--space-10);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.form-title {
    text-align: center;
    margin-bottom: var(--space-8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 16px;
    background: var(--surface);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: var(--space-6);
    }
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-10);
}

.contact-card {
    background: var(--surface-white);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.2s ease;
}

.contact-card:hover {
    border-color: var(--accent);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    stroke-width: 1.5;
}

.contact-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    margin-bottom: var(--space-2);
}

.contact-card p {
    font-size: 15px;
}

.contact-card a {
    color: var(--accent);
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   LEGAL PAGE STYLES
   =================================== */

.legal-section {
    padding: 60px 0 100px;
}

.legal-container {
    max-width: 800px;
    background: var(--surface-white);
    padding: var(--space-10);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.legal-container h2 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border-color);
}

.legal-container h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    margin-top: var(--space-5);
    margin-bottom: var(--space-3);
}

.legal-container p {
    margin-bottom: var(--space-4);
}

.legal-container ul,
.legal-container ol {
    margin-left: var(--space-5);
    margin-bottom: var(--space-4);
}

.legal-container li {
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-6);
}

.legal-table tr {
    border-bottom: 1px solid var(--border-color);
}

.legal-table td {
    padding: var(--space-4);
    vertical-align: top;
}

.legal-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    width: 180px;
    background: var(--surface-alt);
}

/* ===================================
   ABOUT PAGE STYLES
   =================================== */

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image-placeholder {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: var(--primary);
    border-radius: var(--radius-lg);
    position: relative;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 50%;
    height: 50%;
    background: var(--accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-text h2 {
    margin-bottom: var(--space-4);
}

.about-text > p {
    margin-bottom: var(--space-4);
}

.milestones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-color);
}

.milestone {
    text-align: center;
}

.milestone-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.milestone-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .about-section {
        grid-template-columns: 1fr;
    }
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.value-card {
    background: var(--surface-white);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.value-card:hover {
    border-color: var(--accent);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.value-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
    stroke-width: 1.5;
    fill: none;
}

.value-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    margin-bottom: var(--space-2);
}

.value-card p {
    font-size: 15px;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.team-member {
    background: var(--surface-white);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
}

.member-avatar {
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    margin: 0 auto var(--space-4);
}

.team-member h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    margin-bottom: var(--space-1);
}

.member-role {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: var(--space-3);
}

.member-bio {
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   SERVICES PAGE STYLES
   =================================== */

.services-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    margin-bottom: var(--space-12);
}

.services-text h2 {
    margin-bottom: var(--space-4);
}

.services-text > p {
    margin-bottom: var(--space-6);
}

.services-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.services-feature {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
}

.services-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.services-feature-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary);
    stroke-width: 2;
}

.services-feature-text strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.services-feature-text p {
    font-size: 14px;
    color: var(--text-muted);
}

.services-image {
    display: flex;
    justify-content: center;
}

.services-image-placeholder {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/3;
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
    .services-section {
        grid-template-columns: 1fr;
    }

    .services-image {
        order: -1;
    }
}

/* ===================================
   FAQ Section
   =================================== */

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
    overflow: hidden;
}

.faq-question {
    padding: var(--space-5);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.faq-question h4 {
    font-size: 16px;
    margin: 0;
}

.faq-toggle {
    color: var(--accent);
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-5) var(--space-5);
    font-size: 15px;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mt-8 {
    margin-top: var(--space-8);
}

/* ===================================
   RESPONSIVE TYPOGRAPHY
   =================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-4);
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.section-animatable {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-animatable.section-visible {
    animation: slideUpFade 0.6s ease-out forwards;
}

/* Stagger animation for child elements */
.section-visible .category-card,
.section-visible .solution-card,
.section-visible .team-member,
.section-visible .value-card,
.section-visible .benefit-item {
    animation: slideUpFade 0.6s ease-out forwards;
}

.section-visible .category-card:nth-child(1),
.section-visible .solution-card:nth-child(1),
.section-visible .team-member:nth-child(1),
.section-visible .value-card:nth-child(1) {
    animation-delay: 0ms;
}

.section-visible .category-card:nth-child(2),
.section-visible .solution-card:nth-child(2),
.section-visible .team-member:nth-child(2),
.section-visible .value-card:nth-child(2) {
    animation-delay: 100ms;
}

.section-visible .category-card:nth-child(3),
.section-visible .solution-card:nth-child(3),
.section-visible .team-member:nth-child(3),
.section-visible .value-card:nth-child(3) {
    animation-delay: 200ms;
}

.section-visible .category-card:nth-child(4),
.section-visible .solution-card:nth-child(4),
.section-visible .team-member:nth-child(4),
.section-visible .value-card:nth-child(4) {
    animation-delay: 300ms;
}

.section-visible .category-card:nth-child(5),
.section-visible .solution-card:nth-child(5),
.section-visible .team-member:nth-child(5),
.section-visible .value-card:nth-child(5) {
    animation-delay: 400ms;
}

.section-visible .category-card:nth-child(6),
.section-visible .solution-card:nth-child(6),
.section-visible .team-member:nth-child(6),
.section-visible .value-card:nth-child(6) {
    animation-delay: 500ms;
}
