/* =====================================================
   Mwsool LDMS — Marketing CSS (Light theme)
   Visual identity: cream/parchment base + emerald + warm gold
   Inspired by Arabic legal manuscripts (not generic SaaS).
   ===================================================== */

:root {
    --cream: #fdfaf3;
    --cream-deep: #f4ecdc;
    --sand: #f8f1e1;
    --paper: #ffffff;
    --emerald: #0d4a3e;
    --emerald-soft: #1d6b59;
    --emerald-tint: #e8f0ed;
    --gold: #b8941d;
    --gold-bright: #d4af37;
    --gold-soft: #f5e9c4;
    --gold-tint: #fbf4dd;
    --ink: #1a2332;
    --ink-soft: #2d3748;
    --muted: #6b7488;
    --muted-light: #9aa1b3;
    --border: rgba(184,148,29,0.18);
    --shadow-sm: 0 2px 8px rgba(26,35,50,0.04);
    --shadow-md: 0 8px 24px rgba(26,35,50,0.08);
    --shadow-lg: 0 20px 50px rgba(26,35,50,0.10);
    --shadow-gold: 0 10px 30px rgba(184,148,29,0.20);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    overflow-x: hidden;
}
h1, h2, h3, h4 {
    font-family: 'IBM Plex Sans Arabic', 'Cairo', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }

/* ============ Top bar ============ */
.topbar {
    position: fixed; top: 0; right: 0; left: 0; z-index: 100;
    background: rgba(253, 250, 243, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.topbar::after {
    content: ''; position: absolute; bottom: -1px; right: 0; left: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
    opacity: 0.6;
}
.topbar-inner {
    max-width: 1240px; margin: 0 auto; padding: 16px 28px;
    display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 40px; height: 40px; border-radius: 10px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-soft) 100%);
    display: grid; place-items: center;
    color: var(--gold-bright); font-weight: 800; font-size: 19px;
    box-shadow: 0 4px 14px rgba(13,74,62,0.25);
    border: 1px solid rgba(184,148,29,0.4);
}
.brand-name { font-family: 'IBM Plex Sans Arabic'; font-weight: 700; font-size: 22px; letter-spacing: -0.5px; color: var(--ink); }
.brand-tag { color: var(--gold); font-size: 12px; margin-right: 6px; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    color: var(--ink-soft); padding: 8px 14px; border-radius: 8px;
    font-weight: 500; font-size: 15px; transition: all 0.2s;
}
.nav-links a:hover { background: var(--gold-tint); color: var(--emerald); }
.nav-links .btn-login {
    background: var(--emerald); color: #fff;
    margin-right: 8px; padding: 9px 20px;
    border: 1px solid var(--emerald);
}
.nav-links .btn-login:hover {
    background: var(--emerald-soft); color: var(--gold-soft);
    border-color: var(--emerald-soft);
}

