/* ============================================
   CSS Reset & Base Styles
   SeekUence - Exact Figma Implementation
   ============================================ */
   @font-face {
    font-family: "Bermula";
    src: url("/assets/fonts/bermula/Bermula Variable.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Bermula";
    src: url("/assets/fonts/bermula/Bermula Italic Variable.ttf") format("truetype");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
  }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Exact from Figma Design System */
    --color-bg-primary: #f0ebec;      /* next/30 */
    --color-bg-secondary: #ebe4e6;    /* next/40 */
    --color-bg-light: #f5f2f2;        /* next/10 */
    --color-bg-card: #eae2e5;         /* Card background */
    --color-text-primary: #130f10;    /* next/99 */
    --color-text-secondary: #473639;  /* next/80 */
    --color-text-light: #9f8187;      /* Muted text */
    --color-accent: #00ffb7;          /* Primary CTA */
    --color-accent-dark: #00e9a7;     /* CTA hover */
    --color-accent-teal: #2ed2e3;     /* follow/50 */
    --color-accent-green: #00dfa0;    /* step/60 */
    --color-gradient-cyan: #1cc2d3;   /* Gradient color */
    --color-divider: #e4d9db;         /* Divider lines */
    --color-tagline: #008b64;         /* step/80 */
    /* --color-footer-bg: #e1d7d9; */      /* next/50 */
    
    /* Typography - Exact Figma Font Definitions */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', sans-serif;
    --font-heading: 'Bermula', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Font Sizes - Exact from Figma */
    --font-size-hero: 120px;          /* Hero heading */
    --font-size-h1: 72px;             /* Headline-1 */
    --font-size-h2: 48px;             /* Headline-2 */
    --font-size-h3: 40px;             /* Headline-3 */
    --font-size-h4: 48px;             /* Process items */
    --font-size-logo: 35.724px;       /* Logo size */
    --font-size-body-xl: 24px;        /* Body-XL */
    --font-size-body-l: 20px;         /* Body-L */
    --font-size-body-m: 17px;         /* Body-M */
    --font-size-body-s: 14px;         /* Small text */
    
    /* Line Heights - Exact from Figma */
    --line-height-hero: 1;            /* Hero: 1.0 */
    --line-height-h1: 1.2;            /* Headlines: 1.2 */
    --line-height-h2: 1.3;            /* H2: 1.3 */
    --line-height-h3: 1.4;            /* H3: 1.4 */
    --line-height-body-xl: 1.8;       /* Body XL: 1.8 */
    --line-height-body-l: 1.6;        /* Body L: 1.6 */
    
    /* Letter Spacing - Exact from Figma */
    --letter-spacing-hero: -3.6px;    /* Hero */
    --letter-spacing-h1: -1.44px;     /* H1 */
    --letter-spacing-h2: -0.52px;     /* H2 */
    --letter-spacing-logo: -1.0717px; /* Logo */
    --letter-spacing-tagline: 4.2px;  /* Uppercase tagline */
    
    /* Spacing System - Figma Values */
    --spacing-xs: 8px;
    --spacing-sm: 13px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 80px;
    --spacing-4xl: 120px;
    --spacing-5xl: 163px;
    
    /* Layout */
    --container-max-width: 1600px;
    --container-max-width-xl: 1728px;
    --container-padding: 64px;
    --section-max-width: 1601px;
    
    /* Border Radius */
    --radius-sm: 24px;
    --radius-md: 32px;
    --radius-lg: 60px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows - Exact from Figma */
    --shadow-card: 25px 25px 53px 1px rgba(0, 0, 0, 0.11), -25px -25px 53px 1px rgba(255, 255, 255, .7),
    12px 12px 25px 1px rgba(0, 0, 0, 0.15), -12px -12px 25px 1px rgba(255, 255, 255, .9);
}

/* ============================================
   Typography & Base Elements
   ============================================ */

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: var(--line-height-body-l);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-text-primary);
    margin: 0;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

