:root {
    --bg: #070913;
    --bg-soft: #0f1427;
    --surface: rgba(15, 20, 39, 0.72);
    --surface-strong: rgba(11, 16, 32, 0.92);
    --border: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(255, 255, 255, 0.18);
    --text: #f8f9ff;
    --text-muted: rgba(235, 238, 250, 0.76);
    --text-faint: rgba(235, 238, 250, 0.52);
    --violet: #a855f7;
    --pink: #ec4899;
    --blue: #4f46e5;
    --cyan: #38bdf8;
    --shadow: 0 40px 120px rgba(2, 6, 23, 0.45);
    --max-width: 1240px;
    --radius: 30px;
    --font-stack: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top, rgba(168, 85, 247, 0.16), transparent 36%),
        linear-gradient(180deg, #090b16 0%, #0b0f1d 44%, #060812 100%);
    color: var(--text);
    font-family: var(--font-stack);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    display: block;
    max-width: 100%;
}

.openbell-page {
    position: relative;
    isolation: isolate;
}

.shell {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
}

.ambient,
.ring-glow,
.grid-overlay {
    pointer-events: none;
    position: absolute;
    inset: 0;
}

.ambient-top {
    inset: -18% 42% auto -8%;
    height: 42rem;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(168, 85, 247, 0.1) 38%, transparent 70%);
    filter: blur(30px);
}

.ambient-bottom {
    inset: auto -10% -16% 46%;
    height: 36rem;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, rgba(79, 70, 229, 0.09) 42%, transparent 72%);
    filter: blur(34px);
}

.ambient-center {
    inset: 8rem auto auto 50%;
    width: 70rem;
    height: 70rem;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.08) 34%, transparent 66%);
    filter: blur(44px);
}

.ring-glow {
    inset: 8rem auto auto 50%;
    width: 62rem;
    height: 62rem;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 38%, rgba(236, 72, 153, 0.18) 0%, transparent 52%),
        radial-gradient(circle at 70% 72%, rgba(56, 189, 248, 0.12) 0%, transparent 56%);
    filter: blur(24px);
}

.grid-overlay {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black 26%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at center, black 26%, transparent 78%);
    opacity: 0.8;
}

.topbar {
    position: relative;
    z-index: 2;
    padding: 28px 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.35),
        0 0 36px rgba(168, 85, 247, 0.24);
}

.brand-wordmark {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.brand-wordmark span {
    background: linear-gradient(135deg, #d8b4fe 0%, #c084fc 38%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.topnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1.15rem;
    font-size: 0.96rem;
    color: var(--text-faint);
}

.topnav a {
    transition: color 180ms ease;
}

.topnav a:hover {
    color: var(--text);
}

.hero {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
    padding: 3rem 0 5rem;
}

.hero-copy {
    max-width: 40rem;
}

.eyebrow {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.hero h1,
.feature-section h2 {
    margin: 0;
    font-size: clamp(3.1rem, 6.4vw, 6.15rem);
    line-height: 0.97;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, #c084fc 0%, #818cf8 44%, #38bdf8 78%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text,
.section-text,
.feature-card p,
.footer-copy {
    color: var(--text-muted);
    line-height: 1.65;
}

.hero-text {
    margin: 1.35rem 0 0;
    font-size: 1.14rem;
    max-width: 34rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.98rem;
    font-weight: 700;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 46%, #38bdf8 100%);
    box-shadow: 0 18px 40px rgba(99, 102, 241, 0.32);
}

.button-secondary {
    color: var(--text);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
}

.feature-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-faint);
    font-size: 0.88rem;
    font-weight: 600;
}

.hero-stage {
    position: relative;
    min-height: 43rem;
}

.phone-stack {
    position: relative;
    width: min(36rem, 100%);
    height: 100%;
    margin: 0 auto;
}

.phone-card {
    position: absolute;
    width: clamp(15rem, 28vw, 19.5rem);
}

.phone-card img {
    filter: drop-shadow(0 34px 60px rgba(2, 6, 23, 0.42));
}

.phone-watchlist {
    top: 0;
    left: 0;
    transform: rotate(-14deg);
}

.phone-home {
    top: 4.2rem;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    z-index: 2;
}

.phone-deep-dive {
    top: 2.5rem;
    right: 0;
    transform: rotate(13deg);
}

.surface-panel {
    position: relative;
    z-index: 2;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(15, 20, 39, 0.72) 100%);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.feature-section {
    margin-bottom: 4rem;
    padding: clamp(1.6rem, 3vw, 2.6rem);
}

.section-heading {
    max-width: 48rem;
}

.feature-section h2 {
    font-size: clamp(2.2rem, 4.1vw, 3.7rem);
    margin-top: 0.15rem;
}

.section-text {
    margin: 1rem 0 0;
    font-size: 1.03rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature-card {
    min-height: 100%;
    padding: 1.35rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 24, 0.58);
}

.feature-card h3 {
    margin: 1.1rem 0 0.65rem;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
}

.feature-card p {
    margin: 0;
    font-size: 0.98rem;
}

.footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 0 2.2rem;
}

.footer-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.footer-copy {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
    color: var(--text-faint);
}

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

@media (max-width: 1080px) {
    .hero {
        padding-top: 2rem;
    }

    .hero-stage {
        min-height: 38rem;
        order: -1;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .topbar,
    .footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .topnav,
    .footer-links {
        justify-content: flex-start;
    }

    .hero {
        padding-bottom: 3.5rem;
    }

    .hero-stage {
        min-height: 31rem;
    }

    .phone-stack {
        width: 100%;
    }

    .phone-card {
        width: clamp(11rem, 40vw, 15rem);
    }

    .phone-watchlist {
        top: 0.9rem;
        left: 0;
    }

    .phone-home {
        top: 3.3rem;
    }

    .phone-deep-dive {
        top: 2rem;
        right: 0;
    }

    .cta-row {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}
