/* assets/css/landing.css - Main Landing Page Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Primary Colors - Matching Flutter theme */
    --primary-color: #0078FF;
    --primary-light: #4DA3FF;
    --primary-dark: #0055CC;
    
    /* Secondary Colors */
    --accent-color: #00D2FF;
    --accent-light: #70E4FF;
    --accent-dark: #00A0CC;
    
    /* Status Colors */
    --success-color: #00C853;
    --error-color: #FF3B30;
    --warning-color: #FFCC00;
    --info-color: #2196F3;
    
    /* Light Theme Colors */
    --bg-light: #F7F7FC;
    --card-light: #FFFFFF;
    --text-primary-light: #1A1A2E;
    --text-secondary-light: #6E7191;
    --text-tertiary-light: #9CA3AF;
    --border-light: #D9DBE9;
    --divider-light: #E4E4E4;
    
    /* Dark Theme Colors */
    --bg-dark: #0F172A;
    --surface-dark: #111827;
    --card-dark: #1E293B;
    --card-dark-highlight: #1F2937;
    --text-primary-dark: #EAF0FF;
    --text-secondary-dark: #A7B1C2;
    --text-tertiary-dark: #6B7280;
    --border-dark: #2A3547;
    --divider-dark: #374151;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* 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-theme: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* Layout */
    --header-height: 72px;
}

/* Smooth theme transitions for all elements */
* {
    transition: background-color var(--transition-theme),
                color var(--transition-theme),
                border-color var(--transition-theme),
                box-shadow var(--transition-theme);
}

/* Exclude specific elements from global transition */
*:is(a, button, input, textarea, select, [role="button"]) {
    transition: background-color var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast),
                box-shadow var(--transition-fast),
                transform var(--transition-fast),
                opacity var(--transition-fast);
}

/* Smooth transition for images */
img, picture, svg {
    transition: opacity var(--transition-theme),
                filter var(--transition-theme);
}

/* Light Theme (Default) */
[data-theme="light"] {
    --bg-color: var(--bg-light);
    --surface-color: var(--card-light);
    --card-color: var(--card-light);
    --card-bg: var(--card-light);
    --text-primary: var(--text-primary-light);
    --text-secondary: var(--text-secondary-light);
    --text-tertiary: var(--text-tertiary-light);
    --border-color: var(--border-light);
    --divider-color: var(--divider-light);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-color: var(--bg-dark);
    --surface-color: var(--surface-dark);
    --card-color: var(--card-dark);
    --card-bg: var(--card-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --text-tertiary: var(--text-tertiary-dark);
    --border-color: var(--border-dark);
    --divider-color: var(--divider-dark);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    transition: background-color var(--transition-base), color var(--transition-base);
}

/* Use Plus Jakarta Sans for headings */
h1, h2, h3, h4, h5, h6, .step-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.loaded {
    opacity: 1;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* Prevent all sections from causing horizontal scroll */
section {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== HEADER & NAVIGATION ==================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background-color: transparent;
    transition: all var(--transition-base);
}

/* Reserve header height to prevent content merging */
/* (Variable declared in primary :root block at top; remove stray declaration) */

/* Adjust on smaller screens */
@media (max-width: 640px) {
    :root { --header-height: 64px; }
}

/* Safe top padding for main landing page content */
main.landing-page {
    padding-top: var(--header-height);
}

/* Hero spacing handled in main hero-section block below */

.main-header.scrolled {
    background-color: var(--surface-color);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .main-header.scrolled {
    background-color: rgba(17, 24, 39, 0.95);
}

.main-header.header-hidden {
    transform: translateY(-100%);
}

.main-nav {
    padding: var(--spacing-md) 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: calc(var(--z-dropdown) - 1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
    transition: transform var(--transition-base);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    font-size: 1.125rem;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(0, 120, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.theme-toggle:active::before {
    width: 100px;
    height: 100px;
}

.theme-toggle i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    display: inline-block;
}

.theme-toggle:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: rotate(15deg) scale(1.1);
}

.theme-toggle:active {
    transform: scale(0.95);
}

[data-theme="dark"] .theme-toggle {
    background-color: var(--surface-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    z-index: calc(var(--z-fixed) + 1);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(0, 120, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 120, 255, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* ==================== HERO SECTION ==================== */
/* Remove hardcoded 80px top padding; rely on header-aware value above */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: calc(var(--header-height) + 32px);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 120, 255, 0.05) 0%, 
        rgba(0, 210, 255, 0.05) 100%);
}

[data-theme="dark"] .hero-gradient {
    background: linear-gradient(135deg, 
        rgba(0, 120, 255, 0.1) 0%, 
        rgba(0, 210, 255, 0.1) 100%);
}

.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 120, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 210, 255, 0.1) 0%, transparent 50%);
    animation: meshFloat 20s ease-in-out infinite;
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 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='%230078FF' fill-opacity='0.03'%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;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-light));
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    top: 50%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-noise {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 1023px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }
}

