/* ============================================
   BIAN Website 2.0 - Advanced Styles
   ============================================ */

/* CSS Variables - Dark Theme */
:root, [data-theme="dark"] {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-card-hover: #222230;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    
    --accent-primary: #00e1ff;
    --accent-secondary: #7b5cff;
    --accent-tertiary: #ff6b9d;
    
    --gradient-primary: linear-gradient(135deg, #00e1ff, #7b5cff);
    --gradient-secondary: linear-gradient(135deg, #7b5cff, #ff6b9d);
    --gradient-glow: linear-gradient(135deg, rgba(0, 225, 255, 0.3), rgba(123, 92, 255, 0.3));
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 225, 255, 0.15);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --container-max: 1200px;
    --section-padding: 100px;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #f5f7fa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f2f5;
    
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8a8aa0;
    
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(0, 225, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Hide loader when loaded */
body.loaded .loader {
    opacity: 0;
    visibility: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

/* Selection */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

/* ============================================
   Loading Screen
   ============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

/* Progress Bar Loader */
.loader-progress-container {
    width: 200px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    margin: 0 auto 16px;
    overflow: hidden;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--accent-primary);
}

.loader-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ============================================
   Theme Transition Overlay
   ============================================ */
.theme-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.theme-transition.active {
    opacity: 1;
}

/* ============================================
   Typing Effect
   ============================================ */
.typing-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--accent-primary);
    animation: blink-caret 0.75s step-end infinite;
}

.typing-text.done {
    border-right: none;
    animation: none;
}

@keyframes blink-caret {
    0%, 100% { border-color: var(--accent-primary); }
    50% { border-color: transparent; }
}

/* ============================================
   Wave Dividers
   ============================================ */
.wave-divider {
    position: relative;
    width: 100%;
    height: 80px;
    margin-top: -1px;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.wave-shape {
    fill: var(--bg-secondary);
    animation: waveMove 8s ease-in-out infinite;
}

.wave-shape:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 10s;
}

.wave-shape:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 12s;
}

@keyframes waveMove {
    0%, 100% {
        transform: translateX(0) scaleY(1);
    }
    50% {
        transform: translateX(-25px) scaleY(1.1);
    }
}

/* Inverted wave for bottom of sections */
.wave-divider.inverted {
    transform: rotate(180deg);
    margin-bottom: -1px;
    margin-top: 0;
}

.wave-divider.inverted .wave-shape {
    fill: var(--bg-primary);
}

/* ============================================
   Particles Background
   ============================================ */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 225, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(123, 92, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 107, 157, 0.05) 0%, transparent 50%);
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

[data-theme="light"] .navbar {
    background: rgba(245, 247, 250, 0.9);
}

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

.nav-logo {
    text-decoration: none;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: rgba(0, 225, 255, 0.1);
    color: var(--accent-primary);
}

.coming-soon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: default;
}

.coming-soon-item span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.soon-badge {
    font-size: 0.65rem;
    padding: 2px 8px;
    background: rgba(255, 182, 73, 0.15);
    color: #ffb649;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
    margin-left: 16px;
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
}

.theme-icon {
    font-size: 1rem;
    transition: var(--transition-fast);
}

[data-theme="dark"] .theme-icon.sun {
    opacity: 0.3;
}

[data-theme="dark"] .theme-icon.moon {
    opacity: 1;
}

[data-theme="light"] .theme-icon.sun {
    opacity: 1;
}

[data-theme="light"] .theme-icon.moon {
    opacity: 0.3;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 225, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 225, 255, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.btn-outline:hover {
    background: rgba(0, 225, 255, 0.1);
}

.btn-app {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-app:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-demo {
    font-size: 0.85rem;
    padding: 10px 16px;
}

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

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 225, 255, 0.1);
    border: 1px solid rgba(0, 225, 255, 0.3);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.hero-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Floating Cards Animation */
.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-card {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.card-1 { top: 15%; left: 10%; animation-delay: 0s; }
.card-2 { top: 25%; right: 15%; animation-delay: 1.5s; }
.card-3 { bottom: 30%; left: 8%; animation-delay: 3s; }
.card-4 { bottom: 20%; right: 10%; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: var(--section-padding) 0;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(123, 92, 255, 0.1);
    border: 1px solid rgba(123, 92, 255, 0.3);
    border-radius: 50px;
    color: var(--accent-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

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

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

/* ============================================
   Apps Section
   ============================================ */
.apps-section {
    background: var(--bg-secondary);
}

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

.app-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition-normal);
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.app-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 225, 255, 0.3);
    box-shadow: var(--shadow-glow);
}

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

.app-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 225, 255, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.app-card:hover .app-card-glow {
    opacity: 1;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover .app-icon {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 225, 255, 0.3);
}

.app-card:hover .app-icon-img img {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.15); }
    50% { transform: scale(0.95); }
    70% { transform: scale(1.05); }
}

