:root {
    --bg-main: #f8fafc;
    --white: #ffffff;
    --navy: #0f172a;
    --navy-light: #1e293b;
    --blue-accent: #2563eb;
    --blue-hover: #1d4ed8;
    --text-main: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-md: 12px;
    --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--text-main); background: var(--bg-main); line-height: 1.7; -webkit-font-smoothing: antialiased; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.navbar { padding: 20px 0; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 900; font-size: 1.5rem; letter-spacing: -0.5px; color: var(--navy); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue-accent); }
.nav-cta { background: var(--navy); color: var(--white) !important; padding: 10px 24px; border-radius: 8px; font-weight: 600; transition: all 0.3s ease !important; }
.nav-cta:hover { background: var(--blue-accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* Hero */
.hero { padding: 100px 0 80px; text-align: center; }
.badge { display: inline-block; background: #eff6ff; color: var(--blue-accent); padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 24px; border: 1px solid #bfdbfe; }
.hero h1 { font-size: 4rem; color: var(--navy); margin-bottom: 24px; line-height: 1.1; font-weight: 800; letter-spacing: -1px; }
.hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; }
.btn-main { display: inline-block; background: var(--blue-accent); color: var(--white); padding: 18px 40px; border-radius: 12px; text-decoration: none; font-size: 1.1rem; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.5); border: none; cursor: pointer; }
.btn-main:hover { background: var(--blue-hover); transform: translateY(-3px); box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3); }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.5rem; color: var(--navy); margin-bottom: 16px; font-weight: 800; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); }

/* Info Section (How it works) */
.info-section { padding: 100px 0; }
.bg-light { background-color: var(--white); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; position: relative; }
.step-card { padding: 0 20px; text-align: left; }
.step-num { font-size: 3rem; font-weight: 900; color: #dbeafe; margin-bottom: 10px; line-height: 1; }
.step-card h4 { font-size: 1.5rem; color: var(--navy); margin-bottom: 12px; }
.step-card p { color: var(--text-muted); font-size: 1.05rem; }

/* Features Grid */
.features { padding: 100px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.card { background: var(--white); padding: 50px 40px; border-radius: var(--radius-lg); border: 1px solid var(--border-color); transition: all 0.4s ease; box-shadow: var(--shadow-sm); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #cbd5e1; }
.card h4 { margin-bottom: 16px; color: var(--navy); font-size: 1.35rem; font-weight: 700; }
.card p { color: var(--text-muted); }

/* ULTRA-PREMIUM MODAL */
.modal { display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 9999; justify-content: center; align-items: center; opacity: 1; transition: opacity 0.3s ease; }
.modal-content { background: var(--white); padding: 50px; border-radius: var(--radius-lg); text-align: center; max-width: 480px; width: 92%; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1); position: relative; animation: modalPop 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.modal-icon { width: 64px; height: 64px; color: #10b981; margin: 0 auto 24px auto; background: #d1fae5; padding: 12px; border-radius: 50%; }
.modal-content h2 { color: var(--navy); font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.modal-subtitle { color: var(--text-muted); font-size: 1.1rem; }
.countdown { font-size: 5rem; font-weight: 900; color: var(--blue-accent); margin: 20px 0; line-height: 1; text-shadow: 0 4px 10px rgba(37, 99, 235, 0.2); }
.modal-btn { width: 100%; margin-top: 24px; padding: 16px; font-size: 1.1rem; }

/* Close Button */
.close-modal { position: absolute; top: 20px; right: 24px; background: none; border: none; font-size: 28px; color: #94a3b8; cursor: pointer; transition: color 0.2s; line-height: 1; }
.close-modal:hover { color: var(--navy); }

@keyframes modalPop { 
    0% { transform: scale(0.95) translateY(20px); opacity: 0; } 
    100% { transform: scale(1) translateY(0); opacity: 1; } 
}

/* Footer */
footer { padding: 60px 0; background: var(--navy); color: #94a3b8; text-align: center; }
.footer-logo { font-weight: 900; font-size: 1.5rem; color: var(--white); margin-bottom: 16px; letter-spacing: -0.5px; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .section-header h2 { font-size: 2rem; }
    .step-card { text-align: center; margin-bottom: 40px; }
    .step-num { margin-bottom: 16px; }
}