.hero-text {
    max-width: 600px;
    width: 100%;
}

@media (max-width: 1023px) {
    .hero-text {
        max-width: 100%;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(0, 120, 255, 0.08), rgba(0, 210, 255, 0.05));
    border: 1px solid rgba(0, 120, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 2px 8px -2px rgba(0, 120, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-badge-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

[data-theme="dark"] .hero-badge-icon {
    filter: brightness(1.2) saturate(0.9);
}

.hero-title {
    font-size: clamp(1.75rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    letter-spacing: -0.035em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    text-transform: none;
}

.gradient-text {
    background: linear-gradient(135deg, #4D7FFF 0%, #7B61FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    font-weight: 800;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.65;
    letter-spacing: 0.3px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    width: 100%;
}

@media (max-width: 768px) {
    .hero-stats { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--spacing-sm); }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(0, 120, 255, 0.04), rgba(0, 210, 255, 0.02));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px -4px rgba(0, 120, 255, 0.08);
    transition: all var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(0, 120, 255, 0.15);
}

.stat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 120, 255, 0.3);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.trust-badges {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.trust-badges img {
    height: 24px;
    width: auto;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

@media (max-width: 1023px) {
    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        max-width: 280px;
    }
}

.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .phone-mockup {
        max-width: 100%;
    }
}

/* Hero device mockup with built-in frame */
.hero-device-mockup {
    position: relative;
    width: 100%;
    display: block;
    overflow: visible;
    margin-top: 40px;
}

.hero-mockup-image {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.6s ease-in-out;
    transform-origin: center center;
}

/* Increase size for dark mode mockup */
[data-theme="dark"] .hero-mockup-image {
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .hero-device-mockup {
        margin-top: 30px;
    }
    
    [data-theme="dark"] .hero-mockup-image {
        transform: scale(1.1);
    }
}

@media (max-width: 480px) {
    .hero-device-mockup {
        margin-top: 20px;
    }
    
    [data-theme="dark"] .hero-mockup-image {
        transform: scale(1.05);
    }
}

/* Remove old phone frame styles - images have built-in frames */
.phone-frame {
    display: none;
}

.phone-screen {
    display: none;
}

.phone-notch {
    display: none;
}

.floating-card {
    position: absolute;
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    animation: floatCard 3s ease-in-out infinite;
    z-index: 2;
}

@media (max-width: 768px) {
    .floating-card {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .floating-card {
        padding: 0.5rem;
        border-radius: var(--radius-md);
    }
    
    .floating-card .card-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .floating-card .card-label {
        font-size: 0.625rem;
    }
    
    .floating-card .card-value {
        font-size: 0.875rem;
    }
    
    .floating-card .card-change {
        font-size: 0.625rem;
    }
}

.card-1 {
    top: 10%;
    right: -20%;
    animation-delay: 0s;
}

@media (max-width: 1200px) {
    .card-1 {
        right: -10%;
        top: 5%;
    }
}

@media (max-width: 768px) {
    .card-1 {
        right: -5%;
        top: 2%;
    }
}

.card-2 {
    bottom: 30%;
    left: -15%;
    animation-delay: 1s;
}

@media (max-width: 1200px) {
    .card-2 {
        left: -8%;
        bottom: 25%;
    }
}

@media (max-width: 768px) {
    .card-2 {
        left: -3%;
        bottom: 35%;
    }
}

.card-3 {
    bottom: 10%;
    right: -15%;
    animation-delay: 2s;
}

@media (max-width: 1200px) {
    .card-3 {
        right: -8%;
        bottom: 8%;
    }
}

@media (max-width: 768px) {
    .card-3 {
        right: -3%;
        bottom: 5%;
    }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.25rem;
}

.card-content {
    flex: 1;
}

.card-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.card-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-change {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.card-change.positive {
    color: var(--success-color);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--surface-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.stat-card-content {
    flex: 1;
}

.stat-card-value {
    font-size: 1.65rem; /* slightly smaller to prevent overflow without wrapping */
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    white-space: nowrap; /* keep entire value on one line */
    letter-spacing: .5px; /* subtle spacing for readability after size reduction */
}

.stat-card-max {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.stat-card-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.stat-card-trend {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success-color);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .glass-card {
    background: rgba(255, 255, 255, 0.03);
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== CRYPTO TO BANK SECTION ==================== */
.crypto-to-bank-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(180deg, 
        rgba(247, 247, 252, 0) 0%,           /* transparent, matches hero */
        rgba(240, 240, 248, 0.3) 15%,        /* very subtle start */
        rgba(240, 240, 248, 0.6) 40%,        /* gradual build */
        #F0F0F8 100%                         /* lighter final color */
    ) !important;
    border-bottom: 1px solid rgba(224, 224, 240, 0.5);
    position: relative;
}

/* Dark theme adaptation */
[data-theme='dark'] .crypto-to-bank-section {
    background: linear-gradient(180deg, 
        rgba(15, 23, 42, 0) 0%,              /* transparent, matches hero */
        rgba(11, 14, 20, 0.3) 15%,
        rgba(11, 14, 20, 0.6) 40%,
        #0B0E14 100%
    ) !important;
    border-bottom: 1px solid rgba(30, 37, 48, 0.5);
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    padding: var(--spacing-xl) 0;
    background-color: #E8E8F0 !important; /* distinct divider background - subtle gray-lavender */
    position: relative;
    z-index: 0;
    border-top: 1px solid #D0D0E0 !important;
    border-bottom: 1px solid #D0D0E0 !important;
}

/* Dark theme adaptation */
[data-theme='dark'] .features-section {
    background-color: #0B0E14 !important; /* darker than main bg for separation */
    border-top: 1px solid #1E2530 !important;
    border-bottom: 1px solid #1E2530 !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

@media (max-width: 1400px) {
    .features-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--spacing-lg);
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 180px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card-inner {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.feature-icon-wrapper {
    position: relative;
    width: fit-content;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.gradient-bg-1 { background: linear-gradient(135deg, #F7931A, #FF6B35); }
.gradient-bg-2 { background: linear-gradient(135deg, #00C853, #00E676); }
.gradient-bg-3 { background: linear-gradient(135deg, #FFCC00, #FFA000); }
.gradient-bg-4 { background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); }
.gradient-bg-5 { background: linear-gradient(135deg, #9C27B0, #E040FB); }
.gradient-bg-6 { background: linear-gradient(135deg, #FF3B30, #FF6B6B); }

.feature-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: inherit;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.3;
    z-index: 0;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.feature-crypto-preview,
.feature-bank-preview,
.feature-timeline,
.feature-pricing,
.feature-tracking,
.feature-security {
    margin-top: var(--spacing-md);
}

.crypto-icon-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.crypto-icon-group img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--card-color);
    box-shadow: var(--shadow-sm);
}

.crypto-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
}

.bank-logos {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.bank-logo {
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-timeline {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.timeline-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--surface-color);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.timeline-step.completed .timeline-icon {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.timeline-step.active .timeline-icon {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.timeline-label {
    font-size: 0.625rem;
    color: var(--text-secondary);
    text-align: center;
}

.timeline-connector {
    flex: 1;
    height: 2px;
    background-color: var(--border-color);
}

.timeline-connector.completed {
    background-color: var(--success-color);
}

.timeline-connector.active {
    background: linear-gradient(90deg, var(--success-color), var(--primary-color));
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--surface-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: var(--spacing-md);
}

.feature-pricing {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--surface-color);
    border-radius: var(--radius-md);
}

.pricing-item {
    flex: 1;
    text-align: center;
}

.pricing-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.pricing-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-value.free {
    color: var(--success-color);
}

.pricing-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

.feature-example {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--surface-color);
    border-radius: var(--radius-md);
}

.example-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.example-calc {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.calc-row span {
    color: var(--text-secondary);
}

.calc-row strong {
    color: var(--text-primary);
}

.calc-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: var(--spacing-sm) 0;
}

.calc-row.total {
    font-size: 1rem;
    font-weight: 600;
}

.calc-row.total strong {
    color: var(--primary-color);
}

.tracking-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--surface-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--success-color);
    border-radius: 50%;
}

.status-indicator.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.tracking-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.info-item i {
    color: var(--primary-color);
}

.security-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.security-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.security-badge i {
    color: var(--success-color);
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: var(--spacing-md);
    transition: gap var(--transition-fast);
}

.feature-link:hover {
    gap: var(--spacing-md);
}

/* ==================== HOW IT WORKS SECTION ==================== */
.how-it-works-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--surface-color);
    overflow: visible;
}

.steps-container {
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: var(--spacing-xl);
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.steps-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: visible;
}

.phone-mockup-large {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: visible;
}

.step-screenshot {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    /* Handle slant from pre-mocked images */
    transform-origin: center center;
    display: block;
}

.step-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.step-screenshot:first-child {
    position: relative; /* First image sets container height */
}

.step-screenshot.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.steps-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-card {
    background-color: var(--card-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0.5;
    width: 100%;
    max-width: 520px;
    position: relative;
    overflow: hidden;
    min-height: auto;
    pointer-events: auto;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(77, 127, 255, 0.05) 50%, 
        transparent 100%);
    transition: left 0.5s ease;
    pointer-events: none;
}

.step-card:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .step-card {
        flex-direction: column;
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }
}

.step-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(77, 127, 255, 0.15),
                0 0 0 1px rgba(77, 127, 255, 0.1);
    opacity: 1;
    background: linear-gradient(135deg, 
        var(--card-color) 0%, 
        rgba(77, 127, 255, 0.03) 100%);
}

.step-card:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.step-number {
    flex-shrink: 0;
}

.step-number span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius-md);
}

.step-card.active .step-number span {
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.step-content {
    flex: 1;
    pointer-events: auto;
}

.step-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.step-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
    font-weight: 400;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.step-features-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.step-features-inline::-webkit-scrollbar {
    display: none;
}

.feature-arrow {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0 2px;
    flex-shrink: 0;
}

.step-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    padding: 5px 8px;
    background-color: var(--bg-color);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
}

.step-feature:hover {
    background-color: var(--surface-color);
    transform: translateY(-2px);
}

.step-feature img {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Mobile optimization for step features */
@media (max-width: 480px) {
    .step-features-inline {
        gap: 4px;
    }
    
    .step-feature {
        font-size: 0.625rem;
        padding: 4px 6px;
        gap: 4px;
        border-radius: 4px;
    }
    
    .step-feature span {
        font-size: 0.625rem;
    }
    
    .step-feature img {
        width: 12px;
        height: 12px;
    }
    
    .feature-arrow {
        font-size: 0.75rem;
        margin: 0 1px;
    }
}

@media (max-width: 390px) {
    .step-features-inline {
        gap: 3px;
    }
    
    .step-feature {
        font-size: 0.5625rem;
        padding: 3px 5px;
        gap: 3px;
    }
    
    .step-feature span {
        font-size: 0.5625rem;
    }
    
    .step-feature img {
        width: 10px;
        height: 10px;
    }
    
    .feature-arrow {
        font-size: 0.625rem;
        margin: 0;
    }
}

.how-it-works-cta {
    text-align: center;
    margin-top: var(--spacing-xxl);
}

/* ==================== SUPPORTED CRYPTO SECTION ==================== */
.supported-crypto-section {
    padding: var(--spacing-xxl) 0;
}

.crypto-categories {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--card-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 120, 255, 0.3);
}

.crypto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.crypto-card {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.crypto-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.crypto-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.crypto-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.crypto-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crypto-info {
    flex: 1;
}

.crypto-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.crypto-symbol {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.crypto-card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.crypto-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.crypto-change {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
}

.crypto-change.positive {
    color: var(--success-color);
    background-color: rgba(0, 200, 83, 0.1);
}

.crypto-change.negative {
    color: var(--error-color);
    background-color: rgba(255, 59, 48, 0.1);
}

.crypto-change.neutral {
    color: var(--text-secondary);
    background-color: var(--surface-color);
}

.crypto-card-footer {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.crypto-network {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ==================== SECURITY SECTION ==================== */
.security-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--surface-color);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.security-card {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.security-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.security-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    color: white;
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

.security-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.security-card-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.security-certifications {
    text-align: center;
}

.certifications-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.certifications-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.certification-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.certification-badge img {
    height: 28px;
    width: auto;
}

.certification-badge span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.testimonials-container {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-lg) 0;
    margin-bottom: var(--spacing-xl);
}

.testimonials-slider {
    display: flex;
    gap: var(--spacing-lg);
    transition: transform 0.5s ease;
    will-change: transform;
    cursor: grab;
}

.testimonials-slider:active {
    cursor: grabbing;
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background-color: var(--surface-color);
    border-radius: var(--radius-full);
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
}

.testimonial-card {
    flex: 0 0 calc(33.333% - var(--spacing-lg));
    min-width: calc(33.333% - var(--spacing-lg));
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    color: #FFCC00;
}

.testimonial-body {
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.testimonial-date {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.testimonial-verified {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.75rem;
    color: var(--success-color);
    font-weight: 600;
}

/* Testimonials Navigation */
.testimonials-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.testimonials-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-primary);
    font-size: 1.25rem;
}

.testimonials-arrow:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.testimonials-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.testimonials-arrow:disabled:hover {
    background-color: var(--card-color);
    color: var(--text-primary);
    border-color: var(--border-color);
    transform: scale(1);
}

.testimonials-dots {
    display: flex;
    gap: var(--spacing-sm);
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonial-dot.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    width: 32px;
    border-radius: var(--radius-full);
}

.testimonial-dot:hover {
    background-color: var(--primary-color);
    opacity: 0.7;
}

.testimonials-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background-color: var(--border-color);
}

/* ==================== PARTNERS SECTION ==================== */
.partners-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--surface-color);
    overflow: hidden;
    position: relative;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 50%, 
        transparent 100%);
    opacity: 0.3;
}

.partners-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xxl);
}

.partners-header .section-title {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.partners-header .gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partners-header .section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.partners-marquee {
    position: relative;
    width: 100%;
    margin-bottom: var(--spacing-xxl);
    display: flex;
    justify-content: center;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.partners-track {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
}

.partners-row {
    display: flex;
    gap: var(--spacing-xl);
    width: fit-content;
    justify-content: center;
}

.partners-row-1 {
    animation: scrollRight 30s linear infinite;
}

.partners-row-2 {
    animation: scrollLeft 30s linear infinite;
}

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.partners-row:hover {
    animation-play-state: paused;
}

.partner-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    height: 90px;
    padding: var(--spacing-md);
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.partner-logo-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(77, 127, 255, 0.08) 50%, 
        transparent 100%);
    transition: left 0.5s ease;
}

.partner-logo-wrapper:hover::before {
    left: 100%;
}

.partner-logo-wrapper:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(77, 127, 255, 0.15);
    border-color: var(--primary-color);
}

.partner-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: all var(--transition-base);
}

.partner-logo-wrapper:hover .partner-logo {
    transform: scale(1.1);
}

.partners-cta {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    max-width: 600px;
    margin: 0 auto;
}

.partners-cta p {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}



/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--surface-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
    width: 100%;
}

@media (max-width: 1023px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-item {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: faqItemAppear 0.5s ease forwards;
    opacity: 0;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
}

.faq-item:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    box-shadow: var(--shadow-lg);
}

/* New accordion state class */
.faq-item.open {
    box-shadow: 0 8px 24px rgba(77, 127, 255, 0.15);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--card-color) 0%, rgba(77, 127, 255, 0.02) 100%);
}

.faq-item.open::before {
    transform: scaleY(1);
}

.faq-question, /* legacy selector retained */
.faq-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    background-color: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.faq-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--spacing-lg);
    right: var(--spacing-lg);
    height: 1px;
    background: var(--border-color);
    transition: opacity 0.3s ease;
}