strong, b {
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

picture {
    display: block;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-text-primary);
    color: white;
    padding: 8px 16px;
    z-index: 100;
    text-decoration: none;
    border-radius: 4px;
}

.skip-link:focus {
    top: 8px;
    left: 8px;
}

.link {
    color: var(--color-accent-teal);
}

/* ============================================
   Container & Layout
   ============================================ */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
}

/* ============================================
   Header & Navigation - EXACT FIGMA VALUES
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(240, 235, 236, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent; /* Start with no visible border */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background-color: rgba(240, 235, 236, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(201, 184, 187, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 48px var(--container-padding);
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .nav {
    padding: 24px var(--container-padding);
}

.logo {
    font-family: var(--font-heading);
    font-size: var(--font-size-logo);
    font-weight: 400;
    line-height: normal;
    letter-spacing: var(--letter-spacing-logo);
    color: var(--color-text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .logo {
    font-size: calc(var(--font-size-logo) * 0.7);
    letter-spacing: calc(var(--letter-spacing-logo) * 0.7);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-menu a {
    font-size: var(--font-size-body-m);
    font-weight: 400;
    line-height: normal;
    position: relative;
    padding: 4px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .nav-menu a {
    font-size: calc(var(--font-size-body-m) * 0.85);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
    width: 100%;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: all var(--transition-base);
}

/* Mobile menu at 1024px */
@media (max-width: 1024px) {
    .nav {
        padding: var(--spacing-md) 20px;
    }
    
    .header.scrolled .nav {
        padding: 16px 20px;
    }
    
    .logo img {
        width: 130px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--color-bg-primary);
        flex-direction: column;
        padding: var(--spacing-xl) 20px;
        gap: var(--spacing-lg);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        z-index: 999;
        visibility: hidden;
    }
    
    .nav-menu[aria-expanded="true"] {
        transform: translateX(0);
        visibility: visible;
    }
    
    .nav-menu a {
        font-size: 20px;
        padding: var(--spacing-sm) 0;
    }
    
    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 768px) {
    .logo img {
        width: 120px;
    }
}

/* ============================================
   Hero Section - EXACT FIGMA VALUES
   ============================================ */

.hero {
    /*padding: var(--spacing-xl) 10px;*/
    min-height: clamp(600px, 90vh, 1120px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(32px, 4vw, 64px);
    flex: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    width: clamp(320px, 55vw, 768px);
    max-width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 7vw, 120px);
    font-weight: 400;
    line-height: var(--line-height-hero);
    letter-spacing: clamp(-1.44px, -0.03em, -3.6px);
    color: var(--color-text-primary);
}

.hero-description {
    font-size: clamp(16px, 1.5vw, 24px);
    font-weight: 400;
    line-height: var(--line-height-body-xl);
    color: var(--color-text-primary);
}

.hero-cta {
    margin-top: var(--spacing-lg);
}

.hero-image {
    position: relative;
    width: clamp(300px, 30vw, 768.555px);
    height: clamp(337px, 50.5vw, 863.597px);
    flex-shrink: 1;
    animation: fadeInRight 0.8s ease-out 0.2s both;
    max-width: 100%;
}

.hero-illustration {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    /* background: linear-gradient(135deg, var(--color-gradient-cyan) 0%, var(--color-accent-green) 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-tagline {
    display: flex;
    align-items: center;
    gap: 25px;
    justify-content: center;
    margin-top: auto;
    padding: 20px var(--container-padding);
}

.tagline-text {
    font-size: var(--font-size-body-s);
    font-weight: 400;
    letter-spacing: var(--letter-spacing-tagline);
    text-transform: uppercase;
    color: var(--color-tagline);
}

.tagline-icon {
    width: 36px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}
.tagline-icon img {
  position: relative;
  top:15px;
}

.hero-tagline:hover .tagline-icon {
    transform: translateY(5px);
}

/* Smooth scaling from desktop to tablet */
@media (max-width: 1440px) {
    .hero-container {
        gap: clamp(24px, 3vw, 64px);
    }
}

@media (max-width: 1200px) {
    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 20px;
    }
    
    .hero-container {
        flex-direction: column;
        gap: var(--spacing-2xl);
        align-items: center;
    }
    
    /* Image first on tablet/mobile */
    .hero-image {
        order: -1;
    }
    
    .hero-content {
        width: 100%;
        max-width: 768px;
        text-align: left;
        order: 1;
    }
    
    .hero-title {
        font-size: clamp(42px, 8vw, 72px);
    }
    
    .hero-description {
        font-size: clamp(18px, 3vw, 22px);
        line-height: 1.6;
    }
    
    .hero-image {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 0.89;
    }
    
    .hero-illustration {
        width: 100%;
        height: 100%;
    }
    
    .hero-illustration img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: var(--spacing-md) 10px;
    }
    
    .hero-container {
        gap: var(--spacing-xl);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: clamp(32px, 9vw, 48px);
    }
    
    .hero-description {
        font-size: clamp(16px, 4vw, 18px);
        line-height: 1.6;
    }
    
    .hero-image {
        max-width: 400px;
        width: 100%;
        height: auto;
        aspect-ratio: 0.89;
    }
    
    .hero-tagline {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .tagline-text {
        font-size: 11px;
        letter-spacing: 3px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 56px; /* Bigger on mobile as requested */
        letter-spacing: -1.5px;
    }
    
    .hero-description {
        font-size: 16px;
    }
}

/* Full width CTA buttons on tablet and mobile */
@media (max-width: 1024px) {
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-cta {
        width: 100%;
    }
}

/* ============================================
   Buttons - EXACT FIGMA VALUES
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 24px 50px;
    font-family: var(--font-primary);
    font-size: var(--font-size-body-l);
    font-weight: 700;
    line-height: normal;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.btn-primary {
    background: linear-gradient(90deg, #00ffb7 0%, #00ffea 100%);
    border: 2px solid #00e9a7;
    color: var(--color-text-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 255, 183, 0.4);
    background: linear-gradient(90deg, #00ffea 0%, #00ffb7 100%);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    transition-duration: 0.1s;
}

.btn-primary:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

/* ============================================
   Section Dividers
   ============================================ */

.section-divider {
    height: 0;
    width: calc(100% - 144.88px);
    max-width: 1571.48px;
    margin: 0 auto;
    position: relative;
    margin-top: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.section-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: -1px;
    height: 1px;
    background-color: var(--color-divider);
}

/* ============================================
   Section Base Styles
   ============================================ */

.section {
    position: relative;
    padding: var(--spacing-3xl) 0;
    /*overflow: hidden;*/
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-h1);
    font-weight: 400;
    line-height: var(--line-height-h1);
    letter-spacing: var(--letter-spacing-h1);
    color: var(--color-text-primary);
}

.section-title-center {
    text-align: center;
}

.section-title-light {
    color: var(--color-bg-light);
}

.section-intro {
    font-size: var(--font-size-body-l);
    font-weight: 400;
    line-height: var(--line-height-body-l);
    color: var(--color-text-secondary);
}

.section-content {
    position: relative;
    z-index: 1;
}

/* ============================================
   What Precision Means Section
   ============================================ */

.precision-section {
    padding: var(--spacing-3xl) 20px;
}

.precision-section .container {
    max-width: var(--container-max-width);
    display: flex;
    flex-direction: column;
    gap: 70px;
    align-items: center;
}

.precision-section .section-title-center {
    text-align: center;
    width: 100%;
}

.precision-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

.precision-card {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.precision-image-wrapper {
    position: relative;
    width: 100%;
    height: 514px;
    border-radius: 4px;
    overflow: hidden;
}

.precision-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle zoom on hover - image zooms but container stays fixed */
.precision-card:hover .precision-image-wrapper img {
    transform: scale(1.08);
}

.precision-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.precision-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-primary);
}

.precision-text {
    font-size: var(--font-size-body-m);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-primary);
}

/* Responsive: 2 columns on tablet */
@media (max-width: 1200px) {
    .precision-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .precision-image-wrapper {
        height: 400px;
    }
}

/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
    .precision-section .container {
        gap: 48px;
    }
    
    .precision-cards {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .precision-image-wrapper {
        height: 350px;
    }
    
    .precision-title {
        font-size: 24px;
    }
}

/* ============================================
   Why Us Section - EXACT FIGMA VALUES
   ============================================ */

.why-us-section {
    padding: var(--spacing-3xl) 20px;
    position: relative;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(2.32deg);
    width: 100%;
    max-width: var(--section-max-width);
    height: 887px;
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-md);
   
    z-index: 0;
}

.why-us-section .section-content {
    background-color: var(--color-bg-light);
    border-radius: var(--radius-md);
    padding: 75px;
    border: 1px solid var(--color-divider);
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    gap: var(--spacing-2xl);
    align-items: flex-start;
    overflow: hidden;
    position: relative;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    width: 416px;
    flex-shrink: 0;
}

.section-header .section-intro {
    margin-top: var(--spacing-spacing-xs);
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    width: 100%;
    max-width: 971px;
    padding-top: 14px;
}

.why-us-item {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
}

.why-us-number {
    font-family: var(--font-heading);
    font-size: var(--font-size-h2);
    font-weight: 400;
    line-height: var(--line-height-h2);
    letter-spacing: var(--letter-spacing-h2);
    color: var(--color-accent-green);
    width: 58px;
    flex-shrink: 0;
}

.why-us-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
    width: 100%;
    max-width: 876px;
}

