/* Trust Wallet Card — Deep Crypto Dark Design System */
/* Mobile-First · Touch-First · Performance-Optimized */

/* ================================
   CSS VARIABLES & RESET
   ================================ */
:root {
    /* Deep Crypto Dark Palette */
    --color-bg: #000000;
    --color-surface: #121212;
    --color-surface-elevated: #1a1a1a;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-hover: rgba(255, 255, 255, 0.2);
    
    /* Blue Gradient (Primary Accent) */
    --gradient-primary: linear-gradient(135deg, #0500FF 0%, #4CC3FF 100%);
    --gradient-glow: linear-gradient(135deg, rgba(5, 0, 255, 0.4) 0%, rgba(76, 195, 255, 0.2) 100%);
    
    /* Text Colors */
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-muted: rgba(255, 255, 255, 0.5);
    
    /* Semantic Colors */
    --color-success: #10B981;
    --color-error: #EF4444;
    --color-warning: #F59E0B;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-arabic: 'IBM Plex Sans Arabic', sans-serif;
    
    /* Spacing Scale (8px base) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Touch Targets (44-48px minimum) */
    --touch-min: 48px;
    --touch-target: 56px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-glow: 0 0 40px rgba(5, 0, 255, 0.3);
    --shadow-elevated: 0 10px 40px rgba(0, 0, 0, 0.5);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Glassmorphism */
    --glass-bg: rgba(18, 18, 18, 0.8);
    --glass-blur: blur(24px);
    
    /* Z-index Scale */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-toast: 400;
    --z-overlay: 500;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* RTL Support */
[dir="rtl"] {
    font-family: var(--font-arabic);
}

[dir="rtl"] .nav-desktop,
[dir="rtl"] .benefits-grid,
[dir="rtl"] .chains-grid,
[dir="rtl"] .trust-badges {
    direction: rtl;
}

[dir="rtl"] .hero-stats,
[dir="rtl"] .hero-cta,
[dir="rtl"] .app-features li,
[dir="rtl"] .footer-links {
    direction: rtl;
}

/* ================================
   GLASS HEADER
   ================================ */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--color-border);
    transition: transform var(--transition-base);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.nav-desktop {
    display: none;
    gap: var(--space-xl);
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: var(--touch-min);
}

.lang-switcher:hover {
    border-color: var(--color-border-hover);
    background: var(--color-surface);
}

/* ================================
   BUTTONS (Touch-Optimized)
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: inherit;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    min-height: var(--touch-min);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:active {
    transform: scale(0.96);
}

.btn:active::before {
    opacity: 1;
}

.btn-small {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    min-height: var(--touch-target);
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(5, 0, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(5, 0, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-border-hover);
    background: var(--color-surface-elevated);
}

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.2s ease;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(80px + var(--space-3xl)) var(--space-lg) var(--space-4xl);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s 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, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* ================================
   3D CARD
   ================================ */
.card-container {
    width: 100%;
    max-width: 400px;
    height: 260px;
    margin-top: var(--space-2xl);
    perspective: 1000px;
    z-index: 1;
}

.card-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    cursor: grab;
}

.card-3d:active {
    cursor: grabbing;
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.card-front {
    background: var(--gradient-primary);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 50% 50%, rgba(76, 195, 255, 0.4), transparent 70%);
    opacity: 0.6;
    animation: glowRotate 10s linear infinite;
}

@keyframes glowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.card-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.card-logo {
    font-weight: 800;
    font-size: 1.5rem;
    font-style: italic;
    letter-spacing: -0.02em;
}

.wifi-icon {
    opacity: 0.8;
}

.card-chip {
    margin-top: var(--space-lg);
}

.card-number {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-family: 'Courier New', monospace;
    margin-top: auto;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-md);
}

