/* style.css — AI Envybox */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #26252a;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

:root {
    --primary: #40bdfc;
    --secondary: #ff5f7f;
    --accent-pink: #f692bc;
    --accent-yellow: #ffe047;
    --dark: #26252a;
}

.fs-1-2 {
    font-size: 1.2rem;
}

.fs-1-5 {
    font-size: 1.5rem !important;
}

.fs-1-6 {
    font-size: 1.6rem;
}

.fs-1-7 {
    font-size: 1.7rem;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.mt-15 {
    margin-top: 15px;
}

.mtb-12 {
    margin: 12px 0;
}

.mtb-15 {
    margin: 12px 0;
}

.text-line-through {
    text-decoration:line-through;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--dark);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 6px 14px rgba(64, 189, 252, 0.25);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #2aa5e0;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(64, 189, 252, 0.35);
    color: #1e1e1e;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary);
    font-weight: 600;
    padding: 11px 28px;
    border-radius: 60px;
    text-decoration: none;
    border: 1.5px solid var(--primary);
    transition: 0.2s;
}

.btn-secondary:hover {
    background: #eef9ff;
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Header */
.header {
    padding: 18px 0;
    border-bottom: 1px solid rgba(64, 189, 252, 0.2);
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    z-index: 50;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: 0.2s;
    cursor: pointer;
}
.nav a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 1000;
    padding: 80px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}
.mobile-nav.open {
    transform: translateX(0);
}
.mobile-nav a {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid #eef2ff;
    display: block;
}
.mobile-nav a:active {
    color: var(--primary);
}
.mobile-nav-cta {
    background: var(--primary);
    color: var(--dark);
    text-align: center;
    border-radius: 60px;
    padding: 14px;
    margin-top: 20px;
    border-bottom: none !important;
}
.close-mobile-menu {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark);
}

/* Hero */
.hero {
    padding: 60px 0 20px 0;
}
.hero-content {
    margin: 0 auto;
    text-align: center;
}
.hero-content h1 {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: var(--dark);
}
.hero-highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-desc {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 24px;
}
.free-tag {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
    font-weight: 500;
    color: #2d3a4b;
}
.free-tag span i {
    margin-right: 6px;
    color: var(--secondary);
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #4b5563;
}

/* Interface mockup */
.fullwidth-interface {
    width: 100%;
    background: #ffffff;
    padding: 30px 0 50px 0;
    margin-top: 20px;
}
.interface-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.mock-ui {
    background: #fefefe;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 30px 50px -20px rgba(0,0,0,0.2);
    border: 1px solid rgba(64, 189, 252, 0.3);
}
.tabs-slider {
    display: flex;
    gap: 8px;
    padding: 20px 28px;
    background: #fbfdff;
    border-bottom: 2px solid #f0f2f5;
    flex-wrap: wrap;
    justify-content: center;
}
.tab-btn {
    background: transparent;
    border: none;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 40px;
    transition: 0.2s;
    color: #4b5563;
}
.tab-btn.active {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 2px 10px rgba(64,189,252,0.3);
}
.tab-img-container {
    padding: 20px 20px;
    text-align: center;
    background: #ffffff;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tab-img-container img {
    width: 100%;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    object-fit: contain;
    border-radius: 20px;
}

/* Sections */
.section {
    padding: 70px 0;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    color: var(--dark);
}

/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.reason-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px;
    border: 1px solid rgba(64, 189, 252, 0.2);
    transition: 0.2s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}
.card-header i {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}
.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin: 0;
}
.reason-card p, .reason-card ul, .reason-card .text-block {
    color: #2d3a4b;
    font-size: 1rem;
}
.reason-card ul {
    padding-left: 1.2rem;
    margin: 0;
}
.reason-card li {
    margin-bottom: 6px;
}