.why-us-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.why-us-heading {
    font-family: var(--font-heading);
    font-size: var(--font-size-h2);
    font-weight: 400;
    line-height: var(--line-height-h2);
    letter-spacing: var(--letter-spacing-h2);
    color: var(--color-text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.why-us-text {
    font-size: var(--font-size-body-l);
    font-weight: 400;
    line-height: var(--line-height-body-l);
    color: var(--color-text-secondary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.divider {
    height: 0;
    width: 100%;
    max-width: 876px;
    position: relative;
}

.divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: -1px;
    height: 1px;
    background-color: var(--color-divider);
}

@media (max-width: 1400px) {
    .why-us-section .section-content {
        flex-direction: column;
        gap: var(--spacing-2xl);
    }
    
    .section-header,
    .why-us-list,
    .why-us-content,
    .divider {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .why-us-section .section-content {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }
    
    .section-header {
        width: 100%;
        max-width: 100%;
    }
    
    .why-us-list {
        width: 100%;
        padding-top: 0;
    }
    
    .why-us-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
    
    .why-us-content,
    .divider {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .why-us-section .section-content {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .why-us-heading {
        font-size: 36px;
    }
    
    .why-us-text {
        font-size: 18px;
    }
}

/* ============================================
   What You Get Section - New Design
   ============================================ */

.what-you-get-section {
    padding: var(--spacing-3xl) 20px;
}

.what-you-get-section .container {
    max-width: var(--container-max-width);
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.what-you-get-section .section-title {
    margin-bottom: 0;
}

.wyg-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    align-items: start; /* Prevent cards from stretching to match tallest */
}

.wyg-card {
    display: flex;
    flex-direction: column;
    gap: 0; /* Remove flex gap, use margins instead for consistent alignment */
}

.wyg-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-h2);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.52px;
    color: var(--color-text-primary);
    margin-bottom: 40px;
}

.wyg-title-accent {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 300;
    color: var(--color-accent-green);
}

.wyg-image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 40px;
}

.wyg-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle zoom on hover */
.wyg-card:hover .wyg-image-wrapper img {
    transform: scale(1.08);
}

.wyg-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.wyg-description {
    font-size: var(--font-size-body-l);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-primary);
}

.wyg-note {
    font-size: var(--font-size-body-m);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.wyg-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: disc;
    padding-left: 24px;
    margin: 0;
}

.wyg-list li {
    font-size: var(--font-size-body-m);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-primary);
}

/* Responsive: 2 columns on tablet */
@media (max-width: 1200px) {
    .wyg-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        align-items: start;
    }
    
    .wyg-card:last-child {
        grid-column: 1;
        max-width: 100%;
        margin: 0;
        justify-self: start;
    }
}

