html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

:root {
    --nav-bg: rgba(15, 15, 15, 0.4);
    --nav-blur: 20px;
    --dropdown-bg: rgb(10, 10, 10);
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-muted: #777777;
    --accent-color: #E5E5E5;
    --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
    --transition-speed: 0.3s;
    --theme-secondary: rgb(198, 149, 132);
    --amber: #C69584;
    --amber-dim: rgba(198, 149, 132, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-display);
    background-color: #0a0a0a;
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h2 {
    font-family: var(--font-display); color: var(--text-primary); font-size: 20px; font-weight: 500;  margin-bottom: 8px;
}

.text-slide a {
    color: var(--theme-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--theme-secondary);
    padding-bottom: 4px;
}

/* ── NAVBAR ── */
.navbar-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 72px;
    background: var(--nav-bg);
    backdrop-filter: blur(var(--nav-blur));
    -webkit-backdrop-filter: blur(var(--nav-blur));
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
}

.logo { height: 28px; width: auto; object-fit: contain; }

.nav-left { display: flex; gap: 32px; align-items: center; }

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 11px; font-weight: 500;
    letter-spacing: 2.5px; text-transform: uppercase;
    padding: 26px 0; cursor: pointer;
    transition: opacity var(--transition-speed) ease;
}
.nav-link:hover { opacity: 0.6; }

.hamburger-trigger {
    display: none; flex-direction: column;
    justify-content: space-between;
    width: 18px; height: 12px;
    background: transparent; border: none;
    cursor: pointer; z-index: 1100; padding: 0;
}
.hamburger-trigger span {
    width: 100%; height: 1px;
    background-color: var(--text-primary);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
}
.mobile-menu-active .hamburger-trigger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.mobile-menu-active .hamburger-trigger span:nth-child(2) { opacity: 0; }
.mobile-menu-active .hamburger-trigger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-center { display: flex; justify-content: center; align-items: center; }

.nav-right { display: flex; justify-content: flex-end; align-items: center; }

.search-btn {
    display: flex; align-items: center; gap: 10px;
    color: var(--text-primary); text-decoration: none;
    font-size: 11px; font-weight: 500;
    letter-spacing: 2.5px; text-transform: uppercase;
    transition: opacity var(--transition-speed) ease;
}
.search-btn:hover { opacity: 0.6; }

.nav-item-with-dropdown { position: static; }