.faq-item.open .faq-toggle::after {
    opacity: 0.3;
}

.faq-question:hover,
.faq-toggle:hover {
    color: var(--primary-color);
}

.faq-question i,
.faq-toggle i {
    color: var(--primary-color);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    font-size: 0.875rem;
    min-width: 16px;
    text-align: center;
}

.faq-item.open .faq-toggle i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-item.active .faq-question i,
.faq-item.open .faq-toggle i {
    transform: rotate(180deg);
}

/* Legacy answer animation retained for backward compatibility */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}
.faq-item.active .faq-answer { max-height: 1000px; }

/* New panel style using hidden attribute */
.faq-panel[hidden] { 
    display: none;
}

.faq-panel {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease 0.1s,
                transform 0.3s ease 0.1s;
}

.faq-item.open .faq-panel {
    opacity: 1;
    transform: translateY(0);
}

/* Remove keyframe animation to prevent conflicts */
@keyframes faqSlideDown { 
    from { 
        opacity: 0; 
        transform: translateY(-10px);
    } 
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Responsive: stack FAQ to single column on smaller screens */
@media (max-width: 900px) {
    .faq-grid { grid-template-columns: 1fr; }
    
    .faq-item:hover {
        transform: translateX(2px);
    }
}

/* Question text styling */
.faq-question-text {
    transition: color 0.3s ease;
}

.faq-item.open .faq-question-text {
    color: var(--primary-color);
}

/* Stagger animation delays for FAQ items */
.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }
.faq-item:nth-child(7) { animation-delay: 0.7s; }
.faq-item:nth-child(8) { animation-delay: 0.8s; }
.faq-item:nth-child(9) { animation-delay: 0.9s; }
.faq-item:nth-child(10) { animation-delay: 1s; }

