/* ═══════════════════════════════════════════════
   1 DOLLAR — Premium Landing Page Stylesheet
   ═══════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
    --primary: #00cdfe;
    --primary-deep: #0094d4;
    --primary-glow: rgba(0, 205, 254, 0.4);
    --accent: #7b68ee;
    --accent-glow: rgba(123, 104, 238, 0.3);
    --gradient: linear-gradient(135deg, #00cdfe, #7b68ee);
    --gradient-hover: linear-gradient(135deg, #00e0ff, #8b7af0);

    --bg-dark: #060a13;
    --bg-dark-2: #0d1220;
    --bg-light: #f4f6fb;
    --bg-light-2: #ffffff;
    --text-dark: #e8ecf4;
    --text-light: #1a1d2e;

    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(255, 255, 255, 0.03);
    --shadow: 0 8px 40px rgba(0, 0, 0, 0.4);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-current: var(--bg-light);
    --bg-current-2: var(--bg-light-2);
    --text-current: var(--text-light);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.08);
    --card-bg: rgba(255, 255, 255, 0.9);
    --shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] {
    --bg-current: var(--bg-dark);
    --bg-current-2: var(--bg-dark-2);
    --text-current: var(--text-dark);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(255, 255, 255, 0.03);
    --shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* ─── RESET ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-current);
    color: var(--text-current);
    min-height: 100vh;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ─── CANVAS ─── */
#dollarCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ─── LAYOUT ─── */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── HEADER ─── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(6, 10, 19, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}

[data-theme="light"] .header {
    background: rgba(244, 246, 251, 0.85);
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.85;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 30px;
    transition: var(--transition);
    opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-current);
    border-radius: 2px;
    transition: var(--transition);
}

/* ─── THEME TOGGLE ─── */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7px;
}

.toggle-slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background: var(--gradient);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(28px);
}

.sun-icon,
.moon-icon {
    font-size: 13px;
    z-index: 1;
    transition: var(--transition);
}

.sun-icon {
    color: #f39c12;
}

.moon-icon {
    color: #f1c40f;
}

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

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

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

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

/* ─── GRADIENT TEXT ─── */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── HERO SECTION ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.app-preview-card {
    position: relative;
    width: 340px;
    height: 340px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.app-preview-card:hover {
    transform: scale(1.04);
}

.glow-ring {
    position: absolute;
    inset: -3px;
    border-radius: var(--radius-xl);
    background: var(--gradient);
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
    transition: var(--transition);
}

.app-preview-card:hover .glow-ring {
    opacity: 0.8;
    filter: blur(28px);
}

.preview-image {
    max-width: 260px;
    max-height: 260px;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 22px;
    animation: fadeSlideUp 0.8s ease forwards;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); }
    50% { box-shadow: 0 0 20px 4px var(--primary-glow); }
}

.app-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.app-description {
    font-size: 1.1rem;
    line-height: 1.75;
    opacity: 0.75;
    max-width: 500px;
}

.feature-highlights {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    flex: 1;
    min-width: 140px;
}

.feature-item:hover {
    border-color: rgba(0, 205, 254, 0.3);
    background: rgba(0, 205, 254, 0.05);
}

.feature-icon-box {
    font-size: 1.5rem;
    line-height: 1;
}

.feature-item div:last-child {
    display: flex;
    flex-direction: column;
}

.feature-item strong {
    font-size: 0.85rem;
    font-weight: 700;
}

.feature-item span {
    font-size: 0.75rem;
    opacity: 0.6;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gradient);
    border-radius: 30px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    width: fit-content;
    transition: var(--transition);
    box-shadow: 0 4px 25px var(--primary-glow);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px var(--primary-glow);
}

.hero-cta:active {
    transform: translateY(0);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
    transition: opacity 0.4s;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════ */
.features-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.65;
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    padding: 36px 28px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 205, 254, 0.25);
    box-shadow: 0 12px 40px rgba(0, 205, 254, 0.1);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--primary-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.feature-card:hover .card-glow {
    opacity: 0.08;
}

.feature-card-icon {
    font-size: 2.2rem;
    margin-bottom: 18px;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    opacity: 0.65;
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   TUTORIALS SECTION
   ═══════════════════════════════════════════════ */
.tutorials-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background: var(--bg-current-2);
}

.tutorials-timeline {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.tutorial-step {
    display: flex;
    gap: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.tutorial-step.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Step connector (number + line) */
.step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 50px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 30px var(--primary-glow);
}

.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--primary), transparent);
    margin-top: 8px;
    border-radius: 2px;
}

