
:root {
    /* Brand */
    --primary: #3B7597;
    --primary-light: #5A95B8;
    --primary-dark: #2C5A75;
    --secondary: #093C5D;
    --secondary-light: #1A5478;
    --accent: #FF653F;
    --accent-light: #FF8568;
    --accent-glow: rgba(255, 101, 63, 0.35);

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, #093C5D 0%, #3B7597 100%);
    --gradient-accent: linear-gradient(135deg, #FF653F 0%, #FF8568 100%);
    --gradient-text: linear-gradient(135deg, #3B7597 0%, #FF653F 100%);
    --gradient-mesh: radial-gradient(at 20% 20%, rgba(59,117,151,0.25) 0px, transparent 50%),
                     radial-gradient(at 80% 80%, rgba(255,101,63,0.18) 0px, transparent 50%),
                     radial-gradient(at 80% 20%, rgba(9,60,93,0.2) 0px, transparent 50%);

    /* Typography */
    --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Easing & motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(9,60,93,0.08);
    --shadow-md: 0 8px 24px rgba(9,60,93,0.12);
    --shadow-lg: 0 20px 60px rgba(9,60,93,0.18);
    --shadow-glow: 0 0 40px rgba(59,117,151,0.25);
    --shadow-accent-glow: 0 0 40px rgba(255,101,63,0.3);
}

/* DARK THEME (default) */
[data-theme="dark"] {
    --bg: #060B14;
    --bg-2: #0A1220;
    --bg-3: #0F1A2E;
    --surface: rgba(255,255,255,0.04);
    --surface-hover: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.14);
    --text: #E8EEF5;
    --text-dim: #9BA8BC;
    --text-mute: #5B6B82;
    --glass-bg: rgba(15, 26, 46, 0.55);
    --glass-border: rgba(255,255,255,0.08);
}

/* LIGHT THEME */
[data-theme="light"] {
    --bg: #FAFBFC;
    --bg-2: #FFFFFF;
    --bg-3: #F1F4F9;
    --surface: rgba(9,60,93,0.04);
    --surface-hover: rgba(9,60,93,0.08);
    --border: rgba(9,60,93,0.1);
    --border-strong: rgba(9,60,93,0.16);
    --text: #093C5D;
    --text-dim: #4A6479;
    --text-mute: #8FA0B3;
    --glass-bg: rgba(255,255,255,0.7);
    --glass-border: rgba(9,60,93,0.08);
}

/* ---------- BASE RESET ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text);
}

a { color: inherit; text-decoration: none; transition: all 0.3s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

::selection { background: var(--accent); color: #fff; }

/* ---------- PAGE LOADER ---------- */
.page-loader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-circle {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.loader-pulse {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--gradient-accent);
    animation: loaderPulse 1.4s ease-in-out infinite;
    box-shadow: 0 0 40px var(--accent-glow);
}
@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.7); opacity: 0.5; }
}
.loader-text {
    font-family: var(--font-display);
    font-weight: 800; letter-spacing: 0.1em;
    color: var(--text); font-size: 14px;
}
.loader-text span { color: var(--accent); }

/* ---------- BACKGROUND BLOBS ---------- */
.bg-blobs {
    position: fixed; inset: 0; z-index: -1;
    overflow: hidden; pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: blobFloat 20s ease-in-out infinite;
}
.blob-1 {
    width: 500px; height: 500px;
    background: var(--primary);
    top: -100px; left: -100px;
}
.blob-2 {
    width: 400px; height: 400px;
    background: var(--accent);
    bottom: 10%; right: -100px;
    animation-delay: -7s;
}
.blob-3 {
    width: 450px; height: 450px;
    background: var(--secondary);
    top: 50%; left: 40%;
    animation-delay: -14s;
}
[data-theme="light"] .blob { opacity: 0.18; }

@keyframes blobFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(40px, -60px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.95); }
}

/* ---------- GLASS CARD UTILITY ---------- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
}

/* ---------- GRADIENT TEXT ---------- */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.snx-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease);
}
.snx-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}
.snx-navbar { padding: 0; }
.snx-logo img { height: 3em; }

