/* =============================================
   TRITON GROWTH — Official Brand Design System
   Font: Gilroy | Colors: Triton Brand Palette
   ============================================= */

/* --- Gilroy Font Faces --- */
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Triton Brand Colors */
    --triton-dark-blue: #181F40;
    --triton-light-blue: #2D46B9;
    --triton-yellow-green: #D8E72C;
    --triton-orange: #FB4D17;
    --triton-light-green: #5DDAA6;
    --triton-off-white: #EAE9E8;
    --triton-black: #111111;
    --triton-white: #FFFFFF;

    /* Mapped design tokens */
    --bg-primary: var(--triton-off-white);
    --bg-secondary: #e2e1df;
    --bg-tertiary: #d8d7d5;
    --bg-card: var(--triton-white);
    --bg-card-hover: #fafafa;

    /* Borders */
    --border: #d0cfcd;
    --border-hover: #b8b7b5;
    --border-light: #e8e7e5;

    /* Text */
    --text-primary: var(--triton-dark-blue);
    --text-secondary: #3d3d5c;
    --text-muted: #6b6b80;

    /* Brand aliases */
    --blue: var(--triton-dark-blue);
    --blue-light: var(--triton-light-blue);
    --blue-dark: #0e1530;
    --blue-accent: var(--triton-light-blue);
    --blue-soft: rgba(45, 70, 185, 0.08);
    --blue-bg: rgba(24, 31, 64, 0.04);

    /* Accent */
    --accent: var(--triton-yellow-green);
    --accent-hover: #c5d228;
    --teal: var(--triton-light-green);
    --teal-soft: rgba(93, 218, 166, 0.12);
    --amber: var(--triton-orange);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--triton-dark-blue), var(--triton-light-blue));
    --gradient-hero: linear-gradient(135deg, #0e1530, var(--triton-dark-blue), var(--triton-light-blue));
    --gradient-subtle: linear-gradient(135deg, rgba(24, 31, 64, 0.03), rgba(45, 70, 185, 0.03));

    /* Spacing — luxury breathing room */
    --section-padding: 144px 0;
    --container-width: 1200px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    /* Transitions */
    --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);

    /* Shadows — beefed up for contrast on off-white bg */
    --shadow-sm: 0 2px 6px rgba(24, 31, 64, 0.08), 0 0 0 1px rgba(24, 31, 64, 0.03);
    --shadow-md: 0 6px 20px rgba(24, 31, 64, 0.1), 0 0 0 1px rgba(24, 31, 64, 0.04);
    --shadow-lg: 0 16px 48px rgba(24, 31, 64, 0.12), 0 0 0 1px rgba(24, 31, 64, 0.04);
    --shadow-xl: 0 24px 64px rgba(24, 31, 64, 0.15), 0 0 0 1px rgba(24, 31, 64, 0.05);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Gilroy', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* --- Screen-reader only utility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Focus-visible styles --- */
:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

