/* ========================================
   NoxRail Landing Page - Premium Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --bg-dark: #0a0a0f;
    --bg-card: #111118;
    --bg-card-hover: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-mesh: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-ghost: linear-gradient(135deg, #1e1e2e 0%, #2d2d44 100%);
    --gradient-sos: linear-gradient(135deg, #ef4444 0%, #f97316 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: white;
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--gradient-primary) !important;
    color: white !important;
    border-radius: var(--radius-md) !important;
}

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all var(--transition-fast);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

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

.mesh-animation {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(99, 102, 241, 0.4);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.3);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(6, 182, 212, 0.3);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-30px, 50px) scale(0.95);
    }

    75% {
        transform: translate(-50px, -20px) scale(1.02);
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--success);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Visual - Phone Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(99, 102, 241, 0.2);
    border: 3px solid #333;
    position: relative;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #111 0%, #1a1a2e 100%);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 16px 16px;
    background: rgba(99, 102, 241, 0.1);
    font-weight: 600;
}

.mesh-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    color: var(--success);
}

.chat-preview {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.875rem;
    animation: messageSlide 0.5s ease forwards;
    opacity: 0;
}

.message.received {
    background: #2a2a3a;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.sent {
    background: var(--primary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    animation-delay: 0.2s;
}

.message:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message .time {
    display: block;
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 4px;
}

/* Floating Nodes */
.floating-nodes {
    position: absolute;
    inset: -60px;
}

.node {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    animation: nodeFloat 4s ease-in-out infinite;
}

.node-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.node-2 {
    top: 60%;
    right: -40px;
    animation-delay: -1s;
}

.node-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: -2s;
}

@keyframes nodeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(10px);
    }
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Problem Section
   ======================================== */
.problem-section {
    padding: 120px 24px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.problem-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition-base);
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.solution-statement h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.solution-statement p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    padding: 120px 24px;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--transition-base);
    grid-column: span 4;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-large {
    grid-column: span 12;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 48px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li::before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
}

/* Mesh Visual */
.mesh-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mesh-demo {
    position: relative;
    width: 300px;
    height: 300px;
}

.mesh-node {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    box-shadow: var(--shadow-glow);
    z-index: 2;
}

.center-node {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
}

.peer-1 {
    top: 10%;
    left: 15%;
}

.peer-2 {
    top: 10%;
    right: 15%;
}

.peer-3 {
    bottom: 15%;
    right: 10%;
}

.mesh-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.mesh-line {
    stroke: var(--primary);
    stroke-width: 2;
    opacity: 0.5;
    stroke-dasharray: 8 4;
    animation: dash 1s linear infinite;
}

.line-relay {
    stroke: var(--accent);
}

@keyframes dash {
    to {
        stroke-dashoffset: -12;
    }
}

/* ========================================
   Security Section
   ======================================== */
.security-section {
    padding: 120px 24px;
    background: var(--bg-card);
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.security-main {
    display: flex;
    justify-content: center;
}

.encryption-visual {
    text-align: center;
}

.encryption-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.flow-step {
    text-align: center;
}

.step-icon {
    font-size: 4rem;
    margin-bottom: 8px;
}

.flow-step span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.flow-arrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--success);
}

.flow-arrow::before,
.flow-arrow::after {
    content: "";
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--success), transparent);
}

.lock-icon {
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.encryption-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--success);
}

.security-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.security-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-base);
}

.security-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
}

.security-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.security-card h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.security-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Ghost Mode Section
   ======================================== */
.ghost-section {
    padding: 120px 24px;
    background: var(--gradient-ghost);
}

.ghost-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ghost-text h2 {
    font-size: 3rem;
}

.ghost-text>p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.ghost-features {
    display: grid;
    gap: 20px;
}

.ghost-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ghost-icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: var(--radius-md);
}

.ghost-feature h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.ghost-feature p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Calculator Mockup */
.ghost-visual {
    display: flex;
    justify-content: center;
}

