/* Alegria Bells marketing site — palette and typography deliberately echo the
   in-app visualization (warm orange accent, deep slate background) so the
   landing page and the embedded demo feel continuous. */

:root {
    --bg-deep: #0B0F18;
    --bg-mid: #101521;
    --bg-card: #1A2030;
    --text-primary: #F0F2F6;
    --text-secondary: #8E97A4;
    --text-dim: #5A6376;
    --accent: #E86E3B;
    --accent-soft: #F39361;
    --border: #2A3142;
    --max-width: 1100px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.55;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */

.site-header {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
    background: rgba(11, 15, 24, 0.85);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
}

.brand-mark {
    font-size: 22px;
    filter: drop-shadow(0 1px 2px rgba(232, 110, 59, 0.4));
}

.site-header nav {
    display: flex;
    gap: 20px;
}

.site-header nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
}

.site-header nav a:hover {
    color: var(--text-primary);
}

/* ===== Hero ===== */

.hero {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
}

.hero .container {
    text-align: center;
}

/* Prominent "Coming soon" eyebrow above the H1 — sets honest expectations
   without burying the message in a footnote. Pill shape, accent color. */
.eyebrow {
    display: inline-block;
    margin: 0 auto 18px;
    padding: 6px 14px;
    background: rgba(232, 110, 59, 0.15);
    border: 1px solid rgba(232, 110, 59, 0.4);
    border-radius: 999px;
    color: var(--accent-soft);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.05;
    margin: 0 0 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
}

.tagline {
    font-size: clamp(16px, 2.2vw, 19px);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    text-align: center;
}

.app-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 70vh;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(232, 110, 59, 0.15);
    margin: 0 auto;
}

/* Portrait phones: 16:9 leaves the player painfully small. Switch to a taller
   ratio (roughly 9:14, leaving room for the marketing copy above) and cap
   height so the page itself stays scrollable. */
@media (max-width: 700px) and (orientation: portrait) {
    .app-frame {
        aspect-ratio: 9 / 14;
        max-height: 75vh;
    }
}

.app-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.hero-hint {
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    margin-top: 14px;
}

/* ===== Sections ===== */

.section {
    padding: 64px 0;
}

.section-alt {
    background: var(--bg-mid);
}

.section h2 {
    font-size: clamp(26px, 4vw, 36px);
    margin: 0 0 36px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: center;
}

/* ===== Features grid ===== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
}

.feature h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-soft);
}

.feature p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
}

.feature p + p {
    margin-top: 10px;
}

.coming-soon {
    font-size: 12px !important;
    color: var(--text-dim) !important;
    font-style: italic;
}

/* ===== Audience list (definition list, no dashes) ===== */

.audience-list {
    margin: 0 auto;
    padding: 0;
    max-width: 760px;
}

.audience-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.audience-item:last-child {
    border-bottom: 0;
}

.audience-list dt {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 6px;
}

.audience-list dd {
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

/* ===== Footer ===== */

.site-footer {
    padding: 32px 0;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 13px;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer p {
    margin: 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

/* ===== Responsive ===== */

@media (max-width: 600px) {
    .site-header nav {
        gap: 12px;
    }
    .site-header nav a {
        font-size: 13px;
    }
    .hero {
        padding: 36px 0 24px;
    }
    .section {
        padding: 48px 0;
    }
}