:focus:not(:focus-visible) {
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: -1px;
    border-color: var(--blue-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* --- Gradient Text --- */
.gradient-text {
    background: linear-gradient(135deg, var(--triton-light-blue), var(--triton-light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    position: relative;
}

.btn-primary {
    background: var(--triton-yellow-green);
    color: var(--triton-dark-blue);
    font-weight: 700;
}

.btn-primary:hover {
    background: #e8f040;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--blue);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    background: var(--blue-bg);
    border-color: var(--blue-light);
    color: var(--blue-light);
}

.btn-white {
    background: var(--triton-yellow-green);
    color: var(--triton-dark-blue);
    font-weight: 700;
}

.btn-white:hover {
    background: #e8f040;
    transform: translateY(-1px);
}

.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--triton-yellow-green);
    color: var(--triton-yellow-green);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-white {
    display: block;
    transition: var(--transition);
}

.logo-dark {
    display: none;
    transition: var(--transition);
}

.navbar.scrolled .logo-white {
    display: none;
}

.navbar.scrolled .logo-dark {
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.nav-links a:hover {
    color: #ffffff;
}

.navbar.scrolled .nav-links a {
    color: var(--text-secondary);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--blue);
}

.nav-cta {
    padding: 10px 22px !important;
    background: var(--triton-yellow-green) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--triton-dark-blue) !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 2px 8px rgba(216, 231, 44, 0.2);
}

.navbar.scrolled .nav-cta {
    background: var(--triton-yellow-green) !important;
    color: var(--triton-dark-blue) !important;
    box-shadow: 0 2px 12px rgba(216, 231, 44, 0.25);
}

.nav-cta:hover {
    transform: translateY(-1px);
    background: var(--accent-hover) !important;
    box-shadow: 0 4px 16px rgba(216, 231, 44, 0.3) !important;
}

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

.mobile-toggle span {
    width: 24px;
    height: 1.5px;
    background: #ffffff;
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .mobile-toggle span {
    background: var(--blue-dark);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
    background-color: #0e1530;
    color: #ffffff;
    isolation: isolate;
}

/* Hero background image (fallback for no-video-support) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/hero/hero-network.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -3;
}

/* Hero video — custom generated network sculpture loop */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}

/* Respect prefers-reduced-motion — fall back to static image */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
}

/* Dark gradient overlay for text readability + luxury finish */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(14, 21, 48, 0.4) 0%, rgba(14, 21, 48, 0.7) 70%, rgba(14, 21, 48, 0.88) 100%),
        linear-gradient(180deg, rgba(14, 21, 48, 0.25) 0%, transparent 30%, transparent 70%, rgba(14, 21, 48, 0.55) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Mobile: smaller fallback image for performance */
@media (max-width: 768px) {
    .hero::before {
        background-image: url('../images/hero/hero-network-mobile.jpg');
    }
}

@keyframes cosmic-breathe {
    0% { transform: translate(-50%, -50%) translate(var(--aurora-x, 0px), var(--aurora-y, 0px)) rotate(0deg); }
    100% { transform: translate(-50%, -50%) translate(var(--aurora-x, 0px), var(--aurora-y, 0px)) rotate(360deg); }
}

@keyframes static-pan {
    0% { transform: translate(0, 0); }
    100% { transform: translate(200px, 200px); }
}

/* Grid reveal disabled — image provides its own texture */
.grid-reveal {
    display: none;
}

/* Gemini Pro #5: Reactive shimmer on CTAs and stats bar */
.hero-stats,
.hero .btn-white,
.hero .btn-outline-white {
    position: relative;
    overflow: hidden;
}

.hero-stats::after,
.hero .btn-white::after,
.hero .btn-outline-white::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 150%;
    background: linear-gradient(
        100deg,
        rgba(255,255,255,0) 0%,
        rgba(234,233,232,0.12) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: translateX(-200%) skewX(-25deg);
    transition: transform 0.8s ease-in-out;
    pointer-events: none;
    z-index: 5;
}

.hero:hover .hero-stats::after,
.hero:hover .btn-white::after,
.hero:hover .btn-outline-white::after {
    transform: translateX(350%) skewX(-25deg);
}

/* Particle canvas */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Mouse-follow spotlight */
.hero-spotlight {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 231, 44, 0.08), rgba(45, 70, 185, 0.06), transparent 65%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: transform;
}

.hero:hover .hero-spotlight {
    opacity: 1;
}

/* Rotating words — override gradient-text on parent so children handle it */
.rotating-word {
    display: inline-block;
    position: relative;
    min-width: 0;
    vertical-align: baseline;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

.rotating-word .rw-inner {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
}

.rotating-word .rw-text {
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    background: linear-gradient(135deg, var(--triton-yellow-green), #e8f040, var(--triton-light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rotating-word .rw-text.exit-up {
    transform: translateY(-110%) skewY(-5deg);
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
}

.rotating-word .rw-text.enter-up {
    transform: translateY(100%) skewY(8deg);
    opacity: 0;
}

.rotating-word .rw-text.active {
    animation: glitch-ascend 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes glitch-ascend {
    0% {
        opacity: 0;
        transform: translateY(100%) skewY(8deg);
    }
    25% {
        opacity: 1;
        transform: translateY(0) skewY(0);
    }
    30% {
        transform: translateX(-4px);
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    }
    35% {
        transform: translateX(4px);
        clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    }
    40% {
        transform: translateX(0);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0) skewY(0);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* Underline accent on rotating words */
.rotating-word::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--triton-yellow-green), rgba(216, 231, 44, 0.3), transparent);
    border-radius: 2px;
    opacity: 0.6;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent 70%);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.2), transparent 70%);
    bottom: -200px;
    left: -100px;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 65%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

