/* =====================================================
   PLANPOINT DESIGN SYSTEM — SafeXen Website
   Full token-based overhaul. No duplicate rules.
===================================================== */

/* =====================================================
   1. DESIGN TOKENS (:root)
===================================================== */
:root {
    /* Colors */
    --color-midnight-ink:    #00051a;
    --color-royal-blue:      #0f68ea;
    --color-sky-blue:        #007aff;
    --color-sunburst-yellow: #ffcb00;
    --color-white-canvas:    #ffffff;
    --color-pewter-gray:     #1d1d1f;
    --color-white-smoke:     #f0f2f4;
    --color-slate-blue:      #000a3b;
    --color-soft-gray:       #e5e6e8;

    /* Secondary text (on light bg) */
    --color-text-secondary:  rgba(0, 5, 26, 0.55);

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --space-4:   4px;
    --space-8:   8px;
    --space-12:  12px;
    --space-16:  16px;
    --space-20:  20px;
    --space-28:  28px;
    --space-40:  40px;
    --space-64:  64px;
    --space-72:  72px;
    --space-108: 108px;
    --space-140: 140px;

    /* Section layout */
    --section-padding-v: 108px;
    --section-gap:        72px;
    --card-padding:       72px;

    /* Border radius */
    --radius-card:        28.8px;
    --radius-btn-pill:    57.6px;
    --radius-btn-chip:    46.8px;
    --radius-badge:       16px;

    /* Shadow — single system shadow */
    --shadow: rgba(0, 0, 0, 0.06) 0px 8px 48px 0px;

    /* Transitions */
    --transition-base: 250ms ease-in-out;
}

/* =====================================================
   2. RESET
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================================================
   3. BASE
===================================================== */
html {
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 transparent;
}

body {
    font-family: var(--font-family);
    background: var(--color-white-canvas);
    color: var(--color-midnight-ink);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
}

a {
    text-decoration: none;
}

/* =====================================================
   4. SCROLLBAR
===================================================== */
html::-webkit-scrollbar {
    width: 4px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 10px;
}

html::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* =====================================================
   5. TYPOGRAPHY UTILITIES
===================================================== */
.section-title {
    text-align: center;
    font-family: var(--font-family);
    font-size: 43px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.9px;
    color: var(--color-midnight-ink);
    margin-bottom: 16px;
}

.section-subtitle {
    max-width: 780px;
    margin: 0 auto 3.5rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.75;
    color: var(--color-text-secondary);
    text-align: center;
}

/* =====================================================
   6. BUTTONS
===================================================== */

/* Primary — Royal Blue pill */
.btn {
    display: inline-block;
    padding: 14.4px 21.6px;
    background: var(--color-royal-blue);
    color: var(--color-white-canvas);
    border: none;
    cursor: pointer;
    border-radius: var(--radius-btn-pill);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    transition: background var(--transition-base), box-shadow var(--transition-base);
    text-decoration: none;
}
.btn:hover {
    background: #0d5ed4;
    box-shadow: var(--shadow);
}

/* Secondary — outlined pill */
.btn-secondary {
    display: inline-block;
    padding: 14.4px 21.6px;
    background: transparent;
    color: var(--color-midnight-ink);
    border: 1px solid var(--color-pewter-gray);
    cursor: pointer;
    border-radius: var(--radius-btn-pill);
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 500;
    transition: background var(--transition-base), color var(--transition-base);
    text-decoration: none;
}
.btn-secondary:hover {
    background: var(--color-midnight-ink);
    color: var(--color-white-canvas);
}

