:root {
    --bg-dark: #ffffff;
    --bg-darker: #f8fafc;
    --bg-panel: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-blue: #000080;
    --accent-blue-hover: #0000a0;
    --accent-orange: #d29922;
    /* Warning/Safety/Industrial */
    --border-color: #e2e8f0;

    --font-main: Arial, sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --container-width: 1200px;
    --radius-sm: 4px;
    --radius-md: 6px;

    --header-bg: rgba(240, 249, 255, 0.9);
    --navy-blue: #0A192F;
    --off-white: #F8F9FA;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.25;
}

h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
    margin-bottom: var(--spacing-sm);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

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

/* Utilities */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

.layout-2-col {
    grid-template-columns: 1fr 1fr;
}

.layout-3-col {
    grid-template-columns: repeat(3, 1fr);
}

.layout-4-col {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {

    .layout-2-col,
    .layout-3-col,
    .layout-4-col {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #fff;
    border: 1px solid var(--accent-blue);
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    border-color: var(--accent-blue-hover);
}

/* Contact button — rectangle shape, white border outline, transparent bg */
.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 4px 12px !important;
    background: transparent !important;
    border: 1.5px solid rgba(255,255,255,0.9) !important;
    color: #ffffff !important;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: none !important;
    transition: background 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.btn-contact span,
.btn-contact i {
    display: inline-flex;
    align-items: center;
}

.btn-contact:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* After scrolling — switch to navy */
.main-header.scrolled .btn-contact {
    border-color: #000080 !important;
    color: #000080 !important;
    background: transparent !important;
}

.main-header.scrolled .btn-contact:hover {
    background: #000080 !important;
    color: #ffffff !important;
}




.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Header — transparent over hero image */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background-color: transparent;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    border-radius: 0;
    z-index: 1000;
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none;
    transition: background-color 0.3s ease;
}

/* Once user scrolls past hero, give nav a solid white bg */
.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.main-header.nav-hidden {
    transform: translateY(-200%);
    opacity: 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Logo swap: white version on transparent header, dark version once scrolled */
.logo-white { display: block; }
.logo-dark  { display: none;  }

.main-header.scrolled .logo-white { display: none;  }
.main-header.scrolled .logo-dark  { display: block; }

.desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
    margin-right: 3rem;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-header nav a:not(.btn) {
    font-size: 16px;
    color: rgba(255,255,255,0.88);
}

.main-header nav a:not(.btn):hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Nav links go dark once scrolled */
.main-header.scrolled nav a:not(.btn) {
    color: var(--text-secondary);
}

.main-header.scrolled nav a:not(.btn):hover {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* =============================================
   Hero Section — EOS2 / Split-Headline Layout
   =============================================
   Structure:
   - .hero-section        → outer wrapper (no fixed height; flow layout)
   - .hero-image-layer    → full-width image (65vh), relative, clipped
   - .hero-img-overlay    → gradient darkening bottom of image
   - .hero-headline-over-img → line 1 of h1, pinned to bottom of image
   - .hero-below-img      → white area below, contains line 2 + copy
============================================= */

.hero-section {
    position: relative;
    padding-top: 0;
    overflow: hidden;
    background-color: #fff;
}

/* ---- Image layer ---- */
.hero-image-layer {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* Gradient: transparent → dark at the very bottom, so line 1 text pops */
.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.10) 0%,
        rgba(0,0,0,0.15) 45%,
        rgba(0,0,0,0.72) 100%
    );
    pointer-events: none;
}

/* Line 1: sits at the very bottom of the image */
.hero-headline-over-img {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 5% 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    /* Stack logo above text */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

/* Large hero logo above the headline */
.hero-logo {
    height: 200px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
}

.hero-h1-line1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1.15;
    color: #f8fafc;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0;
    /* subtle text shadow for legibility */
    text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}

/* ---- Below-image area ---- */
.hero-below-img {
    background-color: #fff;
    padding-top: 0;
    padding-bottom: 3.5rem;
}
.hero-below-img .container {
    padding: 0 5%;
    max-width: 100%;
}

.hero-h1-line2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1.08;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0 0 2rem;
    padding-top: 0.35rem;
}