/* ============ Page alerts ============ */
.page-alert {
    position: fixed; top: 90px; left: 50%; transform: translateX(-50%);
    z-index: 90; padding: 12px 24px; border-radius: 12px;
    font-weight: 600; font-size: 14px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: var(--shadow-md);
    max-width: 90%;
}
.page-alert-success { background: var(--emerald-tint); color: var(--emerald); border: 1px solid rgba(13,74,62,0.2); }
.page-alert-error { background: #fdecec; color: #842029; border: 1px solid #f5c2c7; }

/* ============ Hero ============ */
.hero {
    position: relative; min-height: 100vh; padding: 140px 28px 80px;
    background:
        radial-gradient(ellipse at 20% 0%, var(--gold-tint), transparent 50%),
        radial-gradient(ellipse at 80% 100%, var(--emerald-tint), transparent 50%),
        var(--cream);
    display: flex; align-items: center;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path fill='none' stroke='%23b8941d' stroke-width='0.7' stroke-opacity='0.13' d='M40 4l8 22 23 2-17 16 5 23-19-12-19 12 5-23-17-16 23-2z'/><circle cx='40' cy='40' r='2' fill='%23b8941d' fill-opacity='0.12'/></svg>");
    background-size: 110px 110px; opacity: 0.85;
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; bottom: 0; right: 0; left: 0; height: 80px;
    background: linear-gradient(to bottom, transparent, var(--paper));
    pointer-events: none;
}
.hero-grid {
    position: relative; z-index: 2;
    max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
    width: 100%;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gold-tint); border: 1px solid var(--gold-soft);
    color: var(--gold); padding: 8px 16px; border-radius: 100px;
    font-size: 13px; font-weight: 600; margin-bottom: 28px;
}
.hero-eyebrow i { color: var(--gold-bright); }
.hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    margin-bottom: 28px; letter-spacing: -1px;
    color: var(--ink);
}
.hero h1 .gold { color: var(--gold); }
.hero h1 .emerald { color: var(--emerald); }
.hero h1 .underline {
    position: relative; display: inline-block;
}
.hero h1 .underline::after {
    content: ''; position: absolute; bottom: 8px; right: 0; left: 0;
    height: 14px; background: var(--gold-bright); opacity: 0.25; z-index: -1;
    border-radius: 4px;
}
.hero p.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: var(--muted); margin-bottom: 40px; max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.btn-primary, .btn-ghost, .btn-emerald, .btn-outline {
    padding: 16px 32px; border-radius: 12px; font-weight: 600; font-size: 16px;
    display: inline-flex; align-items: center; gap: 10px;
    transition: all 0.25s; border: 1px solid transparent; cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-soft) 100%);
    color: #fff;
    box-shadow: 0 12px 30px rgba(13,74,62,0.30);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(13,74,62,0.40); }
.btn-primary i { transition: transform 0.25s; }
.btn-primary:hover i { transform: translateX(-4px); }
.btn-ghost, .btn-outline {
    background: var(--paper); color: var(--ink-soft);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.btn-ghost:hover, .btn-outline:hover {
    background: var(--gold-tint); border-color: var(--gold);
    color: var(--emerald);
}
.btn-emerald {
    background: linear-gradient(135deg, var(--gold) 0%, #966f0f 100%);
    color: #fff;
    box-shadow: var(--shadow-gold);
}
.btn-emerald:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(184,148,29,0.35); }
.btn-emerald i { transition: transform 0.25s; }
.btn-emerald:hover i { transform: translateX(-4px); }

.hero-trust {
    display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { color: var(--emerald); }

.hero-art {
    position: relative;
    aspect-ratio: 1; max-width: 480px; margin-right: auto;
}
.hero-art-bg {
    position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(212,175,55,0.18), transparent 60%);
    filter: blur(40px);
}

/* ============ Stats (white surface) ============ */
.stats {
    background: var(--paper);
    position: relative;
    padding: 80px 28px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    position: relative;
    max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat-card {
    text-align: center;
    padding: 20px 16px;
    position: relative;
}
.stat-card:not(:last-child)::after {
    content: ''; position: absolute; top: 20%; left: -16px; bottom: 20%; width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold-soft), transparent);
}
.stat-icon {
    width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-soft) 100%);
    color: var(--gold-bright); display: grid; place-items: center; font-size: 22px;
    box-shadow: 0 10px 22px rgba(13,74,62,0.20);
}
.stat-num {
    font-size: 2.4rem; font-weight: 800; color: var(--ink);
    font-family: 'IBM Plex Sans Arabic'; letter-spacing: -1px;
}
.stat-num .gold { color: var(--gold); }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ============ Section heads ============ */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--emerald); font-weight: 700; font-size: 13px;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 16px;
}
.section-eyebrow::before, .section-eyebrow::after {
    content: ''; width: 30px; height: 1px; background: var(--gold);
}
.section-head h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem); color: var(--ink);
    margin-bottom: 16px; letter-spacing: -0.5px;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* ============ Page header (inner pages) ============ */
