/* ==================== CSS Variables ==================== */
:root {
    --bg-primary: #05070A;
    --bg-secondary: #0B1018;
    --bg-card: #111827;
    --bg-card-hover: #1F2937;
    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    --accent: #FF6A00;
    --accent-hover: #FF8533;
    --accent-glow: rgba(255, 106, 0, 0.3);
    --success: #10B981;
    --gradient: linear-gradient(135deg, #FF6A00 0%, #FF8533 50%, #FFB366 100%);
    --border: #374151;
    --font-main: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ==================== Typography ==================== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

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

/* ==================== Buttons ==================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent);
    color: #000;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

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

/* ==================== Navigation ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(5, 7, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn-primary) {
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent);
}

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
}

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

.mobile-menu a {
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.mobile-menu a:hover {
    background: var(--bg-card);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 106, 0, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 106, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 24px 0 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-mono);
}

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

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

.stat-link {
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.stat-link:hover {
    background: var(--accent-glow);
    transform: scale(1.05);
}

.stat-link .stat-label {
    color: var(--accent);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 500px;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--bg-card);
    border-radius: 40px;
    padding: 12px;
    border: 3px solid var(--border);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: 32px;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.app-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 32px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.floating-card {
    position: absolute;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: float 4s ease-in-out infinite;
}

.card-1 { top: 10%; right: 10%; animation-delay: 0s; }
.card-2 { top: 30%; left: 5%; animation-delay: 1s; }
.card-3 { bottom: 30%; right: 5%; animation-delay: 2s; }
.card-4 { bottom: 10%; left: 10%; animation-delay: 3s; }

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

/* ==================== Sections ==================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 106, 0, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-top: 16px;
}

/* ==================== Features ==================== */
.features {
    padding: 120px 24px;
    background: var(--bg-secondary);
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* ==================== Tools ==================== */
.tools {
    padding: 120px 24px;
}

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

.tool-card {
    padding: 32px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.tool-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

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

.tool-card > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.tool-features {
    list-style: none;
}

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

/* ==================== Referral ==================== */
.referral {
    padding: 120px 24px;
    background: var(--bg-secondary);
}

.referral-content {
    display: flex;
    gap: 64px;
    align-items: center;
}

.referral-text {
    flex: 1;
}

.referral-steps {
    margin: 32px 0;
}

.step {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 4px;
}

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

.verified-bonus {
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 16px;
}

.bonus-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    color: #000;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

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

.referral-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.earnings-card {
    width: 300px;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.earnings-header {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.earnings-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-mono);
    margin-bottom: 8px;
}

.earnings-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.earnings-growth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--success);
    font-size: 0.875rem;
}

.growth-indicator {
    animation: bounce 1s ease-in-out infinite;
}

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

/* ==================== Download ==================== */
.download {
    padding: 120px 24px;
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
    border-radius: 24px;
    box-shadow: 0 20px 40px var(--accent-glow);
}

.download-content h2 {
    margin-bottom: 16px;
}

.download-content > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

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

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.store-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.store-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.store-btn svg {
    width: 32px;
    height: 32px;
}

.store-btn div {
    text-align: left;
}

.store-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.store-name {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
}

.download-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==================== Footer ==================== */
.footer {
    padding: 80px 24px 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

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

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    color: #000;
}

.social-links svg {
    width: 20px;
    height: 20px;
}

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

.footer-column h4 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 48px;
        min-height: 400px;
    }
    
    .referral-content {
        flex-direction: column;
        text-align: center;
    }
    
    .step {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .phone-mockup {
        width: 220px;
        height: 440px;
    }
    
    .floating-card {
        display: none;
    }
    
    .features-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ==================== Privacy & Terms Pages ==================== */
.legal-page {
    padding: 120px 24px 80px;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 16px;
}

.legal-content .last-updated {
    color: var(--text-muted);
    margin-bottom: 48px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 48px 0 16px;
    color: var(--accent);
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-content ul {
    color: var(--text-secondary);
    margin: 16px 0 16px 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--text-primary);
}

/* ==================== Referral Page ==================== */
.ref-redirect {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.ref-content {
    text-align: center;
    max-width: 400px;
}

.ref-content img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.ref-content h1 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.ref-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.ref-code {
    display: inline-block;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 2px dashed var(--accent);
    border-radius: 12px;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 32px;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

