/* ==========================================================================
   mealist.css — Shared stylesheet for all Mealist public pages
   Covers: index.html, switch-to-mealist.html, privacy.html, terms.html
   ========================================================================== */


/* ─── DESIGN TOKENS ─────────────────────────────────────────────────────── */

:root {
    --teal:          #0891B2;
    --teal-dark:     #0E7490;
    --teal-light:    #06B6D4;
    --teal-lightest: #E0F7FA;
    --coral:         #FF6B6B;
    --coral-light:   #FFE8DC;
    --cream:         #FFF8F0;
    --warm-gray:     #F7F7F5;
    --text-dark:     #2D3436;
    --text-medium:   #636E72;
    --text-light:    #B2BEC3;
}


/* ─── RESET & BASE ───────────────────────────────────────────────────────── */

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

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

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

code {
    background: var(--warm-gray);
    padding: 0.1rem 0.45rem;
    border-radius: 6px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.82rem;
    color: var(--teal-dark);
}


/* ─── ANIMATIONS ─────────────────────────────────────────────────────────── */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes rotate { to { transform: rotate(360deg); } }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ─── NAVIGATION ─────────────────────────────────────────────────────────── */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 3rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(78, 205, 196, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img { height: 36px; width: auto; }

/* fallback icon used in index.html */
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--teal), var(--coral));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.nav-cta {
    background: var(--teal);
    color: white !important;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.2);
}

.nav-cta:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.3);
}


/* ─── BUTTONS ────────────────────────────────────────────────────────────── */

.btn-primary {
    background: var(--teal);
    color: white !important;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.25);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(8, 145, 178, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-medium) !important;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    border: 2px solid var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--teal);
    color: var(--teal) !important;
}

.btn-coral {
    background: var(--coral);
    color: white !important;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.25);
}

.btn-coral:hover {
    background: #e05555;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.35);
}

.btn-white {
    background: white;
    color: var(--teal-dark) !important;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}


/* ─── SHARED UTILITIES ───────────────────────────────────────────────────── */

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--teal);
    margin-bottom: 1rem;
    font-weight: 600;
}

.decorative-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}


/* ─── HERO (shared structure) ────────────────────────────────────────────── */

.hero {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* index.html hero — full viewport height */
.hero--index {
    min-height: 80vh;
    padding: 8rem 3rem 4rem;
}

/* switch-to-mealist.html hero — slightly shorter with more top padding */
.hero--switch {
    min-height: 80vh;
    padding: 10rem 3rem 6rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--teal-lightest), transparent);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%; left: -15%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--coral-light), transparent);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content h1 {
    font-family: 'Crimson Pro', serif;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    animation: fadeInUp 1s ease-out;
}

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

.hero-content h2 {
    color: var(--text-medium);
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.4s both;
    margin-top: 10px;
}

/* index.html hero */
.hero-image {
    position: relative;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* switch page hero */
.hero-visual {
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--coral-light);
    color: var(--coral);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.discount-note {
    font-size: 0.9rem;
    color: var(--text-medium);
    animation: fadeInUp 1s ease-out 0.5s both;
    margin-top: 10px;
}

.discount-note strong { color: var(--coral); }

/* Phone mockup (index - legacy placeholder) */
.phone-mockup {
    background: white;
    border-radius: 40px;
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(45, 52, 54, 0.15);
    border: 8px solid var(--text-dark);
    aspect-ratio: 9/19;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: var(--text-dark);
    border-radius: 0 0 20px 20px;
}

.phone-content {
    width: 100%;
    height: 100%;
    background: var(--warm-gray);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    font-style: italic;
    padding: 2rem;
    text-align: center;
}

/* Image placeholder (switch page) */
.hero-image-placeholder {
    background: var(--warm-gray);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(45, 52, 54, 0.1);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    font-style: italic;
    position: relative;
    overflow: hidden;
    border: 2px dashed rgba(8, 145, 178, 0.2);
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--teal-lightest), transparent);
    animation: rotate 15s linear infinite;
    opacity: 0.3;
}

.placeholder-inner { position: relative; z-index: 1; text-align: center; }
.placeholder-inner .icon { font-size: 3rem; margin-bottom: 0.5rem; }
.placeholder-inner .label {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--teal);
    font-weight: 500;
}