/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
    .what-you-get-section .container {
        gap: 48px;
    }
    
    .wyg-cards {
        grid-template-columns: 1fr;
        gap: 48px;
        align-items: start;
    }
    
    .wyg-card:last-child {
        max-width: 100%;
    }
    
    .wyg-title {
        font-size: 36px;
        margin-bottom: 24px;
    }
    
    .wyg-image-wrapper {
        margin-bottom: 24px;
    }
    
    .wyg-content {
        margin-bottom: 16px;
    }
    
    .wyg-description {
        font-size: 18px;
    }
}

/* ============================================
   How We Work Section - EXACT FIGMA VALUES
   ============================================ */

.how-we-work-section {
    padding: var(--spacing-3xl) 20px;
    position: relative;
}

.section-bg-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(357.061deg);
    width: 100%;
    max-width: var(--section-max-width);
    height: 778.33px;
    background: linear-gradient(109.147deg, rgba(0, 0, 0, 0) 14.942%, rgba(0, 0, 0, 0.4) 99.09%), 
                linear-gradient(90deg, var(--color-gradient-cyan) 0%, var(--color-gradient-cyan) 100%);
    border-radius: var(--radius-md);
    z-index: 0;
}

.how-we-work-section .section-content {
    background: linear-gradient(109.147deg, rgba(0, 0, 0, 0) 14.942%, rgba(0, 0, 0, 0.4) 99.09%), 
                linear-gradient(90deg, var(--color-gradient-cyan) 0%, var(--color-gradient-cyan) 100%);
    border-radius: var(--radius-md);
    padding: var(--spacing-5xl) 75px;
    /*box-shadow: var(--shadow-card);*/
    width: 100%;
    max-width: var(--section-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.how-we-work-header {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 416px;
    flex-shrink: 0;
}

.how-we-work-label {
    font-size: var(--font-size-body-m);
    font-weight: 400;
    line-height: var(--line-height-body-l);
    color: var(--color-bg-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    width: 970px;
    height: 454px;
}

.process-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.process-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.process-number {
    font-family: var(--font-heading);
    font-size: var(--font-size-h4);
    font-weight: 400;
    line-height: normal;
    letter-spacing: var(--letter-spacing-h1);
    color: var(--color-bg-light);
}

.process-description {
    font-size: var(--font-size-body-l);
    font-weight: 400;
    line-height: var(--line-height-body-l);
    color: var(--color-bg-light);
}

/* Mobile illustration - inside container, static (hidden by default) */
.how-we-work-illustration-mobile {
    display: none;
}

/* Desktop illustration - absolute positioned */
.how-we-work-illustration-desktop {
    position: absolute;
    bottom: -200px;
    right: 53%;
    width: clamp(600px, 50vw, 814px);
    max-width: 814px;
    z-index: 2;
    pointer-events: none;
    will-change: transform;
}

.how-we-work-illustration-desktop img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    will-change: transform;
    /* Hide until JS positions correctly - prevents flash on page refresh at mid-scroll */
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

/* Show the illustration once JS has positioned it */
.how-we-work-illustration-desktop img.parallax-ready {
    opacity: 1;
}

/* Scale down illustration on medium screens */
@media (max-width: 1600px) {
    .how-we-work-illustration-desktop {
        width: clamp(500px, 45vw, 700px);
        bottom: -200px;
        left:0px;
    }
}

@media (max-width: 1400px) {
    .how-we-work-illustration-desktop {
        width: clamp(450px, 40vw, 600px);
        bottom: -240px;
        left: 60px;
    }
}


@media (max-width: 1400px) {
    .how-we-work-section .section-content {
        flex-direction: column;
        gap: var(--spacing-2xl);
    }
    
    .how-we-work-header,
    .process-grid {
        width: 100%;
    }
    
    .process-grid {
        height: auto;
    }
}

@media (max-width: 1200px) {
    .how-we-work-illustration-desktop {
        width: clamp(400px, 38vw, 550px);
        bottom: -180px;
        left: 40px;
    }
}

@media (max-width: 768px) {
    .how-we-work-section .section-content {
        padding: var(--spacing-xl) var(--spacing-lg);
        gap: var(--spacing-lg); /* 50% smaller than spacing-2xl */
    }
    
    .how-we-work-header {
        width: 100%;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        height: auto;
    }
    
    .process-number {
        font-size: 36px;
    }
    
    .process-description {
        font-size: 18px;
    }
    
    /* Hide desktop illustration, show mobile one */
    .how-we-work-illustration-desktop {
        display: none;
    }
    
    .how-we-work-illustration-mobile {
        display: block;
        position: static;
        width: 100%;
        max-width: 100%;
        margin: 0 auto var(--spacing-md);
        padding: 0;
        /* Reset any inherited positioning */
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
    }
    
    .how-we-work-illustration-mobile img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
        transform: none !important; /* Disable parallax on mobile */
    }
}

/* ============================================
   What It's Like Section - EXACT FIGMA VALUES
   ============================================ */

.what-its-like-section {
    padding: var(--spacing-3xl) 20px;
}

.what-its-like-section .container {
    max-width: var(--section-max-width);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

.experience-grid {
    display: flex;
    gap: var(--spacing-2xl);
    justify-content: center;
}

.experience-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    flex: 1;
}

.experience-icon {
    width: 106px;
    height: 106px;
    background-color: var(--color-bg-card);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    transition: transform var(--transition-base);
}

.experience-card:hover .experience-icon {
    transform: scale(1.05) rotate(3deg);
}

.experience-icon svg {
    width: 58px;
    height: 58px;
}

.experience-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.experience-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-h2);
    font-weight: 400;
    line-height: var(--line-height-h2);
    letter-spacing: var(--letter-spacing-h2);
    color: var(--color-text-primary);
}

