/* ==================================
   Global Reset & Root Tokens
================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', 'Inter', sans-serif;

    /* Colors */
    --clr-white: #ffffff;
    --clr-off-white: #f8fafc;
    --clr-bg-light: #f1f5f9;
    --clr-border: #e2e8f0;
    --clr-border-dark: rgba(255, 255, 255, 0.1);
    --clr-text-main: #0f172a;
    --clr-text-muted: #64748b;
    --clr-accent: #06b6d4;
    --clr-accent-hover: #0891b2;
    --clr-accent-light: rgba(6, 182, 212, 0.1);
    --clr-dark: #0f172a;
    --clr-dark-card: #1e293b;

    /* Spacing */
    --sp-xs: 0.25rem;
    --sp-sm: 0.75rem;
    --sp-md: 1.5rem;
    --sp-lg: 2rem;
    --sp-xl: 3rem;
    --sp-2xl: 4rem;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s ease;
}

/* Smooth Scroll with "plump" decel */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--clr-text-main);
    background: var(--clr-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-text-main);
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.25rem;
    letter-spacing: -0.02em;
}

.accent-title {
    font-style: italic;
    color: var(--clr-accent);
    font-weight: 500;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--clr-text-muted);
    line-height: 1.7;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--clr-white) !important;
}

.text-gray {
    color: var(--clr-text-muted);
}

.text-accent {
    color: var(--clr-accent);
}

.bg-light {
    background: var(--clr-bg-light);
}

/* Reusable grid pattern background */
.grid-bg {
    position: relative;
}

.grid-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23cbd5e1' stroke-width='0.5'%3E%3Cpath d='M30 0v60M0 30h60'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.grid-bg>* {
    position: relative;
    z-index: 1;
}

.bg-dark {
    background: var(--clr-dark);
}

.bg-white {
    background: var(--clr-white);
}

.bg-black {
    background: #000;
}

.pt-40 {
    padding-top: 2.5rem;
}

.pt-80 {
    padding-top: 5rem;
}

.pt-100 {
    padding-top: 6.25rem;
}

.pt-120 {
    padding-top: 7.5rem;
}

.pb-60 {
    padding-bottom: 3.75rem;
}

.pb-80 {
    padding-bottom: 5rem;
}

.pb-100 {
    padding-bottom: 6.25rem;
}

.pb-120 {
    padding-bottom: 7.5rem;
}

.mt-10 {
    margin-top: 0.625rem;
}

.mt-20 {
    margin-top: 1.25rem;
}

.mt-30 {
    margin-top: 1.875rem;
}

.mt-40 {
    margin-top: 2.5rem;
}

.mb-sm {
    margin-bottom: var(--sp-sm);
}

.mb-40 {
    margin-bottom: 2.5rem;
}

.mb-60 {
    margin-bottom: 3.75rem;
}

.align-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==================================
   Buttons - More squared, premium
================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: none;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    line-height: 1.25;
}

.btn-primary {
    background: var(--clr-accent);
    color: var(--clr-white);
    border-color: var(--clr-accent);
}