/* --- Luxury Hero: Eyebrow, Title, Subhead, Trust --- */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 44px;
    font-family: 'Gilroy', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    animation: fadeInDown 0.8s ease;
}

.eyebrow-line {
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-size: clamp(42px, 6.5vw, 76px);
    font-weight: 900;
    line-height: 1.02;
    margin-bottom: 32px;
    letter-spacing: -1.5px;
    animation: fadeInUp 0.8s ease 0.1s both;
    color: #ffffff;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title .gradient-text {
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: initial;
    background-clip: border-box;
    color: var(--triton-yellow-green);
    font-family: 'Playfair Display', 'Gilroy', serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(16px, 1.4vw, 19px);
    color: rgba(255, 255, 255, 0.7);
    max-width: 620px;
    margin: 0 auto 56px;
    line-height: 1.65;
    animation: fadeInUp 0.8s ease 0.2s both;
    font-weight: 400;
}

.hero-subtitle em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05em;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 72px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* Luxury CTA treatments — no pulse, confident */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--triton-yellow-green);
    color: var(--triton-dark-blue);
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
}

.btn-hero-primary:hover {
    background: #e8f040;
    transform: translateY(-1px);
}

.btn-hero-primary svg {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-hero-primary:hover svg {
    transform: translateX(3px);
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-sm);
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

/* Hero trust line — single, refined */
.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Gilroy', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.3px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-trust strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    margin-right: 4px;
    font-variant-numeric: tabular-nums;
}

.trust-sep {
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    animation: scrollPulse 2.5s infinite;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4.5px;
    text-transform: uppercase;
    color: var(--triton-light-blue);
    margin-bottom: 18px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: 0.35;
}

.section-tag::before { right: calc(100% + 12px); }
.section-tag::after { left: calc(100% + 12px); }

.section-title {
    font-family: 'Gilroy', 'Inter', sans-serif;
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1px;
    color: var(--triton-dark-blue);
}

.section-title .gradient-text {
    color: var(--triton-light-blue);
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.5px;
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: initial;
    background-clip: border-box;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

/* --- Two Sides Section --- */
.two-sides {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

/* Subtle section dividers between light sections */
.two-sides::after,
.how-it-works::after,
.testimonials::after,
.tools::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.sides-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.side-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.side-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 16px 48px rgba(24, 31, 64, 0.18), 0 0 0 1px rgba(24, 31, 64, 0.05);
}

.side-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.side-card.side-products::before {
    background: var(--gradient-primary);
}

.side-card.side-distributors::before {
    background: linear-gradient(135deg, var(--teal), #06b6d4);
}

.side-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.side-products .side-icon {
    background: var(--blue-soft);
    color: var(--blue);
}

.side-distributors .side-icon {
    background: var(--teal-soft);
    color: var(--teal);
}

.side-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.side-card .side-role {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.side-card p.side-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 28px;
}

.side-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.side-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.side-benefit svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.side-products .side-benefit svg {
    color: var(--blue-accent);
}

.side-distributors .side-benefit svg {
    color: var(--teal);
}

.side-card .btn {
    width: 100%;
    justify-content: center;
}

.side-products .btn {
    background: var(--gradient-primary);
    color: #ffffff;
}

.side-distributors .btn {
    background: linear-gradient(135deg, var(--teal), #06b6d4);
    color: #ffffff;
}

/* --- Verticals Section (dark section for visual drama) --- */
.verticals {
    padding: var(--section-padding);
    background: var(--triton-dark-blue);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.verticals::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(216, 231, 44, 0.06), transparent 70%);
    pointer-events: none;
}

.verticals .section-tag {
    color: var(--triton-yellow-green);
}

.verticals .section-tag::before,
.verticals .section-tag::after {
    background: var(--triton-orange);
    opacity: 0.7;
}

.verticals .section-title {
    color: #ffffff;
}

.verticals .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.verticals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.vertical-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.vertical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--triton-yellow-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.vertical-card:hover {
    border-color: var(--triton-dark-blue);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(24, 31, 64, 0.12);
    background: var(--triton-dark-blue);
    color: #ffffff;
}

.vertical-card:hover::before {
    transform: scaleX(1);
}

.vertical-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-soft);
    border-radius: var(--radius-md);
    color: var(--triton-light-blue);
    margin-bottom: 20px;
    transition: all 0.35s ease;
}