/* Tertiary — White Smoke fill */
.btn-white {
    display: inline-block;
    padding: 14.4px 21.6px;
    background: var(--color-white-smoke);
    color: var(--color-midnight-ink);
    border: none;
    cursor: pointer;
    border-radius: var(--radius-btn-pill);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 500;
    transition: all var(--transition-base);
    text-decoration: none;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* =====================================================
   7. ANNOUNCEMENT BAR
===================================================== */
.announcement-bar {
    background: var(--color-royal-blue);
    color: var(--color-white-canvas);
    overflow: hidden;
    width: 100%;
}

.marquee {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.marquee-separator {
    display: inline-block;
    margin: 0 14px;
    opacity: 0.85;
}

.announcement-bar:hover .marquee {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =====================================================
   8. HEADER & NAV
===================================================== */
header {
    background: var(--color-white-canvas);
    border-bottom: 1px solid var(--color-soft-gray);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
}

.logo-text {
    display: inline;
}

.left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-under-logo {
    margin-top: 4px;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    color: #9e9e9e;
    padding-left: 10px;
}

.brand-under-logo strong {
    color: var(--color-midnight-ink);
    font-weight: 600;
}

.brand-prefix {
    font-size: 10px;
}

/* Zarc links */
.zarc-link {
    color: var(--color-midnight-ink);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.zarc-link_footer {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.zarc-link:hover {
    color: var(--color-sky-blue);
    animation: vibrate 0.3s linear 3;
}

.zarc-link_footer:hover {
    color: var(--color-sky-blue);
    animation: vibrate 0.3s linear 3;
}

@keyframes vibrate {
    0%   { transform: translate(0); }
    20%  { transform: translate(-1px, 1px); }
    40%  { transform: translate(-1px, -1px); }
    60%  { transform: translate(1px, 1px); }
    80%  { transform: translate(1px, -1px); }
    100% { transform: translate(0); }
}

/* Navigation */
nav,
#nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0 auto;
}

nav a {
    color: var(--color-midnight-ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    padding-bottom: 6px;
}

nav a:hover {
    color: var(--color-royal-blue);
}

nav a.active {
    color: var(--color-royal-blue);
    font-weight: 600;
    border-bottom: 3px solid var(--color-royal-blue);
}

/* Header CTA */
.header-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-midnight-ink);
    border-radius: 2px;
    transition: all 0.3s;
}

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

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

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

/* Mobile header — force row */
@media (max-width: 768px) {
    header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 0 !important;
        padding: 16px 20px;
        position: relative;
    }

    .left {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .logo {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        text-align: left !important;
    }

    .logo img {
        height: 50px;
    }

    .logo-text {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
        margin-left: auto !important;
        margin-top: 6px;
    }

    nav {
        width: 100%;
    }

    #nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white-canvas) !important;
        border-bottom: 1px solid var(--color-soft-gray);
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        margin: 0 !important;
        align-items: stretch !important;
        z-index: 99;
    }

    #nav-menu.active {
        max-height: 500px;
    }

    #nav-menu a {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        margin: 0 !important;
        color: var(--color-midnight-ink);
        display: block;
    }

    #nav-menu a:last-child {
        border-bottom: none;
    }

    #nav-menu a.active {
        background-color: rgba(15, 104, 234, 0.06);
        color: var(--color-royal-blue);
        border-left: 3px solid var(--color-royal-blue);
        padding-left: 17px;
    }

    #nav-menu a:hover {
        background-color: var(--color-white-smoke);
    }

    .header-cta {
        display: none !important;
    }
}

/* Tablet — collapse nav */
@media (max-width: 1024px) {
    header {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
}

/* =====================================================
   9. HERO
===================================================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-left: clamp(24px, 5%, 80px);
    padding-right: 24px;
}

.hero-slider {
    position: absolute;
    inset: 0;
    display: flex;
    width: 300%;
    height: 100%;
    animation: heroSlide 18s infinite ease-in-out;
    z-index: 0;
}

.hero-slider img {
    width: 33.333%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    color: var(--color-midnight-ink);
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    width: 100%;
    height: 400px;
    background-color: var(--color-white-smoke);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes heroSlide {
    0%   { transform: translateX(0); }
    30%  { transform: translateX(0); }
    33%  { transform: translateX(-33.333%); }
    63%  { transform: translateX(-33.333%); }
    66%  { transform: translateX(-66.666%); }
    96%  { transform: translateX(-66.666%); }
    100% { transform: translateX(0); }
}

/* Mobile hero */
@media (max-width: 600px) {
    .hero {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        min-height: auto;
    }

    .hero-slider {
        position: relative;
        width: 300%;
        height: 45vh;
        display: flex;
        overflow: hidden;
        animation: heroSlideMobile 15s infinite ease-in-out;
    }

    .hero-slider img {
        width: 33.333%;
        height: 100%;
        object-fit: cover;
        flex-shrink: 0;
        display: block;
    }

    .hero-content {
        position: relative;
        max-width: 100%;
        padding: 20px;
        background: var(--color-white-canvas);
        color: var(--color-midnight-ink);
        text-align: left;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
}

@keyframes heroSlideMobile {
    0%   { transform: translateX(0); }
    30%  { transform: translateX(0); }
    35%  { transform: translateX(-33.333%); }
    65%  { transform: translateX(-33.333%); }
    70%  { transform: translateX(-66.666%); }
    100% { transform: translateX(-66.666%); }
}

/* Legacy mobile hero fallback */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 0;
        min-height: auto;
    }

    .hero-img {
        position: relative;
        width: 100%;
        height: 300px;
        object-fit: cover;
        content: url("../images/hero_banner.jpeg");
    }

    .hero-content {
        background: var(--color-white-canvas);
        padding: 30px 20px;
        text-align: center;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

/* =====================================================
   10. PRODUCT FEATURE STRIP
===================================================== */
.product-feature-strip {
    padding: 28px 20px;
    background: var(--color-white-smoke);
}

.product-feature-strip__blocks {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.product-feature-strip__feature-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 10px;
    width: 180px;
}

.product-feature-strip .block-image {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
    margin-bottom: 8px;
}

.product-feature-strip .block-image svg {
    width: 28px;
    height: 28px;
}

.product-feature-strip .block-copy {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-top: 6px;
}

@media (max-width: 768px) {
    .product-feature-strip__feature-block { width: 45%; margin-bottom: 12px; }
    .product-feature-strip__blocks { gap: 12px; }
}

@media (max-width: 420px) {
    .product-feature-strip__feature-block { width: 100%; }
}

/* =====================================================
   11. PRODUCT CATEGORIES
===================================================== */
.categories {
    padding: var(--section-padding-v) 24px;
    background: var(--color-white-smoke);
}

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

/* More specific override for .categories context */
.categories .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--color-white-canvas);
    padding: 0;
    text-align: center;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    text-decoration: none;
    color: var(--color-midnight-ink);
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: rgba(0, 0, 0, 0.12) 0px 20px 48px 0px;
}