.page-header {
    position: relative; padding: 160px 28px 80px;
    background:
        radial-gradient(ellipse at 30% 30%, var(--gold-tint), transparent 60%),
        radial-gradient(ellipse at 70% 70%, var(--emerald-tint), transparent 60%),
        var(--cream);
    overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path fill='none' stroke='%23b8941d' stroke-width='0.6' stroke-opacity='0.12' d='M40 4l8 22 23 2-17 16 5 23-19-12-19 12 5-23-17-16 23-2z'/></svg>");
    background-size: 110px 110px; opacity: 0.85; pointer-events: none;
}
.page-header-inner { position: relative; max-width: 1240px; margin: 0 auto; text-align: center; }
.page-header h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 14px;
    letter-spacing: -0.8px; color: var(--ink);
}
.page-header h1 .gold { color: var(--gold); }
.page-header h1 .emerald { color: var(--emerald); }
.page-header p { color: var(--muted); font-size: 17px; max-width: 700px; margin: 0 auto; }

/* ============ Features (sand surface with gold pattern) ============ */
.features {
    position: relative;
    padding: 110px 28px;
    background: var(--sand);
    overflow: hidden;
}
.features::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><path fill='none' stroke='%23b8941d' stroke-width='0.5' stroke-opacity='0.10' d='M50 5L65 25 90 30L75 50L90 70L65 75L50 95L35 75L10 70L25 50L10 30L35 25z'/></svg>");
    background-size: 130px 130px;
    pointer-events: none;
}
.features-inner { position: relative; max-width: 1240px; margin: 0 auto; }
.features-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.feature-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 32px;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.feature-card::before {
    content: ''; position: absolute; top: 0; right: 0; width: 80px; height: 80px;
    background: radial-gradient(circle at top right, rgba(184,148,29,0.15), transparent 70%);
    pointer-events: none;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    width: 56px; height: 56px; border-radius: 14px; margin-bottom: 22px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-soft) 100%);
    color: var(--gold-bright); display: grid; place-items: center; font-size: 22px;
    box-shadow: 0 8px 20px rgba(13,74,62,0.20);
}
.feature-card h3 { font-size: 1.35rem; margin-bottom: 12px; color: var(--ink); }
.feature-card p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.feature-card ul { margin-top: 18px; padding-right: 0; list-style: none; }
.feature-card ul li {
    color: var(--ink-soft); font-size: 14px; padding: 4px 0;
    display: flex; align-items: center; gap: 10px;
}
.feature-card ul li::before {
    content: '✓'; color: var(--emerald); font-weight: 700; flex-shrink: 0;
}

/* ============ How it works (white surface) ============ */
.how {
    position: relative;
    padding: 110px 28px;
    background: var(--paper);
}
.how::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(184,148,29,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184,148,29,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    pointer-events: none;
}
.how-inner { position: relative; max-width: 1240px; margin: 0 auto; }
.steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
    position: relative;
}
.step {
    background: var(--cream);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
    background: var(--paper);
}
.step-num {
    position: absolute; top: -20px; right: 30px;
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, var(--gold) 0%, #966f0f 100%);
    color: #fff; display: grid; place-items: center;
    font-family: 'IBM Plex Sans Arabic'; font-weight: 800; font-size: 22px;
    box-shadow: var(--shadow-gold);
    border: 3px solid var(--paper);
}
.step h3 { margin: 16px 0 12px; color: var(--ink); font-size: 1.3rem; }
.step p { color: var(--muted); font-size: 15px; }
.step-icon { color: var(--emerald); font-size: 32px; margin-bottom: 8px; }