.dropdown-panel {
    position: fixed; top: 72px; left: 0; width: 100%;
    background: var(--dropdown-bg);
    backdrop-filter: blur(35px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 60px 80px;
    display: flex; flex-direction: column; gap: 40px;
    opacity: 0; visibility: hidden;
    transition: opacity var(--transition-speed) ease,
                transform var(--transition-speed) ease,
                visibility var(--transition-speed);
    z-index: 999;
}
.nav-item-with-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-header { border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 24px; }
.dropdown-title { font-family: var(--font-display); color: var(--text-primary); font-size: 18px; font-weight: 400; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 8px; }
.dropdown-subtitle { color: var(--text-muted); font-size: 12px; letter-spacing: 1px; }
.dropdown-body { display: grid; grid-template-columns: 1fr 2.5fr; gap: 80px; }
.menu-secondary { display: flex; flex-direction: column; gap: 20px; border-right: 1px solid rgba(255,255,255,0.05); padding-right: 40px; }
.menu-secondary-title { color: var(--text-muted); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.menu-secondary a { color: var(--text-secondary); text-decoration: none; font-size: 13px; letter-spacing: 1px; transition: color var(--transition-speed); }
.menu-secondary a:hover { color: var(--text-primary); }
.menu-primary-container { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.menu-primary-links { display: flex; flex-direction: column; gap: 18px; }
.menu-primary-links a { color: var(--text-primary); text-decoration: none; font-size: 13px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; transition: transform var(--transition-speed) ease, color var(--transition-speed) ease; display: inline-block; }
.menu-primary-links a:hover { color: var(--text-secondary); transform: translateX(4px); }

/* ── MOBILE SIDEBAR ── */
.mobile-sidebar {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    z-index: 1050; padding: 100px 40px 60px 40px;
    display: flex; flex-direction: column; justify-content: space-between;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
    overflow-y: auto;
}
.mobile-menu-active .mobile-sidebar { transform: translateX(0); }
.mobile-links-wrapper { display: flex; flex-direction: column; gap: 28px; }
.mobile-links-wrapper a { color: var(--text-primary); text-decoration: none; font-size: 20px; font-weight: 300; letter-spacing: 3px; text-transform: uppercase; transition: color var(--transition-speed); }
.mobile-sub-regions { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; }
.mobile-sub-regions span { color: var(--text-muted); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.mobile-sub-regions a { color: var(--text-secondary); font-size: 14px; letter-spacing: 1px; text-decoration: none; }

/* ── HERO ── */
.hero-container {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100dvh;
    display: flex; align-items: flex-end; justify-content: flex-start;
    padding: 0 6% 40px 6%; z-index: 1; background-color: #000;
}
.video-bg-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.video-bg-element { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.75) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; color: #fff; padding-bottom: 24px; }
.hero-title { font-family: var(--font-display); font-size: clamp(34px,4.8vw,68px); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: 30%; max-width: 90%; }
.hero-subtitle { font-size: clamp(14px,1.25vw,17px); font-weight: 400; line-height: 1.5; color: #fff; max-width: 520px; }

/* ── MAIN CONTENT ── */
.main-content-wrapper { position: relative; z-index: 5; margin-top: 100vh; background-color: #0a0a0a; }

.content-section { max-width: 1200px; margin: 0 auto; padding: 60px 40px; }
.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.section-label { font-size: 11px; text-transform: uppercase; letter-spacing: 3px; color: var(--text-muted); margin-bottom: 16px; display: block; }
.section-heading { font-family: var(--font-display); font-size: clamp(28px,4vw,42px); font-weight: 300; line-height: 1.2; letter-spacing: -0.01em; color: var(--text-primary); }
.section-body { font-size: 16px; line-height: 1.7; color: var(--text-secondary); }
.section-body p { margin-bottom: 24px; }

/* ── SECTION DIVIDER ── */
.section-divider { border: none; border-top: 1px solid rgba(255,255,255,0.05); }

/* ── PLATFORM OVERVIEW (3-step) ── */
.platform-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 60px;
}
.step-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 40px 32px;
    position: relative;
    transition: background 0.4s ease;
}
.step-card:hover { background: rgba(198,149,132,0.04); }
.step-number {
    font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--amber); margin-bottom: 24px; display: block;
}
.step-title { font-size: 15px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; color: var(--text-primary); }
.step-desc { font-size: 13px; line-height: 1.65; color: var(--text-muted); }

/* ── PRODUCTS GRID ── */
.products-full { padding: 120px 40px; max-width: 1200px; margin: 0 auto; }
.products-header { margin-bottom: 64px; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid rgba(255,255,255,0.06);
}
.product-card {
    padding: 40px 32px;
    border-right: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
    text-decoration: none;
    display: block;
}
.product-card:last-child, .product-card:nth-child(3n) { border-right: none; }
.product-card:hover { background: rgba(198,149,132,0.03); }
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.product-card:hover::before { opacity: 1; }
.product-tag { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; display: block; }
.product-name { font-size: 16px; font-weight: 500; letter-spacing: 0.5px; color: var(--text-primary); margin-bottom: 12px; }
.product-desc { font-size: 13px; line-height: 1.65; color: var(--text-muted); }
.product-arrow { 
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-muted); margin-top: 24px;
    transition: color 0.3s, gap 0.3s;
}
.product-card:hover .product-arrow { color: var(--amber); gap: 10px; }

/* ── VAIMANIKA SECTION ── */
.vaimanika-section {
    position: relative;
    padding: 140px 40px 180px;
    overflow: hidden;
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.vaimanika-bg-glow {
    position: absolute;
    bottom: -60px; left: 50%; transform: translateX(-50%);
    width: 900px; height: 500px;
    background: radial-gradient(ellipse at 50% 100%, rgba(198,149,132,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.vaimanika-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 100px;
    position: relative; z-index: 2;
}
.vaimanika-eyebrow {
    font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--amber); margin-bottom: 20px; display: block;
}
.vaimanika-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 300; font-style: italic;
    line-height: 1.1; color: var(--text-primary);
    margin-bottom: 20px;
}
.vaimanika-subtitle {
    font-size: 14px; line-height: 1.7;
    color: var(--text-muted); font-weight: 300;
}

/* Semicircle arc of capability cards */
.vaimanika-arc-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    height: 540px;
    z-index: 2;
}

/* SVG arc path indicator */
.arc-path-svg {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.capability-card {
    position: absolute;
    width: 190px;
    background: rgba(12,12,12,0.9);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 24px 20px;
    transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
    cursor: default;
}
.capability-card:hover {
    border-color: rgba(198,149,132,0.4);
    background: rgba(198,149,132,0.05);
    transform: translateY(-6px) !important;
    z-index: 10;
}
.capability-icon {
    font-size: 18px; margin-bottom: 12px; display: block;
    filter: grayscale(1) brightness(1.4);
}
.capability-card:hover .capability-icon { filter: none; }
.capability-name {
    font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--text-primary);
    margin-bottom: 8px;
}
.capability-detail {
    font-size: 12px; line-height: 1.6;
    color: var(--text-muted);
}

/* Vaimanika CTA */
.vaimanika-cta-row {
    display: flex; justify-content: center;
    margin-top: 60px; position: relative; z-index: 2;
}
.vaimanika-cta {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--text-primary); text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 16px 36px;
    transition: border-color 0.3s, background 0.3s;
}
.vaimanika-cta:hover {
    border-color: var(--amber);
    background: rgba(198,149,132,0.06);
}

/* ── DEPLOYMENT STEPS ── */
.deploy-section {
    background: #080808;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 120px 40px;
}
.deploy-inner { max-width: 1200px; margin: 0 auto; }
.deploy-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: center;
    margin-top: 64px;
}
.deploy-steps { display: flex; flex-direction: column; gap: 0; }
.deploy-step {
    display: flex; gap: 28px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    align-items: flex-start;
}
.deploy-step:first-child { padding-top: 0; }
.deploy-step-num {
    font-size: 10px; letter-spacing: 2px;
    color: var(--amber); text-transform: uppercase;
    min-width: 24px; padding-top: 3px;
}
.deploy-step-content {}
.deploy-step-title { font-size: 14px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--text-primary); margin-bottom: 8px; }
.deploy-step-desc { font-size: 13px; line-height: 1.65; color: var(--text-muted); }
.deploy-visual {
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 48px;
    display: flex; flex-direction: column; gap: 16px;
}
.terminal-line {
    font-family: 'Courier New', monospace;
    font-size: 12px; color: var(--text-muted);
    display: flex; align-items: center; gap: 10px;
}
.terminal-line .prompt { color: var(--amber); }
.terminal-line .cmd { color: rgba(255,255,255,0.7); }
.terminal-line .out { color: rgba(255,255,255,0.35); }
.terminal-blink {
    display: inline-block; width: 7px; height: 13px;
    background: var(--amber); animation: blink 1.1s step-end infinite;
    margin-left: 2px; vertical-align: middle;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── FOOTER STRIP ── */
.footer-strip {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 48px 40px;
    display: flex; justify-content: space-between; align-items: center;
}
.footer-strip-logo { height: 20px; opacity: 0.5; }
.footer-links { display: flex; gap: 32px; }
.footer-links a { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-legal { font-size: 10px; letter-spacing: 1px; color: rgba(255,255,255,0.2); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .navbar-container { padding: 0 24px; }
    .dropdown-panel { padding: 40px; }
    .dropdown-body { gap: 40px; }
    .hero-container { padding: 0 4% 30px 4%; }
    .products-grid { grid-template-columns: repeat(2,1fr); }
    .product-card:nth-child(2n) { border-right: none; }
    .product-card:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.06); }
    .vaimanika-arc-wrapper { height: 700px; }
}