.category-image {
    width: 100%;
    height: 200px;
    background-color: #e8ecf0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.category-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 104, 234, 0.3);
    transition: background 0.3s;
}

.category-card:hover .category-image::after {
    background: rgba(15, 104, 234, 0.1);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.category-content {
    padding: 30px 20px;
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .categories .category-grid,
    .category-grid {
        grid-template-columns: 1fr !important;
    }

    .category-card,
    .benefit-card {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .category-card {
        padding: 0;
    }

    .category-content {
        padding: 18px;
    }

    .category-card h3 {
        font-size: 1.05rem;
    }

    .category-card ul {
        font-size: 0.95rem;
    }

    .category-content .btn {
        width: 100%;
    }
}

/* =====================================================
   12. FEATURES SECTION
===================================================== */
.features-section {
    padding: var(--section-padding-v) 24px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-row.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.feature-content p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
}

.feature-image {
    width: 100%;
    height: 400px;
    background-color: var(--color-white-smoke);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
}

@media (max-width: 1024px) {
    .feature-row {
        grid-template-columns: 1fr !important;
    }
}

/* =====================================================
   13. FEATURE/WHY/COMPARISON CARDS (demo section)
===================================================== */
.demo-container {
    max-width: 1320px;
    margin: 0 auto;
}

@media (max-width: 426px) {
    .demo-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.demo-title {
    text-align: center;
    font-family: var(--font-family);
    font-size: 43px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.9px;
    color: var(--color-midnight-ink);
    margin-bottom: 0.5rem;
}

.demo-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--section-gap);
}

.feature-card {
    background: var(--color-white-canvas);
    padding: var(--card-padding);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 60px 0px;
}

.feature-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-card);
    margin-bottom: var(--space-16);
    color: var(--color-white-canvas);
}

