* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --text: #e8e8ef;
    --text-muted: #8888a0;
    --accent: #4a9eff;
    --accent-glow: rgba(74, 158, 255, 0.15);
    --accent2: #7b5fff;
    --gradient: linear-gradient(135deg, #4a9eff, #7b5fff);
    --success: #4caf50;
    --border: #252535;
    --radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid transparent;
}

.btn-ghost:hover { color: var(--text); }

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { display: block; width: 100%; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.logo span { color: var(--accent); font-weight: 400; font-size: 14px; margin-left: 6px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:not(.btn):hover { color: var(--text); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 160px 0 80px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-glow);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 20px;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.trust-icon { font-size: 16px; }

/* Preview */
.preview {
    padding: 0 0 80px;
}

.preview-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.preview-bar {
    display: flex;
    gap: 8px;
    padding: 14px 18px;
    background: #1a1a25;
    border-bottom: 1px solid var(--border);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.preview-content { padding: 24px; }

.preview-msg {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 85%;
}

.preview-msg.user {
    background: rgba(74, 158, 255, 0.15);
    border: 1px solid rgba(74, 158, 255, 0.2);
    margin-left: auto;
}

.preview-msg.assistant {
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
}

/* Features */
.features { padding: 100px 0; }

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 56px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--accent-glow);
}

.feature-icon { font-size: 32px; margin-bottom: 16px; }

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Telegram Section */
.telegram-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(123, 95, 255, 0.05), transparent);
    position: relative;
    overflow: hidden;
}

.telegram-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.telegram-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.telegram-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.telegram-text p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.telegram-text ul {
    list-style: none;
    margin-bottom: 36px;
}

.telegram-text ul li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: var(--text);
    font-size: 15px;
}

.telegram-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Telegram Mockup */
.telegram-mockup {
    display: flex;
    justify-content: center;
}

.tg-mock-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 100%;
    max-width: 380px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(74, 158, 255, 0.08);
}

.tg-mock-header {
    background: linear-gradient(135deg, #2a9fd6, #4a9eff);
    color: white;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.tg-mock-msg {
    margin: 12px 16px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 80%;
}

.tg-mock-msg.user {
    background: rgba(74, 158, 255, 0.18);
    border: 1px solid rgba(74, 158, 255, 0.25);
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.tg-mock-msg.bot {
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}

.tg-mock-msg.notification {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.12), rgba(123, 95, 255, 0.12));
    border: 1px solid rgba(74, 158, 255, 0.25);
}

.tg-btn {
    display: inline-block;
    background: rgba(74, 158, 255, 0.15);
    border: 1px solid rgba(74, 158, 255, 0.3);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 8px;
    cursor: default;
    pointer-events: none;
}

/* Trust Section */
.trust-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(74, 158, 255, 0.03), transparent);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
}

.trust-card-icon { font-size: 40px; margin-bottom: 16px; }
.trust-card h3 { font-size: 18px; margin-bottom: 12px; }
.trust-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* Pricing */
.pricing { padding: 100px 0; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    position: relative;
    transition: all 0.3s;
}

.price-card:hover { border-color: rgba(74, 158, 255, 0.3); }

.price-card.popular {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
    transform: scale(1.04);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 12px;
}

.price-tier {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.price-amount {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
}

.price-amount span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
}

.price-features li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.price-features li.muted { color: var(--text-muted); }

/* CTA */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(123, 95, 255, 0.05));
}

.cta h2 { font-size: 36px; margin-bottom: 12px; }
.cta p { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; }

/* Footer */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-desc { color: var(--text-muted); font-size: 14px; margin-top: 8px; line-height: 1.6; }

.footer-grid h4 { font-size: 14px; margin-bottom: 14px; color: var(--text); }

.footer-grid a {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s;
}

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

.footer-grid p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .features-grid, .trust-grid { grid-template-columns: 1fr; }
    .telegram-content { grid-template-columns: 1fr; gap: 40px; }
    .telegram-text h2 { font-size: 28px; }
    .telegram-mockup { order: -1; }
    .tg-mock-window { max-width: 340px; }
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .price-card.popular { transform: scale(1); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }
    .mobile-menu-btn { display: block; }
    .section-title { font-size: 28px; }
}

@media (max-width: 480px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
