﻿/* --- Reset & Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'TASA Explorer', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

:root {
    --bg: #02060b;
    --bg-elev: #0b2145;
    --orange: #FF5C1A;
    --cyan: #8DD8DE;
    --cyan-light: #c1ebef;
}

html {
    scroll-behavior: auto;
}

html.lenis, html.lenis body {
    height: auto;
}

html.no-scroll, html.no-scroll body {
    overflow: hidden;
    height: 100vh;
}

body {
    background-color: var(--bg);
    color: #ffffff;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

/* --- Preloader --- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

#preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-ring {
    position: relative;
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring svg { width: 84px; height: 84px; transform: rotate(-90deg); overflow: visible; }

.loader-ring circle.track {
    fill: none;
    stroke: rgba(193, 235, 239, 0.15);
    stroke-width: 2;
}

.loader-ring circle.progress {
    fill: none;
    stroke: var(--orange);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    transition: stroke-dashoffset 0.25s linear;
}

.loader-ring .loader-pct {
    position: absolute;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--cyan-light);
}

.loader-text {
    position: relative;
    height: 20px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cyan);
}

.loader-text span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    white-space: nowrap;
}

.loader-text span.active { opacity: 1; }

/* --- Header & Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    padding: 30px 80px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 24px;
    align-items: center;
    transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(4, 9, 20, 0.75);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    padding: 18px 80px;
    border-bottom: 1px solid rgba(193, 235, 239, 0.12);
}

header.scrolled nav ul li a {
    color: #ffffff;
    opacity: 0.85;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    z-index: 101;
}

.logo-graphic {
    height: 30px;
    width: auto;
    display: block;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-graphic { transform: rotate(90deg); }

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 40px;
    align-items: center;
}

nav ul li a {
    position: relative;
    color: #0b2145;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
    white-space: nowrap;
    padding-bottom: 4px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--orange);
    transition: width 0.35s ease;
}

nav ul li a:hover {
    color: #ffffff;
    opacity: 1;
}

nav ul li a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform 0.65s ease, opacity 0.65s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: end;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

.nav-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-220%);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.nav-cta:hover::after { transform: translateX(220%); }
.nav-cta:active { transform: scale(0.97); }

/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    text-align: center;
    background-color: var(--bg);
    background-image: url('v1/Landing page-p1.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    overflow: hidden;
}




.hero-content {
    max-width: 820px;
    z-index: 2;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tagline {
    color: #8DD8DE;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 20px;
    display: inline-block;
}

/* --- Hero Slogan Graphic --- */
.hero-slogan {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
}

.hero-slogan img {
    width: 100%;
    max-width: 940px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(141, 216, 222, 0.25));
}

.hero-cta {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    border: 1px solid var(--orange);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: transparent;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--orange);
    transform: translateX(-101%);
    transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: -1;
}

