/* ============================================
   MONITOR - 智能设备管控平台
   Professional Device Management Platform
   ============================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-space: #0a0e1a;
    --surface-1: #131827;
    --surface-2: #1a2035;
    --surface-3: #222840;
    --primary: #3B82F6;
    --primary-light: #60A5FA;
    --primary-dark: #2563EB;
    --accent: #10B981;
    --accent-light: #34D399;
    --warning: #F59E0B;
    --danger: #EF4444;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --radius-pill: 100px;
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 40px 80px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: var(--deep-space);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.mono { font-family: 'JetBrains Mono', 'Consolas', monospace; }

/* ===== NAVBAR ===== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
    letter-spacing: -0.01em;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

.nav-mobile-actions {
    display: none;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
    color: var(--text-secondary);
}

.lang-switcher:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: -0.01em;
}

.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-light);
}

.btn-lg { padding: 15px 36px; font-size: 15px; }

.btn-primary .btn-arrow { transition: transform 0.3s; }
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

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

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO SECTION ===== */

.hero {
    position: relative;
    padding: 180px 24px 140px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(circle at 50% 30%,
        rgba(59, 130, 246, 0.15) 0%,
        rgba(59, 130, 246, 0.05) 35%,
        transparent 55%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at 50% 30%, black 25%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 25%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content { max-width: 580px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px 6px 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
}

.hero h1 {
    font-size: clamp(42px, 5.5vw, 68px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 50%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
}

.trusted-row { display: flex; flex-direction: column; gap: 16px; }

.trusted-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trusted-logos {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.trusted-logo {
    opacity: 0.3;
    transition: opacity 0.3s;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trusted-logo:hover { opacity: 0.6; }

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, var(--surface-2) 0%, var(--surface-1) 100%);
    border: 2px solid var(--border-light);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        var(--shadow-xl),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 0 80px rgba(59, 130, 246, 0.1);
    position: relative;
    transform: perspective(1500px) rotateY(-8deg) rotateX(3deg);
    transition: transform 0.6s ease;
}

.device-mockup:hover {
    transform: perspective(1500px) rotateY(-3deg) rotateX(1deg);
}

.device-screen {
    width: 100%;
    height: 100%;
    background: var(--deep-space);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.device-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.screen-content {
    padding: 48px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-app-item {
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mock-app-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: grid;
    place-items: center;
    font-size: 18px;
}

.mock-app-info {
    flex: 1;
}

.mock-app-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.mock-app-status {
    font-size: 11px;
    color: var(--accent);
}

.mock-status-blocked {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.floating-card {
    position: absolute;
    background: var(--surface-1);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20%;
    right: -60px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 25%;
    left: -70px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.fc-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.1);
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 18px;
}

.fc-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.fc-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
}

/* ===== SECTIONS ===== */

.section { padding: 120px 0; position: relative; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header .section-desc { margin: 0 auto; }

/* ===== FEATURES TABS ===== */

.features-section {
    border-top: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, var(--deep-space) 0%, rgba(59, 130, 246, 0.02) 50%, var(--deep-space) 100%);
}

.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 64px;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    padding: 5px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    overflow-x: auto;
}

.feature-tab {
    padding: 11px 26px;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.feature-tab:hover {
    color: var(--text-secondary);
}

.feature-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.feature-panels { position: relative; min-height: 480px; }

.feature-panel {
    display: none;
    grid-template-columns: 1fr 1.3fr;
    gap: 72px;
    align-items: center;
    animation: panelIn 0.5s ease forwards;
}

.feature-panel.active { display: grid; }

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

.feature-text { max-width: 480px; }

.feature-text .feat-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    color: var(--primary-light);
    font-size: 26px;
}

.feature-text h3 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.feature-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 32px;
}

.feature-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-bullets li svg {
    color: var(--accent);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.feature-visual {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    min-height: 400px;
}

.fv-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
}

.fv-dot { width: 10px; height: 10px; border-radius: 50%; }
.fv-dot:nth-child(1) { background: var(--danger); opacity: 0.7; }
.fv-dot:nth-child(2) { background: var(--warning); opacity: 0.7; }
.fv-dot:nth-child(3) { background: var(--accent); opacity: 0.7; }

.fv-body { padding: 32px; }

/* Feature Visual Content */
.visual-demo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demo-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.demo-stat {
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 18px;
}

.demo-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
}

.demo-stat-value {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary-light);
}

.demo-chart-area {
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    height: 180px;
    position: relative;
}

.demo-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: var(--transition);
}

.demo-list-item:hover {
    border-color: var(--border-light);
    background: var(--surface-3);
}

.demo-list-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.2));
    display: grid;
    place-items: center;
    font-size: 20px;
}

.demo-list-info {
    flex: 1;
}

.demo-list-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.demo-list-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.demo-list-status {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
}

.status-blocked {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* ===== STATS STRIP ===== */

.stats-strip {
    padding: 96px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, var(--deep-space) 0%, rgba(16, 185, 129, 0.03) 50%, var(--deep-space) 100%);
}

