/* =====================================================
   FreStock — Premium Dark Theme
   ===================================================== */
:root {
    --primary: #00d4aa;
    --primary-dark: #00a884;
    --primary-light: rgba(0, 212, 170, 0.1);
    --primary-glow: rgba(0, 212, 170, 0.25);
    --gold: #f5c842;
    --gold-light: rgba(245, 200, 66, 0.12);
    --purple: #a78bfa;
    --purple-light: rgba(167, 139, 250, 0.12);
    --blue: #60a5fa;
    --blue-light: rgba(96, 165, 250, 0.1);
    --red: #f87171;
    --green: #4ade80;
    --bg-deep: #060b18;
    --bg-dark: #0a0f1e;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --border-accent: rgba(0, 212, 170, 0.3);
    --text-dark: #f0f4ff;
    --text-body: #cbd5e1;
    --text-muted: #8899b4;
    --text-dim: #4a5568;
    --gradient: linear-gradient(135deg, #00d4aa 0%, #0066ff 100%);
    --gradient-gold: linear-gradient(135deg, #f5c842 0%, #ff8c42 100%);
    --gradient-purple: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    --gradient-blue: linear-gradient(135deg, #60a5fa 0%, #00d4aa 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.6);
    --shadow-primary: 0 8px 30px rgba(0, 212, 170, 0.3);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: var(--font-display);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(6, 11, 24, 0.97); /* Deep dark navy — same as scroll */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(6, 11, 24, 0.97); /* Deep navy on scroll */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.65rem 0;
}



nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav.container {
    max-width: 100%;
    padding: 0 2.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.logo-accent {
    color: var(--primary);
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: var(--primary);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 0.22rem 0.6rem;
    border-radius: 50px;
    font-family: var(--font-mono);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulseAnim 1.5s ease-in-out infinite;
}

.pulse-dot.green {
    background: var(--green);
}

@keyframes pulseAnim {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .35;
        transform: scale(.65);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.93rem;
    transition: color .3s ease;
    cursor: pointer;
}

.nav-links a:not(.btn):hover {
    color: var(--text-dark);
}

.nav-cta {
    padding: 0.6rem 1.3rem !important;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    color: var(--text-muted);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 52px;
    /* Adjusted from 58px */
    left: 0;
    width: 100%;
    background: rgba(6, 11, 24, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    z-index: 999;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--gradient);
    color: #fff !important;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 212, 170, .35);
}

.btn-outline {
    background: transparent;
    color: var(--primary) !important;
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== TYPOGRAPHY ===== */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center {
    text-align: center;
}

.section-tag {
    display: block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 4rem;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp .9s ease forwards;
}

.delay-1 {
    animation-delay: .2s;
}

.delay-2 {
    animation-delay: .4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: all .9s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    /* Reduced from 150px to move content up */
    padding-bottom: 80px;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 212, 170, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 212, 170, .04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 170, .12), transparent 70%);
    top: -100px;
    left: -150px;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 255, .1), transparent 70%);
    bottom: 0;
    right: 50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 560px;
    line-height: 1.85;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-item i {
    width: 15px;
    height: 15px;
    color: var(--primary);
}

/* ===== DASHBOARD WIDGET ===== */
.dashboard-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.dash-title {
    font-size: .72rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

.dash-title i {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.dash-status {
    font-size: .68rem;
    font-weight: 700;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--font-mono);
}

.dash-chart {
    position: relative;
    height: 100px;
    margin-bottom: 1.2rem;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.price-tag {
    position: absolute;
    top: 5px;
    right: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-mono);
}

.dash-signals {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: 1.2rem;
}

.signal-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .8rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    font-size: .82rem;
    border: 1px solid var(--border);
    transition: opacity .3s ease, transform .3s ease;
}

.sig-badge {
    font-size: .63rem;
    font-weight: 800;
    padding: .2rem .55rem;
    border-radius: 5px;
    font-family: var(--font-mono);
    letter-spacing: .5px;
}

.sig-badge.buy {
    background: rgba(74, 222, 128, .12);
    color: var(--green);
    border: 1px solid rgba(74, 222, 128, .3);
}

.sig-badge.sell {
    background: rgba(248, 113, 113, .1);
    color: var(--red);
    border: 1px solid rgba(248, 113, 113, .25);
}

.sig-name {
    flex: 1;
    color: var(--text-dark);
    font-weight: 500;
}

.sig-time {
    color: var(--text-dim);
    font-size: .7rem;
}

.dash-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.dash-stat span {
    display: block;
    font-size: .7rem;
    color: var(--text-muted);
    margin-bottom: .2rem;
}

.dash-stat strong {
    font-size: .95rem;
    font-family: var(--font-mono);
    color: var(--text-dark);
}

.dash-stat strong.gold {
    color: var(--gold);
}

.dash-stat strong.green {
    color: var(--green);
}

/* ===== STATS ROW ===== */
.stats-row {
    background: rgba(5, 9, 15, 0.8);
    padding: 3.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h4 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: .5rem;
    font-family: var(--font-display);
}

.stat-item p {
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .75rem;
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all .4s ease;
}

.glass-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

/* ===== SECTIONS ===== */
section {
    padding: 60px 0 90px;
    min-height: calc(100vh - 100px);
}

/* ===== SERVICES ===== */
.services {
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
    transition: all .4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.card-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    top: -60px;
    right: -60px;
    pointer-events: none;
    opacity: .6;
}

.glow-teal {
    background: radial-gradient(circle, rgba(0, 212, 170, .2), transparent);
}

.glow-gold {
    background: radial-gradient(circle, rgba(245, 200, 66, .2), transparent);
}

.glow-purple {
    background: radial-gradient(circle, rgba(167, 139, 250, .2), transparent);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #fff;
}

.icon-box.gold-icon {
    background: var(--gradient-gold);
}

.icon-box.purple-icon {
    background: var(--gradient-purple);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-card>p {
    color: var(--text-muted);
    font-size: .95rem;
    margin-bottom: 1rem;
}

.card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .88rem;
    color: var(--text-muted);
}

.card-list li i {
    width: 14px;
    height: 14px;
    color: var(--primary);
    flex-shrink: 0;
}

/* ===== PRODUCTS ===== */
.products {
    background: var(--bg-deep);
    padding-top: 30px;
}

.products-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 1.2rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.products-hero-text .section-tag {
    text-align: left;
}

.products-hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.products-hero-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.products-hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.ph-stat {
    text-align: center;
}

.ph-stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display);
}