.vertical-card:hover .vertical-icon {
    background: var(--triton-yellow-green);
    color: var(--triton-dark-blue);
    transform: scale(1.08) rotate(-4deg);
}

.vertical-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--triton-dark-blue);
    margin-bottom: 8px;
    transition: color 0.35s ease;
}

.verticals .vertical-card h3 {
    color: var(--triton-dark-blue);
}

.vertical-card:hover h3 {
    color: #ffffff;
}

.vertical-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
    transition: color 0.35s ease;
}

.vertical-card:hover p {
    color: rgba(255, 255, 255, 0.75);
}

.vertical-stats {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--text-muted);
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    transition: all 0.35s ease;
}

.vertical-stats span {
    color: var(--triton-light-blue);
    font-weight: 700;
}

.vertical-card:hover .vertical-stats {
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
}

.vertical-card:hover .vertical-stats span {
    color: var(--triton-yellow-green);
}

.vertical-pill svg {
    color: var(--blue-accent);
}

/* --- How It Works --- */
.how-it-works {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

.hiw-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 56px;
    background: var(--bg-tertiary);
    border-radius: 100px;
    padding: 4px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.hiw-tab {
    flex: 1;
    padding: 12px 24px;
    border-radius: 100px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hiw-tab.active {
    background: var(--triton-dark-blue);
    color: var(--triton-yellow-green);
    box-shadow: var(--shadow-md);
    position: relative;
}

.hiw-tab.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--triton-yellow-green);
    border-radius: 2px;
}

.hiw-tab:hover:not(.active) {
    color: var(--text-primary);
}

.hiw-content {
    display: none;
    opacity: 0;
    transform: translateY(12px);
}

.hiw-content.active {
    display: block;
    animation: tabReveal 0.45s ease-out forwards;
}

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 14%;
    right: 14%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-soft), var(--blue-soft), transparent);
    z-index: 0;
}

.step-card {
    position: relative;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    transition: var(--transition);
    z-index: 2;
    text-align: center;
}

.step-card:hover {
    border-color: var(--blue-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--triton-dark-blue);
    color: var(--triton-yellow-green);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 800;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Events Section --- */
.events {
    padding: var(--section-padding);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    border-color: var(--triton-light-blue);
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 16px 48px rgba(24, 31, 64, 0.18);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.event-card:hover::before {
    opacity: 1;
}

.event-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-soft);
    border-radius: var(--radius-md);
    color: var(--blue);
    margin-bottom: 20px;
}

.event-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.event-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.event-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.event-meta span {
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    padding: 4px 12px;
    background: var(--blue-soft);
    border-radius: 100px;
    letter-spacing: 0.2px;
}

/* --- Featured Event Card --- */
.event-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 40px;
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 32px rgba(24, 31, 64, 0.06);
}

.event-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 64px rgba(24, 31, 64, 0.14);
}

.event-featured-image {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    background: #4a4a2e;
}

.event-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-featured:hover .event-featured-image img {
    transform: scale(1.04);
}

.event-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(24, 31, 64, 0.05) 0%,
        rgba(24, 31, 64, 0.0) 50%,
        rgba(24, 31, 64, 0.3) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.event-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(24, 31, 64, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(216, 231, 44, 0.35);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--triton-yellow-green);
    z-index: 3;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--triton-yellow-green);
    border-radius: 50%;
    animation: livePulse 1.8s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(216, 231, 44, 0.6);
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.event-featured-content {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-featured-tag {
    display: inline-block;
    padding: 5px 14px;
    background: var(--triton-yellow-green);
    color: var(--triton-dark-blue);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    align-self: flex-start;
}

.event-featured-content h3 {
    font-family: 'Gilroy', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--triton-dark-blue);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.8px;
}