.door-icon       { background: linear-gradient(135deg, #8b5cf6, #ffffff); }
.fire-icon       { background: linear-gradient(135deg, #ef4444, #dc2626); }
.intrusion-icon  { background: linear-gradient(135deg, #8b5cf6, #ffffff); }
.light-icon      { background: linear-gradient(135deg, #f59e0b, #d97706); }
.electrical-icon { background: linear-gradient(135deg, #eab308, #ca8a04); }
.alert-icon      { background: linear-gradient(135deg, #ec4899, #db2777); }

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-midnight-ink);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Why grid */
.benefits-inner {
    max-width: 1320px;
    margin: 0 auto;
}

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

.why-card {
    aspect-ratio: 1 / 1;
    background: var(--color-white-smoke);
    padding: 36px;
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: none;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    overflow: hidden;
    position: relative;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.why-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--color-royal-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    flex-shrink: 0;
}

.why-icon-wrap i {
    font-size: 1.2rem;
    color: #fff;
}

.why-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-midnight-ink);
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    margin-top: 24px;
}

.why-description {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
    .why-card {
        aspect-ratio: auto;
        padding: 28px;
    }
}

/* Comparison — replaced by full block at bottom */

/* =====================================================
   14. BENEFITS
===================================================== */
.benefits {
    padding: var(--section-padding-v) 24px;
    background: var(--color-white-canvas);
}

@media (max-width: 768px) {
    .benefits {
        padding: 72px 20px;
    }
}

/* =====================================================
   15. CTA SECTION
===================================================== */
.cta-section {
    padding: var(--section-padding-v) 24px;
    background: var(--color-royal-blue);
    color: var(--color-white-canvas);
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-family);
    font-size: 43px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.9px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* =====================================================
   16. NEWSLETTER
===================================================== */
.newsletter {
    padding: var(--section-padding-v) 24px;
    background: var(--color-royal-blue);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-family: var(--font-family);
    font-size: 43px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.9px;
    margin-bottom: 15px;
    color: var(--color-white-canvas);
}

.newsletter-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-btn-pill);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white-canvas);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 425px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* =====================================================
   17. APPLICATIONS SECTION
===================================================== */
.applications-section {
    padding: 3rem 24px;
    background: var(--color-white-smoke);
}

.applications-section .container {
    max-width: 1320px;
    margin: 0 auto;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.application-card {
    background: var(--color-white-smoke);
    color: var(--color-midnight-ink);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-card);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.application-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: rgba(0, 0, 0, 0.14) 0px 25px 60px 0px;
}

.application-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.application-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.application-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.applications-cta {
    text-align: center;
}

@media (max-width: 768px) {
    .applications-section {
        padding: 4rem 0;
    }

    .application-card {
        padding: 2rem 1.5rem;
    }
}

/* =====================================================
   18. SAFEXEN DEVICE SECTION
===================================================== */
.safexen-device-section {
    padding: 60px 40px 30px 40px;
    background: var(--color-white-smoke);
    text-align: center;
}

.safexen-action-demo {
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   19. XYZ UTILITY SECTION
===================================================== */
.xyz {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: var(--color-white-smoke);
}

/* =====================================================
   20. FOOTER
===================================================== */
footer {
    background: var(--color-slate-blue);
    color: #aaa;
    padding: 60px 40px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--color-white-canvas);
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--color-white-canvas);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.footer-socials a:hover {
    animation: vibrate 0.3s linear 3;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =====================================================
   21. GLOBAL RESPONSIVE — 1024px
===================================================== */
@media (max-width: 1024px) {
    .hero,
    .feature-row {
        grid-template-columns: 1fr !important;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* =====================================================
   22. GLOBAL RESPONSIVE — 768px
===================================================== */
@media (max-width: 768px) {
    .hero {
        padding: 40px 20px;
        grid-template-columns: 1fr;
    }

    .hero-image {
        height: 200px;
    }
}

/* =====================================================
   23. KEYFRAMES (global)
===================================================== */

/* Marquee (legacy — kept for compatibility) */
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

/* =====================================================
   24. SafeXen Action Section (Planpoint design language)
   — PRESERVED EXACTLY — DO NOT MODIFY —
===================================================== */

/* --- SafeXen Action Section (Planpoint design language) --- */
.safexen-action-section {
    padding: 108px 40px;
    background: #f0f2f4;
    position: relative;
}

.action-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Section header ── */
.action-header {
    text-align: center;
    margin-bottom: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Sunburst Yellow status badge — Planpoint status indicator color */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffcb00;
    color: #00051a;
    padding: 5px 14px;
    border-radius: 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

/* Dark dot on yellow badge */
.live-dot {
    width: 6px;
    height: 6px;
    background: #00051a;
    border-radius: 50%;
    animation: livePulse 1.6s infinite;
}

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

/* Inter 43px/700/-1.9px — Planpoint heading-lg spec */
.safexen-action-section .section-title {
    color: #00051a;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 43px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.9px;
    margin-bottom: 0;
    text-align: center;
}

.action-subtitle {
    color: rgba(0, 5, 26, 0.52);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 400;
    max-width: 500px;
    line-height: 1.6;
    margin: 0;
}

/* ── 3-column grid ── */
.safexen-action-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

/* ── Left: Device column ── */
.safexen-device-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* White pill chip — Planpoint button-chip style */
.device-event-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: #ffffff;
    border: 1px solid #e5e6e8;
    border-radius: 57.6px;
    color: #00051a;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 8px 48px 0px;
    transition: border-color 0.4s ease, background 0.4s ease;
}

.safexen-device-image-container {
    position: relative;
    width: 560px;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Subtle glow — toned down for light bg */
.device-glow {
    position: absolute;
    inset: -24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 104, 234, 0.18) 0%, transparent 70%);
    transition: background 0.5s ease;
    animation: glowPulse 2.5s infinite ease-in-out;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.07); opacity: 1; }
}

.safexen-device-image {
    width: 520px;
    height: 520px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    border-radius: 28.8px;
    filter: drop-shadow(rgba(0, 0, 0, 0.1) 0px 8px 32px);
}

/* Alert type pills — white cards, active = Royal Blue #0f68ea */
.alert-type-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.alert-tab {
    padding: 6px 14px;
    border-radius: 57.6px;
    background: #ffffff;
    border: 1px solid #e5e6e8;
    color: rgba(0, 5, 26, 0.45);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: default;
    transition: all 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 2px 8px 0px;
}

.alert-tab.active {
    background: #0f68ea;
    border-color: #0f68ea;
    color: #ffffff;
    box-shadow: rgba(15, 104, 234, 0.28) 0px 4px 16px 0px;
}

/* ── Center: Signal bridge ── */
.signal-bridge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.signal-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Royal Blue signal dots */
.signal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0f68ea;
    opacity: 0.2;
    animation: signalFlow 1.8s infinite ease-in-out;
}
.signal-dot:nth-child(1) { animation-delay: 0s; }
.signal-dot:nth-child(2) { animation-delay: 0.28s; }
.signal-dot:nth-child(3) { animation-delay: 0.56s; }
.signal-dot:nth-child(4) { animation-delay: 0.84s; }
.signal-dot:nth-child(5) { animation-delay: 1.12s; }

@keyframes signalFlow {
    0%, 100% { opacity: 0.15; transform: scale(0.7); }
    50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 8px rgba(15, 104, 234, 0.5); }
}

.signal-label {
    color: rgba(0, 5, 26, 0.3);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    white-space: nowrap;
}

/* ── Right: Mobile column ── */
.safexen-mobile-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-left: 0;
}

/* Dark metallic bezel — realistic phone look on light bg */
.safexen-mobile-mockup {
    position: relative;
    width: 300px;
    height: 580px;
    background: linear-gradient(145deg, #2c2c2e, #1c1c1e);
    border-radius: 50px;
    padding: 14px;
    overflow: visible;
    box-shadow:
        0 0 0 2px #3a3a3c,
        0 0 0 4px #1a1a1a,
        rgba(0, 0, 0, 0.18) 0px 40px 80px 0px,
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Dynamic island */
.safexen-mobile-mockup::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 26px;
    background: #1c1c1e;
    border-radius: 100px;
    z-index: 10;
}

/* Royal Blue screen — matches Planpoint's primary CTA color */
.safexen-mobile-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #0f68ea 0%, #0049c7 100%);
    border-radius: 38px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Status bar */
.safexen-status-bar {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 22px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-left,
.status-right {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* App header */
.safexen-mobile-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 13px 20px;
    text-align: center;
    letter-spacing: 0.2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Yellow online dot — Planpoint status indicator on blue header */
.app-online-dot {
    width: 7px;
    height: 7px;
    background: #ffcb00;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 203, 0, 0.8);
    animation: livePulse 1.6s infinite;
}

/* Feed */
.safexen-mobile-feed {
    flex: 1;
    padding: 14px 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 30, 0.12);
}

/* Notification cards — white, Planpoint card style */
.safexen-notification {
    background: #ffffff;
    border-radius: 16px;
    padding: 11px 13px 11px 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    border: 1px solid rgba(0,0,0,0.06);
    animation: slideInNotification 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slideInNotification {
    0% { opacity: 0; transform: translateY(-18px) scale(0.92); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.notification-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    background: #0f68ea;
}

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

.notification-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #00051a;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-message {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.73rem;
    color: rgba(0, 5, 26, 0.6);
    line-height: 1.35;
}

.notification-time {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.64rem;
    color: rgba(0, 5, 26, 0.32);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Floating alert bubble */
.safexen-alert-bubble {
    position: absolute;
    top: 55px;
    left: 14px;
    right: 14px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 40px 0px;
    padding: 11px 14px;
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 20;
    animation: popInBubble 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popInBubble {
    0% { opacity: 0; transform: translateY(-14px) scale(0.85); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.safexen-alert-bubble.show { display: flex; }

.safexen-alert-bubble .icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: #0f68ea;
}

.safexen-alert-bubble .msg {
    flex: 1;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    color: #00051a;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .safexen-action-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .signal-bridge { display: none; }
    .safexen-device-column,
    .safexen-mobile-column { align-items: center; }
}

@media (max-width: 768px) {
    .safexen-action-section { padding: 72px 20px; }
    .safexen-action-section .section-title { font-size: 2rem; letter-spacing: -1px; }
    .safexen-mobile-mockup { width: 270px; height: 520px; }
    .safexen-device-image-container { width: 300px; height: 300px; }
    .safexen-device-image { width: 270px; height: 270px; }
}

/* =====================================================
   NEW CONTENT SECTIONS — Stats, Threats, How It Works,
   Ecosystem, Comparison, Peace of Mind
===================================================== */

/* --- Stats Bar --- */
.stats-bar {
    background: var(--color-midnight-ink);
    padding: 32px 24px;
}
.stats-bar-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    flex: 1;
    min-width: 160px;
}
.stat-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}
.stat-fa-icon {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.55);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}
.stat-number {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1;
}
.stat-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    margin-top: 4px;
    letter-spacing: 0.3px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* --- Threats Section --- */
.threats-section {
    padding: var(--section-padding-v) 24px;
    background: #fff;
}
.threats-inner {
    max-width: 1320px;
    margin: 0 auto;
}
.threats-header {
    text-align: center;
    margin-bottom: 56px;
}
.threats-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-sunburst-yellow);
    color: var(--color-midnight-ink);
    padding: 5px 14px;
    border-radius: 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.threats-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 43px;
    font-weight: 700;
    letter-spacing: -1.9px;
    color: var(--color-midnight-ink);
    margin-bottom: 12px;
    line-height: 1.15;
}
.threats-subtitle {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    color: rgba(0,5,26,0.55);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}
.threats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.threat-card {
    background: var(--color-white-smoke);
    border-radius: var(--radius-card);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.threat-card-highlight {
    background: var(--color-royal-blue);
}
.threat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.threat-icon {
    font-size: 2.2rem;
}
.threat-tag {
    display: inline-block;
    background: rgba(15,104,234,0.1);
    color: var(--color-royal-blue);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 16px;
}
.threat-tag-yellow {
    background: var(--color-sunburst-yellow);
    color: var(--color-midnight-ink);
}
.threat-name {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-midnight-ink);
    letter-spacing: -0.5px;
}
.threat-card-highlight .threat-name {
    color: #fff;
}
.threat-desc {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    color: rgba(0,5,26,0.55);
    line-height: 1.6;
}
.threat-card-highlight .threat-desc {
    color: rgba(255,255,255,0.75);
}
.threat-stat {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0,5,26,0.08);
}
.threat-card-highlight .threat-stat {
    border-top-color: rgba(255,255,255,0.2);
}
.threat-stat-num {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-royal-blue);
    letter-spacing: -1px;
    line-height: 1;
}
.threat-card-highlight .threat-stat-num {
    color: var(--color-sunburst-yellow);
}
.threat-stat-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    color: rgba(0,5,26,0.45);
    font-weight: 500;
    margin-top: 2px;
}
.threat-card-highlight .threat-stat-label {
    color: rgba(255,255,255,0.6);
}

/* --- How It Works Section --- */
.how-section {
    padding: var(--section-padding-v) 24px;
    background: var(--color-white-canvas);
}
.how-inner {
    max-width: 900px;
    margin: 0 auto;
}
.how-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-sunburst-yellow);
    color: var(--color-midnight-ink);
    padding: 5px 14px;
    border-radius: 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.how-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.how-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 36px;
    align-items: flex-start;
}
.how-step-num {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.how-step-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-royal-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}
.how-step-circle {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(15,104,234,0.1);
    border: 2px solid rgba(15,104,234,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-royal-blue);
}
.how-step-circle-active {
    background: var(--color-royal-blue);
    border-color: var(--color-royal-blue);
    color: #fff;
    box-shadow: var(--shadow);
}
.how-step-body {
    padding-top: 8px;
    padding-bottom: 40px;
}
.how-step-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-midnight-ink);
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}
.how-step-desc {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    color: rgba(0,5,26,0.55);
    line-height: 1.65;
    margin-bottom: 16px;
}
.how-step-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.how-chip {
    display: inline-block;
    background: rgba(15,104,234,0.08);
    color: var(--color-royal-blue);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 16px;
    letter-spacing: 0.2px;
}
.how-connector {
    padding-left: 118px;
    margin: -4px 0 4px;
}
.how-line {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, rgba(15,104,234,0.3), rgba(15,104,234,0.05));
    border-radius: 2px;
}