.ph-stat span {
    font-size: .78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Algo Architecture Visual */
.algo-arch {
    background: #060b18;
    border-radius: 18px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .06);
}

.arch-title {
    font-size: .7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .4);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-mono);
    margin-bottom: 0.7rem;
}

.arch-layers {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.arch-layer {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem .8rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .07);
}

.arch-layer.layer-data {
    background: rgba(37, 99, 235, .15);
    border-color: rgba(37, 99, 235, .3);
}

.arch-layer.layer-engine {
    background: rgba(0, 212, 170, .15);
    border-color: rgba(0, 212, 170, .3);
}

.arch-layer.layer-risk {
    background: rgba(245, 200, 66, .15);
    border-color: rgba(245, 200, 66, .3);
}

.arch-layer.layer-exec {
    background: rgba(167, 139, 250, .15);
    border-color: rgba(167, 139, 250, .3);
}

.arch-layer-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.layer-data .arch-layer-icon {
    background: rgba(37, 99, 235, .3);
    color: #60a5fa;
}

.layer-engine .arch-layer-icon {
    background: rgba(0, 212, 170, .3);
    color: #34d399;
}

.layer-risk .arch-layer-icon {
    background: rgba(245, 200, 66, .3);
    color: #fbbf24;
}

.layer-exec .arch-layer-icon {
    background: rgba(167, 139, 250, .3);
    color: #a78bfa;
}

.arch-layer-info {
    flex: 1;
}