/* ============ Pricing teaser (on home) — light cream version ============ */
.pricing {
    position: relative;
    padding: 110px 28px;
    background: var(--cream);
    overflow: hidden;
}
.pricing::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><path fill='none' stroke='%23b8941d' stroke-width='0.5' stroke-opacity='0.10' d='M30 5l6 16 17 1-13 11 4 17-14-9-14 9 4-17-13-11 17-1z'/></svg>");
    background-size: 90px 90px; pointer-events: none;
}
.pricing-inner { position: relative; max-width: 1240px; margin: 0 auto; }
.plan-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;
}
.plan {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 18px; padding: 30px 24px;
    transition: all 0.3s;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.plan.featured {
    background: linear-gradient(180deg, var(--paper) 0%, var(--gold-tint) 100%);
    border: 2px solid var(--gold);
    transform: scale(1.04);
    box-shadow: var(--shadow-gold);
}
.plan.featured::before {
    content: 'الأكثر طلباً'; position: absolute; top: -12px; right: 24px;
    background: linear-gradient(135deg, var(--gold) 0%, #966f0f 100%);
    color: #fff;
    font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 100px;
    box-shadow: var(--shadow-gold);
}
.plan:hover:not(.featured) {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}
.plan-name { font-size: 1.05rem; font-weight: 700; color: var(--emerald); margin-bottom: 10px; }
.plan-price { font-size: 2.2rem; font-weight: 800; color: var(--ink); font-family: 'IBM Plex Sans Arabic'; }
.plan-price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-right: 4px; }
.plan-desc { color: var(--muted); font-size: 13px; margin: 8px 0 18px; min-height: 38px; }
.plan-btn {
    display: block; text-align: center; padding: 11px 16px; border-radius: 10px;
    background: var(--emerald); color: #fff;
    border: 1px solid var(--emerald); font-weight: 600; font-size: 14px;
    transition: all 0.2s;
}
.plan.featured .plan-btn {
    background: linear-gradient(135deg, var(--gold) 0%, #966f0f 100%);
    color: #fff; border: 0;
}
.plan-btn:hover {
    background: var(--emerald-soft);
    border-color: var(--emerald-soft);
}
.plan.featured .plan-btn:hover {
    filter: brightness(1.08);
}
.pricing-cta { text-align: center; margin-top: 50px; }
.pricing-cta a {
    color: var(--emerald);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px; font-weight: 600;
}

/* ============ Pricing page (light variant for /pricing) ============ */
.pricing-page-wrap {
    background: var(--cream);
    padding: 80px 28px 100px;
    position: relative;
}
.pricing-page-wrap::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path fill='none' stroke='%23b8941d' stroke-width='0.4' stroke-opacity='0.08' d='M40 4l8 22 23 2-17 16 5 23-19-12-19 12 5-23-17-16 23-2z'/></svg>");
    background-size: 100px 100px; pointer-events: none;
}
.pricing-page-grid {
    position: relative;
    max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px;
}
.plan-light {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
}
.plan-light:hover:not(.plan-featured) {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}
.plan-light.plan-featured {
    border: 2px solid var(--gold);
    transform: scale(1.03);
    box-shadow: var(--shadow-gold);
    background: linear-gradient(180deg, var(--paper) 0%, var(--gold-tint) 100%);
}
.plan-light.plan-featured::before {
    content: '★ الأكثر اختياراً';
    position: absolute; top: -14px; right: 28px;
    background: linear-gradient(135deg, var(--gold) 0%, #966f0f 100%);
    color: #fff;
    font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 100px;
    box-shadow: var(--shadow-gold);
}
.plan-light .plan-name-light {
    font-size: 1.05rem; font-weight: 700; color: var(--emerald);
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 14px;
}
.plan-light .plan-price-light {
    font-size: 2.6rem; font-weight: 800;
    color: var(--ink);
    font-family: 'IBM Plex Sans Arabic'; letter-spacing: -1.5px;
}
.plan-light .plan-price-light small {
    font-size: 0.85rem; font-weight: 500; color: var(--muted);
}
.plan-light .plan-yearly { font-size: 13px; color: var(--muted); margin-top: 4px; }
.plan-light .plan-desc-light {
    color: var(--muted); font-size: 14px;
    margin: 18px 0; min-height: 40px;
}
.plan-light ul.plan-features {
    list-style: none; padding: 0; margin: 0 0 28px;
    flex-grow: 1;
}
.plan-light ul.plan-features li {
    padding: 8px 0;
    font-size: 14px; color: var(--ink);
    display: flex; align-items: flex-start; gap: 10px;
    border-bottom: 1px dashed rgba(184,148,29,0.18);
}
.plan-light ul.plan-features li:last-child { border-bottom: 0; }
.plan-light ul.plan-features li i {
    color: var(--emerald); margin-top: 4px; flex-shrink: 0;
}
.plan-light ul.plan-features li.dim {
    color: var(--muted-light); text-decoration: line-through;
}
.plan-light ul.plan-features li.dim i { color: var(--muted-light); }
.plan-btn-light {
    display: block; text-align: center;
    padding: 14px 16px; border-radius: 12px;
    background: var(--emerald); color: #fff;
    font-weight: 600; font-size: 15px;
    transition: all 0.2s;
    border: 1px solid var(--emerald);
}
.plan-light.plan-featured .plan-btn-light {
    background: linear-gradient(135deg, var(--gold) 0%, #966f0f 100%);
    color: #fff; border: 0;
    box-shadow: var(--shadow-gold);
}
.plan-btn-light:hover {
    background: var(--emerald-soft); border-color: var(--emerald-soft);
    transform: translateY(-2px);
}
.plan-light.plan-featured .plan-btn-light:hover { filter: brightness(1.08); }
.plan-btn-disabled {
    background: #e5e5e5; color: #999; border-color: #e5e5e5; cursor: not-allowed;
}
.pricing-faq { max-width: 800px; margin: 80px auto 0; }
.pricing-faq h3 { color: var(--ink); margin-bottom: 24px; text-align: center; font-size: 1.6rem; }
.faq-item {
    background: var(--paper); border-radius: 14px; padding: 22px 26px;
    margin-bottom: 14px; border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    font-weight: 600; color: var(--ink); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; font-size: 24px; color: var(--gold); transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); margin-top: 14px; font-size: 15px; line-height: 1.85; }

/* ============ Final CTA ============ */
.cta-final {
    position: relative;
    padding: 100px 28px;
    background:
        radial-gradient(circle at 20% 50%, var(--gold-tint), transparent 50%),
        radial-gradient(circle at 80% 50%, var(--emerald-tint), transparent 50%),
        var(--sand);
    text-align: center;
    overflow: hidden;
}
.cta-final::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'><path fill='none' stroke='%230d4a3e' stroke-width='0.5' stroke-opacity='0.08' d='M45 5l11 22 24 3-17 17 4 24-22-11-22 11 4-24-17-17 24-3z'/></svg>");
    background-size: 100px 100px; pointer-events: none;
}
.cta-final-inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-final h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem); color: var(--ink);
    margin-bottom: 18px; letter-spacing: -0.5px;
}
.cta-final p { color: var(--muted); font-size: 17px; margin-bottom: 32px; }