/* Problem/Solution */
.problem-box {
    background: #fff5f5;
    border-radius: 32px;
    padding: 36px;
    margin: 30px 0;
    border-left: 6px solid var(--secondary);
    border-right: 6px solid var(--secondary);
}
.problem-elements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}
.solution-box {
    background: #f0fafd;
    border-radius: 32px;
    padding: 36px;
    border-left: 6px solid var(--primary);
    border-right: 6px solid var(--primary);
    margin-bottom: 30px;
}
.enhanced-comparison {
    background: #f0fafd;
    border-radius: 32px;
    padding: 36px;
    border-left: 6px solid var(--primary);
    border-right: 6px solid var(--primary);
    margin-bottom: 30px;
}
.compare-header-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0 16px 0;
}
.before-header, .after-header {
    font-weight: 800;
    font-size: 1.2rem;
    padding: 10px;
    border-radius: 20px;
    text-align: center;
}
.before-header {
    background: #ffe3e3;
    color: #c53030;
}
.after-header {
    background: #e0f2e9;
    color: #2c7a4a;
}
.compare-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    margin-bottom: 12px;
    align-items: center;
}
.compare-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: bold;
}
.compare-before, .compare-after {
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.compare-before {
    background: #fff5f5;
    color: #e53e3e;
    font-weight: 500;
}
.compare-after {
    background: #e6ffed;
    color: #2c7a4a;
    font-weight: 700;
}
.solution-footer {
    text-align: center;
    margin-top: 30px;
}

/* Steps */
.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
}
.step {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(246, 146, 188, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}
.step-header {
    background: var(--accent-yellow);
    padding: 14px 20px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--dark);
    text-align: center;
    border-radius: 20px 20px 0 0;
    letter-spacing: -0.01em;
}
.step-body {
    padding: 28px 20px 24px;
    text-align: center;
}
.step-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}
.step-body p {
    color: #2d3a4b;
    line-height: 1.45;
}
.steps-footer {
    text-align: center;
    margin-top: 30px;
}
.steps-footer p {
    font-weight: 700;
}

/* Features */
.features-bg {
    background: #F9FAFE;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.feature-category {
    background: #fef9f0;
    border-radius: 28px;
    padding: 24px;
    margin-bottom: 0;
    border-left: 5px solid var(--accent-yellow);
    border-right: 5px solid var(--accent-yellow);
}
.badge-cost {
    display: inline-block;
    background: #ffe047;
    padding: 2px 10px;
    border-radius: 20px;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}
.features-footer {
    text-align: center;
    margin-top: 20px;
}

/* Audience grid */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.audience-footer {
    text-align: center;
    margin-top: 40px;
}

/* Pricing */
.pricing-bg {
    background: #FCF9FF;
}
.price-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 32px;
}
.price-card {
    background: white;
    border-radius: 32px;
    border: 1px solid #e2e8f0;
    padding: 28px;
    flex: 1;
    min-width: 240px;
    transition: 0.2s;
    position: relative;
}
.price-card.popular {
    border: 2px solid var(--primary);
}
.badge-popular {
    background: var(--primary);
    color: var(--dark);
    border-radius: 40px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    position: absolute;
    top: -12px;
    left: 24px;
}
.price {
    font-size: 1.8rem;
    font-weight: 800;
}
.price-card-btn {
    width: 100%;
    display: inline-block;
    margin-top: 10px;
    text-align: center;
    justify-content: center;
}
.tariff-help {
    background: #eef2ff;
    border-radius: 28px;
    padding: 24px;
    text-align: center;
    margin-bottom: 40px;
}
.pricing-note {
    text-align: center;
    margin-top: 40px;
    font-weight: 500;
    font-size: 20px;
}
.cta-button-wrapper {
    text-align: center;
    margin-top: 20px;
}

