/* ===== BirdiePing Styles — Modern ===== */

:root {
    --green-900: #052e16;
    --green-800: #14532d;
    --green-700: #166534;
    --green-600: #16a34a;
    --green-500: #22c55e;
    --green-400: #4ade80;
    --green-300: #86efac;
    --green-100: #dcfce7;
    --green-50:  #f0fdf4;
    --gray-900:  #0f172a;
    --gray-800:  #1e293b;
    --gray-700:  #334155;
    --gray-600:  #475569;
    --gray-500:  #64748b;
    --gray-400:  #94a3b8;
    --gray-300:  #cbd5e1;
    --gray-200:  #e2e8f0;
    --gray-100:  #f1f5f9;
    --gray-50:   #f8fafc;
    --white:     #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow:    0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius:    10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

/* ===== SVG Icons ===== */
.icon { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-logo { width: 28px; height: 28px; color: var(--green-600); }
.icon-modal-logo { width: 22px; height: 22px; color: var(--green-600); margin-right: 4px; }
.icon-inline { width: 16px; height: 16px; margin-right: 4px; vertical-align: -2px; }
.icon-sm { width: 16px; height: 16px; }
.icon-badge { width: 14px; height: 14px; margin-right: 2px; }
.icon-zap { width: 16px; height: 16px; color: #d97706; }
.step-icon .icon { width: 32px; height: 32px; color: var(--green-600); }
.value-icon .icon { width: 36px; height: 36px; color: var(--green-300); }
.footer .icon-logo { color: var(--green-400); }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background: var(--white);
}

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

/* ===== Nav ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.3rem; color: var(--green-800); }
.logo-icon { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a, .nav-links button:not(.btn) { text-decoration: none; color: var(--gray-600); font-weight: 500; font-size: 0.9rem; transition: color 0.2s; background: none; border: none; cursor: pointer; }
.nav-links a:hover { color: var(--green-700); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; background: var(--green-600); color: var(--white);
    border: none; border-radius: var(--radius); font-weight: 600; font-size: 1rem;
    text-decoration: none; cursor: pointer; transition: all 0.2s; font-family: inherit;
    gap: 8px;
}
.btn:hover { background: var(--green-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; border-radius: 8px; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; border-radius: 12px; }
.btn-full { width: 100%; }
.btn-outline { background: transparent; color: var(--green-700); border: 2px solid var(--green-500); }
.btn-outline:hover { background: var(--green-50); transform: translateY(-1px); }
.btn-link { background: none; border: none; color: var(--gray-500); font-size: 0.85rem; cursor: pointer; margin-top: 12px; font-family: inherit; }
.btn-link:hover { color: var(--green-700); }

/* ===== Hero ===== */
.hero {
    padding: 140px 0 80px; text-align: center;
    background: radial-gradient(ellipse at top, var(--green-50) 0%, var(--white) 70%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero-badge {
    display: inline-block; padding: 6px 16px; background: var(--green-100);
    color: var(--green-800); border-radius: 100px; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 24px; border: 1px solid var(--green-300);
}
.hero h1 {
    font-size: 4rem; font-weight: 900; color: var(--gray-900);
    margin-bottom: 20px; letter-spacing: -0.03em; line-height: 1.05;
}
.hero-sub {
    font-size: 1.2rem; color: var(--gray-500); max-width: 520px;
    margin: 0 auto 32px; line-height: 1.7;
}
.hero-cta { margin-bottom: 48px; }
.hero-note { display: block; margin-top: 12px; font-size: 0.85rem; color: var(--gray-400); }
.hero-proof {
    display: inline-flex; align-items: center; gap: 32px;
    padding: 20px 40px; background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
}
.proof-item { text-align: center; }
.proof-item strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--green-700); }
.proof-item span { font-size: 0.8rem; color: var(--gray-500); }
.proof-divider { width: 1px; height: 40px; background: var(--gray-200); }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--green-800); color: var(--white); }
.section-label {
    text-align: center; font-size: 0.85rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-600);
    margin-bottom: 8px;
}
.section h2 {
    text-align: center; font-size: 2.5rem; font-weight: 800;
    color: var(--gray-900); margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-dark h2 { color: var(--white); }
.section-sub { text-align: center; color: var(--gray-500); font-size: 1.1rem; margin-bottom: 48px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.step {
    text-align: center; padding: 40px 28px; border-radius: var(--radius-lg);
    background: var(--white); border: 1px solid var(--gray-200);
    transition: all 0.3s; position: relative;
}
.step:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--green-300); }
.step-icon { margin-bottom: 8px; line-height: 1; }
.step-num {
    width: 36px; height: 36px; border-radius: 50%; background: var(--green-600);
    color: var(--white); font-weight: 700; font-size: 0.9rem;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.step p { color: var(--gray-500); font-size: 0.92rem; line-height: 1.6; }

/* ===== Value Grid ===== */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
    padding: 32px 28px; border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
}
.value-icon { margin-bottom: 16px; line-height: 1; }
.value-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.value-card p { color: var(--gray-400); font-size: 0.9rem; line-height: 1.6; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 720px; margin: 56px auto 0; }
.price-card {
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); padding: 40px 32px; text-align: center;
    position: relative; transition: all 0.3s;
}
.price-card:hover { box-shadow: var(--shadow-xl); }
.price-card.featured { border-color: var(--green-500); border-width: 2px; box-shadow: var(--shadow-lg); }
.badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--green-600); color: var(--white); padding: 5px 20px;
    border-radius: 100px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
}
.price-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.price { font-size: 3.5rem; font-weight: 900; color: var(--gray-900); margin-bottom: 24px; line-height: 1; }
.price span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.price-card ul { list-style: none; margin-bottom: 28px; text-align: left; }
.price-card li { padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.93rem; display: flex; align-items: center; gap: 8px; }
.price-card li.muted { color: var(--gray-400); }
.check { color: var(--green-600); font-weight: 700; }
.check.gold { color: #d97706; }
.x { color: var(--gray-300); }
.price-desc { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 24px; margin-top: -4px; }
.pricing-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 960px; }
.price-card.premium { border-color: #d97706; border-width: 2px; background: linear-gradient(to bottom, #fffbeb, var(--white) 40%); }
.price-card.premium:hover { box-shadow: 0 20px 25px -5px rgba(217,119,6,0.15), 0 8px 10px -6px rgba(217,119,6,0.1); }
.badge-gold { background: linear-gradient(135deg, #d97706, #f59e0b); }
.btn-gold { background: linear-gradient(135deg, #d97706, #b45309); color: var(--white); }
.btn-gold:hover { background: linear-gradient(135deg, #b45309, #92400e); }
.price-card li strong { color: var(--gray-900); }
@media (max-width: 768px) { .pricing-grid-3 { grid-template-columns: 1fr; } }

/* ===== Waitlist ===== */
.waitlist-form { max-width: 420px; margin: 0 auto; text-align: center; }
.form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.form-row input, .form-row select {
    flex: 1; padding: 16px 18px; border: 1px solid var(--gray-300);
    border-radius: var(--radius); font-size: 1rem; font-family: inherit;
    outline: none; transition: border-color 0.2s; background: var(--white);
}
.form-row input:focus, .form-row select:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(34,197,94,0.1); }
.form-note { margin-top: 16px; font-size: 0.82rem; color: var(--gray-400); }
.success-msg {
    background: var(--green-50); border: 1px solid var(--green-400);
    border-radius: var(--radius-lg); padding: 28px; font-size: 1.1rem;
    color: var(--green-800); font-weight: 600;
}
.hidden { display: none !important; }

/* ===== Footer ===== */
.footer { background: var(--green-900); color: var(--green-100); padding: 48px 0; }
.footer-inner { text-align: center; }
.footer-brand { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.footer-tagline { font-size: 0.9rem; color: var(--green-400); margin-bottom: 20px; opacity: 0.8; }
.footer-links { display: flex; justify-content: center; gap: 28px; margin-bottom: 20px; }
.footer-links a { color: var(--green-300); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.78rem; color: var(--green-400); opacity: 0.5; }

/* ===== Dashboard Modal ===== */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15,23,42,0.6); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    z-index: 200; padding: 24px;
}
.modal {
    background: var(--white); border-radius: var(--radius-xl);
    width: 100%; max-width: 500px; box-shadow: var(--shadow-xl);
    overflow: hidden; animation: modalIn 0.2s ease-out;
}
.modal-lg { max-width: 600px; max-height: 85vh; display: flex; flex-direction: column; }
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1px solid var(--gray-200);
}
.modal-header h3 { font-size: 1.1rem; font-weight: 700; }
.modal-close {
    width: 36px; height: 36px; border: none; background: var(--gray-100);
    border-radius: 50%; font-size: 1.3rem; cursor: pointer; color: var(--gray-500);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.modal-close:hover { background: var(--gray-200); color: var(--gray-900); }
.modal-body { padding: 24px; overflow-y: auto; flex: 1; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* ===== Auth ===== */
.auth-card { text-align: center; padding: 20px 0; }
.auth-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.auth-sub { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 28px; }
.input-lg {
    width: 100%; padding: 16px 20px; border: 2px solid var(--gray-200);
    border-radius: 12px; font-size: 1.2rem; text-align: center;
    font-family: inherit; outline: none; transition: border-color 0.2s;
    letter-spacing: 0.05em;
}
.input-lg:focus { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(34,197,94,0.1); }

/* ===== Dashboard Tabs ===== */
.dash-tabs {
    display: flex; gap: 4px; background: var(--gray-100);
    border-radius: 10px; padding: 4px; margin-bottom: 20px;
}
.dash-tab {
    flex: 1; padding: 10px 12px; border: none; background: none;
    border-radius: 8px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; color: var(--gray-500); font-family: inherit;
    transition: all 0.2s;
}
.dash-tab.active { background: var(--white); color: var(--gray-900); box-shadow: var(--shadow-sm); }
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-header h4 { font-size: 1rem; font-weight: 700; color: var(--gray-900); }
.select-sm {
    padding: 6px 12px; border: 1px solid var(--gray-300); border-radius: 6px;
    font-size: 0.85rem; font-family: inherit; background: var(--white);
}

/* ===== Watch Cards ===== */
.watch-card {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius);
    margin-bottom: 8px; transition: border-color 0.2s;
}
.watch-card:hover { border-color: var(--green-400); }
.watch-info h4 { font-weight: 600; color: var(--gray-900); font-size: 0.95rem; }
.watch-info p { font-size: 0.82rem; color: var(--gray-500); }
.watch-actions { display: flex; gap: 6px; }
.btn-icon {
    width: 34px; height: 34px; border: 1px solid var(--gray-200); border-radius: 8px;
    background: var(--white); cursor: pointer; display: flex; align-items: center;
    justify-content: center; transition: all 0.2s; font-size: 0.9rem;
}
.btn-icon:hover { border-color: var(--green-500); background: var(--green-50); }
.btn-icon.danger:hover { border-color: #ef4444; background: #fef2f2; }

/* ===== Course List ===== */
.course-state h5 { font-size: 0.9rem; font-weight: 700; color: var(--green-700); margin: 16px 0 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.course-city h6 { font-size: 0.82rem; color: var(--gray-500); margin: 8px 0 4px; padding-left: 8px; }
.course-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; border-radius: 8px; transition: background 0.2s;
}
.course-item:hover { background: var(--gray-50); }
.course-info strong { font-size: 0.9rem; display: block; }
.course-meta { font-size: 0.78rem; color: var(--gray-400); }

/* ===== Empty State ===== */
.empty-state { text-align: center; padding: 40px 20px; color: var(--gray-400); font-size: 0.9rem; }

/* ===== Form Groups ===== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group input, .form-group select {
    width: 100%; padding: 10px 14px; border: 1px solid var(--gray-300);
    border-radius: 8px; font-size: 0.95rem; font-family: inherit;
    outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(34,197,94,0.1); }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-sub { font-size: 1.05rem; }
    .hero-proof { flex-direction: column; gap: 16px; padding: 24px; }
    .proof-divider { width: 40px; height: 1px; }
    .steps { grid-template-columns: 1fr; gap: 16px; }
    .value-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .nav-links a:not(.btn) { display: none; }
    .modal { margin: 12px; border-radius: var(--radius-lg); }
    .modal-lg { max-height: 90vh; }
}
