:root {
    color-scheme: dark;
    --bg: #080b12;
    --surface: #101620;
    --surface-raised: #141d29;
    --border: rgba(163, 184, 207, 0.13);
    --text: #f4f7fb;
    --muted: #aab6c5;
    --cyan: #55e5d0;
    --blue: #6d91ff;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 82px; }

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    background-image: radial-gradient(ellipse at 15% 10%, rgba(31, 116, 137, 0.15), transparent 38%), radial-gradient(ellipse at 90% 38%, rgba(66, 86, 173, 0.12), transparent 34%);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
}

a { color: inherit; }
button, input { font: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 10px 18px;
    background: rgba(8, 11, 18, 0.88);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.nav-container {
    width: min(1160px, 100%);
    min-height: 44px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.brand-mark {
    width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px;
    color: #071411; background: linear-gradient(145deg, var(--cyan), #83f0c1);
    font-weight: 900; font-size: 18px; box-shadow: 0 8px 24px rgba(85, 229, 208, 0.16);
}
.brand-mark span { color: #187b77; }
.brand-title { color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: -0.5px; }
.nav-links { display: none; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 550; text-decoration: none; transition: color 180ms ease; }
.nav-links a:hover { color: var(--cyan); }

.button {
    min-height: 48px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    border: 0; border-radius: 11px; background: linear-gradient(110deg, #71eed2, #7cdcb6);
    color: #071411; font-size: 16px; font-weight: 750; text-decoration: none;
    box-shadow: 0 8px 28px rgba(85, 229, 208, 0.12); transition: transform 180ms ease, box-shadow 180ms ease; cursor: pointer;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(85, 229, 208, 0.2); }
.button-small { min-height: 42px; padding: 0 12px; font-size: 14px; }

main { width: 100%; max-width: none; margin: 0 auto; padding: 0; }

.hero, .how-section, .plans-section, .faq-section { width: min(1160px, calc(100% - 36px)); margin-left: auto; margin-right: auto; }
.hero {
    min-height: auto; padding: 48px 0 44px; display: grid; grid-template-columns: minmax(0, 1fr);
    align-items: center; gap: 30px;
}
.hero-copy { max-width: 600px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--cyan); font-size: 13px; font-weight: 800; letter-spacing: 1.2px; }
.eyebrow { margin-bottom: 17px; padding: 8px 12px; border: 1px solid rgba(85, 229, 208, 0.18); border-radius: 30px; background: rgba(85, 229, 208, 0.06); letter-spacing: 0.6px; }
.status-dot, .chat-top i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(85, 229, 208, 0.7); }
.hero h1 { max-width: 620px; margin: 0 0 17px; color: #f5f8fc; font-size: clamp(40px, 10vw, 58px); font-weight: 780; letter-spacing: -2.6px; line-height: 1.08; text-align: left; }
.hero h1 span { background: linear-gradient(100deg, #71eed2, #91b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-description { max-width: 530px; margin: 0 0 23px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: flex-start; gap: 13px; flex-wrap: wrap; }
.no-subscription { color: #a0adbc; font-size: 14px; line-height: 1.5; }
.trust-row { margin-top: 25px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #b4bfcc; font-size: 14px; }
.trust-row > span:first-child { color: var(--cyan); font-weight: 900; }
.trust-divider { width: 4px; height: 4px; margin: 0 3px; border-radius: 50%; background: #687587; }

.hero-visual { min-height: 300px; position: relative; display: grid; place-items: center; }
.visual-glow { position: absolute; width: min(80vw, 360px); height: min(80vw, 360px); border-radius: 50%; background: rgba(54, 176, 173, 0.12); filter: blur(75px); }
.chat-card {
    position: relative; z-index: 1; width: min(100% - 18px, 430px); padding: 18px;
    border: 1px solid rgba(173, 200, 222, 0.17); border-radius: 20px;
    background: linear-gradient(150deg, rgba(24, 34, 46, 0.98), rgba(14, 21, 31, 0.98));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4), inset 0 1px rgba(255, 255, 255, 0.04);
    transform: none;
}
.chat-top { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.assistant-avatar { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 13px; color: #081511; background: linear-gradient(145deg, #72eed4, #6d9dff); font-size: 22px; }
.chat-top strong, .chat-top span { display: block; }
.chat-top strong { font-size: 15px; }
.chat-top div:nth-child(2) span { margin-top: 2px; color: #aab6c5; font-size: 12px; }
.chat-top i { width: 6px; height: 6px; margin: 0 4px 1px 0; }
.chat-menu { margin-left: auto; color: #9ba8b7; letter-spacing: 2px; }
.chat-messages { min-height: 190px; padding: 16px 2px 11px; display: flex; flex-direction: column; gap: 10px; }
.chat-time { align-self: center; margin-bottom: 4px; color: #9aa8b9; font-size: 11px; letter-spacing: 0.7px; }
.message { max-width: 88%; margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.message-in { align-self: flex-start; border: 1px solid rgba(255, 255, 255, 0.06); border-bottom-left-radius: 4px; background: #1c2835; color: #dce5ed; }
.message-out { align-self: flex-end; border-bottom-right-radius: 4px; background: #254f50; color: #e5fff7; }
.chat-input { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px 9px 13px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; color: #9ba8b7; font-size: 13px; }
.send-icon { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 7px; background: var(--cyan); color: #071411; font-size: 17px; font-weight: 800; }
.credit-float { position: absolute; z-index: 2; right: 0; bottom: 2px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid rgba(171, 195, 214, 0.16); border-radius: 13px; background: #151e29; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.28); }
.credit-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: rgba(85, 229, 208, 0.13); color: var(--cyan); }
.credit-float strong, .credit-float small { display: block; }
.credit-float strong { font-size: 13px; }
.credit-float small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.live-pill { margin-left: 4px; padding: 4px 6px; border-radius: 5px; background: rgba(85, 229, 208, 0.1); color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: 0.4px; }

.how-section { padding: 43px 0 55px; border-top: 1px solid var(--border); }
.section-heading { max-width: 680px; margin: 0 auto 28px; text-align: center; }
.section-heading h2, .checkout-copy h2 { margin: 9px 0; color: var(--text); font-size: clamp(28px, 7vw, 38px); font-weight: 740; letter-spacing: -1.2px; line-height: 1.2; }
.section-heading p, .checkout-copy p { margin: 0; color: var(--muted); font-size: 16px; }
.steps-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.step-card { position: relative; min-height: 0; padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(145deg, rgba(18, 27, 38, 0.9), rgba(13, 19, 28, 0.9)); }
.step-number { position: absolute; top: 17px; right: 18px; color: #8e9cad; font-size: 14px; font-weight: 700; }
.step-icon { width: 42px; height: 42px; margin-bottom: 14px; display: grid; place-items: center; border: 1px solid rgba(85, 229, 208, 0.2); border-radius: 12px; background: rgba(85, 229, 208, 0.08); color: var(--cyan); font-size: 20px; }
.step-card h3 { margin: 0 0 7px; font-size: 18px; }
.step-card p { max-width: 360px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.plans-section { padding: 48px 0 28px; border-top: 1px solid var(--border); }
.plans-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 14px; }
.plan-card { position: relative; min-width: 0; padding: 20px; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(150deg, rgba(18, 26, 37, 0.98), rgba(13, 19, 28, 0.98)); transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.plan-card:hover { transform: translateY(-3px); border-color: rgba(121, 165, 188, 0.42); }
.plan-card.featured { border-color: rgba(85, 229, 208, 0.48); box-shadow: 0 0 32px rgba(61, 175, 160, 0.09); }
.featured-badge { position: absolute; top: -11px; right: 14px; padding: 5px 9px; border-radius: 20px; background: var(--cyan); color: #071411; font-size: 11px; font-weight: 850; letter-spacing: 0.5px; }
.plan-top { min-height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-symbol { color: #b98057; font-size: 22px; }
.silver .plan-symbol { color: #c2ced8; }
.gold .plan-symbol { color: #f1ca6c; }
.diamond .plan-symbol { color: #83d9eb; }
.plan-label { color: #a0adbc; font-size: 11px; font-weight: 800; letter-spacing: 0.6px; text-align: right; }
.plan-card h3 { margin: 13px 0 4px; font-size: 23px; letter-spacing: -0.4px; }
.plan-description { min-height: 48px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.price { margin-top: 17px; color: #f3f6fa; font-size: 42px; font-weight: 760; letter-spacing: -2px; line-height: 1; }
.price span { margin-right: 5px; color: #b5c0cc; font-size: 15px; font-weight: 600; letter-spacing: 0; vertical-align: 10px; }
.price small { font-size: 19px; letter-spacing: -0.3px; }
.credit-count { margin-top: 10px; color: #b5c0cc; font-size: 14px; }
.credit-count strong { color: var(--cyan); font-size: 17px; }
.plan-divider { height: 1px; margin: 16px 0 13px; background: var(--border); }
.plan-benefits { margin: 0 0 18px; padding: 0; list-style: none; }
.plan-benefits li { position: relative; margin: 0 0 8px; padding: 0 0 0 19px; color: #b5c0cc; font-size: 14px; line-height: 1.5; }
.plan-benefits li::before { position: absolute; left: 0; color: var(--cyan); content: "✓"; font-weight: 800; }
.plan-button { width: 100%; min-height: 46px; margin-top: auto; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(147, 166, 184, 0.22); border-radius: 9px; background: rgba(255, 255, 255, 0.025); color: #dbe3ea; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 160ms ease; }
.plan-button:hover, .plan-button.is-selected { border-color: var(--cyan); background: rgba(85, 229, 208, 0.1); color: var(--cyan); }
.featured .plan-button { border-color: rgba(85, 229, 208, 0.45); color: var(--cyan); }
.pricing-note { margin: 18px 0 0; color: #9ba8b7; font-size: 13px; line-height: 1.65; text-align: center; }

.checkout-section { width: min(930px, calc(100% - 36px)); margin: 44px auto 60px; padding: 23px 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; border: 1px solid rgba(85, 229, 208, 0.18); border-radius: 20px; background: radial-gradient(ellipse at 0 0, rgba(85, 229, 208, 0.07), transparent 50%), #101720; }
.checkout-copy h2 { margin-top: 10px; font-size: 29px; }
.checkout-copy p { font-size: 15px; line-height: 1.75; }
.checkout-form { display: flex; flex-direction: column; gap: 11px; }
.selected-plan { min-height: 68px; margin-bottom: 4px; padding: 11px 12px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 11px; background: rgba(255, 255, 255, 0.025); }
.selected-icon { width: 37px; height: 37px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: rgba(85, 229, 208, 0.11); color: var(--cyan); }
.selected-label { display: block; color: #9ba8b7; font-size: 11px; font-weight: 800; letter-spacing: 0.5px; }
.selected-plan strong { display: block; margin-top: 2px; font-size: 14px; }
.summary-price { margin-left: auto; font-size: 16px; font-weight: 750; white-space: nowrap; }
.checkout-form label { color: #d1d9e2; font-size: 14px; font-weight: 650; }
.checkout-form input { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid rgba(151, 171, 190, 0.2); border-radius: 9px; outline: none; background: #0b1119; color: var(--text); font-size: 15px; }
.checkout-form input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(85, 229, 208, 0.08); }
.checkout-form input::placeholder { color: #8795a6; }
.checkout-button { width: 100%; min-height: 48px; margin-top: 2px; }
.checkout-status { margin: 1px 0 0; color: #aab6c5; font-size: 13px; line-height: 1.6; }

.faq-section { max-width: 760px; padding: 0 0 55px; }
.faq-section .section-heading { margin-bottom: 22px; }
.faq-list details { padding: 16px 0; border-bottom: 1px solid var(--border); }
.faq-list summary { position: relative; padding-right: 30px; color: #e3e9ef; font-size: 16px; font-weight: 650; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 1px; color: var(--cyan); content: "+"; font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 680px; margin: 10px 25px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

.site-footer { border-top: 1px solid var(--border); background: rgba(5, 8, 13, 0.65); }
.footer-inner { width: min(1160px, calc(100% - 36px)); min-height: 105px; margin: 0 auto; padding: 18px 0; display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px 20px; }
.footer-inner p { width: 100%; margin: 0; color: #9ba8b7; font-size: 13px; }
.footer-copy { width: 100%; color: #8995a5; font-size: 12px; }

@media (min-width: 520px) {
    .site-header { padding-right: 24px; padding-left: 24px; }
    .hero, .how-section, .plans-section, .faq-section { width: min(1160px, calc(100% - 48px)); }
    .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .plan-card { padding: 20px 18px; }
    .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-inner { width: min(1160px, calc(100% - 48px)); align-items: center; }
    .footer-inner p { width: auto; flex: 1; }
    .footer-copy { width: auto; }
}

@media (min-width: 760px) {
    html { scroll-padding-top: 90px; }
    .site-header { padding: 14px 28px; }
    .nav-container { gap: 20px; }
    .nav-links { display: flex; }
    .button-small { min-height: 42px; padding: 0 15px; }
    .hero { width: min(1160px, calc(100% - 56px)); padding: 64px 0 62px; grid-template-columns: 1fr 0.9fr; gap: 30px; }
    .hero h1 { font-size: clamp(44px, 5.4vw, 62px); letter-spacing: -3px; }
    .hero-visual { min-height: 350px; }
    .credit-float { right: -5px; bottom: 9px; }
    .how-section, .plans-section, .faq-section { width: min(1160px, calc(100% - 56px)); }
    .how-section { padding: 55px 0 68px; }
    .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .step-card { min-height: 220px; padding: 21px; }
    .plans-section { padding: 60px 0 35px; }
    .plan-card { padding: 21px 17px 18px; }
    .checkout-section { margin: 55px auto 75px; padding: 30px; grid-template-columns: 0.8fr 1.2fr; gap: 30px; }
    .footer-inner { width: min(1160px, calc(100% - 56px)); flex-wrap: nowrap; }
    .footer-inner p { width: auto; }
    .footer-copy { margin-left: auto; white-space: nowrap; }
}

@media (min-width: 1000px) {
    .hero { min-height: 610px; padding: 76px 0; grid-template-columns: 1.03fr 0.97fr; gap: 60px; }
    .hero-visual { min-height: 390px; }
    .chat-card { width: min(100%, 430px); padding: 21px; }
    .chat-messages { min-height: 210px; padding: 19px 2px 11px; }
    .credit-float { right: -8px; bottom: 16px; }
    .plans-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
    .plan-card { padding: 22px 19px 18px; }
    .checkout-section { gap: 42px; padding: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}