@keyframes faqItemAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shared typography */
.faq-answer p,
.faq-answer ol,
.faq-panel p,
.faq-panel ol {
    margin: 0 0 var(--spacing-md);
}

.faq-answer ol,
.faq-panel ol { padding-left: var(--spacing-xxl); }

.faq-answer li {
    margin-bottom: var(--spacing-sm);
}

/* Legacy helpful marker */
.faq-helpful { padding: var(--spacing-md) var(--spacing-lg); border-top: 1px solid var(--border-color); font-size: 0.875rem; color: var(--text-tertiary); }

/* New feedback widget */
.faq-feedback {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.75rem;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
    margin-top: var(--spacing-md);
    opacity: 0;
    animation: feedbackFadeIn 0.3s ease 0.2s forwards;
}

@keyframes feedbackFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-feedback .feedback-prompt { 
    color: var(--text-tertiary); 
}

.faq-feedback .feedback-btn {
    background: var(--primary-tint);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 0.6875rem;
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.faq-feedback .feedback-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.faq-feedback .feedback-btn:hover::before {
    width: 120%;
    height: 120%;
}

.faq-feedback .feedback-btn:hover { 
    background: var(--primary-color); 
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(77, 127, 255, 0.3);
}

.faq-feedback .feedback-btn:active {
    transform: translateY(0);
}

.faq-feedback.feedback-recorded .feedback-btn { 
    opacity: 0.55; 
    cursor: default;
    pointer-events: none;
}

.faq-feedback .feedback-status { 
    margin-left: auto; 
    font-weight: 500; 
    color: var(--primary-color);
    animation: statusSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes statusSlideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.faq-support { margin-top: var(--spacing-xl); text-align: center; font-size: 0.875rem; }
.faq-support-link { color: var(--primary-color); font-weight: 600; }
.faq-support-link:hover { text-decoration: underline; }

.faq-cta {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.faq-cta-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.faq-cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.faq-cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    position: relative;
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 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");
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-xl);
    color: white;
    font-size: 2.5rem;
    margin: 0 auto var(--spacing-lg);
    box-shadow: 0 8px 24px rgba(0, 120, 255, 0.3);
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-xl);
    background-color: var(--card-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-base);
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.download-btn.apple {
    border-color: #000;
}

.download-btn.apple:hover {
    background-color: #000;
    color: white;
}

.download-btn.google {
    border-color: #34A853;
}

.download-btn.google:hover {
    background-color: #34A853;
    color: white;
}

.download-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn-icon img {
    filter: brightness(0) saturate(100%) invert(13%) sepia(7%) saturate(9%) hue-rotate(337deg) brightness(96%) contrast(87%);
    transition: filter var(--transition-base);
}

[data-theme="dark"] .download-btn-icon img {
    filter: brightness(0) saturate(100%) invert(93%) sepia(0%) saturate(7434%) hue-rotate(293deg) brightness(104%) contrast(100%);
}

.download-btn:hover .download-btn-icon img {
    filter: brightness(0) saturate(100%) invert(100%);
}

.download-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-btn-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.download-btn-store {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.download-btn.apple:hover .download-btn-label,
.download-btn.apple:hover .download-btn-store,
.download-btn.google:hover .download-btn-label,
.download-btn.google:hover .download-btn-store {
    color: white;
}

.cta-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.cta-qr img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.cta-qr span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.cta-stat {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.cta-stat img {
    width: 24px;
    height: 24px;
}

/* ==================== FOOTER ==================== */
.main-footer {
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.footer-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
}

.footer-social a img {
    filter: brightness(0) saturate(100%) invert(44%) sepia(8%) saturate(739%) hue-rotate(202deg) brightness(95%) contrast(88%);
    transition: filter var(--transition-base);
}

[data-theme="dark"] .footer-social a img {
    filter: brightness(0) saturate(100%) invert(76%) sepia(6%) saturate(734%) hue-rotate(202deg) brightness(95%) contrast(89%);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: transparent;
    transform: translateY(-4px);
}

.footer-social a:hover img {
    filter: brightness(0) saturate(100%) invert(100%);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
}

.footer-badges {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-badges img {
    height: 24px;
    width: auto;
}

/* ==================== BACK TO TOP BUTTON ==================== */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: var(--z-fixed);
}

.back-to-top-icon {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover .back-to-top-icon {
    transform: translateY(-2px);
}

/* ==================== COOKIE CONSENT ==================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--card-color);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-lg);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform var(--transition-base);
    z-index: var(--z-fixed);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    max-width: 1280px;
    margin: 0 auto;
}

.cookie-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    flex: 1;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

/* ==================== SCROLL PROGRESS ==================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: calc(var(--z-fixed) + 1);
    transition: width var(--transition-fast);
}

/* ==================== UTILITY CLASSES ==================== */
.neumorphic-card {
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.1),
        -8px -8px 16px rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .neumorphic-card {
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.3),
        -8px -8px 16px rgba(255, 255, 255, 0.02);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-visual {
        order: -1;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .steps-container {
        grid-template-columns: 500px 1fr;
        gap: var(--spacing-xl);
    }
    
    .phone-mockup-large {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        display: grid;
        visibility: visible;
    }
    
    .steps-visual {
        order: -1;
        margin: 0 auto;
        display: flex !important;
        justify-content: center;
        width: 100%;
        max-width: 520px;
        visibility: visible;
    }
    
    .phone-mockup-large {
        margin: 0 auto;
        display: block !important;
        width: 100%;
        max-width: 100%;
        visibility: visible;
    }
    
    .steps-content {
        display: flex;
        visibility: visible;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: 12px;
        left: 12px;
        width: auto;
        max-width: 420px;
        margin: 0 auto;
        height: auto;
        max-height: calc(100vh - 100px);
        background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,255,255,0.95));
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border: 1.5px solid rgba(0, 120, 255, 0.15);
        border-radius: 16px;
        flex-direction: column;
        padding: 12px;
        gap: 4px;
        box-shadow: 0 24px 48px -12px rgba(0, 120, 255, 0.15), 
                    0 12px 24px -8px rgba(0, 0, 0, 0.1),
                    inset 0 1px 0 rgba(255, 255, 255, 0.6);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px) scale(0.96);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: var(--z-dropdown);
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .nav-menu.open,
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        animation: menuSlideIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    @keyframes menuSlideIn {
        0% {
            opacity: 0;
            transform: translateY(-20px) scale(0.96);
        }
        50% {
            transform: translateY(4px) scale(1.01);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 3px;
        padding: 4px 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 10px 12px;
        border-radius: 8px;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        display: flex;
        align-items: center;
        font-weight: 500;
        font-size: 14px;
        background: transparent;
        border: 1px solid transparent;
    }
    
    .nav-link::before {
        content: "";
        position: absolute;
        left: 12px;
        width: 4px;
        height: 0;
        background: var(--primary-color);
        border-radius: 2px;
        transition: height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-link:hover,
    .nav-link:active {
        background: linear-gradient(135deg, rgba(0, 120, 255, 0.08), rgba(0, 120, 255, 0.04));
        border-color: rgba(0, 120, 255, 0.2);
        transform: translateX(4px);
        padding-left: 24px;
    }
    
    .nav-link:hover::before {
        height: 60%;
    }
    
    .nav-link:active {
        transform: translateX(4px) scale(0.98);
    }
    
    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
        padding-top: 10px;
        margin-top: 8px;
        border-top: 1.5px solid var(--border-color);
        align-items: center;
        background: linear-gradient(to bottom, transparent, rgba(0, 120, 255, 0.02));
        border-radius: var(--radius-lg);
        padding-bottom: 6px;
    }
    
    .nav-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-weight: 600;
        font-size: 14px;
        border-radius: 8px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 8px rgba(0, 120, 255, 0.15);
    }
    
    .nav-actions .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 120, 255, 0.25);
    }
    
    .nav-actions .btn:active {
        transform: translateY(0);
    }
    
    .nav-actions .theme-toggle {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--bg-color), rgba(0, 120, 255, 0.05));
        border: 1.5px solid var(--border-color);
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        margin-bottom: 6px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    
    .nav-actions .theme-toggle:hover {
        transform: rotate(180deg) scale(1.05);
        border-color: var(--primary-color);
        box-shadow: 0 6px 16px rgba(0, 120, 255, 0.2);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .crypto-categories {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .crypto-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .download-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-section {
        padding-top: 60px;
    }
    
    .testimonials-slider {
        gap: var(--spacing-md);
        /* Center 280px cards on small screens */
        padding-left: calc(50vw - 140px); /* half viewport minus half card (280px/2 = 140px) */
        padding-right: calc(50vw - 140px);
    }
    
    .testimonial-card {
        flex: 0 0 280px; /* smaller card width for mobile */
        scroll-snap-align: center;
        scroll-snap-stop: always;
        padding: var(--spacing-lg);
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .main-header,
    .back-to-top,
    .cookie-consent,
    .scroll-progress,
    .hero-background,
    .cta-background {
        display: none !important;
    }
    
    body {
        background-color: white;
        color: black;
    }
}
