/* ===== VARIABLES & RESET ===== */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --bg: #eef2ff;
    --bg-white: #ffffff;
    --text: #334155;
    --text-light: #64748b;
    --text-dark: #1e293b;
    --border: #cbd5e1;
    --border-light: #e2e8f0;
    --shadow: 0 1px 3px rgba(79, 70, 229, 0.08);
    --shadow-md: 0 4px 12px rgba(79, 70, 229, 0.1);
    --shadow-lg: 0 8px 30px rgba(79, 70, 229, 0.12);
    --shadow-indigo: 0 4px 20px rgba(79, 70, 229, 0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --font-heading: 'Josefin Sans', sans-serif;
    --font-body: 'Source Sans Pro', sans-serif;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
}

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

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

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo:hover {
    color: var(--primary-dark);
}

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

.nav a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

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

.nav a:hover::after {
    width: 100%;
}

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

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ===== HERO ===== */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero-content {
    max-width: 780px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #7c3aed, var(--primary-light), var(--primary));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-indigo);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    font-weight: 700;
}

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

.btn-link {
    background: none;
    color: var(--primary);
    padding: 8px 16px;
    border: none;
}

.btn-link:hover {
    text-decoration: underline;
    color: var(--primary);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* ===== SECTION STYLES ===== */
section {
    padding: 100px 0;
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FEATURES ZIGZAG ===== */
.features {
    background: var(--bg-white);
}

.zigzag-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.zigzag-block:last-child {
    margin-bottom: 0;
}

.zigzag-reverse {
    direction: rtl;
}

.zigzag-reverse > * {
    direction: ltr;
}

.zigzag-image {
    width: 100%;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--bg), #ddd6fe);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-placeholder span {
    font-size: 4rem;
    margin-bottom: 16px;
}

.image-placeholder p {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.zigzag-text h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.zigzag-text p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

/* ===== REVIEWS ===== */
.reviews {
    background: var(--bg);
}

.reviews-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.review-card-wide {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: box-shadow var(--transition);
}

.review-card-wide:hover {
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.review-meta {
    flex: 1;
}

.review-meta strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.05rem;
}

.review-badge {
    font-size: 0.82rem;
    color: var(--text-light);
}

.review-stars {
    color: #f59e0b;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text);
    font-style: italic;
    line-height: 1.8;
}

/* ===== STEPS ===== */
.steps {
    background: var(--bg-white);
}

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

.step-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--radius);
    background: var(--bg);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== PLANS ===== */
.plans {
    background: var(--bg);
}

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

.plan-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-indigo);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.plan-featured {
    border: 2px solid var(--primary);
    padding-top: 56px;
}

.plan-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 24px;
    border-radius: 0 0 var(--radius) var(--radius);
}

.plan-header {
    text-align: center;
    margin-bottom: 28px;
}

.plan-header h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
    padding-left: 28px;
    position: relative;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    color: #fff;
}

.cta-card h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FAQ ===== */
.faq {
    background: var(--bg);
}

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

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

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

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

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

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

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

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-answer a {
    color: var(--primary);
    text-decoration: underline;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--bg-white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 0;
}

.disclaimer {
    margin-top: 48px;
    padding: 24px;
    background: var(--bg);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.disclaimer p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
}

.disclaimer a {
    color: var(--primary);
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: #94a3b8;
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 12px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 12px;
}

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

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.footer-col a,
.footer-col span {
    display: block;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
}

.footer-legal {
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal p {
    font-size: 0.8rem;
    line-height: 1.8;
    color: #64748b;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #64748b;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px;
    border-top: 2px solid var(--primary);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text);
    min-width: 280px;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding: 120px 0 80px;
    background: var(--bg-white);
    min-height: 100vh;
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.legal-page .legal-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--primary);
}

.legal-page h3 {
    font-size: 1.15rem;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-page p {
    margin-bottom: 16px;
    color: var(--text);
}

.legal-page ul, .legal-page ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-page li {
    margin-bottom: 8px;
    color: var(--text);
}

.legal-page a {
    color: var(--primary);
    text-decoration: underline;
}

/* Contact page cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.contact-card-item {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border-light);
    transition: box-shadow var(--transition);
}

.contact-card-item:hover {
    box-shadow: var(--shadow-md);
}

.contact-card-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.contact-card-item p {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border-light);
        font-size: 1.05rem;
    }

    .nav a::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .zigzag-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .zigzag-reverse {
        direction: ltr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    section {
        padding: 70px 0;
    }

    .hero {
        padding: 130px 0 70px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: 1.5rem;
    }

    .review-card-wide {
        padding: 24px;
    }

    .contact-form {
        padding: 24px;
    }

    .image-placeholder {
        padding: 50px 24px;
        min-height: 220px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }
}