@media (max-width: 768px) {
    .navbar-container { grid-template-columns: auto 1fr auto; padding: 0 24px; }
    .nav-left, .dropdown-panel { display: none !important; }
    .hamburger-trigger { display: flex; }
    .hero-container { padding: 0 24px 24px 24px; }
    .hero-title { max-width: 100%; margin-bottom: 20px; }
    .section-grid { grid-template-columns: 1fr; gap: 40px; }
    .platform-steps { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .product-card, .product-card:nth-child(n) { border-right: none; }
    .vaimanika-arc-wrapper { height: auto; position: static; display: flex; flex-direction: column; gap: 16px; padding: 0 0 40px; }
    .capability-card { position: static !important; width: 100% !important; transform: none !important; }
    .deploy-grid { grid-template-columns: 1fr; }
    .footer-strip { flex-direction: column; gap: 24px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
}


/* Flex parent keeps items adjacent and avoids broken float flows */
.flex-container { display: flex; align-items: center; gap: 50px; }

.slider-container { position: relative; width: 30dvw; overflow: hidden; border-radius: 12px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); height: 30dvh; flex-shrink: 0; }
.slider-wrapper { display: flex; transition: transform 0.5s ease-in-out; width: 100%; height: 100%; }
.slide { min-width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; display: block; object-fit: cover; }
.prev, .next { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0, 0, 0, 0.5); color: white; border: none; padding: 10px 15px; cursor: pointer; border-radius: 50%; font-size: 16px; z-index: 10; }
.prev { left: 10px; }
.next { right: 10px; }
.prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); }

