/* ===== CSS Variables ===== */
:root {
    --color-primary: #E91E63;
    --color-primary-dark: #C2185B;
    --color-primary-light: #FCE4EC;
    --color-secondary: #9C27B0;
    --color-accent: #FF4081;
    --color-telegram: #0088cc;
    --color-bg: #FFFBFC;
    --color-bg-alt: #FFF5F7;
    --color-text: #1A1A2E;
    --color-text-light: #6B7280;
    --color-white: #FFFFFF;
    --color-border: #F3E8EB;
    --color-success: #10B981;

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 2px 8px rgba(233, 30, 99, 0.08);
    --shadow-md: 0 4px 20px rgba(233, 30, 99, 0.12);
    --shadow-lg: 0 8px 40px rgba(233, 30, 99, 0.16);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;

    --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

.section-label {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--color-text);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

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

.btn-outline-dark:hover {
    background: var(--color-text);
    color: var(--color-white);
}

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

.btn-white:hover {
    background: var(--color-bg);
    transform: translateY(-2px);
}

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

.btn-telegram:hover {
    background: #006699;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
}

.btn-full {
    width: 100%;
}

.btn-header {
    padding: 10px 24px;
    font-size: 14px;
    background: var(--color-primary);
    color: var(--color-white);
}

.tg-icon {
    width: 20px;
    height: 20px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 251, 252, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text-light);
}

.nav a:hover {
    color: var(--color-primary);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg-alt) 100%);
    z-index: -1;
}

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

.hero-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(42px, 6vw, 68px);
    margin-bottom: 24px;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-light);
}

/* Phone mockup */
.hero-phone {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    background: var(--color-white);
    border-radius: 32px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    border: 8px solid #1A1A2E;
}

.phone-screen {
    background: #F0F2F5;
    border-radius: 24px;
    overflow: hidden;
    min-height: 500px;
}

.phone-header {
    background: var(--color-telegram);
    color: var(--color-white);
    padding: 16px;
    text-align: center;
}

.phone-bot-name {
    font-weight: 600;
    font-size: 16px;
}

.phone-messages {
    padding: 16px;
}

.message {
    max-width: 85%;
    margin-bottom: 12px;
}

.message.bot {
    background: var(--color-white);
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.message p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text);
}

.phone-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.phone-btn {
    background: var(--color-white);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: var(--transition);
}

.phone-btn:hover {
    background: var(--color-primary-light);
}

/* ===== Problem Section ===== */
.problem {
    padding: 80px 0;
    background: var(--color-white);
}

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

.problem-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.problem-emoji {
    font-size: 48px;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.problem-card p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== How It Works Section ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--color-bg);
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.tab {
    padding: 12px 32px;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition);
}

.tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 32px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.step-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.step-arrow {
    font-size: 32px;
    color: var(--color-border);
    margin-top: 80px;
}

/* ===== Benefits Section ===== */
.benefits {
    padding: 100px 0;
    background: var(--color-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.benefit-card {
    background: var(--color-bg);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    border-radius: 50%;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.benefit-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.benefit-desc {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== For Whom Section ===== */
.for-whom {
    padding: 100px 0;
    background: var(--color-bg);
}

.for-whom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.for-whom-card {
    padding: 48px;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.for-whom-card h3 {
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--color-text);
}

.for-whom-card ul {
    list-style: none;
    margin-bottom: 32px;
}

.for-whom-card li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--color-text-light);
}

.for-whom-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 600;
}

.for-whom-card.sellers {
    border-top: 4px solid var(--color-primary);
}

.for-whom-card.buyers {
    border-top: 4px solid var(--color-telegram);
}

/* ===== Example Section ===== */
.example {
    padding: 100px 0;
    background: var(--color-white);
}

.example-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 48px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.example-image {
    position: relative;
    height: 450px;
}

.example-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.example-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    background: var(--color-success);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.example-content {
    padding: 48px 48px 48px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.example-header {
    margin-bottom: 20px;
}

.example-header h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.example-prices {
    display: flex;
    align-items: center;
    gap: 16px;
}

.price-old {
    font-size: 16px;
    color: var(--color-text-light);
    text-decoration: line-through;
}

.price-new {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
}

.example-desc {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.example-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}

.example-meta span {
    font-size: 14px;
    color: var(--color-text-light);
}

.example-buttons {
    display: flex;
    gap: 16px;
}

/* ===== CTA Section ===== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

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

.cta .btn-white.btn-telegram:hover {
    background: rgba(255,255,255,0.9);
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 0;
    background: var(--color-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    color: var(--color-text);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    font-size: 24px;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 32px 24px;
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 30px;
    background: var(--color-text);
    color: var(--color-white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-desc {
    margin-top: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 280px;
}

.footer-bot {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 16px;
    background: var(--color-telegram);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
}

.footer-bot:hover {
    background: #006699;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.footer-col a,
.footer-col span {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .example-card {
        grid-template-columns: 1fr;
    }

    .example-image {
        height: 300px;
    }

    .example-content {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .btn-header {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-bg {
        width: 100%;
        height: 50%;
        bottom: 0;
        top: auto;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-phone {
        order: -1;
        margin-bottom: 40px;
    }

    .phone-frame {
        width: 260px;
    }

    .phone-screen {
        min-height: 400px;
    }

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

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .for-whom-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .tabs {
        flex-direction: column;
    }

    .for-whom-card {
        padding: 32px 24px;
    }

    .example-meta {
        flex-direction: column;
        gap: 12px;
    }
}

/* ===== Mobile Menu ===== */
.nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