/* Step Card */
.step-card {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    overflow: hidden;
}

.step-card:hover {
    border-color: rgba(0, 205, 254, 0.2);
    box-shadow: 0 8px 40px rgba(0, 205, 254, 0.08);
}

.step-card.reverse {
    direction: rtl;
}

.step-card.reverse > * {
    direction: ltr;
}

/* Video player */
.step-video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    aspect-ratio: 9 / 16;
    max-height: 480px;
}

.step-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-btn-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--primary-glow);
    transition: var(--transition);
}

.video-play-overlay:hover .play-btn-circle {
    transform: scale(1.12);
}

/* Step Info */
.step-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.step-label {
    display: inline-block;
    padding: 4px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    width: fit-content;
}

.step-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.step-info p {
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1.7;
}

.step-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.step-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.85;
}

.step-checklist li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 205, 254, 0.12);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   DOWNLOAD SECTION
   ═══════════════════════════════════════════════ */
.download-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.download-card {
    position: relative;
    padding: 80px 40px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
}

.download-card-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0.06;
    z-index: 0;
}

.download-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.download-icon-big {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 0 50px var(--primary-glow);
    margin-bottom: 8px;
}

.download-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.download-content p {
    font-size: 1.1rem;
    opacity: 0.65;
    max-width: 500px;
    line-height: 1.7;
}

.download-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 20px 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin: 8px 0;
}

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

.stat strong {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat span {
    font-size: 0.8rem;
    opacity: 0.6;
    font-weight: 500;
}

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

.download-btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--gradient);
    border: none;
    border-radius: 30px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 30px var(--primary-glow);
}

.download-btn-main:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 40px var(--primary-glow);
}

.download-btn-main:active {
    transform: translateY(0) scale(0.98);
}

.download-note {
    font-size: 0.8rem;
    opacity: 0.45;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
    padding: 40px 0;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--glass-border);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
}

.footer p {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ═══════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-current);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 44px;
    width: 90%;
    max-width: 440px;
    position: relative;
    transform: scale(0.85) translateY(20px);
    transition: var(--transition);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-current);
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    opacity: 1;
    color: var(--primary);
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
    letter-spacing: -0.5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.85;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-current);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group input::placeholder {
    opacity: 0.4;
}

.email-hint {
    display: block;
    font-size: 0.78rem;
    opacity: 0.5;
    margin-top: 6px;
}

.form-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-bottom: 14px;
    min-height: 20px;
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    height: 50px;
    background: var(--gradient);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    display: none;
    animation: spin 0.8s linear infinite;
}

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

.submit-btn.loading .submit-text {
    display: none;
}

.submit-btn.loading .spinner {
    display: block;
}

.success-message {
    display: none;
    text-align: center;
    padding: 30px 0;
}

.success-message.active {
    display: block;
    animation: fadeSlideUp 0.5s ease;
}

.success-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
    line-height: 60px;
    margin-bottom: 18px;
    box-shadow: 0 4px 25px var(--primary-glow);
}

.success-message p {
    font-size: 1.05rem;
    opacity: 0.8;
}

#downloadForm.hidden {
    display: none;
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-content {
        gap: 50px;
    }

    .app-preview-card {
        width: 300px;
        height: 300px;
    }

    .app-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-current);
        border-bottom: 1px solid var(--glass-border);
        padding: 16px;
        gap: 4px;
        z-index: 999;
    }

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

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-left {
        order: -1;
    }

    .app-preview-card {
        width: 260px;
        height: 260px;
    }

    .app-title {
        font-size: 2.2rem;
    }

    .app-description {
        max-width: 100%;
    }

    .feature-highlights {
        justify-content: center;
    }

    .hero-cta {
        margin: 0 auto;
    }

    .badge {
        margin: 0 auto;
    }

    .features-section,
    .tutorials-section,
    .download-section {
        padding: 80px 0;
    }

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

    .tutorial-step {
        flex-direction: column;
        gap: 0;
    }

    .step-connector {
        flex-direction: row;
        width: auto;
        gap: 0;
        margin-bottom: 16px;
    }

    .step-line {
        display: none;
    }

    .step-card,
    .step-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        padding: 24px;
    }

    .step-video-wrapper {
        max-height: 400px;
    }

    .download-card {
        padding: 50px 24px;
    }

    .download-content h2 {
        font-size: 1.8rem;
    }

    .download-stats {
        gap: 20px;
        padding: 16px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .modal {
        padding: 32px 24px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .feature-highlights {
        flex-direction: column;
    }

    .download-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}