:root {
    --bg: #f7f9fc;
    --bg-alt: #ffffff;
    --text: #0f172a;
    --text-2: #475569;
    --text-3: #94a3b8;
    --border: #e2e8f0;
    --accent: #2563eb;
    --accent-2: #1d4ed8;
    --accent-soft: rgba(37, 99, 235, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
    --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Rubik', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a { color: var(--accent); text-decoration: none; transition: color 0.16s; }
a:hover { color: var(--accent-2); }

img, svg { max-width: 100%; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Topbar ───────────────────────────────────────────────────────── */
.topbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--accent);
}
.logo i { font-size: 1.3rem; }
.logo--footer { color: var(--text); }

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 0.95rem;
}
.nav a { color: var(--text-2); }
.nav a:hover { color: var(--text); }
.nav__login { font-weight: 500; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    height: 44px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}
.btn-sm { height: 38px; font-size: 0.88rem; padding: 0 16px; }
.btn-lg { height: 54px; font-size: 1.05rem; padding: 0 28px; }
.btn-block { width: 100%; }
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-2);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
    padding: 80px 0 100px;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(37, 99, 235, 0.12), transparent 60%),
        radial-gradient(ellipse at 20% 100%, rgba(168, 85, 247, 0.1), transparent 60%);
    overflow: hidden;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}
.hero__text h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 800;
    margin: 18px 0 18px;
    letter-spacing: -0.02em;
}
.hero__subtitle {
    font-size: 1.12rem;
    color: var(--text-2);
    max-width: 540px;
    margin: 0 0 34px;
}
.hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 500;
}

/* ── Hero phone visual ───────────────────────────────────────────── */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.phone {
    width: 320px;
    height: 600px;
    background: linear-gradient(180deg, #1e293b, #0f172a);
    border-radius: 44px;
    padding: 14px;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.phone::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 28px;
    background: #000;
    border-radius: 14px;
    z-index: 2;
}
.phone__screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #0f172a, #1e3a8a);
    border-radius: 32px;
    padding: 60px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}
.notif {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.96);
    padding: 14px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.notif i {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}
.notif div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    overflow: hidden;
}
.notif strong { font-size: 0.92rem; color: var(--text); }
.notif span { font-size: 0.82rem; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif--1 { animation-delay: 0.2s; }
.notif--2 { animation-delay: 0.5s; }
.notif--3 { animation-delay: 0.8s; }

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Sections ────────────────────────────────────────────────────── */
.section {
    padding: 90px 0;
}
.section--alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section__title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.section__sub {
    text-align: center;
    color: var(--text-2);
    font-size: 1.05rem;
    margin: 0 0 56px;
}

/* ── Features ────────────────────────────────────────────────────── */
.grid {
    display: grid;
    gap: 22px;
}
.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
.feature {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-soft);
}
.feature__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.feature h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 600; }
.feature p { margin: 0; color: var(--text-2); font-size: 0.95rem; }

/* ── Channels ────────────────────────────────────────────────────── */
.channels {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.ch {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    transition: transform 0.18s;
}
.ch:hover { transform: translateY(-3px); }
.ch i { font-size: 2.2rem; display: block; margin-bottom: 12px; }
.ch span { font-weight: 500; font-size: 0.95rem; }
.ch small { display: block; color: var(--text-3); font-size: 0.72rem; margin-top: 2px; }

/* ── Pricing ─────────────────────────────────────────────────────── */
.pricing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 760px;
    margin: 0 auto;
}
.plan {
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
}
.plan--featured {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
    transform: scale(1.02);
}
.plan__ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 5px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.plan__head { text-align: center; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.plan h3 { margin: 0 0 14px; font-size: 1.2rem; font-weight: 600; color: var(--text-2); }
.plan__price { margin-bottom: 6px; }
.plan__amount {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.plan__period { color: var(--text-3); font-size: 1rem; margin-inline-start: 6px; }
.plan__sub { margin: 0; color: var(--text-2); font-size: 0.92rem; }

.plan__list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    flex: 1;
}
.plan__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-2);
    font-size: 0.95rem;
}
.plan__list i {
    color: #16a34a;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.pricing__note {
    text-align: center;
    margin-top: 38px;
    color: var(--text-3);
    font-size: 0.9rem;
}

/* ── CTA ─────────────────────────────────────────────────────────── */
.cta {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    padding: 80px 0;
}
.cta__inner {
    text-align: center;
}
.cta h2 {
    font-size: 2.4rem;
    margin: 0 0 14px;
    font-weight: 700;
}
.cta p {
    font-size: 1.1rem;
    margin: 0 0 32px;
    opacity: 0.92;
}
.cta .btn-primary {
    background: #fff;
    color: var(--accent);
}
.cta .btn-primary:hover { background: #f1f5f9; color: var(--accent-2); }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}
.footer__inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 32px;
}
.footer__tag {
    color: var(--text-3);
    font-size: 0.9rem;
    margin: 6px 0 0;
}
.footer__links {
    display: flex;
    gap: 22px;
    font-size: 0.92rem;
}
.footer__links a { color: var(--text-2); }
.footer__copy { color: var(--text-3); font-size: 0.88rem; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hero__text h1 { font-size: 2.4rem; }
    .hero__visual { order: -1; }
    .phone { width: 260px; height: 480px; }
    .grid--3 { grid-template-columns: 1fr 1fr; }
    .channels { grid-template-columns: repeat(3, 1fr); }
    .pricing { grid-template-columns: 1fr; }
    .plan--featured { transform: none; }
    .footer__inner { grid-template-columns: 1fr; text-align: center; }
    .footer__links { justify-content: center; }
}
@media (max-width: 600px) {
    .nav a:not(.btn):not(.nav__login) { display: none; }
    .hero { padding: 50px 0 70px; }
    .hero__text h1 { font-size: 1.95rem; }
    .section { padding: 60px 0; }
    .section__title { font-size: 1.7rem; }
    .grid--3 { grid-template-columns: 1fr; }
    .channels { grid-template-columns: repeat(2, 1fr); }
    .cta h2 { font-size: 1.8rem; }
}