.btn:hover::before { transform: translateX(0); }
.btn:hover { color: #040914; }

.btn-ghost {
    border-color: rgba(193, 235, 239, 0.3);
    color: var(--cyan-light);
}

.btn-ghost::before { background: var(--cyan); }
.btn-ghost:hover { color: #040914; }

/* Subtle scroll prompt indicator */
.scroll-indicator {
    margin-top: 48px;
    color: #8DD8DE;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.scroll-indicator .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* --- Reveal-on-scroll lines --- */
.reveal-line {
    overflow: hidden;
    display: block;
}

.reveal-line span {
    display: block;
    transform: translateY(115%);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
    transition-delay: var(--reveal-delay, 0s);
}

.reveal-line.in-view span {
    transform: translateY(0);
    opacity: 1;
}

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
}

.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- Content Sections --- */
.section-content {
    min-height: 100vh;
    background-color: var(--bg);
    padding: 140px 8% 100px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Soft crossfade into the mission section, blending the hero's
   tail into the flat background instead of a hard section cut */
.mission-fade-wrap {
    position: relative;
}

.mission-fade-in,
.mission-fade-out {
    position: absolute;
    left: 0;
    width: 100%;
    height: 30vh;
    pointer-events: none;
    z-index: 3;
}

.mission-fade-in {
    top: 0;
    transform: translateY(-30vh);
    background: linear-gradient(to bottom, transparent, var(--bg));
}

.mission-fade-out {
    top: 0;
    background: linear-gradient(to top, transparent, var(--bg));
}

.mission-statement {
    font-size: clamp(32px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    letter-spacing: -0.5px;
    max-width: 1100px;
}

.mission-statement .caret {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    margin-left: 4px;
    background: var(--orange);
    vertical-align: -0.1em;
    animation: mission-caret 0.75s step-end infinite;
}

@keyframes mission-caret {
    50% { opacity: 0; }
}

.eyebrow {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 18px;
    display: inline-block;
}

.section-title {
    font-size: 32px;
    color: #ffffff;
    font-weight: 700;
    max-width: 800px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

/* Fixed 3-Column Horizontal Grid (stats band) */
.section-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    width: 100%;
}

/* Compact Apple Glassmorphism Style */
.content-card {
    background: rgba(11, 33, 69, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 32px 28px;
    border-radius: 12px;
    border: 1px solid rgba(193, 235, 239, 0.15);
    box-shadow: 0 10px 30px rgba(4, 9, 20, 0.5);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    background: rgba(18, 40, 96, 0.45);
    border-color: rgba(141, 216, 222, 0.4);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-number .unit { font-size: 0.4em; color: var(--orange); font-weight: 700; }

.content-card p {
    color: #c1ebef;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.85;
}

/* --- Numbered feature sections --- */
.feature-section {
    position: relative;
    padding: 160px 8% 120px;
    border-top: 1px solid rgba(193, 235, 239, 0.1);
    overflow: hidden;
}


.feature-stack {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1 1 65%;
    max-width: 960px;
}

.feature-num {
    display: block;
    margin-top: 18px;
    font-size: clamp(5.5rem, 10.6vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--orange);
}

.feature-visual {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 100%;
    max-width: 640px;
    margin-left: clamp(-150px, -9vw, -60px);
}

.feature-heading {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    font-size: clamp(1.5rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
    text-shadow: 0 12px 30px rgba(4, 9, 20, 0.85);
}

.feature-line {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    max-width: 540px;
    color: var(--cyan-light);
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.85;
}

/* Graphic slot — placeholder for real product visuals/video */
.graphic-slot {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    border: 1px dashed rgba(141, 216, 222, 0.3);
    background: radial-gradient(circle at 30% 20%, rgba(141, 216, 222, 0.08), transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(255, 92, 26, 0.08), transparent 60%),
                rgba(4, 9, 20, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 40px;
    overflow: hidden;
}

.graphic-slot::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg, transparent 40%, rgba(141, 216, 222, 0.08) 50%, transparent 60%);
    animation: slotShimmer 5s linear infinite;
}

@keyframes slotShimmer {
    0% { transform: translateX(-30%); }
    100% { transform: translateX(30%); }
}

.graphic-slot .slot-icon {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(141, 216, 222, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--cyan);
    position: relative;
    z-index: 1;
}

.graphic-slot .slot-label {
    position: relative;
    z-index: 1;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan-light);
    opacity: 0.6;
}

/* Accordion */
.accordion {
    margin-top: 30px;
}

.accordion-item {
    border-bottom: 1px solid rgba(193, 235, 239, 0.15);
}

.accordion-item:first-child { border-top: 1px solid rgba(193, 235, 239, 0.15); }

.accordion-head {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 0;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.accordion-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1px dashed rgba(193, 235, 239, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--cyan-light);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.accordion-item.active .accordion-num {
    background: var(--orange);
    border-color: var(--orange);
    color: #040914;
}

.accordion-head h3 {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    transition: color 0.3s ease;
}

.accordion-item:hover .accordion-head h3 { color: var(--cyan); }

.accordion-plus {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.accordion-plus span {
    position: absolute;
    background: var(--cyan-light);
    transition: transform 0.3s ease;
}

.accordion-plus span:nth-child(1) { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.accordion-plus span:nth-child(2) { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }

.accordion-item.active .accordion-plus span:nth-child(2) { transform: translateX(-50%) scaleY(0); }

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-panel-inner {
    padding: 0 0 30px 52px;
    color: var(--cyan-light);
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.85;
    max-width: 620px;
}

/* --- CTA band --- */
.cta-section {
    padding: 140px 8%;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(193, 235, 239, 0.1);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.2;
}

.cta-section p {
    color: #c1ebef;
    opacity: 0.8;
    max-width: 620px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.6;
}

.cta-section .hero-cta { justify-content: center; }

/* --- Footer --- */
footer {
    background: linear-gradient(to bottom, var(--bg) 0%,var(--bg) 20%, #0b2145 100%);
    padding: 100px 8% 100px;
    position: relative;

}

.footer-statement {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 600;
    max-width: 940px;
    line-height: 1.3;
    margin-bottom: 40px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 20px;
}

.footer-left {
    flex: 1 1 420px;
    max-width: 640px;
}

.footer-links {
    display: flex;
    flex-shrink: 0;
    gap: 120px;
}

.footer-links h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links a,
.footer-links address p {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.9;
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-links address {
    font-style: normal;
    margin-top: 12px;
}

.footer-links a:hover { opacity: 1; color: #FF5C1A; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 30px;
    border-top: 1px solid #fff;
    font-size: 13px;
    color: #fff;
    opacity: 0.4;
}

.footer-bottom .legal-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* --- Solution teaser (how-it-works entry point) --- */
.solution-section {
    align-items: center;
    text-align: center;
}

.solution-section .mission-statement {
    max-width: 900px;
}

.solution-section .hero-cta {
    justify-content: center;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    header, header.scrolled {
        padding: 20px 24px;
    }

    .nav-toggle { display: flex; }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(320px, 80vw);
        background: rgba(4, 9, 20, 0.96);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
        margin-left: 0;
        border-left: 1px solid rgba(193, 235, 239, 0.15);
    }

    nav.open { transform: translateX(0); }

    nav ul {
        flex-direction: column;
        gap: 28px;
        align-items: flex-start;
    }

    .hero {
        padding: 140px 6% 60px;
    }

    .hero-cta { justify-content: center; flex-wrap: wrap; }

    .section-content {
        padding: 110px 6% 60px;
        min-height: auto;
    }

    .section-grid { grid-template-columns: 1fr; }

    .feature-section { padding: 100px 6% 80px; }
    .feature-stack { flex-direction: column; }
    .feature-text { max-width: none; }
    .feature-visual { margin-left: 0; margin-top: 32px; max-width: 100%; }
    .accordion-panel-inner { padding-left: 0; }

    .footer-top { flex-direction: column; gap: 40px; }
}

@media (max-width: 650px) {
    .footer-links { flex-direction: column; gap: 32px; }
}