.app-icon-img {
    background: transparent;
    padding: 0;
}

.app-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.app-status {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.app-status.released {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
}

.app-status.beta {
    background: rgba(0, 225, 255, 0.15);
    color: #00e1ff;
}

.app-status.development {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.app-title {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.app-tagline {
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.app-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Phone Mockup */
.phone-mockup {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-frame {
    width: 180px;
    height: 360px;
    background: #1a1a1a;
    border-radius: 24px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border-radius: 18px;
    overflow: hidden;
}

.screenshot-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.screenshot-carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.screenshot-carousel img.active {
    opacity: 1;
}

.carousel-dots {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dots .dot.active {
    background: var(--accent-primary);
    width: 24px;
    border-radius: 4px;
}

.app-features {
    list-style: none;
    margin-bottom: 20px;
}

.app-features li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.app-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tech-tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.app-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Protected App Cards */
.app-protected {
    position: relative;
}

.app-protected .app-description,
.app-protected .app-features,
.app-protected .app-tech,
.app-protected .app-actions {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
}

.app-blur-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    padding: 24px;
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

[data-theme="light"] .app-blur-overlay {
    background: rgba(245, 247, 250, 0.95);
}

.app-protected:hover .app-blur-overlay {
    opacity: 1;
    visibility: visible;
}

.blur-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.blur-icon {
    font-size: 2.5rem;
}

.blur-content p {
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* ============================================
   Roadmap Section
   ============================================ */
.roadmap-section {
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 1;
}

.timeline-item.completed .timeline-marker {
    background: rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
    color: #00ff88;
}

.timeline-item.current .timeline-marker {
    background: rgba(0, 225, 255, 0.2);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.timeline-item.current .timeline-marker.pulse {
    animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 225, 255, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 225, 255, 0); }
}

.timeline-item.upcoming .timeline-marker {
    color: var(--text-muted);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 24px;
}

.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(123, 92, 255, 0.1);
    border-radius: 4px;
    color: var(--accent-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 225, 255, 0.3);
}

.testimonial-stars {
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bg-primary);
}

.author-name {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

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

/* ============================================
   Crypto Tools Section
   ============================================ */
.crypto-tools-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.crypto-tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 182, 73, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Tools Category Header */
.tools-category {
    margin-top: 40px;
    margin-bottom: 10px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(255, 182, 73, 0.08);
    border: 1px solid rgba(255, 182, 73, 0.2);
    border-radius: 16px;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffb649;
    margin: 0;
}

.category-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.crypto-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.crypto-tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.crypto-tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffb649, #ff8c00);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.crypto-tool-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 182, 73, 0.3);
    box-shadow: 0 20px 40px rgba(255, 182, 73, 0.1);
}

.crypto-tool-card:hover::before {
    transform: scaleX(1);
}

.tool-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 182, 73, 0.15), rgba(255, 140, 0, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.tool-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.tool-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tool-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.tool-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.tool-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.tool-tag.trust {
    background: rgba(0, 255, 127, 0.1);
    color: #00ff7f;
    border: 1px solid rgba(0, 255, 127, 0.3);
}

.tool-tag.popular {
    background: rgba(0, 225, 255, 0.1);
    color: #00e1ff;
    border: 1px solid rgba(0, 225, 255, 0.3);
}

.tool-tag.traffic {
    background: rgba(255, 107, 157, 0.1);
    color: #ff6b9d;
    border: 1px solid rgba(255, 107, 157, 0.3);
}

.tool-tag.new {
    background: linear-gradient(135deg, rgba(123, 92, 255, 0.2), rgba(0, 225, 255, 0.15));
    color: #7b5cff;
    border: 1px solid rgba(123, 92, 255, 0.4);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 5px rgba(123, 92, 255, 0.3); }
    50% { box-shadow: 0 0 15px rgba(123, 92, 255, 0.5); }
}

.crypto-tool-card.featured {
    background: linear-gradient(135deg, rgba(123, 92, 255, 0.08), rgba(0, 225, 255, 0.05));
    border: 1px solid rgba(123, 92, 255, 0.3);
}

.crypto-tool-card.featured:hover {
    border-color: rgba(123, 92, 255, 0.5);
    box-shadow: 0 20px 40px rgba(123, 92, 255, 0.15);
}

.crypto-tool-card.featured .tool-icon {
    background: linear-gradient(135deg, rgba(123, 92, 255, 0.2), rgba(0, 225, 255, 0.1));
}

.tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.tool-btn.coming-soon {
    background: linear-gradient(135deg, rgba(255, 182, 73, 0.15), rgba(255, 140, 0, 0.1));
    color: #ffb649;
    border: 1px solid rgba(255, 182, 73, 0.3);
    cursor: default;
}

.tool-btn.coming-soon:hover {
    background: linear-gradient(135deg, rgba(255, 182, 73, 0.25), rgba(255, 140, 0, 0.15));
}

.tool-btn.active {
    background: linear-gradient(135deg, #ffb649, #ff8c00);
    color: #0a0a0f;
}

.tool-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 182, 73, 0.3);
}

.crypto-disclaimer {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 182, 73, 0.08);
    border: 1px solid rgba(255, 182, 73, 0.2);
    border-radius: 12px;
    padding: 16px 24px;
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.crypto-disclaimer span {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.crypto-disclaimer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Crypto Tools Responsive */
@media (max-width: 1200px) {
    .crypto-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .crypto-tools-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .tool-features {
        grid-template-columns: 1fr;
    }
    
    .crypto-disclaimer {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    background: var(--bg-primary);
}

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

.about-content .section-badge {
    display: inline-block;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.value-item {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
}

.value-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

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

.value-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 8px;
}

.value-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.tech-stack {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
}

.tech-stack h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    text-align: center;
}

.tech-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.tech-item:hover {
    background: rgba(0, 225, 255, 0.1);
}

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

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    background: var(--bg-secondary);
}

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

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: var(--bg-card);
}

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

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

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: var(--transition-fast);
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter-section {
    background: var(--bg-primary);
}

.newsletter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-content .section-badge {
    display: inline-block;
}

.newsletter-content .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.newsletter-content p {
    color: var(--text-secondary);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-group.checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.checkbox-label:hover {
    border-color: var(--accent-primary);
}

.checkbox-label input {
    accent-color: var(--accent-primary);
}

.form-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: var(--bg-secondary);
}

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

.contact-info {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--accent-primary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

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

/* ============================================
   Mobile Sticky Button
   ============================================ */
.mobile-sticky-btn {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.mobile-sticky-btn .btn {
    box-shadow: 0 4px 20px rgba(0, 225, 255, 0.4);
}

/* ============================================
   Video Modal
   ============================================ */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
    transition: var(--transition-fast);
}

.video-modal-close:hover {
    background: rgba(0, 225, 255, 0.3);
}

.video-container {
    aspect-ratio: 16/9;
    background: var(--bg-primary);
    position: relative;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.video-icon {
    font-size: 4rem;
}

.video-placeholder p {
    color: var(--text-secondary);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-values {
        grid-template-columns: 1fr 1fr;
    }
    
    .newsletter-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
    
    .newsletter-content {
        text-align: center;
    }
    
    .newsletter-content .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 32px;
        gap: 24px;
        transform: translateY(-150%);
        transition: var(--transition-normal);
        border-bottom: 1px solid var(--border-color);
    }
    
    [data-theme="light"] .nav-menu {
        background: rgba(245, 247, 250, 0.98);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    /* Dropdown in mobile */
    .nav-dropdown {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        min-width: 100%;
        background: rgba(255, 255, 255, 0.03);
        margin-top: 12px;
        box-shadow: none;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        transform: none;
    }
    
    .dropdown-arrow {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .theme-toggle {
        position: absolute;
        right: 70px;
    }
    
    .hero {
        padding: 100px 24px 60px;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .tech-items {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 30px;
    }
    
    .timeline-marker {
        left: -30px;
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .mobile-sticky-btn {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .app-card {
        padding: 24px;
    }
    
    .app-actions {
        flex-direction: column;
    }
    
    .app-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .phone-mockup {
        transform: scale(0.9);
    }
    
    .newsletter-card {
        padding: 24px;
    }
    
    .form-group.checkboxes {
        flex-direction: column;
    }
    
    .checkbox-label {
        width: 100%;
    }
}

/* ============================================
   Language Selector
   ============================================ */
.language-selector {
    position: relative;
    margin-left: 12px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    border-color: var(--accent-primary);
}

.lang-icon {
    font-size: 1rem;
}

.lang-arrow {
    font-size: 0.6rem;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.language-selector:hover .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-fast);
    z-index: 100;
    overflow: hidden;
}

.language-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.lang-option:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.lang-option.active {
    background: rgba(0, 225, 255, 0.1);
    color: var(--accent-primary);
}

/* ============================================
   Privacy Comparison Table
   ============================================ */
.comparison-section {
    background: var(--bg-primary);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

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

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-card);
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-table tbody tr {
    transition: var(--transition-fast);
}

.comparison-table tbody tr:hover {
    background: var(--bg-card);
}

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

.bian-col {
    background: rgba(0, 225, 255, 0.05);
}

.bian-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border-radius: 4px;
    font-size: 0.85rem;
}

.check {
    color: #00ff88;
    font-weight: bold;
    margin-right: 8px;
}

.cross {
    color: #ff6b6b;
    font-weight: bold;
    margin-right: 8px;
}

/* ============================================
   Blog/Updates Section
   ============================================ */
.updates-section {
    background: var(--bg-secondary);
}

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

.update-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    gap: 20px;
    transition: var(--transition-normal);
}

.update-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 225, 255, 0.3);
}

.update-card.featured-update {
    grid-column: span 2;
}

.update-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    background: rgba(0, 225, 255, 0.1);
    border-radius: var(--border-radius-sm);
}

.date-day {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

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

.update-content {
    flex: 1;
}

.update-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.update-tag.new {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
}

.update-tag.beta {
    background: rgba(0, 225, 255, 0.15);
    color: #00e1ff;
}

.update-tag.update {
    background: rgba(123, 92, 255, 0.15);
    color: #7b5cff;
}

.update-tag.dev {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.update-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.update-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.update-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.update-link:hover {
    color: var(--accent-secondary);
}

/* ============================================
   Interactive Demo Section - Real App UIs
   ============================================ */
.demo-section {
    background: var(--bg-primary);
    padding: 80px 0;
}

.demo-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

/* Demo Tabs */
.demo-tabs {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.demo-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-tab:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.demo-tab.active {
    border-color: var(--accent-primary);
    background: rgba(0, 225, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 225, 255, 0.2);
}

.demo-tab img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.demo-tab span {
    font-weight: 600;
    color: var(--text-primary);
}

/* Phone Frame */
.interactive-phone {
    justify-self: center;
}

.phone-frame-outer {
    width: 300px;
    height: 620px;
    background: linear-gradient(145deg, #2a2a35, #1a1a22);
    border-radius: 45px;
    padding: 10px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 26px;
    background: #1a1a22;
    border-radius: 13px;
    z-index: 100;
}

.phone-screen-inner {
    width: 100%;
    height: 100%;
    background: #0d1117;
    border-radius: 38px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* App UIs */
.app-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
}

.app-ui.active {
    opacity: 1;
    pointer-events: auto;
}

.app-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 16px 12px;
    background: rgba(0, 0, 0, 0.3);
}

.app-logo-small {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #00ff7f;
}

.logo-icon {
    font-size: 1.2rem;
}

.app-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* My Trackr UI */
.mytrackr-ui {
    background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
}

.tracker-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow: hidden;
}

.tracker-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stat-card {
    background: rgba(0, 255, 127, 0.08);
    border: 1px solid rgba(0, 255, 127, 0.2);
    border-radius: 10px;
    padding: 8px 6px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(0, 255, 127, 0.15);
    transform: scale(1.02);
}

.stat-icon {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #00ff7f;
    font-family: 'Orbitron', monospace;
}

.stat-unit {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.activity-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.activity-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 6px 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.activity-btn span {
    font-size: 1.1rem;
}

.activity-btn small {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.activity-btn:hover {
    background: rgba(0, 255, 127, 0.1);
    border-color: rgba(0, 255, 127, 0.3);
}

.activity-btn.active {
    background: rgba(0, 255, 127, 0.2);
    border-color: #00ff7f;
}

.activity-btn.active small {
    color: #00ff7f;
}

.map-preview {
    height: 100px;
    flex-shrink: 0;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 50 Q25 30 50 50 T100 50' fill='none' stroke='%23223344' stroke-width='0.5'/%3E%3Cpath d='M0 60 Q25 40 50 60 T100 60' fill='none' stroke='%23223344' stroke-width='0.5'/%3E%3C/svg%3E");
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-dot {
    width: 16px;
    height: 16px;
    background: #00ff7f;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff7f;
    position: relative;
}

.location-dot.pulse::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid #00ff7f;
    border-radius: 50%;
    animation: locationPulse 2s ease-out infinite;
}

@keyframes locationPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.route-line {
    position: absolute;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff7f, transparent);
    left: 20%;
    top: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tracking-active .route-line {
    opacity: 1;
    animation: routeDraw 2s linear infinite;
}

@keyframes routeDraw {
    0% { transform: scaleX(0); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: left; }
    50.1% { transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

.tracker-controls {
    margin-top: auto;
    padding-top: 8px;
    padding-bottom: 16px;
    flex-shrink: 0;
    display: flex;
    gap: 10px;
}

.control-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.start-btn {
    background: linear-gradient(135deg, #00ff7f, #00cc66);
    color: #0d1117;
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 127, 0.3);
}

.start-btn.tracking {
    background: linear-gradient(135deg, #ff4757, #ff3344);
}

/* Smart Calendar UI */
.calendar-ui {
    background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
}

.calendar-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.current-month {
    font-weight: 600;
    color: var(--text-primary);
}

.cal-nav {
    background: none;
    border: none;
    color: var(--accent-primary);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px 12px;
}

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

.cal-day-header {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 6px;
    font-weight: 600;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.cal-day:hover:not(.empty) {
    background: rgba(0, 225, 255, 0.15);
}

.cal-day.empty {
    cursor: default;
}

.cal-day.today {
    background: var(--accent-primary);
    color: #0d1117;
    font-weight: 700;
}

.cal-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    background: var(--accent-tertiary);
    border-radius: 50%;
}

.events-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px;
}

.events-section h4 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.event-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.event-color {
    width: 4px;
    height: 100%;
    min-height: 30px;
    border-radius: 2px;
}

.event-color.blue { background: #00e1ff; }
.event-color.green { background: #00ff7f; }
.event-color.pink { background: #ff6b9d; }

.event-details {
    flex: 1;
}

.event-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.event-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.add-event-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-event-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(0, 225, 255, 0.05);
}

/* Demo Disclaimer */
.demo-disclaimer {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 182, 73, 0.1);
    border: 1px solid rgba(255, 182, 73, 0.3);
    border-radius: 12px;
    padding: 12px 20px;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.demo-disclaimer .disclaimer-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.demo-disclaimer p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Enhanced My Trackr Demo */
.secondary-stats {
    gap: 8px !important;
    display: flex !important;
}

.stat-card.mini {
    flex: 1;
    padding: 6px 8px;
}

.stat-card.mini .stat-icon {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.stat-card.mini .stat-value {
    font-size: 0.95rem;
}

.stat-card.mini .stat-unit {
    font-size: 0.6rem;
}

/* Map Grid Background */
.map-preview {
    position: relative;
    overflow: hidden;
}

.map-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 225, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 225, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

/* SVG Route Path */
.route-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.route-path path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 0.5s ease;
}

.route-path path.animating {
    animation: drawRoute 2s ease forwards;
}

@keyframes drawRoute {
    to { stroke-dashoffset: 0; }
}

/* GPS Indicator */
.gps-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 12px;
}

.gps-dot {
    width: 6px;
    height: 6px;
    background: #4cd137;
    border-radius: 50%;
    animation: gpsPulse 1.5s infinite;
}

@keyframes gpsPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Additional Control Buttons - merged with main tracker-controls */
.pause-btn {
    flex: 0 0 50px;
    background: rgba(255, 182, 73, 0.2);
    border: 1px solid rgba(255, 182, 73, 0.5);
    color: #ffb649;
}

.pause-btn:hover {
    background: rgba(255, 182, 73, 0.3);
}

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

.reset-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.control-btn.hidden {
    display: none;
}

/* Enhanced Calendar Demo */
.calendar-view-toggle {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 10px;
}

.view-btn {
    flex: 1;
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn.active {
    background: var(--accent-primary);
    color: #0d1117;
    font-weight: 600;
}

.view-btn:hover:not(.active) {
    color: var(--text-primary);
}

/* Event Delete Button */
.event-delete {
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
    font-size: 1rem;
    line-height: 1;
}

.event-item:hover .event-delete {
    opacity: 1;
}

.event-delete:hover {
    background: rgba(255, 71, 87, 0.2);
    transform: scale(1.1);
}

/* Color picker for events */
.event-color.purple { background: #a855f7; }
.event-color.orange { background: #ffb649; }

/* Add Event Modal */
.add-event-modal {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.add-event-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: #1a1f27;
    border-radius: 16px;
    padding: 20px;
    width: 90%;
    max-width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1rem;
}

.event-input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.event-input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.color-picker {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-option.blue { background: #00e1ff; }
.color-option.green { background: #00ff7f; }
.color-option.purple { background: #a855f7; }
.color-option.orange { background: #ffb649; }

.color-option.active {
    border-color: white;
    transform: scale(1.1);
}

.modal-actions {
    display: flex;
    gap: 10px;
}

.modal-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-btn.cancel {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.modal-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-btn.save {
    background: var(--accent-primary);
    color: #0d1117;
}

.modal-btn.save:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 225, 255, 0.3);
}

/* Selected day in calendar */
.cal-day.selected {
    background: rgba(0, 225, 255, 0.3);
    box-shadow: 0 0 0 2px var(--accent-primary);
}

/* Demo Info Panel */
.demo-info-panel {
    align-self: center;
}

.info-content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.demo-features {
    list-style: none;
    margin-bottom: 24px;
}

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

/* Responsive Demo */
@media (max-width: 900px) {
    .demo-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .demo-tabs {
        flex-wrap: wrap;
    }
    
    .demo-info-panel {
        text-align: center;
    }
    
    .demo-features {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .phone-frame-outer {
        width: 260px;
        height: 540px;
    }
    
    .demo-tab {
        padding: 10px 16px;
    }
    
    .demo-tab span {
        display: none;
    }
}

/* ============================================
   Privacy Banner
   ============================================ */
.privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
    z-index: 1000;
    transform: translateY(100%);
    animation: slideUp 0.5s ease 1s forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.privacy-banner.hidden {
    display: none;
}

.privacy-banner-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.privacy-banner-icon {
    font-size: 2rem;
}

.privacy-banner-text {
    flex: 1;
}

.privacy-banner-text strong {
    color: var(--accent-primary);
    display: block;
    margin-bottom: 4px;
}

.privacy-banner-text span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.privacy-banner-close {
    padding: 10px 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius-sm);
    color: var(--bg-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.privacy-banner-close:hover {
    transform: scale(1.05);
}

/* ============================================
   Responsive Updates
   ============================================ */
@media (max-width: 992px) {
    .demo-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .demo-phone {
        margin: 0 auto;
    }
    
    .demo-info {
        text-align: center;
    }
    
    .demo-app-selector {
        justify-content: center;
    }
    
    .update-card.featured-update {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .language-selector {
        position: absolute;
        right: 120px;
    }
    
    .lang-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .language-selector:hover .lang-dropdown {
        transform: translateX(-50%) translateY(0);
    }
    
    .privacy-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .demo-phone-frame {
        width: 240px;
        height: 500px;
    }
    
    .demo-app-selector {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .update-card {
        flex-direction: column;
    }
    
    .update-date {
        flex-direction: row;
        width: auto;
        padding: 8px 16px;
        gap: 8px;
    }
}

/* ============================================
   ADVANCED UI FEATURES
   ============================================ */

/* 1. Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-primary);
    z-index: 10000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-primary);
}

/* 2. Cursor Trail Effect */
.cursor-trail {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
}

.cursor-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-primary);
    animation: cursorFade 0.5s ease-out forwards;
}

@keyframes cursorFade {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
}

/* 3. Sound Effects Toggle */
.sound-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.sound-toggle:hover {
    background: var(--bg-card-hover);
    transform: scale(1.1);
}

.sound-toggle .sound-off {
    display: none;
}

.sound-toggle.muted .sound-on {
    display: none;
}

.sound-toggle.muted .sound-off {
    display: block;
}

/* 5. Glassmorphism Enhancement */
.navbar,
.app-card,
.faq-item,
.update-card,
.testimonial-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

[data-theme="dark"] .navbar {
    background: rgba(10, 10, 15, 0.8) !important;
}

[data-theme="light"] .navbar {
    background: rgba(245, 247, 250, 0.85) !important;
}

[data-theme="dark"] .app-card {
    background: rgba(26, 26, 37, 0.7);
}

[data-theme="light"] .app-card {
    background: rgba(255, 255, 255, 0.8);
}

/* 6. Gradient Border Animation */
.app-card {
    position: relative;
}

.app-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--border-radius) + 2px);
    background: linear-gradient(
        var(--gradient-angle, 0deg),
        var(--accent-primary),
        var(--accent-secondary),
        var(--accent-tertiary),
        var(--accent-primary)
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.app-card:hover::before {
    opacity: 1;
    animation: gradientRotate 3s linear infinite;
}

@keyframes gradientRotate {
    0% {
        --gradient-angle: 0deg;
    }
    100% {
        --gradient-angle: 360deg;
    }
}

@property --gradient-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* 7. App Card Flip Animation */
.app-card {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.app-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.app-card.flipped .app-card-inner {
    transform: rotateY(180deg);
}

.app-card-front,
.app-card-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.app-card-back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
}

.app-card-back h4 {
    color: var(--accent-primary);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.app-card-back ul {
    list-style: none;
    margin-bottom: 20px;
}

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

.app-card-back li::before {
    content: '▸';
    color: var(--accent-primary);
}

.flip-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.flip-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

/* 8. Elegant Reveal Animations */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Title glow animation - subtle */
.title-glow {
    animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 2px var(--accent-primary));
    }
    100% {
        filter: drop-shadow(0 0 8px var(--accent-primary));
    }
}

/* 9. Skeleton Loading States */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-card) 25%,
        var(--bg-card-hover) 50%,
        var(--bg-card) 75%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: var(--border-radius-sm);
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-image {
    height: 200px;
    margin-bottom: 16px;
}

/* 10. Magnetic Buttons */
.btn-magnetic {
    transition: transform 0.2s ease-out;
}

/* 11. Mouse-Responsive Card Tilt (3D Effect) */
.app-card.tilt-effect {
    transition: transform 0.3s ease-out;
    transform-style: preserve-3d;
}

.app-card.tilt-effect .app-icon,
.app-card.tilt-effect .app-title,
.app-card.tilt-effect .app-tagline {
    transform: translateZ(30px);
    transition: transform 0.3s ease;
}

/* 12. Scroll-Triggered Counter Animation */
.counter {
    display: inline-block;
}

.stat-plus {
    font-size: inherit;
    color: inherit;
}

/* 13. Easter Egg Animation */
@keyframes easterEggSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(180deg) scale(1.2);
    }
    50% {
        transform: rotate(360deg) scale(1);
    }
    75% {
        transform: rotate(540deg) scale(1.2);
    }
    100% {
        transform: rotate(720deg) scale(1);
    }
}

@keyframes easterEggRainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.nav-logo.easter-egg-active .logo-text {
    animation: easterEggSpin 1s ease-in-out, easterEggRainbow 2s linear infinite;
}

.easter-egg-confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* 14. Parallax Effects */
.parallax-container {
    position: relative;
}

[data-parallax-speed] {
    transition: transform 0.1s ease-out;
}

/* Enhanced Hero Visual with Parallax */
.hero-visual {
    position: relative;
}

/* Responsive adjustments for new features */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 80px;
        right: 20px;
    }
    
    .floating-cta-btn {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
    
    .sound-toggle {
        bottom: 20px;
        left: 20px;
        width: 44px;
        height: 44px;
    }
    
    .cursor-trail {
        display: none;
    }
}

@media (max-width: 480px) {
    .floating-cta {
        bottom: 70px;
        right: 16px;
    }
    
    .cta-text {
        display: none;
    }
    
    .floating-cta-btn {
        padding: 14px;
        border-radius: 50%;
    }
}
