/* ==========================================================================
   树洞相册 Knothole - 官方落地页样式表
   灰色渐变 (Gray Gradient Onboarding) 视觉规范 & 星幕玻璃美学设计系统
   ========================================================================== */

:root {
    /* 灰色渐变视觉基色体系 (低饱和冷灰到白) */
    --bg-base: #f4f5f8;
    --text-primary: #2c303e;      /* 高对比度深冷灰，保证优秀可读性 */
    --text-secondary: #5a6275;    /* 辅文字深冷灰 */
    --text-muted: #8c96ab;        /* 降噪辅助灰 */
    
    /* 星幕轻玻璃拟物卡片规格 */
    --card-bg: rgba(255, 255, 255, 0.65);
    --card-border: rgba(255, 255, 255, 0.8);
    --card-border-hover: rgba(124, 58, 237, 0.3);
    --card-shadow: 0 10px 30px rgba(165, 172, 190, 0.12);
    --card-shadow-hover: 0 15px 40px rgba(124, 58, 237, 0.1);
    
    /* 品牌克制色系 */
    --primary: #6366f1;           /* 极光靛蓝 */
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --secondary: rgba(255, 255, 255, 0.8);
    --secondary-hover: rgba(255, 255, 255, 0.95);
    --border-light: rgba(0, 0, 0, 0.05);
    
    --font-primary: 'Outfit', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base Styles & Gray Gradient Scaffold
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-primary);
    background-color: var(--bg-base);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    /* 全屏铺满 register_bg.png，降噪纸面托底设计 */
    background-image: url('register_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

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

/* Faint ambient glows for layered texture */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    top: -5%;
    right: 5%;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    bottom: 15%;
    left: -5%;
}

/* ==========================================================================
   Header Navigation (Glassmorphic Light Mode)
   ========================================================================== */

.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    display: flex;
    align-items: center;
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(244, 245, 248, 0.65);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    flex-direction: column;
}

.brand-sub {
    font-size: 10px;
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Buttons UI Design
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

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

.btn-secondary {
    background: var(--secondary);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-nav {
    padding: 8px 20px;
    font-size: 14px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    z-index: 10;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 60px;
}

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

.badge-tag {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

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

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Animations */
.animate-fade-in { animation: fadeIn 1s forwards ease-out; }
.animate-slide-up { animation: slideUp 1s forwards cubic-bezier(0.16, 1, 0.3, 1); }
.animate-scale-in { animation: scaleIn 1.2s forwards cubic-bezier(0.16, 1, 0.3, 1); }

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

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

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

/* ==========================================================================
   Premium Smartphone Mockup (Interactive CSS & Gray-Gradient spec)
   ========================================================================== */

.phone-mockup {
    position: relative;
    width: 320px;
    height: 640px;
    border-radius: 44px;
    background: #11131a; /* Graphite Slate frame */
    padding: 10px;
    box-shadow: 
        0 0 0 4px #262933,
        0 20px 50px rgba(165, 172, 190, 0.3),
        0 0 40px rgba(99, 102, 241, 0.1);
    margin: 0 auto;
    transition: var(--transition-smooth);
}

.phone-mockup::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 45px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.05) 50%, rgba(99, 102, 241, 0.15) 100%);
    z-index: 2;
    pointer-events: none;
}

.phone-mockup:hover {
    transform: translateY(-8px) rotate(-0.5deg);
    box-shadow: 
        0 0 0 4px #22252f,
        0 25px 60px rgba(165, 172, 190, 0.4),
        0 0 50px rgba(99, 102, 241, 0.2);
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 25px;
    background: #11131a;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.phone-notch::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
    left: 20px;
    top: 7px;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    background-color: var(--bg-base);
    background-image: url('register_bg.png'); /* Real background asset from app */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-sim-header {
    height: 70px;
    padding-top: 25px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(244, 245, 248, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
}

.app-sim-status {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

.app-sim-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.app-sim-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-sim-badge {
    font-size: 9px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 1px 6px;
    border-radius: 10px;
    color: #4f46e5;
    font-weight: 600;
}

.app-sim-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

/* Simulated Gray-Gradient-spec Card inside phone screen */
.app-sim-card {
    position: relative;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 18px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(165, 172, 190, 0.1);
}

.app-sim-avatar-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    top: -50px;
    right: -40px;
    filter: blur(10px);
}

.app-sim-card-name {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
}

.status-badge {
    font-size: 9px;
    background: #10b981;
    color: #ffffff;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 600;
}

.app-sim-card-meta {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
    margin-bottom: 12px;
}

.app-sim-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.app-sim-tag {
    font-size: 10px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.12);
    padding: 3px 8px;
    border-radius: 20px;
    color: #4f46e5;
    font-weight: 500;
}

.app-sim-whisper {
    font-size: 12px;
    font-style: italic;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.5);
    border-left: 2px solid var(--primary);
    padding: 8px 10px;
    border-radius: 4px;
    line-height: 1.5;
}

.app-sim-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.app-sim-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(165,172,190,0.1);
}

.app-sim-btn:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 4px 12px rgba(165,172,190,0.15);
}

.btn-heart {
    border-color: rgba(236, 72, 153, 0.25);
    background: rgba(236, 72, 153, 0.04);
}