.calculator-mockup {
    width: 280px;
    background: #000;
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

.calc-display {
    text-align: right;
    font-size: 3rem;
    font-weight: 300;
    color: white;
    padding: 20px;
    min-height: 80px;
}

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

.calc-grid button {
    aspect-ratio: 1;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 500;
    background: #333;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.calc-grid button:hover {
    background: #444;
}

.calc-grid button.op {
    background: #ff9f0a;
    color: white;
}

.calc-grid button.zero {
    grid-column: span 2;
    border-radius: 40px;
    aspect-ratio: auto;
    padding: 20px;
}

.unlock-hint {
    text-align: center;
    padding: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeIn 2s ease forwards 2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ========================================
   SOS Section
   ======================================== */
.sos-section {
    padding: 120px 24px;
    background: linear-gradient(135deg, #1a0a0a 0%, #0a0a0f 100%);
}

.sos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.sos-visual {
    display: flex;
    justify-content: center;
}

.sos-button-demo {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sos-ripple {
    position: absolute;
    inset: 0;
    border: 3px solid var(--danger);
    border-radius: 50%;
    animation: sosRipple 2s ease-out infinite;
}

.sos-ripple.delay-1 {
    animation-delay: 0.5s;
}

.sos-ripple.delay-2 {
    animation-delay: 1s;
}

@keyframes sosRipple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.sos-core {
    width: 120px;
    height: 120px;
    background: var(--gradient-sos);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.5);
    z-index: 2;
}

.sos-tag {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: var(--danger) !important;
}

.sos-gradient {
    background: var(--gradient-sos);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sos-text h2 {
    font-size: 3rem;
}

.sos-text>p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.sos-features {
    list-style: none;
}

.sos-features li {
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
    padding: 120px 24px;
}

.steps-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.step::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 70px;
    bottom: -48px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), transparent);
}

.step:last-child::before {
    display: none;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content {
    padding-top: 12px;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

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

/* ========================================
   Use Cases
   ======================================== */
.use-cases {
    padding: 120px 24px;
    background: var(--bg-card);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.case-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    transition: all var(--transition-base);
}

.case-card:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

.case-emoji {
    font-size: 3rem;
    margin-bottom: 16px;
}

.case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.case-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   Tech Specs
   ======================================== */
.tech-specs {
    padding: 120px 24px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.spec-card h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.spec-card ul {
    list-style: none;
}

.spec-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-card li:last-child {
    border-bottom: none;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 120px 24px;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}

.cta-content>p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 80px 24px 40px;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 48px;
}

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

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

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-column h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 0;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .feature-card {
        grid-column: span 6;
    }

    .feature-large {
        grid-template-columns: 1fr;
    }

    .security-grid,
    .ghost-content,
    .sos-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ghost-features {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 48px;
    }

    .feature-card {
        grid-column: span 12;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-brand {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .security-cards {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Comparison Section
   ======================================== */
.comparison-section {
    padding: 120px 24px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    background: rgba(99, 102, 241, 0.1);
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.app-header-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.app-logo {
    font-size: 1.5rem;
}

.bridge-logo {
    animation: pulse 2s ease-in-out infinite;
}

.bridge-col {
    background: rgba(99, 102, 241, 0.08);
}

.check {
    color: var(--success);
    font-size: 1.25rem;
    font-weight: bold;
}

.cross {
    color: var(--danger);
    font-size: 1.25rem;
    opacity: 0.7;
}

.partial {
    color: var(--warning);
    font-size: 1.25rem;
}

.comparison-note {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ========================================
   Statistics Section
   ======================================== */
.stats-section {
    padding: 80px 24px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    display: inline;
    line-height: 1;
}

.stat-plus,
.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    vertical-align: super;
}

.stat-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 8px;
}

.stat-desc {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 4px;
}

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

    .stat-number {
        font-size: 2.5rem;
    }
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    padding: 120px 24px;
    background: var(--bg-card);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

.testimonial-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-top: 32px;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
}

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

.testimonial-stars {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--warning);
    font-size: 1rem;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card.featured {
        grid-column: span 1;
    }
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    padding: 120px 24px;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--primary);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Newsletter Section
   ======================================== */
.newsletter-section {
    padding: 80px 24px;
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.newsletter-text h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.newsletter-text p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.newsletter-form .btn {
    white-space: nowrap;
}

.newsletter-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

/* ========================================
   Additional Animations
   ======================================== */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    animation: countUp 0.6s ease forwards;
}

.stat-card:nth-child(2) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* Smooth reveal for comparison rows */
.comparison-table tbody tr {
    opacity: 0;
    animation: fadeInRow 0.4s ease forwards;
}

.comparison-table tbody tr:nth-child(1) {
    animation-delay: 0.05s;
}

.comparison-table tbody tr:nth-child(2) {
    animation-delay: 0.1s;
}

.comparison-table tbody tr:nth-child(3) {
    animation-delay: 0.15s;
}

.comparison-table tbody tr:nth-child(4) {
    animation-delay: 0.2s;
}

.comparison-table tbody tr:nth-child(5) {
    animation-delay: 0.25s;
}

.comparison-table tbody tr:nth-child(6) {
    animation-delay: 0.3s;
}

.comparison-table tbody tr:nth-child(7) {
    animation-delay: 0.35s;
}

.comparison-table tbody tr:nth-child(8) {
    animation-delay: 0.4s;
}

.comparison-table tbody tr:nth-child(9) {
    animation-delay: 0.45s;
}

.comparison-table tbody tr:nth-child(10) {
    animation-delay: 0.5s;
}

@keyframes fadeInRow {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}