.hero-below-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-sub {
    font-family: var(--font-main);
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.65;
    margin: 0;
    flex: 1 1 320px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    flex-shrink: 0;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Backed-by badge (inline, not stacked) */
.hero-backing {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-backing span {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    white-space: nowrap;
}

.hero-backing img {
    height: 44px;
    width: auto;
    filter: grayscale(1) opacity(0.7);
    transition: filter 0.3s ease;
}

.hero-backing img:hover {
    filter: grayscale(0) opacity(1);
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
    .hero-image-layer {
        height: 100vh;
        min-height: 300px;
    }

    .hero-logo {
        height: 100px;
    }

    .hero-h1-line1,
    .hero-h1-line2 {
        font-size: clamp(1.6rem, 7vw, 2.8rem);
    }

    .hero-headline-over-img {
        padding: 0 5% 1rem;
        gap: 1rem;
    }

    .hero-below-img {
        padding-bottom: var(--spacing-md);
    }

    .hero-h1-line2 {
        margin-bottom: 1.25rem;
    }
}


/* Legacy / unused (kept to avoid breaking other selectors) */
.hero-content { position: relative; z-index: 1; }
#hero-canvas  { display: none; }
.cta-group    { display: none; }


/* =========================================
   INDUSTRIES SECTION
========================================= */
.industries-section {
    position: relative;
    background-color: #ffffff;
    padding-bottom: 4rem;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.industries-bg-top {
    display: none;
}

.industries-container {
    position: relative;
    z-index: 1;
    padding-top: 4rem;
    padding-left: 5%;
    padding-right: 5%;
    max-width: 100%;
}

.industries-header {
    text-align: center;
    margin-bottom: 3rem;
}

.industries-title-wrap {
    color: var(--text-primary);
}

.industries-subtitle {
    display: inline-block;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.industries-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin: 0;
    font-weight: 800;
}

.btn-industries {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 10px 24px 10px 20px;
    background: var(--accent-blue);
    border: 1.5px solid var(--accent-blue);
    color: #ffffff;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-industries:hover {
    background: var(--accent-blue-hover);
    border-color: var(--accent-blue-hover);
    color: #ffffff;
}

.industries-carousel {
    position: relative;
    display: block;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.industry-card {
    flex: 0 0 400px;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    cursor: pointer;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.industry-card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.industry-card h3 {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.3;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e5e7eb;
    border: none;
    color: #000000;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.carousel-nav.prev {
    left: -3.75rem;
}

.carousel-nav.next {
    right: -3.75rem;
}

.carousel-nav.disabled {
    opacity: 0.3;
    pointer-events: none;
}


@media (max-width: 992px) {
    .industry-card {
        flex: 0 0 320px;
        height: 320px;
    }
    .industries-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .industries-bg-top {
        height: 75%;
    }
    .industry-card {
        flex: 0 0 280px;
        height: 280px;
    }
    .carousel-nav {
        display: none;
    }
    .carousel-track-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 2rem;
        -ms-overflow-style: none; /* IE/Edge */
        scrollbar-width: none; /* Firefox */
    }
    .carousel-track-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    .industry-card {
        scroll-snap-align: center;
    }
}


/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section {
    padding: 6rem 5%;
    background-color: #ffffff;
    scroll-margin-top: 100px;
}

.about-section .container {
    max-width: 100%;
    padding: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: auto 1fr;
        gap: 3rem;
    }
}

.about-image-wrapper {
    position: relative;
    width: 540px;
    height: 540px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer;
}

@media (max-width: 992px) {
    .about-image-wrapper {
        width: 100%;
        height: 440px;
    }
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.about-slide.active {
    opacity: 1;
}

.about-content {
    text-align: left;
}

.kicker {
    display: inline-block;
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.about-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-chamfered {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    border: 1.5px solid transparent;
}

.btn-chamfered i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-chamfered:hover i {
    transform: translateX(4px);
}

/* Solid Button */
.btn-chamfered.solid {
    background-color: var(--accent-blue);
    color: #ffffff;
    border-color: var(--accent-blue);
}

.btn-chamfered.solid:hover {
    background-color: var(--accent-blue-hover);
    border-color: var(--accent-blue-hover);
}

/* Outline Button */
.btn-chamfered.outline {
    background-color: transparent;
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.btn-chamfered.outline:hover {
    background-color: var(--accent-blue);
    color: #ffffff;
}


/* Sections */
.section {
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: var(--spacing-lg);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Problem Section */
/* Problem Section */
.problem-section {
    background-color: var(--bg-dark);
}

.visual-block {
    position: relative;
    /* Ensure height is dictated by the text column content */
}

.visual-block img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    opacity: 0.8;
    mix-blend-mode: multiply;
}



/* Problem Section Redesign */
.problem-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-dark);
}

.problem-section .section-header.align-left {
    text-align: left;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
}

.problem-section .section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    line-height: 1.5;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.problem-card {
    background: var(--bg-darker);
    padding: var(--spacing-md);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-blue);
}

.icon-wrapper,
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.icon-wrapper svg,
.card-icon svg {
    width: 24px;
    height: 24px;
}

.problem-card h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
}

.problem-quote-hero {
    margin: var(--spacing-xl) 0;
    padding-left: 2rem;
    border-left: 4px solid var(--accent-blue);
}

.problem-quote {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.3;
    color: var(--text-primary);
    font-style: italic;
    margin: 0;
}

.problem-visual-full {
    margin-top: var(--spacing-lg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.problem-visual-full img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* Media Queries for Problem Cards */
@media (max-width: 768px) {
    .problem-cards {
        grid-template-columns: 1fr;
    }
    
    .problem-quote {
        font-size: 1.5rem;
    }
}

/* Feature Cards */
.feature-card {
    background: var(--bg-panel);
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: transform 0.2s ease;
    text-align: left;
}


.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue);
}

/* Product Section */
.product-block {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.product-block.reverse {
    flex-direction: row-reverse;
}

.product-info {
    flex: 1;
}

.product-info .subtitle {
    color: #3b82f6;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    margin-top: -0.5rem;
}

.product-image {
    flex: 1;
    height: 300px;
    /* Placeholder height */
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.specs-list {
    list-style: disc inside;
    margin-top: var(--spacing-sm);
}

.specs-list li {
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

/* Defensibility */
/* Defensibility */
.defense-point {
    padding-right: var(--spacing-md);
    text-align: center;
}


.defense-point .icon-wrapper,
.model-card .icon-wrapper {
    margin: 0 auto 1.5rem;
}

.defense-point:hover .icon-wrapper,
.model-card:hover .icon-wrapper {
    transform: scale(1.1);
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.defense-point h4 {
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: var(--spacing-xs);
    display: inline-block;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Market & Traction */
.market-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
}

.logo-cloud {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
    justify-content: center;
}

.industry-tag {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text-primary);
}


/* Timeline */
.timeline {
    border-left: 2px solid var(--border-color);
    padding-left: var(--spacing-md);
    margin: 0 auto;
    max-width: 380px;
}

.milestone {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.milestone .marker {
    position: absolute;
    left: calc(-1 * var(--spacing-md) - 5px);
    /* Adjust based on padding and border */
    top: 5px;
    width: 8px;
    height: 8px;
    background: var(--bg-dark);
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
}

.milestone.completed .marker {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.milestone.current .marker {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 4px rgba(210, 153, 34, 0.2);
}

.milestone h4 {
    margin-bottom: 0.1rem;
}

/* Business Model & Advisors */
.model-card,
.advisor-card {
    background: var(--bg-panel);
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
}

.advisor-card p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.advisor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: var(--border-color);
    border-radius: 50%;
    margin: 0 auto var(--spacing-sm);
}

.advisor-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: var(--spacing-sm);
    border: 2px solid var(--accent-blue);
}

@media (max-width: 768px) {
    .advisor-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section - Minimalist Two-Column Layout */
.faq-section {
    padding: 6rem 5%;
    background-color: #ffffff;
    border-top: none;
}

.faq-section .container {
    max-width: 100%;
    padding: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr 2fr;
    }
}

.faq-left h2 {
    font-size: 3rem;
    font-family: var(--font-heading);
    margin: 0;
    font-weight: 800;
    line-height: 1.1;
}

.faq-updated {
    color: #64748b;
    font-size: 1.1rem;
    margin-top: 1rem;
    font-weight: 400;
}

.faq-container {
    max-width: 100%;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: #f8fafc;
    transition: background 0.3s ease;
}

.faq-item:hover {
    background: #f1f5f9;
}

.faq-question {
    width: 100%;
    padding: 1.75rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    text-align: left;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question .icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    padding-bottom: 2rem;
}

.faq-answer p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
}

.see-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1.5px solid transparent;
    transition: all 0.2s ease;
}

.see-more-link:hover {
    gap: 0.75rem;
    border-bottom-color: var(--accent-blue);
}

/* Footer Redesign - Industrial Navy Style */
.main-footer {
    background-color: var(--navy-blue);
    color: var(--off-white);
    padding: 5rem 5% 2rem;
    position: relative;
    overflow: hidden;
}

.main-footer .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.footer-top {
    padding-bottom: 3rem;
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(248, 249, 250, 0.1);
    margin-bottom: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1.2fr 1fr 0.8fr;
    }
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: none;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(248, 249, 250, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-bottom-links a {
    color: rgba(248, 249, 250, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 1.5rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Privacy Policy Page Styles */
.policy-page .main-header {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.policy-page .logo-white { display: none !important; }
.policy-page .logo-dark { display: block !important; }

.policy-page .desktop-nav a {
    color: var(--text-primary) !important;
}

.policy-page .desktop-nav a:hover {
    color: var(--accent-blue) !important;
}

/* Contact button on white header */
.policy-page .btn-contact {
    border-color: var(--accent-blue) !important;
    color: var(--text-primary) !important;
}

.policy-page .btn-contact:hover {
    background: var(--accent-blue) !important;
    color: #fff !important;
}

.policy-section {
    padding: 8rem 0 6rem;
    background: #ffffff;
    color: var(--text-primary);
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
}

.policy-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #0A192F;
    margin-bottom: 2rem;
}

.policy-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #4a5568;
}

.policy-content h3 {
    margin: 2.5rem 0 1rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.policy-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.policy-content ol li {
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.footer-bottom {
    border-top: 1px solid rgba(248, 249, 250, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(248, 249, 250, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(248, 249, 250, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
}

/* Solutions Section Styling */
.solutions-section {
    padding: 6rem 5%;
    background-color: #ffffff;
    scroll-margin-top: 100px;
}

.solutions-section .container {
    max-width: 100%;
    padding: 0;
}

.solution-block {
    margin-bottom: 6rem;
    scroll-margin-top: 100px;
}

.solution-block:last-child {
    margin-bottom: 0;
}

.solution-header {
    margin-bottom: 3rem;
}

.solution-kicker {
    display: inline-block;
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.solution-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.solution-subtext {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Update Form - Pill Shape */
.email-signup {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 4px;
    transition: border-color 0.3s ease;
    max-width: 400px;
    /* Limit width */
}

.email-signup:focus-within {
    border-color: var(--accent-blue);
}

.email-signup input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    flex: 1;
    outline: none;
    font-size: 0.9rem;
}

.email-signup button {
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.email-signup button:hover {
    transform: scale(1.05);
    background-color: var(--accent-blue);
    color: #fff;
}

/* Copyright & Legal */
.copyright-desktop {
    margin-top: 3rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    opacity: 0.6;
}

.legal-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.legal-links a {
    color: inherit;
    text-decoration: none;
}

.separator {
    margin: 0 0.25rem;
}

.mobile-copyright {
    display: none;
    /* Hidden on desktop */
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 col grid */
        gap: var(--spacing-xl);
    }

    .brand-col,
    .update-col {
        grid-column: span 2;
        /* Full width */
    }

    .brand-col {
        order: -1;
        /* Logo first */
        margin-bottom: var(--spacing-lg);
    }

    .copyright-desktop {
        display: none;
        /* Hide desktop copyright */
    }

    .mobile-copyright {
        display: block;
        text-align: center;
        margin-top: var(--spacing-xl);
        color: var(--text-secondary);
        font-size: 0.8rem;
        opacity: 0.6;
    }

    .mobile-copyright .legal-links {
        justify-content: center;
    }
}

.mobile-text { 
    display: none; 
}

@media (max-width: 768px) {

    /* Force exactly 16px side margins across the entire mobile view */
    .container,
    .hero-below-img .container,
    .hero-headline-over-img,
    .solutions-section,
    .values-section,
    .about-section,
    .faq-section,
    .main-footer,
    .section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Prevent double side-padding where sections wrap a container */
    .solutions-section .container,
    .values-section .container,
    .about-section .container,
    .faq-section .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .main-footer {
        padding-top: 40px !important;
    }

    .footer-top {
        padding-bottom: 32px !important;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .footer-col:nth-child(4) {
        order: -1;
    }

    .product-block,
    .product-block.reverse {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .hero-section {
        padding-top: 0;
    }

    .hero-image-layer {
        height: 80vh;
        min-height: auto;
    }

    .hero-headline-over-img {
        padding-bottom: 32px !important;
    }

    .hero-h1-line1 {
        font-size: 2.3rem; 
        font-weight: 800;
        line-height: 1.1;
    }

    .solutions-section,
    .about-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .about-content {
        text-align: center;
    }

    .about-buttons {
        justify-content: center;
    }

    .values-section {
        padding-bottom: 32px !important;
    }

    .value-card {
        padding: 16px 24px !important;
    }

    .card-content h3 {
        font-size: 20px !important;
    }

    .solution-block {
        margin-bottom: 32px;
    }

    .solution-header {
        text-align: center;
    }

    .trust-signals {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .desktop-text {
        display: none !important;
    }
    
    .mobile-text {
        display: inline !important;
    }

    .footer-bottom .container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.5rem !important;
    }

    .footer-bottom p {
        order: 2;
    }

    .footer-bottom-links {
        order: 1;
    }

    .footer-bottom-links a {
        margin-left: 0 !important;
    }

    .faq-title {
        font-size: 28px !important;
        text-align: center;
    }

    .faq-updated {
        text-align: center;
        font-size: 14px;
    }
    
    .faq-question {
        font-size: 18px;
        padding: 16px 24px;
    }

    .faq-section {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .faq-grid {
        gap: 2rem;
    }
}

/* =========================================
   VALUES CARDS SECTION
   ========================================= */
.values-section {
    padding: 2rem 5% 6rem;
    background-color: #ffffff;
    border-bottom: none;
    scroll-margin-top: 100px;
}

.values-section .container {
    max-width: 100%;
    padding: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        align-items: stretch;
    }
    .values-grid.has-expanded-card {
        align-items: flex-start;
    }
}

.value-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.75rem 2rem;
    color: #ffffff;
    /* Chamfered bottom-right corner similar to the image */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), calc(100% - 60px) 100%, 0 100%);
    min-height: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.card-dark,
.card-primary,
.card-light {
    background-color: #0A192F;
}

.card-content h3 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.card-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* Truncate text after 5 lines */
.truncate-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tertiary-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    text-decoration: none;
}

.tertiary-cta:hover {
    opacity: 0.8;
}

/* ── WhatsApp Toast Notification ─────────────────────── */
#wa-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #0A192F;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.12);
    border-left: 4px solid #25D366;
    padding: 0.9rem 1.4rem;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

#wa-toast.show {
    opacity: 1;
    transform: translateY(0);
}

#wa-toast .toast-number {
    color: #25D366;
    font-weight: 600;
}