.arch-layer-info strong {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .9);
}

.arch-layer-info span {
    font-size: .7rem;
    color: rgba(255, 255, 255, .4);
    font-family: var(--font-mono);
}

.arch-layer-badge {
    font-size: .62rem;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    letter-spacing: .5px;
}

.layer-data .arch-layer-badge {
    background: rgba(37, 99, 235, .25);
    color: #93c5fd;
}

.layer-engine .arch-layer-badge {
    background: rgba(0, 212, 170, .25);
    color: #6ee7b7;
}

.layer-risk .arch-layer-badge {
    background: rgba(245, 200, 66, .25);
    color: #fde68a;
}

.layer-exec .arch-layer-badge {
    background: rgba(167, 139, 250, .25);
    color: #c4b5fd;
}

.arch-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 0;
}

.arch-connector::before,
.arch-connector::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .07);
}

.arch-connector-dot {
    width: 6px;
    height: 6px;
    background: rgba(0, 212, 170, .5);
    border-radius: 50%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.2rem;
    position: relative;
    transition: all .4s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.featured-card {
    border-color: rgba(0, 212, 170, .35);
    background: rgba(0, 212, 170, .05);
}

.product-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--gradient);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: .22rem .75rem;
    border-radius: 50px;
    letter-spacing: .5px;
}

.product-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    border: 1px solid rgba(0, 212, 170, .25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.product-icon.gold-icon {
    background: var(--gold-light);
    border-color: rgba(245, 200, 66, .3);
    color: var(--gold);
}

.product-icon.purple-icon {
    background: var(--purple-light);
    border-color: rgba(167, 139, 250, .3);
    color: var(--purple);
}

.product-icon.blue-icon {
    background: var(--blue-light);
    border-color: rgba(96, 165, 250, .25);
    color: var(--blue);
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: .3rem;
    color: var(--text-dark);
}

.product-card>p {
    color: var(--text-muted);
    font-size: .88rem;
    margin-bottom: 0.7rem;
    line-height: 1.5;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1rem;
}

.product-features span {
    font-size: .7rem;
    font-weight: 600;
    padding: .22rem .65rem;
    border-radius: 50px;
    background: var(--primary-light);
    border: 1px solid rgba(0, 212, 170, .2);
    color: var(--primary);
    font-family: var(--font-mono);
}

.product-cta {
    padding: .65rem 1.2rem;
    font-size: .85rem;
}

/* ===== ALERTS SECTION ===== */
.alerts-section {
    background: var(--bg-dark);
    padding-top: 30px;
}

.alerts-section .section-subtitle {
    margin-bottom: 1.5rem;
}

.alerts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.sub-heading {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.channel-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.channel-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all .3s ease;
}

.channel-item:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.channel-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-icon.telegram {
    background: rgba(0, 136, 204, .15);
    color: #0088cc;
    border: 1px solid rgba(0, 136, 204, .3);
}

.channel-icon.whatsapp {
    background: rgba(37, 211, 102, .15);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, .3);
}

.channel-icon.email {
    background: var(--gold-light);
    color: var(--gold);
    border: 1px solid rgba(245, 200, 66, .3);
}

.channel-icon.sms {
    background: var(--purple-light);
    color: var(--purple);
    border: 1px solid rgba(167, 139, 250, .3);
}

.channel-info {
    flex: 1;
}

.channel-info h4 {
    font-size: .9rem;
    color: var(--text-dark);
    margin-bottom: .25rem;
}

.channel-info p {
    font-size: .8rem;
    color: var(--text-muted);
}

.channel-latency {
    font-size: .72rem;
    font-weight: 700;
    color: var(--green);
    font-family: var(--font-mono);
    white-space: nowrap;
    background: rgba(74, 222, 128, .1);
    border: 1px solid rgba(74, 222, 128, .2);
    padding: .2rem .5rem;
    border-radius: 5px;
}

.alert-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.8rem;
    position: relative;
    max-width: 90%;
}