.event-featured-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.event-featured-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.efs-item {
    text-align: left;
}

.efs-number {
    font-family: 'Gilroy', sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--triton-dark-blue);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.efs-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.event-featured-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.event-featured-meta strong {
    color: var(--triton-light-blue);
    font-weight: 700;
}

/* --- Upgraded Event Cards (v2 with image zone) --- */
.event-card-v2 {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.event-card-v2 .event-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--triton-dark-blue), var(--triton-light-blue));
}

.event-card-v2[data-vertical="business"] .event-card-image {
    background: linear-gradient(135deg, #181F40, #2D46B9);
}
.event-card-v2[data-vertical="ai"] .event-card-image {
    background: linear-gradient(135deg, #0e1530, #2D46B9, #5DDAA6);
}
.event-card-v2[data-vertical="manifestation"] .event-card-image {
    background: linear-gradient(135deg, #2D46B9, #8b5cf6, #D8E72C);
}
.event-card-v2[data-vertical="women"] .event-card-image {
    background: linear-gradient(135deg, #9f1239, #FB4D17, #D8E72C);
}
.event-card-v2[data-vertical="mindbody"] .event-card-image {
    background: linear-gradient(135deg, #065f46, #5DDAA6, #D8E72C);
}
.event-card-v2[data-vertical="finance"] .event-card-image {
    background: linear-gradient(135deg, #064e3b, #16a34a, #D8E72C);
}
.event-card-v2[data-vertical="authors"] .event-card-image {
    background: linear-gradient(135deg, #4c1d95, #FB4D17, #D8E72C);
}
.event-card-v2[data-vertical="personal-dev"] .event-card-image {
    background: linear-gradient(135deg, #0e1530, #2D46B9, #FB4D17);
}

/* When an image is added via data-image attribute, it will show */
.event-card-v2 .event-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-card-v2:hover .event-card-image img {
    transform: scale(1.05);
}

.event-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    z-index: 1;
}

.event-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(24, 31, 64, 0) 40%,
        rgba(24, 31, 64, 0.5) 100%
    );
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.event-card-v2:hover .event-card-overlay {
    opacity: 1;
}

.event-card-v2 .event-card-content {
    padding: 20px 22px 24px;
}

.event-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--blue-soft);
    color: var(--triton-light-blue);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.event-card-v2 h3 {
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--triton-dark-blue);
    line-height: 1.25;
    margin-bottom: 10px;
}

.event-card-v2 p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

/* --- Tools Section --- */
.tools {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.tools-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tool-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(24, 31, 64, 0.06);
}

.tool-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--triton-yellow-green);
}

.tool-featured-left {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--triton-dark-blue);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.tool-featured-left::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(216, 231, 44, 0.12), transparent 70%);
    pointer-events: none;
}

.tool-featured-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 5px 14px;
    background: var(--triton-yellow-green);
    color: var(--triton-dark-blue);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.tool-featured-left h3 {
    font-family: 'Gilroy', sans-serif;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.tool-featured-left p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
}

.tool-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tool-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.tool-bullets li svg {
    color: var(--triton-yellow-green);
    flex-shrink: 0;
}

.tool-featured-right {
    padding: 40px 44px;
}

/* --- Calculator --- */
.calculator h4 {
    font-family: 'Gilroy', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--triton-dark-blue);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.calc-group {
    margin-bottom: 20px;
}

.calc-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.calc-slider-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

input[type=range]#calc-audience {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--border);
    border-radius: 100px;
    outline: none;
    cursor: pointer;
}

input[type=range]#calc-audience::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--triton-yellow-green);
    border: 3px solid var(--triton-dark-blue);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

input[type=range]#calc-audience::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

input[type=range]#calc-audience::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--triton-yellow-green);
    border: 3px solid var(--triton-dark-blue);
    border-radius: 50%;
    cursor: pointer;
}

.calc-value {
    min-width: 90px;
    padding: 8px 14px;
    background: var(--triton-dark-blue);
    color: var(--triton-yellow-green);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.calc-group select {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--triton-dark-blue);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23181F40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    transition: all 0.2s ease;
}