.btn-primary:hover {
    background: var(--clr-accent-hover);
    border-color: var(--clr-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.btn-nav-cta {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-primary-split {
    display: inline-flex;
    align-items: stretch;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-primary-split:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
}

.btn-primary-split .btn-text {
    background: var(--clr-accent);
    color: var(--clr-white);
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-primary-split .btn-arrow {
    background: var(--clr-accent-hover);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    border: none;
    cursor: pointer;
}

.btn-secondary {
    background: transparent;
    color: var(--clr-text-main);
    border: 2px solid var(--clr-border);
}

.btn-secondary:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

.btn-dark {
    background: var(--clr-dark);
    color: var(--clr-white);
    border-color: var(--clr-dark);
}

.btn-dark:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

.btn-outline-teal {
    background: transparent;
    color: var(--clr-accent);
    border: 2px solid var(--clr-accent);
}

.btn-outline-teal:hover {
    background: var(--clr-accent);
    color: var(--clr-white);
}

/* ==================================
   Header / Nav
================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
    transition: all var(--transition-normal);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.375rem;
    color: var(--clr-text-main);
    font-family: var(--font-heading);
}

.logo img {
    height: 65px;
    width: auto;
}

.header .logo img,
.footer .logo img {
    filter: brightness(0) saturate(100%) invert(62%) sepia(71%) saturate(598%) hue-rotate(148deg) brightness(96%) contrast(97%);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition-fast);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-accent);
    transition: width var(--transition-normal);
}

.desktop-nav a:hover {
    color: var(--clr-text-main);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -10px;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    min-width: 200px;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(4px);
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    text-transform: none;
    letter-spacing: 0;
}

.dropdown-menu a:hover {
    background: var(--clr-bg-light);
    color: var(--clr-text-main);
}

.dropdown-menu a::after {
    display: none;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-cta .btn {
    font-size: 0.8125rem;
    padding: 0.625rem 1.25rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    width: 100%;
    background: var(--clr-text-main);
    transition: all var(--transition-fast);
}

/* ==================================
   Section Badge
================================== */
.section-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--sp-sm);
    font-family: var(--font-body);
}

.section-label {
    color: var(--clr-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--sp-sm);
    font-family: var(--font-body);
}

/* ==================================
   Hero Section
================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    overflow: hidden;
    background: var(--clr-off-white);
}

/* Decorative construction line art background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23cbd5e1' stroke-width='0.5'%3E%3Cpath d='M30 0v60M0 30h60'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

/* Decorative circles */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(6, 182, 212, 0.15);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    color: var(--clr-accent);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--sp-md);
    font-family: var(--font-body);
    font-weight: 700;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: var(--sp-md);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--sp-lg);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-md);
}

.trust-line {
    font-size: 0.8125rem;
    color: var(--clr-text-muted);
    font-weight: 500;
    font-family: var(--font-body);
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 560px;
    width: 100%;
}

.hero-image-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--clr-white);
    padding: var(--sp-sm) var(--sp-md);
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--clr-text-main);
    font-family: var(--font-body);
}

/* ==================================
   Trust Badges (directly below hero, no scroll needed)
================================== */
.trust-badges {
    position: relative;
    z-index: 2;
    width: 100%;
}

.trust-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.trust-item {
    text-align: center;
    padding: var(--sp-lg);
    background: var(--clr-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--clr-accent-light);
    color: var(--clr-accent);
    border-radius: 50%;
    margin: 0 auto var(--sp-sm) auto;
}

.trust-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.trust-item p {
    font-size: 0.8125rem;
    color: var(--clr-text-muted);
}

/* ==================================
   Section C: Timeline (Dark bg)
================================== */
.timeline-section .subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.vertical-timeline {
    position: relative;
    max-width: 1150px;
    margin: 0 auto;
    padding: var(--sp-lg) 0;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--clr-border-dark);
    z-index: 0;
}

/* Progress fill line */
.timeline-progress-fill {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 0;
    background: var(--clr-accent);
    z-index: 1;
    transition: height 0.3s ease-out;
}

.timeline-step {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--sp-2xl);
    position: relative;
}

