/* ===== CSS Custom Properties ===== */
:root {
    --bg: #080c14;
    --surface: #0f172a;
    --surface-2: #1e293b;
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(168,85,247,0.5);
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #475569;
    --primary: #6366f1;
    --primary-2: #a855f7;
    --accent: #2dd4bf;
    --accent-2: #3b82f6;
    --grad-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --grad-secondary: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --grad-cta: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --glass: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.08);
    --shadow-glow: 0 0 40px rgba(99,102,241,0.3);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ===== Ambient Background Orbs ===== */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: orbit 20s ease-in-out infinite;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: var(--grad-primary);
    top: -200px;
    right: -150px;
    animation-duration: 25s;
}
.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--grad-secondary);
    bottom: 20%;
    left: -100px;
    animation-duration: 20s;
    animation-delay: -8s;
}
.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ec4899, #6366f1);
    bottom: -100px;
    right: 20%;
    animation-duration: 30s;
    animation-delay: -15s;
    opacity: 0.1;
}

@keyframes orbit {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* ===== Scroll Reveal ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Navbar ===== */
.navbar {
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(8, 12, 20, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.9rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.logo-icon {
    -webkit-text-fill-color: initial;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px var(--primary));
}

.logo-svg {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--primary));
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}

.btn-primary {
    background: var(--grad-primary);
    color: #fff !important;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform var(--transition), box-shadow var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168,85,247,0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-glow {
    font-size: 1.05rem;
    padding: 0.8rem 2rem;
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--text) !important;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--glass-border);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    font-size: 1.05rem;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.4rem;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    display: block;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Language Switch */
.lang-switch {
    display: flex;
    gap: 0.25rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--glass-border);
    margin-left: 0.5rem;
}

.lang-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s;
    letter-spacing: 0.05rem;
}

.lang-link:hover,
.lang-link.active {
    color: var(--text);
    background: rgba(255,255,255,0.1);
}

/* ===== Hero Section ===== */
.hero {
    padding-top: 9rem;
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.3);
    color: #a5b4fc;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-text h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
}

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

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.2rem 1.8rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    display: inline-flex;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat strong {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 540px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Phone Wrapper */
.phone-wrapper {
    position: relative;
    z-index: 2;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--grad-primary);
    filter: blur(60px);
    opacity: 0.35;
    border-radius: 50%;
    pointer-events: none;
}

.phone-mockup {
    width: 240px;
    height: 480px;
    background: #0a0a14;
    border-radius: 42px;
    border: 8px solid #1e2336;
    position: relative;
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.05),
        inset 0 0 0 1px rgba(255,255,255,0.03);
    overflow: hidden;
    transform: rotate(-6deg);
    animation: float 6s ease-in-out infinite;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #1e2336;
    border-radius: 3px;
    z-index: 5;
}

.screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #12122a 0%, #0f1525 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 16px 20px;
    gap: 10px;
}

.app-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 4px;
}

.app-header-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grad-primary);
    flex-shrink: 0;
}

.app-header-bar {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
}

.app-header-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
}

.now-playing-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    width: 100%;
    text-align: center;
}

.album-art {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #6366f1, #a855f7, #2dd4bf, #3b82f6, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(99,102,241,0.4);
    animation: spin 8s linear infinite;
    flex-shrink: 0;
}

.album-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.vinyl-ring {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 10px solid rgba(0,0,0,0.5);
}

.vinyl-center {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0a0a14;
    border: 4px solid #1e2336;
    z-index: 2;
}

.song-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.song-title-bar {
    width: 75%;
    height: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
}

.song-sub-bar {
    width: 55%;
    height: 6px;
    background: rgba(255,255,255,0.07);
    border-radius: 4px;
}

.progress-track {
    width: 90%;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    width: 62%;
    height: 100%;
    background: var(--grad-secondary);
    border-radius: 2px;
}

.controls {
    display: flex;
    gap: 14px;
    align-items: center;
}

.ctrl-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
}

.play-btn {
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 15px solid #0a0a14;
    margin-left: 3px;
}