.experience-description {
    font-size: var(--font-size-body-l);
    font-weight: 400;
    line-height: var(--line-height-body-l);
    color: var(--color-text-primary);
}

.experience-description p {
    margin-bottom: var(--spacing-xs);
}

.experience-description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .experience-grid {
        flex-direction: column;
        gap: var(--spacing-2xl);
    }
}

@media (max-width: 768px) {
    .what-its-like-section .container {
        padding: 0 var(--spacing-lg);
    }
    
    .experience-title {
        font-size: 36px;
    }
    
    .experience-description {
        font-size: 18px;
    }
    
    .experience-icon {
        width: 80px;
        height: 80px;
    }
    
    .experience-icon svg {
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   CTA Section - EXACT FIGMA VALUES
   ============================================ */

.cta-section {
    padding: var(--spacing-3xl) 20px;
    position: relative;
}

.section-bg-rotated {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(3deg);
    width: 100%;
    max-width: var(--section-max-width);
    height: 819px;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-md);
    z-index: 0;
}

.cta-container {
    
    border-radius: var(--radius-md);
   /*
    padding: var(--spacing-3xl);
   box-shadow: var(--shadow-card);
   background-color: var(--color-bg-secondary);
   border: 1px solid var(--color-divider);*/
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-3xl);
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    width: 100%;
    max-width: 1046px;
    align-items: center;
}