/* Removed old float properties, adjusted sizing for clean alignment next to slider */
.text-component { position: relative; min-height: 50px; font-family: sans-serif; text-align: left; width: 40%; }
.text-slide { position: absolute; width: 100%; opacity: 0; transition: opacity 0.5s ease-in-out; pointer-events: none; }
.text-slide.active { opacity: 1; position: relative; pointer-events: auto; }

@media(max-width: 768px) {
    .flex-container {
        flex-direction: column;
    }
    .slider-container {
        width: 90dvw;
    }
    .text-component {
        width: 100%;
    }
}

.slider-sec-margin-root {
    margin-top: 2dvh;
    margin-bottom: 2dvh;
    height: fit-content;
}

.footer-section {
    background-color: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 60px 40px 30px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 85vh;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2.5fr;
    gap: 40px;
    z-index: 2;
}

.col-title {
    color: #707070;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 25px;
}

.col-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.col-links li {
    margin-bottom: 12px;
}

.col-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.col-links a:hover {
    opacity: 0.7;
}

.newsletter-text {
    font-size: 15px;
    margin: 0 0 25px 0;
    color: #ffffff;
}

.newsletter-form {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    width: 100%;
}

.form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333333;
    color: #ffffff;
    padding: 8px 0;
    font-size: 14px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    border-bottom-color: #ffffff;
}

.form-input::placeholder {
    color: #555555;
}

.form-btn {
    background-color: #1c1c1e;
    color: #ffffff;
    border: 1px solid #2c2c2e;
    padding: 10px 24px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.form-btn:hover {
    background-color: #2c2c2e;
}

/* Background Branding Typography Styling */
.footer-bg-text-container {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    padding-top: 40px;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

.bg-brand-text {
    font-size: 24vw;
    font-weight: 500;
    line-height: 0.8;
    color: #121212;
    letter-spacing: -0.5vw;
    margin-left: -1vw;
}

.bg-star-icon {
    width: 18vw;
    height: 18vw;
    color: #121212;
    margin-bottom: 1vw;
}

/* Bottom Bar Metadata Layout */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #121212;
    padding-top: 20px;
    font-size: 10px;
    letter-spacing: 0.5px;
    color: #707070;
    z-index: 2;
}

.bottom-center a {
    color: #707070;
    text-decoration: none;
}

.bottom-center a:hover {
    color: #ffffff;
}

/* Responsive Viewport Queries */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-bg-text-container {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 40px 20px 20px 20px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .newsletter-form {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .form-btn {
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        text-align: left;
    }
    .bg-brand-text {
        font-size: 28vw;
    }
    .bg-star-icon {
        width: 22vw;
        height: 22vw;
    }
}