.card-holder {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.card-expiry {
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.card-brand {
    font-weight: 800;
    font-size: 1.25rem;
    font-style: italic;
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-20deg);
    animation: shine 5s infinite;
}

@keyframes shine {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

.card-back {
    background: var(--color-surface);
    transform: rotateY(180deg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
    border: 1px solid var(--color-border);
}

.card-stripe {
    height: 40px;
    background: #1a1a2e;
    margin: 0 calc(-1 * var(--space-lg));
}

.card-cvv {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: white;
    color: #333;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
}

.cvv-value {
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.card-shadow {
    position: absolute;
    bottom: -20px;
    left: 10%;
    width: 80%;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(5, 0, 255, 0.3), transparent 70%);
    filter: blur(20px);
    z-index: -1;
}

/* ================================
   PARTICLES
   ================================ */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ================================
   SECTIONS BASE
   ================================ */
section {
    padding: var(--space-4xl) var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ================================
   GLOBAL SECTION
   ================================ */
.global-section {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
}

.world-map-container {
    position: relative;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(5, 0, 255, 0.1) 0%, transparent 70%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2xl);
    overflow: hidden;
}

.world-map {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 500'%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='1' d='M150,200 Q200,150 250,200 T350,200 Q400,250 450,200 T550,200 Q600,150 650,200 T750,200 Q800,250 850,200'/%3E%3C/svg%3E") center/contain no-repeat;
}

.map-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(5, 0, 255, 0.7); }
    50% { transform: scale(1.2); opacity: 0.8; box-shadow: 0 0 0 10px rgba(5, 0, 255, 0); }
}

.map-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    position: absolute;
    bottom: var(--space-lg);
    left: 0;
    right: 0;
}

.map-stat {
    text-align: center;
}

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

.map-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

/* Chains */
.chains-section {
    margin-top: var(--space-2xl);
}

.chains-title {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.chains-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.chain-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-surface-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.chain-item:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
}

.chain-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
    font-weight: 700;
}

/* ================================
   BENEFITS
   ================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.benefit-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.benefit-card.featured {
    border-color: rgba(5, 0, 255, 0.3);
    background: linear-gradient(135deg, var(--color-surface) 0%, rgba(5, 0, 255, 0.05) 100%);
}

.feature-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
}

.benefit-icon {
    width: var(--touch-min);
    height: var(--touch-min);
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: white;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

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

/* Border Beam Animation */
.border-beam::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, transparent, #4CC3FF, transparent, #0500FF, transparent);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-base);
    animation: borderRotate 4s linear infinite;
}

.border-beam:hover::before {
    opacity: 1;
}

@keyframes borderRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ================================
   APP SECTION
   ================================ */
.app-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.app-text {
    max-width: 500px;
    text-align: center;
}

.app-features {
    list-style: none;
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

.check-icon {
    width: 28px;
    height: 28px;
    background: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* App Screenshot - Clean Style */
.app-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 600px;
    border-radius: 24px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(5, 0, 255, 0.2);
    display: block;
}

/* ================================
   TRUST SECTION
   ================================ */
.trust-section {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
}

.trust-title {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.trust-logo.visa {
    font-weight: 800;
    font-style: italic;
    color: white;
    font-size: 1.5rem;
}

.trust-icon {
    font-size: 1.5rem;
}

/* ================================
   FAQ SECTION
   ================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--color-border-hover);
}

.faq-item.active {
    border-color: rgba(5, 0, 255, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    min-height: var(--touch-target);
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-elevated);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

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

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

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    border-top: 1px solid var(--color-border);
    padding: var(--space-2xl) var(--space-lg);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

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

.footer-tagline {
    margin-top: var(--space-md);
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.footer-col a {
    display: block;
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: var(--space-sm) 0;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
    min-height: var(--touch-min);
    display: flex;
    align-items: center;
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer-lang {
    background: transparent;
    border-color: var(--color-border);
}

/* ================================
   FLOATING CTA (Mobile)
   ================================ */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, var(--color-bg) 80%, transparent);
    z-index: var(--z-sticky);
    display: block;
}

/* ================================
   BOTTOM SHEET
   ================================ */
.bottom-sheet {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    visibility: hidden;
    opacity: 0;
    transition: all var(--transition-base);
}

.bottom-sheet.active {
    visibility: visible;
    opacity: 1;
}

.sheet-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.sheet-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: var(--space-lg);
    transform: translateY(100%);
    transition: transform var(--transition-bounce);
}

