/* ============================================================
   LiveCast — Public Website Styles
   Concept: ফোন = ব্রডকাস্ট টাওয়ার। "সিগন্যাল" থিম।
   Palette: Deep near-black (#0B0E14), Signal Red (#FF4B3E) = লাইভ ইঙ্গিত,
            Amber (#FFB648) = সেকেন্ডারি, Off-white (#F3F1EC) = টেক্সট
   Type: 'Sora' (display, condensed-bold headlines), 'Inter' (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #0B0E14;
    --bg-elevated: #12161f;
    --text: #F3F1EC;
    --text-dim: #9AA1AF;
    --signal-red: #FF4B3E;
    --amber: #FFB648;
    --line: #232838;
    --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
}

h1, h2, h3, .display {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0;
}

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

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

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11,14,20,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo .dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--signal-red);
    box-shadow: 0 0 0 0 rgba(255,75,62,.6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,75,62,.55); }
    70% { box-shadow: 0 0 0 10px rgba(255,75,62,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,75,62,0); }
}
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--text-dim); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.btn-cta {
    background: var(--signal-red);
    color: #0B0E14;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
}
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
    padding: 90px 0 70px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--amber);
    letter-spacing: .04em;
    margin-bottom: 18px;
}
.hero h1 {
    font-size: clamp(34px, 5.4vw, 58px);
    max-width: 780px;
}
.hero p.lead {
    color: var(--text-dim);
    font-size: 18px;
    max-width: 560px;
    margin-top: 20px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn-primary {
    background: var(--signal-red);
    color: #0B0E14;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    display: inline-block;
}
.btn-secondary {
    border: 1px solid var(--line);
    color: var(--text);
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    display: inline-block;
}

/* Signature element: signal bars */
.signal-bars { display: flex; align-items: flex-end; gap: 4px; height: 40px; margin-top: 44px; }
.signal-bars span {
    width: 6px;
    background: linear-gradient(180deg, var(--signal-red), var(--amber));
    border-radius: 3px;
    animation: bar 1.2s ease-in-out infinite;
}
.signal-bars span:nth-child(1){height:30%;animation-delay:0s}
.signal-bars span:nth-child(2){height:60%;animation-delay:.1s}
.signal-bars span:nth-child(3){height:100%;animation-delay:.2s}
.signal-bars span:nth-child(4){height:45%;animation-delay:.3s}
.signal-bars span:nth-child(5){height:80%;animation-delay:.4s}
.signal-bars span:nth-child(6){height:35%;animation-delay:.5s}
.signal-bars span:nth-child(7){height:70%;animation-delay:.6s}
@keyframes bar { 0%,100% { transform: scaleY(0.6); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
    .signal-bars span, .logo .dot { animation: none; }
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 620px; margin-bottom: 44px; }
.eyebrow {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--amber); margin-bottom: 10px; display: block;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p { color: var(--text-dim); margin-top: 12px; font-size: 16px; }

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--text-dim); font-size: 14.5px; margin: 0; }
.feature-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,75,62,.12);
    color: var(--signal-red);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; margin-bottom: 16px; font-size: 18px;
}

/* How it works - real sequence, numbering justified */
.steps { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.step {
    display: flex; align-items: center; gap: 24px;
    padding: 22px 0; border-bottom: 1px solid var(--line);
}
.step-num {
    font-family: 'Sora', sans-serif; font-weight: 800; font-size: 28px;
    color: var(--line); width: 50px; flex-shrink: 0;
}
.step-body h4 { margin: 0 0 4px; font-size: 16px; font-family:'Sora',sans-serif; font-weight:700; }
.step-body p { margin: 0; color: var(--text-dim); font-size: 14px; }

/* Download */
.download-box {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
}
.store-buttons { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.store-btn {
    display: flex; align-items: center; gap: 10px;
    background: #fff; color: #0B0E14;
    padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 14px;
}
.store-btn.disabled { opacity: .5; pointer-events: none; }

/* Forms */
.form-card {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 560px;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 14px; border-radius: 8px;
    border: 1px solid var(--line); background: var(--bg);
    color: var(--text); font-family: inherit; font-size: 14px;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.btn-submit {
    background: var(--signal-red); color: #0B0E14; border: none;
    padding: 13px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer;
}
.alert { padding: 14px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }
.alert-success { background: rgba(255,182,72,.12); border: 1px solid var(--amber); color: var(--amber); }
.alert-error { background: rgba(255,75,62,.12); border: 1px solid var(--signal-red); color: var(--signal-red); }

/* Legal pages */
.legal-content { max-width: 720px; }
.legal-content h2 { font-size: 20px; margin-top: 36px; margin-bottom: 12px; }
.legal-content p, .legal-content li { color: var(--text-dim); font-size: 15px; }
.legal-content ul { padding-left: 20px; }

/* Footer */
footer {
    border-top: 1px solid var(--line);
    padding: 40px 0;
    color: var(--text-dim);
    font-size: 13.5px;
}
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .feature-grid { grid-template-columns: 1fr; }
    .hero { padding: 60px 0 44px; }
    .download-box { padding: 30px 20px; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
}