/* Floating badges (switch page) */
.hero-badge {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 8px 30px rgba(45, 52, 54, 0.12);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.hero-badge-1 { bottom: -1rem; left: -1.5rem; animation-delay: 0s; }
.hero-badge-2 { top: -1rem; right: -1.5rem; animation-delay: 1.5s; }

.badge-text strong { display: block; font-weight: 700; font-size: 0.9rem; color: var(--text-dark); }
.badge-text span   { font-size: 0.75rem; color: var(--text-medium); }


/* ─── SECTION WRAPPERS (switch page) ─────────────────────────────────────── */

.section-white    { padding: 8rem 3rem; background: white; }
.section-warm     { padding: 8rem 3rem; background: var(--warm-gray); }
.section-gradient { padding: 8rem 3rem; background: linear-gradient(135deg, var(--teal-lightest) 0%, var(--coral-light) 100%); }

.section-inner { max-width: 1400px; margin: 0 auto; }

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

.section-header h2 {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-medium);
    max-width: 560px;
    line-height: 1.75;
}

.section-header.centered p { margin: 0 auto; }


/* ─── FROM/TO STRIP (switch page) ────────────────────────────────────────── */

.from-to-strip {
    background: white;
    border-top: 1px solid rgba(78, 205, 196, 0.15);
    border-bottom: 1px solid rgba(78, 205, 196, 0.15);
    padding: 1.75rem 3rem;
}

.from-to-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.from-to-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.app-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--warm-gray);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.app-chip-mealist { background: var(--teal); color: white; }

.strip-arrow { font-size: 1.3rem; color: var(--text-light); }


/* ─── HOW IT WORKS / STEPS (switch page) ─────────────────────────────────── */

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

.step-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(45, 52, 54, 0.08);
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(8, 145, 178, 0.12);
}

.step-img-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--warm-gray);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.75rem;
    border: 1.5px dashed rgba(8, 145, 178, 0.2);
    overflow: hidden;
    position: relative;
}

.step-img-placeholder::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--teal-lightest), transparent);
    animation: rotate 20s linear infinite;
    opacity: 0.2;
}

.step-img-placeholder span { position: relative; z-index: 1; padding: 1rem; text-align: center; }

.step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--teal);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step-card p { font-size: 1rem; color: var(--text-medium); line-height: 1.75; }


/* ─── COMPARISON TABLE (switch page) ─────────────────────────────────────── */

.table-wrap {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(45, 52, 54, 0.1);
}

table { width: 100%; border-collapse: collapse; font-size: 1rem; }

thead tr { background: var(--text-dark); }

thead th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
}

thead th:not(:first-child) { text-align: center; }
thead th.col-mealist { background: var(--teal); color: white; }

tbody td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(78, 205, 196, 0.1);
    color: var(--text-dark);
    font-size: 0.95rem;
}

tbody tr:last-child td { border-bottom: none; }
tbody td:not(:first-child) { text-align: center; }
tbody tr:hover { background: var(--warm-gray); }

.check   { color: var(--teal);        font-size: 1.2rem; font-weight: 700; }
.cross   { color: var(--text-light);  font-size: 1.1rem; }
.partial { font-size: 0.85rem; font-weight: 600; color: var(--text-medium); }


/* ─── OFFER CARD (switch page) ───────────────────────────────────────────── */

.offer-card {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-radius: 30px;
    padding: 5rem 4rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(8, 145, 178, 0.3);
}

.offer-card::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.offer-card::after {
    content: '';
    position: absolute;
    bottom: -100px; left: 10%;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.offer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.offer-card h2 {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.offer-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.75;
    max-width: 480px;
}

.offer-pricing { text-align: center; position: relative; z-index: 1; flex-shrink: 0; }

.price-was {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.price-now {
    font-family: 'Crimson Pro', serif;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.75rem;
}


/* ─── EXPORT GUIDES (switch page) ────────────────────────────────────────── */

.export-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.export-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(45, 52, 54, 0.08);
    transition: all 0.3s;
}

.export-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(8, 145, 178, 0.1);
}

.export-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.export-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--warm-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.export-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
}

.export-steps { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }

.export-steps li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.step-n {
    min-width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--teal-lightest);
    color: var(--teal-dark);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex-shrink: 0;
}


/* ─── FINAL CTA (switch page) ────────────────────────────────────────────── */

.final-cta {
    padding: 8rem 3rem;
    background: var(--warm-gray);
    text-align: center;
}

.final-cta-inner { max-width: 800px; margin: 0 auto; }