.cta-description {
    font-size: var(--font-size-body-xl);
    font-weight: 400;
    line-height: var(--line-height-body-xl);
    color: var(--color-text-primary);
}

.cta-description p {
    margin-bottom: 0;
}

.cta-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    width: 100%;
    align-items: center;
    margin-top: var(--spacing-lg);
}

.cta-steps-title {
    font-size: var(--font-size-body-l);
    font-weight: 700;
    line-height: var(--line-height-body-l);
    color: var(--color-text-primary);
    text-align: center;
}

.cta-progress-wrapper {
    width: 100%;
    position: relative;
}

.cta-progress-bar {
    position: absolute;
    top: 28px; /* Centered with 64px bubbles: (64 - 8) / 2 */
    left: 0;
    right: 0;
    height: 8px;
    background-color: #d9d9d9;
    border-radius: 40px;
    overflow: hidden;
    z-index: 0;
}

.cta-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-teal) 100%);
    border-radius: 40px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.cta-step {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.cta-step-bubble {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background-color: #d9d9d9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 400;
}

.cta-step:hover .cta-step-bubble,
.cta-step.active .cta-step-bubble {
    background-color: var(--color-accent);
    color: var(--color-text-primary);
}

.cta-step:hover .cta-step-bubble {
    transform: scale(1.1);
}

.cta-step-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cta-step-title {
    font-size: var(--font-size-body-l);
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-text-primary);
}