/* NFC Card */
.card-mockup {
    width: 200px;
    height: 120px;
    background: linear-gradient(135deg, rgba(30,35,70,0.95), rgba(20,25,55,0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 18px;
    position: absolute;
    bottom: 40px;
    right: 10px;
    z-index: 3;
    transform: rotate(12deg);
    padding: 18px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.1);
    animation: float-delayed 6s ease-in-out infinite;
    overflow: hidden;
}

.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
    pointer-events: none;
}

.nfc-waves {
    position: absolute;
    top: 12px;
    right: 14px;
}

.wave {
    position: absolute;
    border: 1.5px solid rgba(99,102,241,0.6);
    border-radius: 50%;
    animation: nfc-pulse 2s ease-out infinite;
}

.w1 { width: 12px; height: 12px; top: -6px; right: -6px; animation-delay: 0s; }
.w2 { width: 22px; height: 22px; top: -11px; right: -11px; animation-delay: 0.4s; }
.w3 { width: 32px; height: 32px; top: -16px; right: -16px; animation-delay: 0.8s; }

@keyframes nfc-pulse {
    0% { opacity: 1; transform: scale(0.8); }
    100% { opacity: 0; transform: scale(1.2); }
}

.chip {
    width: 36px;
    height: 28px;
    background: linear-gradient(135deg, #d4af37 0%, #f5d470 40%, #b8860b 100%);
    border-radius: 5px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: relative;
}

.chip::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 2px;
}

.card-label {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.08rem;
    position: absolute;
    bottom: 14px;
    right: 14px;
}

.card-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cl {
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.08);
}
.cl-1 { width: 80px; }
.cl-2 { width: 55px; }

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-6deg); }
    50% { transform: translateY(-18px) rotate(-6deg); }
}

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

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--text-muted));
    animation: scroll-fade 2s ease-in-out infinite;
}

@keyframes scroll-fade {
    0%, 100% { transform: scaleY(0); transform-origin: top; opacity: 0; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.25);
    color: #a5b4fc;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Features Section ===== */
.features {
    padding: 7rem 0;
    position: relative;
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(30,41,59,0.8), rgba(15,23,42,0.8));
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity var(--transition);
    border-radius: var(--radius);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99,102,241,0.4);
    box-shadow: 0 20px 40px rgba(99,102,241,0.15), 0 0 0 1px rgba(99,102,241,0.2);
}

.feature-card:hover::before {
    opacity: 0.03;
}

.icon-box {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    font-size: 1.8rem;
    border: 1px solid rgba(255,255,255,0.08);
    transition: background var(--transition);
}

.icon-glow {
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: var(--grad-primary);
    opacity: 0;
    filter: blur(10px);
    transition: opacity var(--transition);
    z-index: -1;
}

.feature-card:hover .icon-box {
    background: rgba(99,102,241,0.15);
}

.feature-card:hover .icon-glow {
    opacity: 0.4;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
}

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

.card-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-dim);
    transform: translateX(-4px);
    transition: transform var(--transition), color var(--transition);
}

.feature-card:hover .card-arrow {
    transform: translateX(0);
    color: var(--primary);
}

/* ===== Smart Controls Section ===== */
.smart-controls {
    padding: 7rem 0;
    background: linear-gradient(to bottom, rgba(15,23,42,0.5), rgba(10,15,25,0.8));
    position: relative;
}

.control-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.control-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.control-list li {
    display: flex;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition);
}

.control-list li:hover {
    background: rgba(255,255,255,0.03);
    border-color: var(--glass-border);
}

.control-icon {
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    flex-shrink: 0;
}

.control-list strong {
    font-size: 1.05rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.control-list p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Dashboard Card */
.dashboard-card {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 
        0 40px 80px -20px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.03);
    transition: transform var(--transition);
    transform: rotate(2deg);
    max-width: 320px;
    width: 100%;
}

.dashboard-card:hover {
    transform: rotate(0deg) translateY(-4px);
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dash-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-secondary);
    flex-shrink: 0;
}