.btn-heart:hover {
    background: #ec4899;
    color: white;
}

.btn-star {
    border-color: rgba(99, 102, 241, 0.25);
    background: rgba(99, 102, 241, 0.04);
}

.btn-star:hover {
    background: #6366f1;
    color: white;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features-section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

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

.section-pretitle {
    font-size: 12px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 2px;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Feature Card (Glassmorphism Light Mode conforming to Spec 5.5) */
.feature-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px 32px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.7), transparent 70%);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--card-border-hover);
    box-shadow: var(--card-shadow-hover);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.f-icon-1 { background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%); }
.f-icon-2 { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.f-icon-3 { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.f-icon-4 { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }

.feature-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

/* ==========================================================================
   Showcase Section
   ========================================================================== */

.showcase-section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.showcase-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.showcase-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.showcase-metric {
    display: flex;
    gap: 48px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-size: 44px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
}

.metric-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Premium Light Orb representation */
.galaxy-orb-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
}

.galaxy-orb {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9) 0%, rgba(224, 231, 255, 0.7) 50%, rgba(199, 210, 254, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 15px 40px rgba(165, 172, 190, 0.25),
        inset 0 0 20px rgba(255, 255, 255, 0.8);
    animation: orbFloat 6s infinite ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.orb-inner {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle at 70% 70%, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
    filter: blur(10px);
}

.orb-stars {
    position: absolute;
    font-size: 48px;
    animation: spinStars 12s infinite linear;
    color: rgba(99, 102, 241, 0.35);
}

.orb-ring {
    position: absolute;
    width: 140%;
    height: 40px;
    border: 2px solid rgba(99, 102, 241, 0.15);
    border-radius: 50%;
    transform: rotate(-15deg);
    animation: spinRing 20s infinite linear;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.05);
}

.orb-reflection {
    position: absolute;
    width: 90%;
    height: 30px;
    background: rgba(165, 172, 190, 0.15);
    bottom: -50px;
    left: 5%;
    border-radius: 50%;
    filter: blur(15px);
    animation: orbShadow 6s infinite ease-in-out;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}

@keyframes orbShadow {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes spinStars {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinRing {
    0% { transform: rotate(-15deg) rotateY(0deg); }
    100% { transform: rotate(-15deg) rotateY(360deg); }
}

/* ==========================================================================
   Download Section
   ========================================================================== */

.download-section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.download-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 100%);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--card-shadow);
}

.download-card-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(50px);
    pointer-events: none;
}

.download-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.download-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.coming-soon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 20px;
    padding: 16px 36px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.04);
    animation: pulseGlow 3s infinite ease-in-out;
}

.coming-soon-badge .badge-icon {
    font-size: 20px;
}

@keyframes pulseGlow {
    0%, 100% {
        border-color: rgba(99, 102, 241, 0.25);
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.04);
    }
    50% {
        border-color: rgba(99, 102, 241, 0.5);
        box-shadow: 0 4px 25px rgba(99, 102, 241, 0.15);
    }
}

.download-btn-group {
    position: relative;
}

.btn-download {
    background: #11131a; /* High contrast graphite slate buttons */
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-download:hover {
    border-color: var(--primary);
    background: #1b1e2a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.btn-download-text {
    display: flex;
    flex-direction: column;
}

.btn-dl-small {
    font-size: 10px;
    text-transform: uppercase;
    color: #a3a8b8;
    font-family: 'Outfit', sans-serif;
}

.btn-dl-large {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

/* ==========================================================================
   Micro-QR Hover Window (Light Glassmorphic Style)
   ========================================================================== */

.qr-popup {
    position: absolute;
    bottom: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    opacity: 0;
    pointer-events: none;
    transition: 
        opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 50;
}

.download-btn-group:hover .qr-popup {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.qr-code-box {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 
        0 15px 35px rgba(165, 172, 190, 0.25),
        0 0 30px rgba(99, 102, 241, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
}

.qr-code-box::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.9) transparent transparent transparent;
}

.sim-qr-code {
    position: relative;
    width: 120px;
    height: 120px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 4px solid var(--text-primary);
}

.qr-tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.qr-tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.qr-bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }

.qr-center-logo {
    position: absolute;
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(165,172,190,0.2);
    font-size: 14px;
    z-index: 5;
}

.qr-dots {
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(var(--text-primary) 30%, transparent 35%),
        radial-gradient(var(--text-primary) 30%, transparent 35%);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
    opacity: 0.85;
}

.qr-tip {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 12px;
    font-weight: 600;
}

/* ==========================================================================
   Footer Area
   ========================================================================== */

.app-footer {
    position: relative;
    background: rgba(234, 235, 237, 0.7); /* EAEBED neutral light blend */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 80px;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 0.9fr);
    gap: 40px;
    margin-bottom: 60px;
}

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

.footer-desc {
    margin-top: 18px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 320px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-link-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link, .footer-link:visited {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition-smooth);
    width: fit-content;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-contact-item {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-email {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.footer-email:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.regulatory-info {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   Responsive Grid & Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .showcase-metric {
        justify-content: center;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .app-header {
        height: 70px;
    }
    
    .main-nav {
        display: none;
    }
    
    .hero-section {
        padding-top: 140px;
        padding-bottom: 80px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .download-card {
        padding: 50px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