.step-marker {
    width: 52px;
    height: 52px;
    background: var(--clr-dark);
    border: 3px solid var(--clr-border-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 800;
    font-size: 1rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 0 8px var(--clr-dark);
    font-family: var(--font-body);
    transition: all 0.5s ease;
}

.step-marker.active {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    box-shadow: 0 0 0 8px var(--clr-dark), 0 0 20px rgba(6, 182, 212, 0.4);
    animation: pulse-marker 2s ease-in-out infinite;
}

@keyframes pulse-marker {

    0%,
    100% {
        box-shadow: 0 0 0 8px var(--clr-dark), 0 0 20px rgba(6, 182, 212, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px var(--clr-dark), 0 0 35px rgba(6, 182, 212, 0.6);
    }
}

.step-card {
    width: calc(50% - 50px);
    background: var(--clr-dark-card);
    padding: var(--sp-lg) var(--sp-xl);
    border-radius: var(--radius-md);
    color: var(--clr-white);
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-card.dimmed {
    opacity: 0.35;
}

.step-card.active-card {
    opacity: 1;
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.1);
}

.step-card.placeholder {
    background: transparent;
    padding: 0;
    border: none;
}

.step-left {
    text-align: right;
    margin-right: auto;
}

.step-right {
    text-align: left;
    margin-left: auto;
}

.step-label {
    color: var(--clr-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.step-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
    color: var(--clr-white);
}

.step-card p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
}

.timeline-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--sp-xl);
}

.timeline-dots span {
    width: 6px;
    height: 6px;
    background: var(--clr-accent);
    border-radius: 50%;
}

.credibility-box {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--clr-border-dark);
    padding: var(--sp-lg) var(--sp-xl);
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--clr-white);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.credibility-box a {
    color: var(--clr-accent);
    text-decoration: underline;
}

/* ==================================
   Trade Tiles (Carousel)
================================== */
.trade-tiles-carousel {
    overflow: hidden;
    position: relative;
}

.tiles-track {
    display: flex;
    gap: var(--sp-sm);
    animation: scrollTiles 50s linear infinite;
    width: max-content;
}

@keyframes scrollTiles {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.trade-tile {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 380px;
    flex-shrink: 0;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.trade-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    flex-direction: column;
    padding: var(--sp-lg);
    color: var(--clr-white);
}

.tile-overlay h3 {
    font-size: 1.75rem;
    color: var(--clr-white);
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-heading);
}

.tile-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-top: auto;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.trade-tile:hover img {
    transform: scale(1.05);
}

.trade-tile:hover .tile-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================
   Stages Section
================================== */
.stages-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2xl);
    align-items: center;
}

.stages-left p {
    font-size: 1.0625rem;
    color: var(--clr-text-muted);
}

.stages-right {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
}

.stage-card {
    display: flex;
    gap: var(--sp-md);
    background: var(--clr-white);
    padding: var(--sp-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
    border-left: 3px solid var(--clr-accent);
    transition: all var(--transition-fast);
}

.stage-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stage-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--clr-accent-light);
    color: var(--clr-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stage-text h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.stage-text p {
    font-size: 0.9375rem;
    color: var(--clr-text-muted);
}

/* ==================================
   Dedicated Person Section
================================== */
.dedicated-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2xl);
    align-items: center;
}

.dedicated-visual {
    position: relative;
}

.main-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    border: 4px solid var(--clr-accent);
}

.float-img {
    position: absolute;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--clr-white);
    object-fit: cover;
}

.float-1 {
    top: 0;
    left: 0;
    width: 40%;
    transform: translate(-10%, -10%);
}

.float-2 {
    bottom: 0;
    right: 0;
    width: 45%;
    transform: translate(10%, 10%);
}

.accent-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--clr-text-main);
    border-left: 3px solid var(--clr-accent);
    padding-left: var(--sp-md);
    margin: var(--sp-lg) 0;
    font-weight: 500;
    font-family: var(--font-heading);
}

.dedicated-traits {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-sm);
}

.trait {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.08);
    color: var(--clr-text-main);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.trait svg {
    color: var(--clr-accent);
}

/* ==================================
   Why We Do This Differently
================================== */
.section-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent);
    margin-bottom: var(--sp-sm);
}

.section-badge-icon::before,
.section-badge-icon::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 2px;
    background: var(--clr-accent);
    vertical-align: middle;
    margin: 0 12px;
}

/* ==================================
   Simple From Start to Finish (Dark)
================================== */
.steps-grid-dark {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-md);
    max-width: 1000px;
    margin: 0 auto;
}