.calc-group select:focus {
    outline: none;
    border-color: var(--triton-dark-blue);
    box-shadow: 0 0 0 3px rgba(24, 31, 64, 0.1);
}

.calc-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.calc-radio {
    padding: 12px 8px;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: 'Gilroy', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-radio:hover {
    border-color: var(--triton-dark-blue);
    color: var(--triton-dark-blue);
}

.calc-radio.active {
    background: var(--triton-dark-blue);
    border-color: var(--triton-dark-blue);
    color: var(--triton-yellow-green);
}

.calc-results {
    margin: 28px 0 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-light);
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.calc-result-row:last-child {
    border-bottom: none;
}

.calc-result-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.calc-result-value {
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--triton-dark-blue);
    font-variant-numeric: tabular-nums;
}

.calc-result-highlight .calc-result-label {
    color: var(--triton-dark-blue);
    font-weight: 700;
}

.calc-result-highlight .calc-result-value {
    font-size: 26px;
    color: var(--triton-light-blue);
    letter-spacing: -0.5px;
}

.calc-result-delta {
    margin-top: 4px;
    padding-top: 14px !important;
    border-top: 2px solid var(--triton-yellow-green) !important;
    border-bottom: none !important;
}

.calc-result-delta .calc-result-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.calc-result-delta .calc-result-value {
    color: #16a34a;
    font-size: 22px;
}

/* --- Tools row (secondary tool cards) --- */
.tools-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tools-row-two {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
}

.tool-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 22px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.tool-card:hover {
    border-color: var(--triton-light-blue);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(24, 31, 64, 0.1);
}

.tool-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-soft);
    color: var(--triton-light-blue);
    border-radius: var(--radius-md);
    transition: all 0.35s ease;
}

.tool-card:hover .tool-card-icon {
    background: var(--triton-yellow-green);
    color: var(--triton-dark-blue);
    transform: scale(1.08) rotate(-4deg);
}

.tool-card-content {
    flex: 1;
    min-width: 0;
}

.tool-card-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(24, 31, 64, 0.06);
    color: var(--text-muted);
    border-radius: 100px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tool-card-tag-live {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.tool-card h4 {
    font-family: 'Gilroy', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--triton-dark-blue);
    margin-bottom: 6px;
    line-height: 1.25;
}

.tool-card p {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

/* --- Testimonials --- */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.testimonial-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 48px;
    background: var(--bg-tertiary);
    border-radius: 100px;
    padding: 4px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-tab {
    flex: 1;
    padding: 12px 20px;
    border-radius: 100px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-tab.active {
    background: var(--triton-dark-blue);
    color: var(--triton-yellow-green);
    box-shadow: var(--shadow-md);
}

.testimonial-tab:hover:not(.active) {
    color: var(--text-primary);
}

.testimonial-group {
    display: none;
    opacity: 0;
    transform: translateY(12px);
}

.testimonial-group.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    animation: tabReveal 0.45s ease-out forwards;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--triton-light-blue);
}

.testimonial-group[data-group="distributors"] .testimonial-card {
    border-left-color: var(--triton-yellow-green);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::after {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 64px;
    color: var(--blue-accent);
    opacity: 0.08;
    line-height: 1;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--triton-yellow-green);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #ffffff;
}

.testimonial-group[data-group="products"] .author-avatar {
    background: var(--gradient-primary);
}