.dash-name {
    font-weight: 700;
    font-size: 1rem;
}

.dash-status {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.active-dot {
    color: #4ade80;
}

.dash-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 1rem 0;
}

.switch-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.switch-row:last-of-type {
    border-bottom: none;
}

.switch-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
}

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

.toggle {
    width: 44px;
    height: 26px;
    background: var(--surface-2);
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.toggle.active {
    background: var(--grad-primary);
}

.toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.toggle.active::after {
    transform: translateX(18px);
}

.usage-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.usage-value {
    color: var(--text-muted);
}

.usage-track {
    width: 100%;
    height: 6px;
    background: var(--surface-2);
    border-radius: 3px;
    overflow: hidden;
}

.usage-fill {
    height: 100%;
    background: var(--grad-secondary);
    border-radius: 3px;
    transition: width 1s ease;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 7rem 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 44px;
    left: calc(16.67% + 30px);
    right: calc(16.67% + 30px);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), var(--primary), var(--glass-border), transparent);
}

.step {
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--grad-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    box-shadow: 0 0 25px rgba(99,102,241,0.5);
    position: relative;
    z-index: 1;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta {
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-badge {
    display: inline-block;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.3);
    color: #a5b4fc;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.cta p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    color: #0f172a;
    padding: 1rem 1.8rem;
    border-radius: 16px;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
    min-width: 200px;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-store:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.btn-store-alt {
    background: var(--grad-primary);
    color: #fff;
}

.btn-store-icon {
    flex-shrink: 0;
}

.btn-store-icon img {
    display: block;
    width: auto;
}

.btn-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-store-text span {
    font-size: 0.75rem;
    opacity: 0.6;
    letter-spacing: 0.03rem;
}

.btn-store-text strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.cta-note {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 0 !important;
}

.download-platforms {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    margin-bottom: 1.5rem;
}

.download-platform-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.download-platform-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
}

.download-platform-group .cta-buttons {
    margin-bottom: 0;
}

/* ===== Footer ===== */
footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 1.4rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.04);
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-langs {
    display: flex;
    gap: 1rem;
}

.footer-langs a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-langs a:hover {
    color: var(--text-muted);
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 9rem 0 5rem;
    min-height: 90vh;
}

.contact-container {
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(30,41,59,0.8), rgba(15,23,42,0.9));
    padding: 3rem;
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
}

.contact-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: all var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(99,102,241,0.06);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em;
}

select.form-control option {
    background: var(--surface-2);
    color: #fff;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.github-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.github-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ===== RTL Support ===== */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .section-title { text-align: center; }
[dir="rtl"] .feature-card { text-align: right; }
[dir="rtl"] .control-list li { flex-direction: row; }
[dir="rtl"] select.form-control { background-position: left 1rem center; }
[dir="rtl"] .lang-switch { margin-left: 0; margin-right: 0.5rem; padding-left: 0; padding-right: 0.75rem; border-left: none; border-right: 1px solid var(--glass-border); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { margin: 0 auto; }
    .badge { margin-left: auto; margin-right: auto; }

    .hero-visual {
        height: 400px;
        order: -1;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }

    .control-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .dashboard-card {
        max-width: 100%;
        margin: 0 auto;
        transform: none;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .steps::before { display: none; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(8,12,20,0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--glass-border);
        z-index: 999;
    }

    .nav-links.open { display: flex; }

    .lang-switch {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--glass-border);
        padding-top: 1rem;
        margin-top: 0.5rem;
        justify-content: center;
    }

    .nav-link {
        width: 100%;
        padding: 0.7rem 1rem;
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
    }

    .contact-container {
        padding: 2rem 1.5rem;
    }

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

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2.4rem; }
    .hero-visual { height: 320px; }
    .phone-mockup { width: 170px; height: 340px; }
    .card-mockup { width: 160px; height: 96px; right: 0; bottom: 20px; }
    .feature-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 1rem; padding: 1rem 1.5rem; }
    .stat-divider { width: 40px; height: 1px; }
}