.snx-menu { gap: 4px; }
.snx-menu .nav-link {
    color: var(--text-dim);
    font-weight: 500; font-size: 15px;
    padding: 10px 16px !important;
    border-radius: 10px;
    transition: all 0.3s var(--ease);
    position: relative;
}
.snx-menu .nav-link:hover { color: var(--text); background: var(--surface); }
.snx-menu .nav-link.active { color: var(--text); }
.snx-menu .nav-link.active::after {
    content: '';
    position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.snx-nav-actions {
    display: flex; align-items: center; gap: 12px;
}

.theme-toggle {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s var(--ease);
}
.theme-toggle:hover { background: var(--surface-hover); transform: rotate(15deg); }

/* Buttons */
.btn-primary-snx {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-accent);
    color: #fff !important;
    font-weight: 600; font-size: 15px;
    border-radius: 12px;
    border: none;
    transition: all 0.4s var(--ease);
    position: relative; overflow: hidden;
    box-shadow: 0 6px 20px rgba(255,101,63,0.35);
    cursor: pointer;
}
.btn-primary-snx::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, #FF8568 0%, #FF653F 100%);
    opacity: 0; transition: opacity 0.4s;
}
.btn-primary-snx > * { position: relative; z-index: 1; }
.btn-primary-snx:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,101,63,0.5);
    color: #fff !important;
}
.btn-primary-snx:hover::before { opacity: 1; }

.btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px;
    background: var(--surface);
    color: var(--text) !important;
    font-weight: 600; font-size: 15px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}
.btn-ghost:hover {
    background: var(--surface-hover);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.btn-lg-snx { padding: 16px 32px; font-size: 16px; border-radius: 14px; }

/* Mobile hamburger */
.navbar-toggle {
    background: var(--surface);
    border: 1px solid var(--border);
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    padding: 0;
}
.navbar-toggle span {
    width: 18px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile sidenav */
.sidenav {
    height: 100%; width: 0;
    position: fixed; z-index: 9999; top: 0; right: 0;
    background: var(--bg-2);
    border-left: 1px solid var(--border);
    overflow-x: hidden;
    transition: 0.4s var(--ease);
    padding-top: 0;
}
.side-nav-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.side-nav-header img { height: 36px; }
.closebtn {
    background: var(--surface); border: none;
    width: 36px; height: 36px; border-radius: 10px;
    color: var(--text); font-size: 16px;
}
.sidenav .navbar-nav { padding: 24px; gap: 8px; }
.sidenav .nav-link {
    color: var(--text-dim); font-weight: 500;
    padding: 12px 16px; border-radius: 10px;
}
.sidenav .nav-link:hover { background: var(--surface); color: var(--text); }

/* ============================================
   HERO SECTION
   ============================================ */
.snx-hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}
.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.65;
}

.hero-cta {
    display: flex; flex-wrap: wrap; gap: 14px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex; flex-wrap: wrap; gap: 28px;
}
.trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 500;
    color: var(--text-dim);
}
.trust-item i { color: var(--accent); font-size: 15px; }

/* Hero Dashboard (floating mockup) */
.hero-dashboard {
    position: relative;
    padding: 30px;
    min-height: 480px;
}

.dash-card {
    position: absolute;
    padding: 22px;
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
}

.dash-main {
    top: 30px; left: 0; right: 0;
    padding: 28px;
    z-index: 2;
    animation: floatMain 6s ease-in-out infinite;
}
@keyframes floatMain {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.dash-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 24px;
}
.dash-label {
    font-size: 13px; color: var(--text-dim);
    font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
}
.dash-header h3 {
    font-size: 32px; margin-top: 6px;
    font-weight: 800;
}
.dash-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px; font-weight: 600;
}
.dash-badge.up {
    background: rgba(34,197,94,0.12);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,0.25);
}

.dash-chart {
    display: flex; align-items: flex-end; gap: 8px;
    height: 90px; margin-bottom: 18px;
}
.dash-chart .bar {
    flex: 1;
    height: var(--h);
    background: linear-gradient(180deg, var(--primary-light), var(--primary));
    border-radius: 6px 6px 2px 2px;
    opacity: 0.4;
    transition: opacity 0.3s;
}
.dash-chart .bar.active {
    background: var(--gradient-accent);
    opacity: 1;
    box-shadow: 0 0 20px var(--accent-glow);
}

.dash-footer {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-dim);
}
.dash-footer .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: dotPulse 2s ease-in-out infinite;
}