/* ============ Content pages (About/Contact) ============ */
.content-wrap {
    background: var(--cream); padding: 80px 28px 100px;
    position: relative;
}
.content-wrap::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path fill='none' stroke='%23b8941d' stroke-width='0.4' stroke-opacity='0.08' d='M40 4l8 22 23 2-17 16 5 23-19-12-19 12 5-23-17-16 23-2z'/></svg>");
    background-size: 110px 110px; pointer-events: none;
}
.content-inner { position: relative; max-width: 880px; margin: 0 auto; }
.content-card {
    background: var(--paper); border-radius: 20px; padding: 50px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.content-card h2 {
    color: var(--ink); margin-bottom: 16px; font-size: 1.6rem;
    border-right: 4px solid var(--gold); padding-right: 14px;
}
.content-card p { color: var(--ink-soft); font-size: 16px; line-height: 1.9; margin-bottom: 18px; }
.content-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.content-card ul li {
    padding: 8px 0; padding-right: 28px;
    position: relative; color: var(--ink); font-size: 15px;
}
.content-card ul li::before {
    content: '◆'; position: absolute; right: 0; color: var(--gold); font-size: 12px;
}
.content-section { margin-bottom: 36px; }

/* ============ Contact form ============ */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px;
    margin-top: 20px;
}
.contact-info {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-soft) 100%);
    color: #fff;
    border-radius: 20px; padding: 40px 32px;
    position: relative; overflow: hidden;
    box-shadow: var(--shadow-md);
}
.contact-info::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path fill='none' stroke='%23d4af37' stroke-width='0.6' stroke-opacity='0.20' d='M40 4l8 22 23 2-17 16 5 23-19-12-19 12 5-23-17-16 23-2z'/></svg>");
    background-size: 110px 110px; pointer-events: none;
}
.contact-info-inner { position: relative; z-index: 1; }
.contact-info h3 { color: var(--gold-bright); font-size: 1.3rem; margin-bottom: 22px; }
.contact-info p { color: rgba(255,255,255,0.85); font-size: 14px; margin-bottom: 26px; line-height: 1.8; }
.contact-info .info-item { display: flex; gap: 14px; margin-bottom: 18px; font-size: 14px; }
.contact-info .info-item i {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(212,175,55,0.18); color: var(--gold-bright);
    display: grid; place-items: center; flex-shrink: 0;
    border: 1px solid rgba(212,175,55,0.35);
}
.contact-form {
    background: var(--paper); border-radius: 20px; padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
    display: block; font-weight: 600; color: var(--ink);
    font-size: 14px; margin-bottom: 8px;
}
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px 16px; border-radius: 10px;
    border: 1px solid var(--border); background: var(--cream);
    font-family: inherit; font-size: 15px; color: var(--ink);
    transition: all 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: 0; border-color: var(--gold);
    background: var(--paper); box-shadow: 0 0 0 3px rgba(184,148,29,0.15);
}
.contact-form textarea { min-height: 130px; resize: vertical; }