.stats-grid {
    display: flex;
    justify-content: space-between;
}

.stat-item { text-align: left; flex: 1; }

.stat-item + .stat-item {
    border-left: 1px solid var(--border-subtle);
    padding-left: 48px;
}

.stat-number {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== PRODUCTS SECTION ===== */

.products-section {
    background: var(--deep-space);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.product-card {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

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

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

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(16, 185, 129, 0.15));
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    font-size: 28px;
}

.product-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.product-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.product-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.product-features li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--text-secondary);
}

.product-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

.products-actions {
    text-align: center;
    margin-top: 48px;
}

/* ===== GUIDE SECTION ===== */

.guide-section {
    background: linear-gradient(180deg, var(--deep-space) 0%, rgba(59, 130, 246, 0.02) 50%, var(--deep-space) 100%);
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.guide-step {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    transition: var(--transition);
}

.guide-step:hover {
    border-color: var(--border-light);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 32px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.step-title {
    font-size: 20px;
    font-weight: 800;
    margin-top: 20px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.step-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== SECURITY SECTION ===== */

.security-section {
    background: var(--deep-space);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 64px;
}

.security-card {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 36px;
    text-align: center;
    transition: var(--transition);
}

.security-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.security-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    font-size: 32px;
}

.security-title {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.security-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */

.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse at center,
        rgba(59, 130, 246, 0.12) 0%,
        rgba(16, 185, 129, 0.06) 40%,
        transparent 65%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}

.cta-section .section-title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 16px;
}

.cta-section .section-desc {
    margin: 0 auto 40px;
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* ===== FOOTER ===== */

.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 0;
    background: var(--surface-1);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 64px 0 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .nav-brand {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-copy a {
    color: var(--primary-light);
    transition: color 0.3s;
}

.footer-copy a:hover { color: var(--primary); }

.footer-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--text-muted);
    transition: all 0.3s;
    background: var(--surface-2);
}

.footer-socials a:hover {
    color: var(--text-primary);
    background: var(--surface-3);
    transform: translateY(-2px);
}

.footer-right .separator {
    width: 1px;
    height: 18px;
    background: var(--border-subtle);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-legal a:hover { color: var(--text-primary); }

/* ===== SCROLL ANIMATIONS ===== */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual { order: -1; }

    .device-mockup {
        width: 240px;
        height: 480px;
        transform: none;
    }

    .device-mockup:hover { transform: none; }

    .floating-card { display: none; }

    .feature-panel,
    .feature-panel.active {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-text { max-width: none; }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .guide-steps {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 64px auto 0;
    }

    .security-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 64px auto 0;
    }

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

    .footer-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100dvh;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 32px 40px;
        gap: 0;
        border-left: 1px solid var(--border-subtle);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-links.open { right: 0; }
    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 17px;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-toggle { display: flex; }
    .nav-actions { display: none; }

    .nav-mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-top: 28px;
        margin-top: 12px;
    }

    .nav-mobile-actions .btn {
        width: 100%;
        text-align: center;
        border-radius: var(--radius-pill);
        color: var(--text-primary);
    }

    .nav-mobile-actions .btn-primary { color: #fff; }

    .nav-mobile-actions a {
        border-bottom: none !important;
        padding: 12px 24px !important;
        font-size: 15px !important;
    }

    .hero { padding: 140px 24px 80px; }

    .hero-cta { flex-direction: column; align-items: stretch; }

    .feature-tabs {
        justify-content: flex-start;
        width: 100%;
        border-radius: var(--radius-sm);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .feature-tabs::-webkit-scrollbar { display: none; }

    .feature-tab { padding: 10px 20px; font-size: 13px; }

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

    .stats-grid { flex-wrap: wrap; gap: 36px; }
    .stat-item { flex: 1 1 40%; min-width: 140px; }
    .stat-item + .stat-item { border-left: none; padding-left: 0; }
    .stat-number { font-size: 40px; }

    .cta-buttons { flex-direction: column; align-items: stretch; }

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

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

    .footer-right { justify-content: center; }

    .section { padding: 80px 0; }
}

@media (max-width: 480px) {
    .device-mockup {
        width: 200px;
        height: 400px;
    }

    .trusted-logos { gap: 16px; }

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

    .guide-step { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1; transform: none; transition: none; }
    .badge-dot { animation: none; }
    .device-mockup { transform: none; }
    @keyframes float { from, to { transform: translateY(0); } }
    @keyframes panelIn { from { opacity: 1; transform: none; } }
}

/* ===== USER INFO ===== */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.user-info:hover {
    border-color: var(--border-light);
    background: var(--surface-3);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.user-level {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.user-level.admin {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

.user-level.user {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-light);
}

.user-level.premium {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent);
}

.user-info-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .user-info {
        padding: 4px 8px;
    }

    .user-details {
        display: none;
    }

    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}