/* Floating cards */
.dash-float-1, .dash-float-2, .dash-float-3 {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px;
    z-index: 3;
}
.dash-float-1 {
    top: 290px; left: -10px;
    animation: floatA 7s ease-in-out infinite;
}
.dash-float-2 {
    bottom: 30px; right: 0;
    animation: floatB 8s ease-in-out infinite;
}
.dash-float-3 {
    top: 0; right: -20px;
    padding: 18px;
    flex-direction: column; gap: 8px; text-align: center;
    animation: floatC 6.5s ease-in-out infinite;
}

@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }
@keyframes floatC { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-5px,-8px)} }

.float-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff;
    flex-shrink: 0;
}
.float-icon.green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 6px 20px rgba(34,197,94,0.35);
}
.float-icon.orange {
    background: var(--gradient-accent);
    box-shadow: 0 6px 20px var(--accent-glow);
}
.float-label {
    font-size: 12px; color: var(--text-dim);
    margin-bottom: 2px;
}
.float-value, .dash-float-1 h5 {
    font-size: 16px; font-weight: 700; color: var(--text);
    margin: 0; font-family: var(--font-display);
}

.success-ring {
    position: relative;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
}
.success-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--border); stroke-width: 3; }
.ring-fill { fill: none; stroke: url(#chartGrad) var(--accent); stroke-width: 3; stroke-linecap: round; }
.success-ring span {
    position: absolute;
    font-size: 13px; font-weight: 700;
    color: var(--accent);
}

/* Brand strip */
.brand-strip {
    margin-top: 80px;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.brand-strip p {
    text-align: center;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-mute);
    margin-bottom: 20px;
}
.brand-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.brand-track {
    display: flex; gap: 60px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}
.brand-track span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    color: var(--text-dim);
    opacity: 0.6;
    transition: opacity 0.3s;
}
.brand-track span:hover { opacity: 1; color: var(--text); }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================
   STATS SECTION
   ============================================ */
.snx-stats {
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-card {
    padding: 32px 28px;
    text-align: center;
    transition: all 0.4s var(--ease);
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}
.stat-card h2 {
    font-size: 42px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    font-weight: 800;
}
.stat-card p {
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-head { max-width: 700px; margin: 0 auto 60px; }
.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 20px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}
.section-sub {
    font-size: 17px;
    color: var(--text-dim);
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.snx-features { padding: 100px 0; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    padding: 36px 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    transition: all 0.5s var(--ease);
    overflow: hidden;
    cursor: pointer;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 24px;
    color: #fff;
    transition: transform 0.4s var(--ease-bounce);
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-6deg); }

.icon-primary {
    background: var(--gradient-brand);
    box-shadow: 0 8px 24px rgba(59,117,151,0.4);
}
.icon-accent {
    background: var(--gradient-accent);
    box-shadow: 0 8px 24px var(--accent-glow);
}
.icon-secondary {
    background: linear-gradient(135deg, #093C5D, #1A5478);
    box-shadow: 0 8px 24px rgba(9,60,93,0.4);
}

.feature-card h4 {
    font-size: 20px; font-weight: 700;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}
.feature-arrow {
    position: absolute;
    bottom: 30px; right: 30px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--surface);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateX(-10px);
    transition: all 0.4s var(--ease);
    color: var(--accent);
}
.feature-card:hover .feature-arrow {
    opacity: 1; transform: translateX(0);
}

/* ============================================
   DASHBOARD PREVIEW SECTION
   ============================================ */
.snx-dashboard-preview {
    padding: 100px 0;
}

.check-list {
    list-style: none;
    margin: 32px 0;
    padding: 0;
}
.check-list li {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0;
    color: var(--text-dim);
    font-size: 15px;
}
.check-list li i {
    color: #22c55e;
    font-size: 18px;
}

/* Visual dashboard mockup */
.dashboard-preview-wrap {
    position: relative;
    perspective: 1500px;
}
.dashboard-preview {
    display: grid;
    grid-template-columns: 60px 1fr;
    height: 460px;
    overflow: hidden;
    transform: rotateY(-4deg) rotateX(4deg);
    transition: transform 0.6s var(--ease);
    box-shadow: 0 30px 80px rgba(9,60,93,0.25);
}
.dashboard-preview:hover { transform: rotateY(0) rotateX(0); }

.dp-sidebar {
    background: var(--bg-2);
    padding: 20px 0;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    border-right: 1px solid var(--border);
}
.dp-logo {
    width: 36px; height: 36px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-family: var(--font-display);
    margin-bottom: 8px;
}
.dp-nav-item {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-mute);
    transition: all 0.3s;
    cursor: pointer;
}
.dp-nav-item:hover { background: var(--surface); color: var(--text); }
.dp-nav-item.active {
    background: var(--surface);
    color: var(--accent);
}

.dp-main { padding: 24px; overflow: hidden; }
.dp-topbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px;
}
.dp-topbar h5 { font-size: 18px; margin: 0; }
.dp-search {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-mute);
    font-size: 13px;
}