/* --- Security Ecosystem Section --- */
.ecosystem-section {
    padding: var(--section-padding-v) 24px;
    background: var(--color-white-smoke);
}
.ecosystem-inner {
    max-width: 1320px;
    margin: 0 auto;
}
.ecosystem-header {
    text-align: center;
    margin-bottom: 56px;
}
.ecosystem-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 43px;
    font-weight: 700;
    letter-spacing: -1.9px;
    color: var(--color-midnight-ink);
    margin-bottom: 12px;
    line-height: 1.15;
}
.ecosystem-subtitle {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    color: rgba(0,5,26,0.55);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.ecosystem-card {
    background: var(--color-white-smoke);
    border-radius: var(--radius-card);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ecosystem-card-primary {
    background: var(--color-royal-blue);
}
.ecosystem-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.eco-detect { background: rgba(15,104,234,0.1); }
.eco-alert  { background: rgba(239,68,68,0.1); }
.eco-monitor { background: rgba(15,104,234,0.1); }
.eco-respond { background: rgba(255,203,0,0.2); }
.ecosystem-card-primary .ecosystem-icon-wrap {
    background: rgba(255,255,255,0.15);
}
.ecosystem-card-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-midnight-ink);
    letter-spacing: -0.4px;
}
.ecosystem-card-primary .ecosystem-card-title { color: #fff; }
.ecosystem-card-desc {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    color: rgba(0,5,26,0.55);
    line-height: 1.6;
}
.ecosystem-card-primary .ecosystem-card-desc { color: rgba(255,255,255,0.75); }
.ecosystem-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ecosystem-list li {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    color: rgba(0,5,26,0.6);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.ecosystem-list li::before {
    content: '→';
    color: var(--color-royal-blue);
    font-weight: 700;
    flex-shrink: 0;
}
.ecosystem-list-light li { color: rgba(255,255,255,0.75); }
.ecosystem-list-light li::before { color: var(--color-sunburst-yellow); }

/* --- Traditional vs SafeXen Comparison --- */
.comparison-section {
    padding: var(--section-padding-v) 24px;
    background: var(--color-white-smoke);
}
.comparison-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.comparison-header {
    text-align: center;
    margin-bottom: 56px;
}
.comparison-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 43px;
    font-weight: 700;
    letter-spacing: -1.9px;
    color: var(--color-midnight-ink);
    margin-bottom: 12px;
    line-height: 1.15;
}
.comparison-subtitle {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    color: rgba(0,5,26,0.55);
    max-width: 440px;
    margin: 0 auto;
    line-height: 1.6;
}
.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.comparison-col {
    border-radius: var(--radius-card);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}
.comparison-col-new {
    background: var(--color-midnight-ink);
}
.comparison-col-head {
    padding: 24px 32px;
    background: var(--color-soft-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.comparison-col-head-new {
    background: rgba(255,255,255,0.07);
}
.comparison-col-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: rgba(0,5,26,0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.comparison-col-label-new {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.comparison-col-badge {
    background: var(--color-sunburst-yellow);
    color: var(--color-midnight-ink);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 16px;
}
.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 32px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    border-bottom: 1px solid rgba(0,5,26,0.06);
}
.comparison-item:last-child { border-bottom: none; }
.comparison-item-bad { color: rgba(0,5,26,0.55); }
.comparison-item-good { color: rgba(255,255,255,0.85); }
.comparison-col-new .comparison-item {
    border-bottom-color: rgba(255,255,255,0.06);
}
.comparison-icon-bad {
    color: #ef4444;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.comparison-icon-good {
    color: var(--color-sunburst-yellow);
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- Peace of Mind Section --- */
.peace-section {
    padding: var(--section-padding-v) 24px;
    background: #fff;
}
.peace-inner {
    max-width: 1320px;
    margin: 0 auto;
}
.peace-header {
    text-align: center;
    margin-bottom: 56px;
}
.peace-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 43px;
    font-weight: 700;
    letter-spacing: -1.9px;
    color: var(--color-midnight-ink);
    margin-bottom: 12px;
    line-height: 1.15;
}
.peace-subtitle {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    color: rgba(0,5,26,0.55);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}
.peace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.peace-card {
    background: var(--color-white-smoke);
    border-radius: var(--radius-card);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.peace-card-primary {
    background: var(--color-royal-blue);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.peace-card-icon {
    font-size: 2.4rem;
    margin-bottom: 4px;
}
.peace-card-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-midnight-ink);
    letter-spacing: -0.4px;
}
.peace-card-desc {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    color: rgba(0,5,26,0.55);
    line-height: 1.6;
}
.peace-cta-btn {
    display: inline-block;
    margin-top: auto;
    padding-top: 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-midnight-ink);
    background: var(--color-sunburst-yellow);
    border-radius: 57.6px;
    padding: 14px 28px;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.2s;
}
.peace-cta-btn:hover { opacity: 0.88; }

/* Peace tab switcher */
.peace-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}
.peace-tab {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 57.6px;
    border: 2px solid var(--color-soft-gray);
    background: transparent;
    color: rgba(0,5,26,0.55);
    cursor: pointer;
    transition: all 0.2s;
}
.peace-tab:hover {
    border-color: var(--color-royal-blue);
    color: var(--color-royal-blue);
}
.peace-tab-active {
    background: var(--color-royal-blue);
    border-color: var(--color-royal-blue);
    color: #fff !important;
}
.peace-grid-hidden {
    display: none !important;
}

/* =====================================================
   SCROLL REVEAL ANIMATIONS
===================================================== */
.why-card,
.threat-card,
.ecosystem-card,
.peace-card,
.how-step,
.comparison-col,
.application-card,
.feature-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Threat cards also support tilt — keep transform smooth */
.threat-card {
    transition: opacity 0.5s ease, transform 0.4s ease;
}

/* =====================================================
   RESPONSIVE — New Sections
===================================================== */
@media (max-width: 900px) {
    .comparison-table {
        grid-template-columns: 1fr;
    }
    .how-step {
        grid-template-columns: 80px 1fr;
        gap: 24px;
    }
    .how-connector { padding-left: 100px; }
}

@media (max-width: 768px) {
    .stats-bar { padding: 24px 20px; }
    .stats-bar-inner { gap: 0; }
    .stat-item { padding: 12px 20px; min-width: 140px; }
    .stat-divider { display: none; }

    .threats-section,
    .how-section,
    .ecosystem-section,
    .comparison-section,
    .peace-section {
        padding: 72px 20px;
    }

    .threats-title,
    .ecosystem-title,
    .comparison-title,
    .peace-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .how-step-title { font-size: 18px; }
    .threats-grid,
    .ecosystem-grid,
    .peace-grid { gap: 16px; }

    .comparison-item { padding: 14px 20px; }
    .comparison-col-head { padding: 20px; }
}

/* ── Video Section ── */
.video-section { padding: 108px 24px; background: #00051a; }
.video-inner { max-width: 960px; margin: 0 auto; }
.video-section-header { text-align: center; margin-bottom: 48px; }
.video-section-header .section-title { color: #fff; }
.video-subtitle {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px; color: rgba(255,255,255,0.55);
    max-width: 500px; margin: 12px auto 0; line-height: 1.6;
}
.video-frame {
    position: relative; border-radius: 20px; overflow: hidden;
    aspect-ratio: 16 / 9; background: #111;
    box-shadow: rgba(0,0,0,0.5) 0px 32px 80px 0px;
}
.video-poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: rgba(0,0,0,0.38); cursor: pointer;
    transition: background 0.25s; gap: 14px;
}
.video-play-overlay:hover { background: rgba(0,0,0,0.52); }
.video-play-btn {
    width: 76px; height: 76px; background: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.video-play-overlay:hover .video-play-btn { transform: scale(1.08); background: #0f68ea; }
.video-play-btn i { font-size: 28px; color: #00051a; margin-left: 5px; }
.video-play-overlay:hover .video-play-btn i { color: #fff; }
.video-duration {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,0.7); letter-spacing: 0.5px;
    background: rgba(0,0,0,0.4); padding: 4px 12px; border-radius: 100px;
}
.video-iframe {
    position: absolute; inset: 0; width: 100%; height: 100%; display: none;
    border: none;
}
.video-iframe.active { display: block; }
.video-use-cases {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 12px; margin-top: 36px;
}
.video-use-case {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px; padding: 9px 20px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7);
}
.video-use-case i { color: #0f68ea; font-size: 13px; }
@media (max-width: 768px) {
    .video-section { padding: 72px 20px; }
    .video-play-btn { width: 60px; height: 60px; }
    .video-play-btn i { font-size: 22px; }
}