@keyframes stepHighlight {
    0%   { background: var(--clr-white); border-color: var(--clr-border); box-shadow: none; transform: translateY(0); }
    10%  { background: rgba(6, 182, 212, 0.12); border-color: rgba(6, 182, 212, 0.45); box-shadow: 0 4px 24px rgba(6, 182, 212, 0.18); transform: translateY(-2px); }
    20%  { background: var(--clr-white); border-color: var(--clr-border); box-shadow: none; transform: translateY(0); }
    100% { background: var(--clr-white); border-color: var(--clr-border); box-shadow: none; transform: translateY(0); }
}

.step-card-dark {
    border-radius: var(--radius-md);
    padding: var(--sp-lg) var(--sp-md);
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    animation: stepHighlight 8s ease-in-out infinite;
}

.step-card-dark:nth-child(1) { animation-delay: 0s; }
.step-card-dark:nth-child(2) { animation-delay: -6s; }
.step-card-dark:nth-child(3) { animation-delay: -4s; }
.step-card-dark:nth-child(4) { animation-delay: -2s; }

.step-badge {
    background: var(--clr-accent);
    color: var(--clr-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    font-family: var(--font-body);
}

.step-title-small {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--clr-text-main);
    text-align: left;
    font-family: var(--font-body);
}

/* ==================================
   FAQ Section (Side by Side)
================================== */
.faq-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--sp-2xl);
    align-items: flex-start;
}

.faq-left {
    position: sticky;
    top: 100px;
}

.accordion-light .acc-item {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    margin-bottom: var(--sp-sm);
    background: var(--clr-white);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.accordion-light .acc-trigger {
    padding: 1.5rem var(--sp-lg);
    font-size: 1rem;
    color: var(--clr-text-main);
}

.acc-icon-simple {
    color: var(--clr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-light .acc-content {
    padding: 0 var(--sp-lg) 1.5rem var(--sp-lg);
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

/* Legacy Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.acc-item {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.acc-trigger {
    width: 100%;
    text-align: left;
    padding: 1.25rem var(--sp-lg);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--clr-text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--clr-white);
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
}

.acc-icon {
    font-size: 1.5rem;
    color: var(--clr-accent);
    font-weight: 400;
    transition: transform 0.3s ease;
}

.acc-content {
    padding: 0 var(--sp-lg) 1.25rem var(--sp-lg);
    color: var(--clr-text-muted);
}

.max-w-800 {
    max-width: 800px;
    margin: 0 auto;
}

/* ==================================
   Final CTA
================================== */
.final-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2xl);
    align-items: center;
}

.final-left p {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--sp-lg);
}

.final-left ul {
    list-style: none;
    margin-bottom: var(--sp-lg);
}

.final-left li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.calendar-preview {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg);
    color: var(--clr-text-main);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.cal-header {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--sp-md);
    text-align: center;
    padding-bottom: var(--sp-sm);
    border-bottom: 1px solid var(--clr-border);
    font-family: var(--font-heading);
}

.cal-days {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    font-weight: 600;
    margin-bottom: var(--sp-md);
}

.cal-days .active {
    color: var(--clr-accent);
    position: relative;
}

.cal-days .active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--clr-accent);
    border-radius: 50%;
}

.cal-slots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.cal-slots button {
    padding: 0.75rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--clr-text-main);
    background: var(--clr-white);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
}

.cal-slots button:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

.cal-slots button.selected {
    background: var(--clr-accent);
    color: var(--clr-white);
    border-color: var(--clr-accent);
}

/* ==================================
   Footer
================================== */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-xl);
    padding: var(--sp-xl) 0;
    border-bottom: 1px solid var(--clr-border-dark);
}

.footer-col h4 {
    color: var(--clr-white);
    margin-bottom: var(--sp-md);
    font-size: 1rem;
    font-family: var(--font-heading);
}

.brand-col p {
    color: #94a3b8;
    margin-top: var(--sp-sm);
    font-size: 0.9375rem;
    max-width: 300px;
}