.dp-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.dp-stat {
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}
.dp-stat p { font-size: 11px; color: var(--text-mute); margin: 0 0 4px; text-transform: uppercase; }
.dp-stat h4 { font-size: 20px; margin: 0; font-weight: 700; }
.dp-stat small.up { color: #22c55e; font-size: 11px; font-weight: 600; }

.dp-chart {
    height: 100px;
    margin-bottom: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    overflow: hidden;
}
.dp-chart svg { width: 100%; height: 100%; }

.dp-table {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.dp-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: center;
    padding: 10px 14px;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}
.dp-row:last-child { border-bottom: none; }
.dp-row-head {
    color: var(--text-mute);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.dp-row .green { color: #22c55e; margin-right: 6px; }
.badge-success {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(34,197,94,0.15);
    color: #22c55e;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
}

/* ============================================
   WHY US (COMPARE TABLE)
   ============================================ */
.snx-why { padding: 100px 0; }

.compare-table {
    padding: 8px;
    max-width: 900px;
    margin: 0 auto;
}
.compare-head {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: var(--text-dim);
    text-align: center;
}
.compare-head .us-col img { height: 24px; margin: 0 auto; }
.compare-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 20px 32px;
    align-items: center;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}
.compare-row:hover { background: var(--surface); }
.compare-row:last-child { border-bottom: none; }
.compare-row > span:first-child { font-weight: 500; }
.compare-row .us {
    text-align: center;
    color: var(--accent);
    font-weight: 600;
}
.compare-row .us i { color: #22c55e; margin-right: 6px; }
.compare-row .them {
    text-align: center;
    color: var(--text-mute);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.snx-pricing { padding: 100px 0; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.price-card {
    padding: 40px 32px;
    position: relative;
    transition: all 0.5s var(--ease);
}
.price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.price-card.featured {
    background: linear-gradient(180deg, rgba(255,101,63,0.08) 0%, var(--glass-bg) 100%);
    border-color: var(--accent);
    transform: scale(1.04);
    box-shadow: 0 20px 50px rgba(255,101,63,0.15);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-8px); }

.featured-badge {
    position: absolute;
    top: -12px; left: 50%; transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--gradient-accent);
    color: #fff;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 100px;
    box-shadow: 0 8px 20px var(--accent-glow);
}

.plan-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.plan-desc {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 24px;
    min-height: 42px;
}

.plan-price {
    display: flex; align-items: baseline; gap: 4px;
    margin-bottom: 28px;
}
.plan-price .currency {
    font-size: 24px; font-weight: 700;
    color: var(--text-dim);
    font-family: var(--font-display);
}
.plan-price .amount {
    font-size: 52px; font-weight: 800;
    line-height: 1;
    color: var(--text);
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}
.plan-price .period {
    font-size: 15px;
    color: var(--text-dim);
}
.plan-price .custom-text {
    font-size: 38px; font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-display);
}

.plan-features {
    list-style: none;
    padding: 24px 0 0;
    margin: 24px 0 0;
    border-top: 1px solid var(--border);
}
.plan-features li {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-dim);
}
.plan-features li i { color: var(--accent); font-size: 14px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.snx-testimonials { padding: 100px 0; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    transition: all 0.4s var(--ease);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.t-stars {
    color: #FFB800;
    margin-bottom: 18px;
    font-size: 14px;
}
.t-stars i { margin-right: 2px; }
.t-quote {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
}
.t-author {
    display: flex; align-items: center; gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.t-author img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-strong);
}
.t-author h6 { font-size: 15px; margin: 0; font-weight: 700; }
.t-author small { color: var(--text-dim); font-size: 13px; }

/* ============================================
   FAQ
   ============================================ */
.snx-faq { padding: 100px 0; }

.faq-accordion {
    display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s var(--ease);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.active {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(255,101,63,0.05) 0%, var(--glass-bg) 100%);
}

.faq-q {
    width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 26px;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
    transition: color 0.3s;
}
.faq-q i {
    color: var(--accent);
    transition: transform 0.4s var(--ease);
    font-size: 14px;
}
.faq-item.active .faq-q i { transform: rotate(45deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0 26px;
    transition: max-height 0.5s var(--ease), padding 0.5s var(--ease);
}
.faq-item.active .faq-a {
    max-height: 200px;
    padding: 0 26px 22px;
}
.faq-a p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   CTA BANNER
   ============================================ */
.snx-cta { padding: 60px 0 100px; }

.cta-banner {
    position: relative;
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    border: 1px solid var(--border-strong);
}
.cta-blob {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.5;
    top: -150px; right: -100px;
    filter: blur(80px);
    animation: blobFloat 15s ease-in-out infinite;
}
.cta-banner h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #fff;
    margin-bottom: 18px;
    position: relative; z-index: 1;
}
.cta-banner h2 .gradient-text {
    background: linear-gradient(135deg, #FF8568 0%, #FFB000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cta-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 36px;
    position: relative; z-index: 1;
}
.cta-buttons {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    position: relative; z-index: 1;
}
.cta-banner .btn-ghost {
    background: rgba(255,255,255,0.1);
    color: #fff !important;
    border-color: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}
.cta-banner .btn-ghost:hover {
    background: rgba(255,255,255,0.18);
}

/* ============================================
   FOOTER
   ============================================ */
.snx-footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 80px 0 30px;
    position: relative;
}

.footer-logo img { height: 5em; margin-bottom: 20px; }
.footer-about {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 340px;
}

.footer-social {
    display: flex; gap: 10px;
}
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim);
    font-size: 14px;
    transition: all 0.3s var(--ease);
}
.footer-social a:hover {
    background: var(--gradient-accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

.snx-footer h6 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
}

.snx-footer ul {
    list-style: none;
    padding: 0; margin: 0;
}
.snx-footer ul li { margin-bottom: 10px; }
.snx-footer ul li a {
    color: var(--text-dim);
    font-size: 14px;
    transition: color 0.3s;
}
.snx-footer ul li a:hover { color: var(--accent); }

.footer-newsletter-txt {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.footer-newsletter {
    display: flex; gap: 8px;
}
.footer-newsletter input {
    flex: 1;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}
.footer-newsletter input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface-hover);
}
.footer-newsletter input::placeholder { color: var(--text-mute); }
.footer-newsletter button {
    padding: 12px 18px;
    font-size: 15px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p {
    color: var(--text-mute);
    font-size: 13px;
    margin: 0;
}
.footer-links {
    display: flex; gap: 24px;
}
.footer-links a {
    color: var(--text-mute);
    font-size: 13px;
}
.footer-links a:hover { color: var(--accent); }

/* ============================================
   BACK TO TOP
   ============================================ */
#backToTopBtn {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #fff;
    z-index: 999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease);
    box-shadow: 0 10px 30px var(--accent-glow);
}
#backToTopBtn.show {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
#backToTopBtn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(255,101,63,0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1199px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; }
    .price-card.featured { transform: scale(1); }
    .price-card.featured:hover { transform: translateY(-8px); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .snx-hero { padding: 120px 0 60px; }
    .hero-dashboard { min-height: 440px; margin-top: 40px; }
    .snx-nav-actions { display: none; }
    .snx-menu { display: none; }
    .dashboard-preview { transform: none; }
    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .snx-features, .snx-dashboard-preview, .snx-why, .snx-pricing, .snx-testimonials, .snx-faq { padding: 70px 0; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-trust { gap: 16px; }
    .stats-grid { grid-template-columns: 1fr; }
    .compare-head, .compare-row {
        grid-template-columns: 1.2fr 1fr 1fr;
        padding: 16px;
        font-size: 14px;
    }
    .cta-banner { padding: 50px 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .dashboard-preview { height: 380px; grid-template-columns: 50px 1fr; }
    .dp-cards { grid-template-columns: 1fr; gap: 8px; }
    .dp-stat h4 { font-size: 16px; }
    .hero-dashboard { padding: 10px; min-height: 420px; }
    .dash-float-3 { display: none; }
    .dash-main { padding: 20px; }
    .dash-header h3 { font-size: 24px; }
}

@media (max-width: 480px) {
    .snx-hero { padding: 110px 0 40px; }
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.7rem; }
    .price-card { padding: 30px 22px; }
    .feature-card { padding: 28px 22px; }
    .brand-track span { font-size: 18px; }
}