.cta-step-text {
    font-size: var(--font-size-body-m);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-primary);
}

@media (max-width: 1024px) {
    .cta-container {
        /*padding: var(--spacing-2xl);*/
    }
    
    .cta-content-wrapper {
        max-width: 100%;
    }
    
    .cta-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .cta-progress-bar {
        display: none;
    }
}

@media (max-width: 768px) {
    .cta-container {
        /*padding: var(--spacing-xl);*/
    }
    
    .cta-description {
        font-size: 20px;
    }
    
    .cta-steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-step-title {
        font-size: 18px;
    }
    
    .cta-step-text {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 48px;
    }
}

/* ============================================
   FAQ Section - Split Layout with Sticky Title
   ============================================ */

.faq-section {
    padding: var(--spacing-3xl) 20px;
}

.faq-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 40% 60%; /* 40/60 split */
    gap: var(--spacing-3xl);
    align-items: start;
}

.faq-sticky-wrapper {
    position: sticky;
    top: 150px; /* Offset from top when sticky */
    align-self: start;
}

.faq-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.faq-item {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-item-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.faq-question-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    font-weight: 400;
    line-height: var(--line-height-h3);
    color: var(--color-text-primary);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-accent-teal);
}

.faq-question:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

.faq-icon {
    font-size: 40px;
    font-weight: 300;
    color: var(--color-text-primary);
    transition: transform var(--transition-base);
    flex-shrink: 0;
    line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-answer[aria-expanded="true"] {
    max-height: 2000px;
}

.faq-answer p {
    font-size: var(--font-size-body-l);
    font-weight: 400;
    line-height: var(--line-height-body-l);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-divider {
    height: 0;
    width: 100%;
    position: relative;
}

.faq-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: -1px;
    height: 1px;
    background-color: var(--color-divider);
}

@media (max-width: 1024px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .faq-sticky-wrapper {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .faq-container {
        padding: 0 var(--spacing-lg);
        gap: var(--spacing-xl);
    }
    
    .faq-question {
        font-size: 24px;
    }
    
    .faq-icon {
        font-size: 32px;
    }
    
    .faq-answer p {
        font-size: 16px;
    }
}

/* ============================================
   Footer - EXACT FIGMA VALUES
   ============================================ */

.footer {
    background-color: none;
    min-height: 90px;
    display: flex;
    align-items: center;
}



.footer-container {
    border-top: 1px solid var(--color-divider);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 29px var(--container-padding);
    width: 100%;
    max-width: var(--container-max-width-xl);
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-copyright {
    font-size: var(--font-size-body-m);
    font-weight: 400;
    line-height: var(--line-height-body-m);
    color: var(--color-text-primary);
    height: 100%;
}


.footer-nav {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-nav a {
    font-size: var(--font-size-body-m);
    font-weight: 400;
    line-height: var(--line-height-body-m);
    color: var(--color-text-primary);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-accent-teal);
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent-teal);
}

.footer-email svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: var(--spacing-md);
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 16px;
    }
}

/* ============================================
   Animations
   ============================================ */

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out both;
}