.testimonial-group[data-group="distributors"] .author-avatar {
    background: linear-gradient(135deg, var(--teal), #06b6d4);
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.author-title {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- Results Strip --- */
.results-strip {
    padding: 80px 0;
    background: var(--gradient-hero);
    color: #ffffff;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.result-item h3 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -1.5px;
    color: var(--triton-yellow-green);
}

/* Orange accent pulled back for luxury discipline */

.result-item p {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.3px;
}

/* --- Application Section --- */
/* Urgency strip — removed for luxury pass */

.apply {
    padding: var(--section-padding);
}

.apply-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.apply-content .section-header {
    text-align: left;
    margin-bottom: 28px;
}

.apply-content .section-tag::before,
.apply-content .section-tag::after {
    display: none;
}

.apply-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.apply-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.apply-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.apply-benefit svg {
    flex-shrink: 0;
    color: var(--blue-accent);
}

/* Form toggle */
.form-toggle {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: var(--bg-tertiary);
    border-radius: 100px;
    padding: 4px;
}

.form-toggle-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 100px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.form-toggle-btn.active {
    background: var(--triton-dark-blue);
    color: var(--triton-yellow-green);
    box-shadow: var(--shadow-sm);
}

.form-toggle-btn:hover:not(.active) {
    color: var(--text-primary);
}

.apply-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.apply-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--triton-yellow-green);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
    background: var(--bg-primary);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231e3a8a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    color: var(--text-muted);
    padding-right: 40px;
}

.form-group select:valid {
    color: var(--text-primary);
}

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

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 4px;
}

/* --- Footer --- */
.footer {
    padding: 72px 0 36px;
    background: var(--triton-dark-blue);
    color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer .nav-logo {
    margin-bottom: 4px;
}

/* Footer always shows white logo */
.footer .logo-dark {
    display: none !important;
}
.footer .logo-white {
    display: block !important;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-placeholder {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
    padding: 6px 0;
    cursor: default;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.5px;
}

.footer-powered {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
}

.footer-powered span {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(74, 222, 128, 0.5); }
    50% { opacity: 0.3; box-shadow: 0 0 2px rgba(74, 222, 128, 0.3); }
}

@keyframes scrollPulse {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Accessibility: Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .gradient-orb { display: none; }
    .hero::before, .hero::after { animation: none; }
    .grid-reveal { display: none; }
    .hero-stats::after,
    .hero .btn-white::after,
    .hero .btn-outline-white::after { display: none; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid::before { display: none; }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .verticals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tools-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    /* Nav */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 32, 87, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 18px;
        color: #ffffff !important;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hero */
    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 48px);
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 20px;
    }

    .stat-number { font-size: 28px; }
    .stat-suffix { font-size: 20px; }
    .stat-label { font-size: 10px; }
    .stat-divider { display: none; }

    /* Section headers */
    .section-header { margin-bottom: 40px; }
    .section-tag::before, .section-tag::after { display: none; }

    /* Two sides */
    .sides-grid {
        grid-template-columns: 1fr;
    }

    .side-card {
        padding: 32px 24px;
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: 1fr;
    }

    /* Events */
    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-featured {
        grid-template-columns: 1fr;
    }

    .event-featured-image {
        min-height: 320px;
        aspect-ratio: 1 / 1;
    }

    .event-featured-content {
        padding: 32px 24px;
    }

    .event-featured-content h3 {
        font-size: 28px;
    }

    .event-featured-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Verticals */
    .verticals-grid {
        grid-template-columns: 1fr;
    }

    /* Tools */
    .tool-featured {
        grid-template-columns: 1fr;
    }

    .tool-featured-left,
    .tool-featured-right {
        padding: 32px 24px;
    }

    .tool-featured-left h3 {
        font-size: 26px;
    }

    .tools-row {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .testimonial-group.active {
        grid-template-columns: 1fr;
    }

    .testimonial-card { padding: 28px 24px; }

    /* Results */
    .results-grid {
        grid-template-columns: 1fr 1fr;
    }

    .result-item h3 { font-size: 28px; }

    /* Apply */
    .apply-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .apply-content .section-header { text-align: center; }
    .apply-form { padding: 24px; }

    /* iOS zoom fix */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 64px 0;
    }

    .hero-title { font-size: 30px; }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn { width: 100%; }

    .hero-stats {
        padding: 16px;
        gap: 12px;
    }

    .stat-number { font-size: 24px; }
    .stat-suffix { font-size: 18px; }

    .section-title { font-size: 26px; }
    .section-subtitle { font-size: 14px; }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-tabs {
        flex-direction: column;
        border-radius: var(--radius-md);
    }

    .testimonial-tab {
        border-radius: var(--radius-sm);
    }

    .hiw-tabs {
        flex-direction: column;
        border-radius: var(--radius-md);
        max-width: 280px;
    }

    .hiw-tab {
        border-radius: var(--radius-sm);
    }
}