.footer-col a,
.footer-col p {
    display: block;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.footer-col a:hover {
    color: var(--clr-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: var(--sp-lg) 0;
    color: #64748b;
    font-size: 0.875rem;
}

.footer-legal a {
    margin-left: var(--sp-md);
}

.footer-legal a:hover {
    color: var(--clr-white);
}

/* ==================================
   Responsive Overrides
================================== */
@media (max-width: 1024px) {

    .hero-container,
    .stages-container,
    .final-container,
    .dedicated-container,
    .faq-container {
        grid-template-columns: 1fr;
    }

    .hero-content,
    .stages-left,
    .final-left {
        text-align: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        margin: 0 auto var(--sp-lg) auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps-grid-dark {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-left {
        position: static;
        margin-bottom: var(--sp-xl);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .desktop-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--clr-white);
        padding: var(--sp-md);
        border-bottom: 1px solid var(--clr-border);
        box-shadow: var(--shadow-md);
        gap: 0.5rem;
    }

    .desktop-nav.active a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        text-transform: none;
        letter-spacing: 0;
    }

    .desktop-nav.active .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-cta .btn {
        display: none;
    }

    /* Hero */
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-primary-split {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-visual img {
        height: 300px;
    }

    .hero-image-badge {
        position: static;
        margin-top: var(--sp-sm);
        text-align: center;
    }

    /* Typography */
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Section padding */
    .pt-100 {
        padding-top: 3.5rem;
    }

    .pt-120 {
        padding-top: 4rem;
    }

    .pb-100 {
        padding-bottom: 3.5rem;
    }

    .pb-120 {
        padding-bottom: 4rem;
    }

    /* Trust badges */
    .trust-container {
        grid-template-columns: 1fr;
        gap: var(--sp-sm);
    }

    .trust-item {
        padding: var(--sp-md);
    }

    /* Timeline */
    .vertical-timeline::before {
        left: 20px;
    }

    .timeline-progress-fill {
        left: 20px;
    }

    .step-marker {
        left: 20px;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }

    .step-card {
        width: calc(100% - 60px);
        margin-left: auto;
        text-align: left;
        padding: var(--sp-md);
    }

    .step-left {
        margin-right: 0;
        text-align: left;
    }

    .step-card.placeholder {
        display: none;
    }

    /* Trade tiles */
    .trade-tile {
        width: 280px;
    }

    /* Stages */
    .stages-left {
        text-align: center;
    }

    .stages-left .btn-primary-split {
        margin: 0 auto;
    }

    /* Dedicated person */
    .dedicated-container {
        gap: var(--sp-lg);
    }

    .main-img {
        max-height: 400px;
        object-position: top;
    }

    /* FAQ */
    .faq-container {
        gap: var(--sp-lg);
    }

    .faq-left {
        text-align: center;
    }

    .faq-left .btn {
        margin: 0 auto;
    }

    /* Steps grid */
    .steps-grid-dark {
        grid-template-columns: 1fr;
    }

    /* Final CTA */
    .final-left {
        text-align: center;
    }

    .final-left ul {
        display: inline-block;
        text-align: left;
    }

    .final-left .btn-primary-split {
        width: 100%;
        justify-content: center;
    }

    .calendar-preview {
        max-width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-md);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--sp-sm);
        text-align: center;
    }

    .footer-legal {
        display: flex;
        gap: var(--sp-md);
        justify-content: center;
    }

    .footer-legal a {
        margin-left: 0;
    }

    /* Credibility box */
    .credibility-box {
        padding: var(--sp-md);
    }

    /* CTA buttons on mobile - full width */
    .btn-primary-split {
        width: 100%;
        justify-content: center;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.85rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-visual img {
        height: 240px;
    }

    .trade-tile {
        width: 240px;
    }

    .step-marker {
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }

    .step-card {
        width: calc(100% - 50px);
    }
}