/* Initial state for elements that will animate - use will-change for better performance */
/* Only hide elements that have the animate-on-scroll class (added by JS) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    will-change: opacity, transform;
}

/* When element gets fade-in class, trigger the animation */
.animate-on-scroll.fade-in {
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Clean up will-change after animation completes */
.animate-on-scroll.fade-in {
    will-change: auto;
}

/* Respect user's motion preferences - show content immediately */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* Staggered animation delays for elements that will animate */
.why-us-item.animate-on-scroll:nth-child(1),
.wyg-card.animate-on-scroll:nth-child(1),
.experience-card.animate-on-scroll:nth-child(1),
.process-item.animate-on-scroll:nth-child(1) {
    animation-delay: 0.1s;
}

.why-us-item.animate-on-scroll:nth-child(3),
.wyg-card.animate-on-scroll:nth-child(2),
.experience-card.animate-on-scroll:nth-child(2),
.process-item.animate-on-scroll:nth-child(2) {
    animation-delay: 0.2s;
}

.why-us-item.animate-on-scroll:nth-child(5),
.wyg-card.animate-on-scroll:nth-child(3),
.experience-card.animate-on-scroll:nth-child(3),
.process-item.animate-on-scroll:nth-child(3) {
    animation-delay: 0.3s;
}

.process-item.animate-on-scroll:nth-child(4) {
    animation-delay: 0.4s;
}

.precision-card.animate-on-scroll:nth-child(1) {
    animation-delay: 0.1s;
}

.precision-card.animate-on-scroll:nth-child(2) {
    animation-delay: 0.2s;
}

.precision-card.animate-on-scroll:nth-child(3) {
    animation-delay: 0.3s;
}

.precision-card.animate-on-scroll:nth-child(4) {
    animation-delay: 0.4s;
}

/* ============================================
   Modal - Contact Form
   ============================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(19, 15, 16, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay[aria-hidden="false"] .modal-container {
    transform: translateY(0) scale(1);
}

.modal-content {
    background-color: var(--color-bg-primary);
    border-radius: var(--radius-md);
    padding: 48px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(0, 0, 0, 0.05);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background-color: var(--color-bg-secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
    background-color: var(--color-bg-card);
    color: var(--color-text-primary);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 32px;
    padding-right: 40px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 400;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--color-text-primary);
    background-color: var(--color-bg-light);
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-light);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    background-color: var(--color-bg-secondary);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-accent);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 255, 183, 0.15);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23473639' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

/* Modal responsive styles */
@media (max-width: 600px) {
    .modal-content {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-header {
        padding-right: 30px;
    }
    
    .modal-close {
        width: 38px;
        height: 38px;
        top: 16px;
        right: 16px;
    }
}

/* ============================================
   Accessibility
   ============================================ */

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .header,
    .footer,
    .btn,
    .mobile-menu-toggle,
    .hero-tagline,
    .section-bg,
    .section-bg-gradient,
    .section-bg-rotated {
        display: none !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    body {
        background-color: white;
    }
}

/* ============================================
   Cookie Consent Banner
   ============================================ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    background-color: var(--color-bg-primary);
    border-top: 1px solid var(--color-divider);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 24px;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent[aria-hidden="false"] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-text {
    flex: 1;
}

.cookie-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.cookie-description {
    font-size: var(--font-size-body-s);
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

.cookie-link {
    color: var(--color-accent-teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-link:hover {
    color: var(--color-accent-green);
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-size: var(--font-size-body-s);
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: linear-gradient(90deg, #00ffb7 0%, #00ffea 100%);
    border: 2px solid #00e9a7;
    color: var(--color-text-primary);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 183, 0.3);
}

.cookie-btn-secondary {
    background: transparent;
    border: 2px solid var(--color-divider);
    color: var(--color-text-secondary);
}

.cookie-btn-secondary:hover {
    border-color: var(--color-text-secondary);
    color: var(--color-text-primary);
}

/* Responsive cookie banner */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}