.final-cta h2 {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.final-cta p { font-size: 1.3rem; color: var(--text-medium); margin-bottom: 2.5rem; }

.final-cta-sub { margin-top: 1.25rem; font-size: 0.875rem; color: var(--text-light); }


/* ─── DEFINITION SECTION (index) ─────────────────────────────────────────── */

.definition-section {
    padding: 8rem 3rem;
    background: white;
    position: relative;
}

.definition-container { max-width: 1000px; margin: 0 auto; text-align: center; }

.definition-title {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.definition-box {
    background: var(--teal-lightest);
    border-left: 4px solid var(--teal);
    padding: 3rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: left;
}

.definition-word {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 0.5rem;
}

.definition-pronunciation { font-style: italic; color: var(--text-medium); margin-bottom: 0.5rem; }
.definition-type          { font-style: italic; color: var(--text-medium); margin-bottom: 1.5rem; }

.definition-text { font-size: 1.2rem; line-height: 1.8; color: var(--text-dark); }

.definition-cta { margin-top: 2rem; font-size: 1.1rem; color: var(--text-medium); }
.definition-cta strong { color: var(--teal-dark); }


/* ─── FEATURES SECTION (index) ───────────────────────────────────────────── */

.features-section { padding: 8rem 3rem; background: white; }

.features-container { max-width: 1400px; margin: 0 auto; }

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-bottom: 8rem;
    align-items: center;
}

.feature-block:nth-child(even)    { direction: rtl; }
.feature-block:nth-child(even) > * { direction: ltr; }

.feature-content h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-content h4 { font-size: 1.3rem; color: var(--coral); margin-bottom: 1.5rem; font-weight: 600; }

.feature-content p { font-size: 1.1rem; color: var(--text-medium); line-height: 1.8; margin-bottom: 1.5rem; }

.feature-image {
    background: var(--warm-gray);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(45, 52, 54, 0.1);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    font-style: italic;
    position: relative;
    overflow: hidden;
}

.feature-image::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--teal-lightest), transparent);
    animation: rotate 15s linear infinite;
    opacity: 0.3;
}

.feature-image-text { position: relative; z-index: 1; text-align: center; padding: 2rem; }

/* When feature-image or hero-image contains a real <img> instead of a placeholder */
.feature-image img,
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(45, 52, 54, 0.15);
}

/* Override aspect-ratio/padding/bg when real image is present */
.feature-image:has(img),
.hero-image:has(img) {
    background: transparent;
    padding: 0;
    aspect-ratio: unset;
    overflow: visible;
}

.feature-image:has(img)::before,
.hero-image:has(img)::before {
    display: none;
}


/* ─── TESTIMONIALS (shared) ──────────────────────────────────────────────── */

.testimonials-section {
    padding: 6rem 3rem;
    background: var(--warm-gray);
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(45, 52, 54, 0.08);
    transition: all 0.3s;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem; left: 1.5rem;
    font-family: 'Crimson Pro', serif;
    font-size: 5rem;
    color: var(--teal-lightest);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(8, 145, 178, 0.15);
}

.testimonial-text { position: relative; z-index: 1; margin-bottom: 1.5rem; color: var(--text-dark); line-height: 1.8; }
.testimonial-author { font-weight: 600; color: var(--teal-dark); margin-bottom: 0.25rem; }
.testimonial-role { font-size: 0.9rem; color: var(--text-medium); }


/* ─── PRICING SECTION (index) ────────────────────────────────────────────── */

.pricing-section {
    padding: 8rem 3rem;
    background: linear-gradient(135deg, var(--teal-lightest) 0%, var(--coral-light) 100%);
}

.pricing-container { max-width: 1200px; margin: 0 auto; text-align: center; }