/* ============ Footer (warm sand, not dark) ============ */
.footer-main {
    background: var(--sand);
    color: var(--ink-soft);
    padding: 70px 28px 30px;
    position: relative;
    border-top: 1px solid var(--border);
}
.footer-main::before {
    content: ''; position: absolute; top: -1px; right: 0; left: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-cols {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
    margin-bottom: 50px;
}
.footer-col h4 {
    color: var(--ink); font-size: 13px;
    text-transform: uppercase; letter-spacing: 1.8px;
    margin-bottom: 18px; font-weight: 700;
    position: relative; padding-right: 14px;
}
.footer-col h4::before {
    content: ''; position: absolute; right: 0; top: 5px; width: 4px; height: 14px;
    background: var(--gold); border-radius: 2px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.footer-col ul li a:hover { color: var(--emerald); }
.footer-col p { font-size: 14px; line-height: 1.8; color: var(--muted); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    font-size: 13px; flex-wrap: wrap; color: var(--muted);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--paper); display: grid; place-items: center;
    border: 1px solid var(--border); transition: all 0.2s;
    color: var(--ink-soft);
}
.footer-social a:hover {
    background: var(--emerald); color: var(--gold-bright);
    border-color: var(--emerald);
    transform: translateY(-2px);
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { max-width: 380px; margin: 30px auto 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card:not(:last-child)::after { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .nav-links a:not(.btn-login) { display: none; }
}
@media (max-width: 580px) {
    .hero { padding: 110px 20px 60px; }
    .stats-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-cols { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn-primary, .hero-cta .btn-ghost { width: 100%; justify-content: center; }
    .content-card { padding: 30px 22px; }
    .contact-form { padding: 28px 22px; }
}