.mockup-header {
    background: rgba(0, 136, 204, .12);
    border-bottom: 1px solid var(--border);
    padding: .4rem .8rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .82rem;
    font-weight: 700;
    color: #0088cc;
}

.mockup-header i {
    width: 15px;
    height: 15px;
}

.mockup-time {
    margin-left: auto;
    color: var(--text-dim);
    font-size: .75rem;
    font-weight: 400;
}

.mockup-body {
    padding: 0.6rem 0.8rem;
}

.mockup-signal {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.mockup-detail {
    padding: .4rem;
    background: rgba(255, 255, 255, .04);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.mockup-detail strong {
    display: block;
    font-size: .8rem;
    color: var(--text-dark);
    margin-bottom: .2rem;
}

.mockup-levels {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: .2rem;
}

.mockup-levels span {
    font-size: .68rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.mockup-meta {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.mockup-meta span {
    font-size: .68rem;
    color: var(--text-muted);
}

.mockup-pulse {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 18px;
    border: 2px solid var(--primary);
    animation: alertPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes alertPulse {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.alert-features-grid {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.alert-feature {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.6rem 0.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all .3s ease;
}

.alert-feature:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.alert-feature>i {
    width: 20px;
    height: 20px;
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.alert-feature h4 {
    font-size: .9rem;
    margin-bottom: .2rem;
    color: var(--text-dark);
}

.alert-feature p {
    font-size: .8rem;
    color: var(--text-muted);
}

/* ===== ABOUT ===== */
.about {
    background: var(--bg-deep);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text .section-tag {
    text-align: left;
}

.lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.85;
}

.about p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-dark);
}

.about-features li i {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* Code Card */
.code-card {
    padding: 0 !important;
    overflow: hidden;
}

.code-header {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.2rem;
    background: rgba(255, 255, 255, .04);
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #febc2e;
}

.dot.green-dot {
    background: #28c840;
}

.code-filename {
    font-size: .75rem;
    color: var(--text-muted);
    margin-left: .5rem;
    font-family: var(--font-mono);
}

.code-card pre {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: .82rem;
    line-height: 1.85;
    background: #060b18;
    margin: 0;
    border-radius: 0 0 20px 20px;
}

.cm {
    color: #4a5568;
}

.ck {
    color: #a78bfa;
}

.cs {
    color: #fbbf24;
}

.cn {
    color: #60a5fa;
}

/* ===== WHY ===== */
.why {
    background: var(--bg-dark);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all .4s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.why-card>i {
    width: 34px;
    height: 34px;
    color: var(--primary);
    margin: 0 auto 1rem;
    display: block;
}

.why-card h4 {
    font-size: .95rem;
    margin-bottom: .5rem;
    color: var(--text-dark);
}

.why-card p {
    font-size: .83rem;
    color: var(--text-muted);
}

/* ===== FOR WHOM ===== */
.for-whom {
    background: var(--bg-deep);
    padding: 80px 0;
}

.for-whom .section-title {
    margin-bottom: 2.5rem;
}

.audience-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.audience-tags span {
    padding: .65rem 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: .88rem;
    transition: all .3s ease;
}

.audience-tags span:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* ===== TECH STACK ===== */
.tech-stack {
    background: var(--bg-dark);
}

.tech-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
    transition: transform .3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all .3s ease;
}

.tech-item:hover .tech-icon {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-primary);
    background: var(--primary-light);
}

.tech-item span {
    font-weight: 700;
    font-size: .75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== PROCESS ===== */
.process {
    background: var(--bg-deep);
}

.process-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 3rem;
}

.process-step {
    flex: 1;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    position: relative;
    z-index: 1;
    transition: all .4s ease;
}

.process-step:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.process-connector {
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), rgba(0, 212, 170, .3));
    align-self: center;
    flex-shrink: 0;
    margin-top: -20px;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(0, 212, 170, .1);
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-display);
    line-height: 1;
}

.step-icon {
    color: var(--primary);
    width: 26px;
    height: 26px;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.05rem;
    margin-bottom: .6rem;
    color: var(--text-dark);
}

.process-step p {
    font-size: .83rem;
    color: var(--text-muted);
}

/* ===== VISION ===== */
.vision {
    background: var(--bg-dark);
    padding: 0;
}

.vision-inner {
    background: linear-gradient(135deg, rgba(0, 212, 170, .07) 0%, rgba(0, 102, 255, .07) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 110px 0;
}

.vision h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.vision p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.vision .section-tag {
    text-align: center;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--bg-deep);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-info .section-tag {
    text-align: left;
}

.contact-info .section-title {
    font-size: 2.4rem;
}

.contact-info>p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    transition: all .3s ease;
}

.contact-method:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border: 1px solid rgba(0, 212, 170, .25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-icon.whatsapp-icon {
    background: rgba(37, 211, 102, .1);
    border-color: rgba(37, 211, 102, .3);
    color: #25d366;
}

.contact-label {
    display: block;
    font-size: .72rem;
    color: var(--text-dim);
    margin-bottom: .1rem;
}

.contact-value {
    display: block;
    font-size: .92rem;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-highlight {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .83rem;
    color: var(--text-muted);
    padding: .8rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.contact-highlight i {
    width: 15px;
    height: 15px;
    color: var(--gold);
}

.contact-highlight strong {
    color: var(--text-dark);
}

/* Form */
.contact-form-container {
    padding: 2.5rem !important;
}

.contact-form-container h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.contact-form-container h3 i {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.3rem;
}

.form-group label {
    display: block;
    margin-bottom: .45rem;
    font-weight: 600;
    font-size: .82rem;
    color: var(--text-muted);
    letter-spacing: .3px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: .85rem 1rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: #ffffff;
    font-size: .95rem;
    font-family: var(--font-main);
    transition: border-color .3s ease;
}

.mobile-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 1rem;
    transition: all 0.3s ease;
    height: 52px;
    /* Fixed height for better alignment */
}

.mobile-input-wrapper:focus-within {
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.mobile-input-wrapper .prefix {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
    padding-right: 0.5rem;
    user-select: none;
    display: flex;
    align-items: center;
}

.mobile-input-wrapper .separator {
    color: var(--border-strong);
    font-weight: 300;
    margin-right: 1rem;
    font-size: 1.2rem;
    user-select: none;
    display: flex;
    align-items: center;
}

.mobile-input-wrapper input {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    height: 100% !important;
    width: 100%;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: var(--font-main);
}

/* Fix for Chrome background color on focus/autofill */
.mobile-input-wrapper input:-webkit-autofill,
.mobile-input-wrapper input:-webkit-autofill:hover,
.mobile-input-wrapper input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
    background: transparent !important;
}

.mobile-input-wrapper input:focus {
    background: transparent !important;
    outline: none !important;
}

.inline-error {
    color: #f87171;
    /* var(--red) */
    font-size: 0.75rem;
    margin-top: 0.4rem;
    font-weight: 500;
    display: block;
    animation: errorFadeIn 0.3s ease;
}

@keyframes errorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.04) !important;
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

/* Global autofill fix for all inputs */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.mobile-input-wrapper input:-webkit-autofill,
.mobile-input-wrapper input:-webkit-autofill:hover,
.mobile-input-wrapper input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s;
    background: transparent !important;
}

.form-group select option {
    background: #0a0f1e;
    color: #ffffff;
}

.form-group input::placeholder {
    color: var(--text-dim);
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    margin-bottom: 1rem;
}

.success-icon i {
    width: 54px;
    height: 54px;
    color: var(--green);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
    color: var(--text-dark);
}

.form-success p {
    color: var(--text-muted);
}

.hidden {
    display: none !important;
}

/* ===== FOOTER ===== */
footer {
    background: #02050e;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 5rem 0 2rem;
    color: rgba(255, 255, 255, .7);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    margin-bottom: 2rem;
}

.footer-logo .logo-text {
    color: #fff;
}

.footer-tagline {
    font-size: .82rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: .3rem;
    display: block;
}

.footer-desc {
    color: rgba(255, 255, 255, .35);
    font-size: .82rem;
    margin-top: .3rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 1.2rem;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, .4);
    text-decoration: none;
    font-size: .87rem;
    margin-bottom: .7rem;
    transition: color .3s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.footer-bottom p {
    font-size: .8rem;
    color: rgba(255, 255, 255, .3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-hero {
        grid-template-columns: 1fr;
    }

    .process-grid {
        flex-direction: column;
    }

    .process-connector {
        width: 2px;
        height: 2rem;
        background: linear-gradient(180deg, var(--primary), rgba(0, 212, 170, .3));
        margin: 0 auto -10px;
    }
}

@media (max-width: 991px) {

    .hero-grid,
    .section-grid,
    .contact-grid,
    .alerts-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        text-align: center;
        padding-top: 160px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-btns,
    .hero-trust {
        justify-content: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .for-whom {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .vision h2 {
        font-size: 2.2rem;
    }
}

/* ===== COPY PHONE ===== */
.copy-phone {
    cursor: pointer;
    user-select: none;
}

.copy-phone:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.copy-phone:active {
    transform: scale(0.98);
}

.copy-icon {
    width: 18px;
    height: 18px;
    color: var(--text-dim);
    flex-shrink: 0;
    transition: color .3s ease;
}

.copy-phone:hover .copy-icon {
    color: var(--primary);
}

.copy-hint {
    font-size: 0.68rem;
    color: var(--primary);
    font-weight: 600;
    opacity: 0.7;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

/* Copy toast */
.copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--primary);
    color: #0a0f1e;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 9999;
    font-family: var(--font-mono);
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
    --bg-deep: #f0f2f5;
    --bg-dark: #ffffff;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    --border: rgba(0, 0, 0, 0.1);
    --border-strong: rgba(0, 0, 0, 0.18);
    --border-accent: rgba(0, 212, 170, 0.4);
    --text-dark: #0a0f1e;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 8px 30px rgba(0, 212, 170, 0.2);
}

[data-theme="light"] .ticker-bar {
    background: #e8edf2;
}

[data-theme="light"] header {
    background: rgba(255, 255, 255, 0.92);
}

[data-theme="light"] header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-bg-grid {
    background-image: linear-gradient(rgba(0, 212, 170, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 212, 170, .08) 1px, transparent 1px);
}

[data-theme="light"] .dashboard-card,
[data-theme="light"] .algo-arch {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .arch-layer-info strong {
    color: #0a0f1e;
}

[data-theme="light"] .arch-layer-info span {
    color: #64748b;
}

[data-theme="light"] .code-card pre {
    background: #1e293b;
}

[data-theme="light"] .mobile-menu {
    background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .vision-inner {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 102, 255, 0.06));
}

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    inset: 0;
    background: #060b18;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity .5s ease, visibility .5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(0, 212, 170, 0.15);
    border-top-color: #00d4aa;
    border-radius: 50%;
    animation: loaderSpin .8s linear infinite;
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== ACTIVE NAV HIGHLIGHT ===== */
.nav-links a.active {
    color: var(--primary) !important;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-links a {
    position: relative;
}

/* ===== ENHANCED CARD HOVER GLOW ===== */
.service-card:hover {
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.12), 0 0 0 1px rgba(0, 212, 170, 0.15);
}

.product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.1), 0 0 0 1px rgba(0, 212, 170, 0.12);
}

.channel-item:hover {
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.08);
}

.why-card:hover {
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.1);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
    margin-right: 0.5rem;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.theme-toggle i {
    width: 18px;
    height: 18px;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: transform .3s ease, box-shadow .3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    width: 28px;
    height: 28px;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: waPulse 2s ease-in-out infinite;
}

@keyframes waPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.whatsapp-float .wa-tooltip {
    position: absolute;
    right: 68px;
    background: #fff;
    color: #333;
    font-size: .82rem;
    font-weight: 600;
    padding: .5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(10px);
    transition: all .3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}