:root {
    --primary: #cb11ab; /* WB Violet */
    --primary-dark: #a80e8d;
    --secondary: #4f46e5;
    --text-dark: #1f2937;
    --text-light: #4b5563;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #cb11ab 0%, #4f46e5 100%);
    --telegram: #229ED9;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(203, 17, 171, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: #f0f0f0;
}

.btn-telegram {
    background: transparent;
    color: var(--telegram);
    border: 2px solid var(--telegram);
    margin-top: 15px;
    font-size: 15px;
    width: 100%;
    max-width: 400px;
}

.btn-telegram:hover {
    background: var(--telegram);
    color: white;
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #f3f4f6;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, #fdf4ff 0%, #fff 40%);
}

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

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-subtext {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Visual Mockup for Hero */
.browser-mockup {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    position: relative;
}

.mockup-header {
    background: #f3f4f6;
    padding: 10px 15px;
    display: flex;
    gap: 6px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ef4444; }
.yellow { background: #f59e0b; }
.green { background: #10b981; }

.mockup-body {
    padding: 20px;
}

.wb-interface {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-box {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.ai-btn-mock {
    background: var(--gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    width: fit-content;
    margin-bottom: 10px;
}

.generated-text {
    border: 2px solid #cb11ab;
    padding: 15px;
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 14px;
    position: relative;
}

.generated-text::after {
    content: "Сгенерировано AI";
    position: absolute;
    top: -10px;
    right: 15px;
    background: #cb11ab;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Problem Section */
.problem-section {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.problem-section h2 {
    margin-bottom: 40px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}

.problem-card {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 12px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: block;
}

/* How it works */
.steps {
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Use Cases */
.use-cases {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid #f3f4f6;
}

.case-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.case-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
}

.case-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.tag-green { background: #d1fae5; color: #065f46; }
.tag-red { background: #fee2e2; color: #991b1b; }

.chat-bubble {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

.bubble-user { background: #f3f4f6; color: #4b5563; }
.bubble-ai { background: #fdf4ff; border: 1px solid #fbcfe8; color: #831843; }

/* --- PRICING SECTION START --- */
.pricing {
    padding: 100px 0;
    background: #fdf4ff; /* very light violet bg */
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.pricing-option {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.pricing-option:hover {
    border-color: #fbcfe8;
    transform: translateY(-2px);
}

/* Active State for selected card */
.pricing-option.selected {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(203, 17, 171, 0.1);
}

.pricing-option.selected::after {
    content: "✔";
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary);
    font-weight: bold;
}

.price-count {
    display: block;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.price-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.price-rub {
    font-size: 20px;
    color: var(--text-dark);
}

/* Best Value Badge */
.badge-popular {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.purchase-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-email {
    padding: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    outline: none;
}

.input-email:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(203, 17, 171, 0.1);
}

.oferta-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 5px;
}

.oferta-text a {
    text-decoration: underline;
    color: #4b5563;
}

.separator {
    margin: 30px auto;
    color: #9ca3af;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 400px;
}

.separator::before, .separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}
/* --- PRICING SECTION END --- */


/* CTA Footer */
.footer-cta {
    background: var(--gradient);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.footer-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

footer {
    background: #111;
    color: #9ca3af;
    padding: 50px 0;
    font-size: 14px;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d1d5db;
    transition: color 0.2s;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .browser-mockup { display: none; }
    .problem-grid, .features-grid, .steps-grid, .case-wrapper, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}