.pricing-title {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.pricing-subtitle { font-size: 1.2rem; color: var(--text-medium); margin-bottom: 4rem; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(45, 52, 54, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured { border: 3px solid var(--teal); transform: scale(1.05); }

.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 1.5rem; right: -2rem;
    background: var(--coral);
    color: white;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.pricing-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 20px 60px rgba(78, 205, 196, 0.2); }

.pricing-tier { font-size: 1.3rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 1rem; }

.pricing-price {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pricing-price span { font-size: 1rem; color: var(--text-medium); font-family: 'DM Sans', sans-serif; }

.pricing-subtitle-text { color: var(--text-medium); margin-bottom: 2rem; font-size: 0.95rem; }

.pricing-features { list-style: none; margin: 2rem 0; text-align: left; }

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li::before { content: '✓'; color: var(--teal); font-weight: bold; font-size: 1.2rem; }
.pricing-features li.disabled { color: var(--text-light); }
.pricing-features li.disabled::before { content: '−'; color: var(--text-light); }

.pricing-cta {
    width: 100%;
    padding: 1rem;
    background: var(--teal);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.pricing-cta:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(8, 145, 178, 0.3); }


/* ─── FAQ (index — card grid style) ──────────────────────────────────────── */

.faq-section { padding: 4rem 3rem 2rem; background: transparent; max-width: 900px; margin: 0 auto; }
.faq-container { max-width: 100%; margin: 0 auto; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

/* index faq-item (card style) */
.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(45, 52, 54, 0.08);
    transition: all 0.3s;
}

.faq-item:hover { box-shadow: 0 8px 25px rgba(8, 145, 178, 0.12); transform: translateY(-2px); }

.faq-question { font-size: 1.1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.75rem; }
.faq-answer   { color: var(--text-medium); line-height: 1.7; }


/* ─── FAQ (switch page — accordion style) ────────────────────────────────── */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid rgba(78, 205, 196, 0.2);
}

/* accordion faq-item overrides card style above */
.faq-list .faq-item {
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(78, 205, 196, 0.2);
}

.faq-list .faq-item:hover { box-shadow: none; transform: none; }

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}

.faq-trigger h4 { font-size: 1.05rem; font-weight: 600; color: var(--text-dark); }

.faq-icon {
    font-size: 1.5rem;
    color: var(--text-light);
    transition: transform 0.25s, color 0.2s;
    flex-shrink: 0;
    line-height: 1;
}

.faq-list .faq-item.open .faq-icon { transform: rotate(45deg); color: var(--teal); }

.faq-body { display: none; padding-bottom: 1.5rem; }
.faq-list .faq-item.open .faq-body { display: block; }
.faq-body p { font-size: 1rem; color: var(--text-medium); line-height: 1.75; }


/* ─── CONTACT SECTION (index) ────────────────────────────────────────────── */

.contact-section { padding: 8rem 3rem; background: var(--warm-gray); text-align: center; }
.contact-container { max-width: 800px; margin: 0 auto; }

.contact-title {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-subtitle { font-size: 1.3rem; color: var(--text-medium); margin-bottom: 2.5rem; }

.contact-cta {
    background: var(--coral);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.25);
}

.contact-cta:hover { background: #E67A38; transform: translateY(-3px); box-shadow: 0 12px 35px rgba(255, 140, 66, 0.35); }


/* ─── FOOTER ─────────────────────────────────────────────────────────────── */

footer { background: var(--text-dark); color: white; padding: 4rem 3rem 2rem; }

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand { max-width: 350px; }

.footer-logo { margin-bottom: 1rem; }

.footer-logo img { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: 0.7; }

/* fallback text logo (index) */
.footer-logo-text {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--teal);
}

.footer-brand p { color: rgba(255, 255, 255, 0.7); line-height: 1.7; font-size: 0.95rem; }

.footer-section h4  { color: var(--teal); margin-bottom: 1rem; font-size: 1rem; font-weight: 600; }
.footer-section a   { color: rgba(255, 255, 255, 0.7); text-decoration: none; display: block; margin-bottom: 0.75rem; transition: color 0.3s; font-size: 0.95rem; }
.footer-section a:hover { color: var(--teal); }

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

.footer-bottom p { color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; }

.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.5); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-legal a:hover { color: var(--teal); }


/* ─── LEGAL / PROSE PAGES (privacy, terms) ───────────────────────────────── */

.legal-page {
    padding: 10rem 3rem 6rem;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-container h1 {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.legal-container .effective-date {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.legal-container h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.legal-container h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-container p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.legal-container ul,
.legal-container ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.legal-container li {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: 0.5rem;
}

.legal-container a {
    color: var(--teal);
    text-decoration: underline;
}

.legal-container .contact-info {
    background: var(--teal-lightest);
    border-left: 4px solid var(--teal);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    margin-top: 1.25rem;
}

.legal-container .contact-info p { margin-bottom: 0.5rem; }
.legal-container .contact-info p:last-child { margin-bottom: 0; }

.legal-container hr {
    border: none;
    border-top: 1px solid rgba(78, 205, 196, 0.2);
    margin: 3rem 0;
}


/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 968px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }

    .hero--index,
    .hero--switch {
        padding: 7rem 1.5rem 4rem;
        min-height: auto;
    }

    .hero-container { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual  { display: none; }
    .hero-image   { display: none; }

    .section-white,
    .section-warm,
    .section-gradient { padding: 5rem 1.5rem; }

    .definition-section,
    .features-section,
    .pricing-section,
    .contact-section { padding: 4rem 1.5rem; }

    .steps-grid    { grid-template-columns: 1fr; }
    .export-grid   { grid-template-columns: 1fr; }
    .pricing-grid  { grid-template-columns: 1fr; }
    .feature-block { grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; }

    .feature-block:nth-child(even)    { direction: ltr; }

    .pricing-card.featured { transform: scale(1); }

    .offer-card {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        text-align: center;
    }

    .offer-card p    { margin: 0 auto; }
    .offer-pricing   { margin: 0 auto; }

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

    .footer-container { grid-template-columns: 1fr; gap: 2rem; }

    .footer-bottom { flex-direction: column; text-align: center; }

    .legal-page { padding: 8rem 1.5rem 4rem; }
}