.bottom-sheet.active .sheet-content {
    transform: translateY(0);
}

.sheet-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--color-border);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-md);
}

.sheet-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.lang-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: var(--touch-target);
}

.lang-option:hover {
    background: var(--color-surface-elevated);
    border-color: var(--color-border-hover);
}

.lang-flag {
    font-size: 1.5rem;
}

.lang-name {
    flex: 1;
    text-align: left;
}

[dir="rtl"] .lang-name {
    text-align: right;
}

.lang-check {
    opacity: 0;
    color: var(--color-success);
    font-weight: 700;
}

.lang-check.active {
    opacity: 1;
}

/* ================================
   SCROLL REVEAL ANIMATIONS
   ================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   RESPONSIVE BREAKPOINTS
   ================================ */

/* Tablet (768px+) */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .hero {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: var(--space-4xl);
        text-align: left;
        padding-top: calc(100px + var(--space-4xl));
        padding-bottom: var(--space-4xl);
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero-content {
        text-align: left;
        max-width: 550px;
        flex: 1;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-cta {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .card-container {
        margin-top: 0;
        max-width: 400px;
        flex: 0 0 auto;
    }
    
    /* Benefits - 2 columns on tablet */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    /* Global section - centered on tablet */
    .global-section {
        margin: 0 auto;
        padding: var(--space-3xl) var(--space-xl);
        max-width: 900px;
    }
    
    /* Trust section - centered on tablet */
    .trust-section {
        margin: 0 auto;
        max-width: 900px;
    }
    
    /* App Section - Desktop */
    .app-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: var(--space-4xl);
    }
    
    .app-text {
        text-align: left;
        flex: 1;
        max-width: 480px;
    }
    
    .app-mockup {
        flex: 0 0 auto;
    }
    
    .app-screenshot {
        max-height: 550px;
    }
    
    .app-features {
        align-items: flex-start;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .trust-badges {
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .floating-cta {
        display: none;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    :root {
        --space-lg: 32px;
    }
    
    section {
        padding: var(--space-4xl) var(--space-2xl);
    }
    
    .hero {
        min-height: 100vh;
        padding-top: calc(120px + var(--space-3xl));
    }
    
    .hero-content {
        max-width: 600px;
    }
    
    .hero-title {
        font-size: 4.5rem;
        line-height: 1.05;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        max-width: 480px;
    }
    
    .card-container {
        max-width: 440px;
        height: 280px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-xl);
    }
    
    .global-section {
        margin: 0 auto;
        padding: var(--space-4xl) var(--space-3xl);
        max-width: 1200px;
    }
    
    .trust-section {
        margin: 0 auto;
        padding: var(--space-4xl) var(--space-3xl);
        max-width: 1200px;
    }
    
    /* App Section - Large Desktop */
    .app-content {
        gap: var(--space-4xl);
    }
    
    .app-text {
        max-width: 520px;
    }
    
    .app-screenshot {
        max-height: 600px;
    }
    
    .world-map-container {
        height: 350px;
    }
    
    /* Trust badges in row on desktop */
    .trust-badges {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-3xl);
    }
    
    /* Footer - horizontal layout */
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-3xl);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .hero-title {
        font-size: 5rem;
    }
}

/* Small Mobile (375px and below) */
@media (max-width: 375px) {
    .app-screenshot {
        max-height: 450px;
        border-radius: 16px;
    }
}

/* ================================
   HAPTIC FEEDBACK SUPPORT
   ================================ */
@media (hover: none) and (pointer: coarse) {
    .btn:active {
        transform: scale(0.94);
    }
}

/* ================================
   REDUCED MOTION
   ================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .card-3d {
        transition: none;
    }
}

/* ================================
   HIGH CONTRAST MODE
   ================================ */
@media (prefers-contrast: high) {
    :root {
        --color-border: rgba(255, 255, 255, 0.3);
        --color-text-secondary: rgba(255, 255, 255, 0.9);
    }
}

/* ================================
   PRINT STYLES
   ================================ */
@media print {
    .glass-header,
    .floating-cta,
    .bottom-sheet,
    .particles {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}