/* ===== CSS Reset & Global Styles ===== */
:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: #e0e7ff;
    --secondary: #7209b7;
    --accent: #f72585;
    --accent-light: #fdebf3;
    --wildberries-color: #8B5CF6;
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --light: #ffffff;
    --light-gray: #f8fafc;
    --gray: #94a3b8;
    --gray-dark: #64748b;
    --dark: #1e293b;
    --darker: #0f172a;
    --border-radius: 20px;
    --border-radius-sm: 10px;
    --border-radius-xs: 6px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.25s ease;
    --gradient-primary: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    --gradient-accent: linear-gradient(135deg, #f72585 0%, #b5179e 100%);
    --gradient-light: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--darker);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header .lead {
    font-size: 1.3rem;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--darker);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--dark);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.4);
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 14px rgba(247, 37, 133, 0.3);
    width: 100%;
    padding: 1.2rem;
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(247, 37, 133, 0.4);
}

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

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

.cta-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(67, 97, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0); }
}

/* ===== Header ===== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.6rem;
}

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

/* ===== Hero Section ===== */
.hero {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.05) 0%, rgba(67, 97, 238, 0) 70%);
    z-index: 0;
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(114, 9, 183, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(114, 9, 183, 0.2);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--darker);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-highlight {
    font-weight: 800;
}

.wb-highlight {
    color: var(--wildberries-color);
}

.self-employed-highlight {
    color: var(--warning);
}

.hero .lead {
    font-size: 1.3rem;
    color: var(--gray-dark);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--dark);
}

.feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard-header h4 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--darker);
}

.premium-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.metric {
    background: var(--light-gray);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--darker);
}

.metric-positive {
    color: var(--success);
}

.fiscal-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
}

.fiscal-status span:first-child {
    color: var(--gray-dark);
}

.status-success {
    color: var(--success);
    font-weight: 600;
}

/* ===== Problems Section ===== */
.problems {
    background-color: var(--light-gray);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.problem-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

/* ===== How It Works ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    position: relative;
}

.step {
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== Main SEO FAQ Section ===== */
.seo-faq {
    background-color: var(--light-gray);
}

.faq-category {
    margin-bottom: 4rem;
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.faq-category h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.faq-category h3 i {
    font-size: 1.5rem;
}

.faq-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h4 {
    font-size: 1.4rem;
    color: var(--darker);
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.faq-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark);
}

.faq-item strong {
    color: var(--darker);
    font-weight: 700;
}

/* ===== Benefits Section ===== */
.benefit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

/* ===== CTA Section ===== */
.cta {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.cta-section {
    background: white;
    text-align: center;
    border-radius: var(--border-radius);
    padding: 5rem 4rem;
    margin: 0 auto;
    max-width: 900px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

.counter {
    display: inline-block;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary);
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-section h2 {
    color: var(--darker);
    margin-bottom: 1.2rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: var(--gray-dark);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.form-container {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-top: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 1.8rem;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: var(--darker);
    font-size: 1.05rem;
}

.form-control {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-xs);
    color: var(--dark);
    font-size: 1.05rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-note {
    font-size: 0.95rem;
    color: var(--gray-dark);
    margin-top: 2rem;
    text-align: center;
}

.form-note a {
    color: var(--primary);
    font-weight: 600;
}

.form-note a:hover {
    text-decoration: underline;
}

/* ===== Footer ===== */
footer {
    background: var(--darker);
    color: white;
    padding: 4rem 0 2.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    background: linear-gradient(90deg, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.8rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    font-size: 1.05rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

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

.email-link {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-copyright {
    text-align: center;
    padding-top: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    background: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(67, 97, 238, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cookie-banner.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(100px);
    pointer-events: none;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-close {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.cookie-close:hover {
    transform: scale(1.1);
}

/* ===== Responsive Design ===== */
@media (max-width: 1100px) {
    .hero h1 { font-size: 2.8rem; }
    .section-header h2 { font-size: 2.4rem; }
}

@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; }
    .dashboard-mockup { margin-top: 3rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    section { padding: 4rem 0; }
    .hero { padding-top: 5rem; padding-bottom: 5rem; }
    .hero h1 { font-size: 2.4rem; }
    .section-header h2 { font-size: 2rem; }
    .cta-section { padding: 3rem 2rem; }
    .form-container { padding: 2rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { flex-direction: column; gap: 1rem; }
    .faq-category { padding: 2rem; }
    .cookie-banner { flex-direction: column; text-align: center; padding: 1.5rem; }
    .cookie-text { min-width: auto; }
    .hero-cta { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .section-header h2 { font-size: 1.8rem; }
    .metric-grid { grid-template-columns: 1fr; }
    .problem-cards, .benefit-cards { grid-template-columns: 1fr; }
}