/* Superpower banner */
.superpower-section {
    text-align: center;
    padding: 40px 0;
}
.superpower-banner {
    background: linear-gradient(120deg, #fef9e6, #ffe9d4);
    border-radius: 48px;
    padding: 50px 20px;
    color: var(--dark);
}
.superpower-banner h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.superpower-btn {
    background: var(--secondary);
    color: white;
    box-shadow: none;
    margin-top: 30px;
}
.superpower-btn:hover {
    background: #e04e6e;
}

/* Free trial */
.free-trial-section {
    margin-bottom: 60px;
}
.free-trial-banner {
    background: rgba(64, 189, 252, 0.1);
    border-radius: 48px;
    padding: 48px 32px;
    text-align: center;
}
.free-trial-banner h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
.free-trial-banner p {
    margin: 15px 0;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #eef2ff;
    padding: 20px 0;
}
.faq-question {
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    color: var(--dark);
}
.faq-answer {
    display: none;
    padding-top: 12px;
    color: #4b5563;
}
.faq-answer.open {
    display: block;
}

/* Footer */
footer {
    background: var(--dark);
    color: #cbd5e1;
    padding: 48px 0 24px;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
    text-align: left;
}
.footer-col h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.footer-logo {
    margin-bottom: 20px;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.footer-contact-item i {
    width: 24px;
    font-size: 1.1rem;
    color: var(--primary);
}
.footer-contact-item a, .footer-doc-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.2s;
}
.footer-contact-item a:hover, .footer-doc-link:hover {
    color: var(--primary);
}
.footer-requisites p {
    margin-bottom: 8px;
    line-height: 1.4;
}
.footer-docs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
}
.footer-social {
    display: flex;
    gap: 18px;
    margin-top: 16px;
}
.footer-social a {
    color: #cbd5e1;
    font-size: 1.4rem;
    transition: 0.2s;
}
.footer-social a:hover {
    color: var(--primary);
}
.footer-reestr {
    margin-top: 20px;
    font-size: 0.85rem;
}
.footer-reestr a {
    color: var(--primary);
    text-decoration: none;
}
.footer-reestr a:hover {
    text-decoration: underline;
}
.footer-copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(203, 213, 225, 0.2);
    font-size: 0.8rem;
}

/* Scroll to top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(64, 189, 252, 0.3);
    z-index: 100;
    border: none;
    text-decoration: none;
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    background: #2aa5e0;
    transform: translateY(-3px);
}

/* Cookie consent */
.envy-cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #1f2937;
    color: #f3f4f6;
    padding: 14px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 380px;
    font-size: 0.9rem;
    line-height: 1.4;
    backdrop-filter: blur(8px);
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.envy-cookie-consent.visible {
    opacity: 1;
    visibility: visible;
}
.envy-cookie-consent.hide {
    opacity: 0;
    visibility: hidden;
}
.envy-cookie-consent a {
    color: #40bdfc;
    text-decoration: underline;
}
.envy-cookie-consent a:hover {
    color: #ff5f7f;
}
.btn_room.envy-cookie-consent_button {
    display: inline-block;
    background: #40bdfc;
    color: #26252a;
    border: none;
    padding: 6px 18px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.2s;
}
.btn_room.envy-cookie-consent_button:hover {
    background: #ff5f7f;
    color: white;
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 1024px) {
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .card-header h3 {
        font-size: 1.3rem;
    }
    .nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .steps {
        flex-direction: column;
        gap: 20px;
    }
    .step-header {
        font-size: 1.2rem;
        padding: 12px;
    }
    .step-body {
        padding: 20px 16px;
    }
    .step-body h3 {
        font-size: 1.2rem;
    }
    .tab-img-container {
        padding: 20px;
        min-height: 280px;
    }
    .tab-btn {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
    .logo-wrapper {
        justify-content: center;
    }
    .logo-img {
        height: 32px;
    }
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .audience-grid {
        grid-template-columns: 1fr;
    }
    .problem-elements {
        grid-template-columns: 1fr;
    }
    .compare-header-row,
    .compare-row {
        gap: 8px;
    }
    .compare-before, .compare-after {
        text-align: center;
    }
    .before-header, .after-header {
        margin-bottom: 0;
    }
    .enhanced-comparison {
        padding: 24px 20px;
    }
    .envy-cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
        padding: 12px 18px;
        font-size: 0.8rem;
        text-align: center;
    }
    .btn_room.envy-cookie-consent_button {
        display: block;
        margin: 10px auto 0;
        width: fit-content;
    }
    .footer-grid {
        gap: 28px;
    }
    .footer-col {
        text-align: center;
    }
    .footer-contact-item {
        justify-content: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-docs {
        align-items: center;
    }
}