/* ============================================================
   GmarUp — Premium Landing Page
   Aesthetic: Refined Editorial / Warm Sophistication
   ============================================================ */

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

:root {
    /* Palette — warm, grounded, sophisticated */
    --ink:        #1a1a2e;
    --ink-light:  #2d2d44;
    --ink-muted:  #5a5a72;
    --stone:      #7A6B58;
    --sand:       #b8ad9e;
    --cream:      #faf8f5;
    --cream-dark: #f0ede7;
    --parchment:  #f5f2ec;
    --white:      #ffffff;
    --gold:       #D4AF37;
    --gold-light: #E5C876;
    --gold-dark:  #b8962e;
    --gold-pale:  #faf5e8;
    --wa-green:   #25D366;
    --warm-brown: #7A6B58;
    --error:      #c0392b;
    --success:    #27ae60;

    /* Admin (preserved for admin.css compatibility) */
    --primary: #D4AF37;
    --primary-hover: #b8962e;
    --secondary: #D4AF37;
    --accent: #27ae60;
    --dark-blue: #1a1a2e;
    --primary-gold: #D4AF37;
    --light-gray: #f0ede7;
    --border-color: #e0ddd6;
    --text-light: #7A6B58;
    --gray-50: #faf8f5;
    --gray-100: #f0ede7;
    --gray-200: #e0ddd6;
    --gray-300: #b8ad9e;
    --gray-400: #9a8e7f;
    --gray-500: #7A6B58;
    --gray-600: #5a5a72;
    --gray-700: #2d2d44;
    --gray-800: #1a1a2e;
    --gray-900: #111827;

    /* Type */
    --font-display: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif;
    --font-body:    'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-hebrew:  'Heebo', sans-serif;
    --font-primary: 'Heebo', sans-serif;
    --font-heading: 'Frank Ruhl Libre', serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Shadows — subtle, layered */
    --shadow-sm: 0 1px 2px rgba(26,26,46,.04);
    --shadow:    0 2px 8px rgba(26,26,46,.06);
    --shadow-md: 0 4px 16px rgba(26,26,46,.08);
    --shadow-lg: 0 8px 30px rgba(26,26,46,.10);
    --shadow-xl: 0 16px 48px rgba(26,26,46,.12);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --border-radius: 10px;
    --radius-lg: 14px;
    --border-radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    --transition: all .25s ease;
}

/* ---- Base ---- */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--ink);
    background: var(--cream);
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

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

a {
    color: var(--gold);
    text-decoration: none;
    transition: color .2s;
}
a:hover { color: var(--gold-dark); }

::selection {
    background: var(--gold-light);
    color: var(--ink);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    transition: all .35s ease;
}

.nav--scrolled {
    background: rgba(250,248,245,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,.05);
    padding: var(--space-md) 0;
    box-shadow: 0 1px 12px rgba(26,26,46,.04);
}

.nav__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.nav__logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.02em;
}

.nav__logo-accent {
    color: var(--gold);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__link {
    font-family: var(--font-body);
    font-size: .925rem;
    font-weight: 500;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color .2s;
    position: relative;
}
.nav__link:hover {
    color: var(--ink);
}

.nav__link--cta {
    background: var(--ink);
    color: var(--cream) !important;
    padding: .6rem 1.4rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: all .25s ease;
}
.nav__link--cta:hover {
    background: var(--ink-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all .3s ease;
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---- Compat aliases ---- */
.nav-mobile-toggle { display: none; }
.nav-menu { display: flex; }
.nav-cta { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 var(--space-5xl);
    overflow: hidden;
}

.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(212,175,55,.05) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212,175,55,.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold);
    background: var(--gold-pale);
    padding: .35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: var(--space-xl);
    letter-spacing: -.02em;
}

.hero__title-accent {
    color: var(--gold);
    display: block;
}

.hero__subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--ink-muted);
    margin-bottom: var(--space-2xl);
    max-width: 520px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.hero__wa-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .925rem;
    font-weight: 500;
    color: var(--ink-muted);
    transition: color .2s;
}
.hero__wa-link:hover {
    color: var(--wa-green);
}
.hero__wa-link svg { flex-shrink: 0; }

/* Hero visual — faux product preview */
.hero__visual {
    display: flex;
    justify-content: center;
}

.hero__card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.02);
    position: relative;
}

.hero__card::before {
    content: '';
    position: absolute;
    top: -1px;
    right: var(--space-2xl);
    left: var(--space-2xl);
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold));
    border-radius: 0 0 4px 4px;
}

.hero__card-line {
    width: 40%;
    height: 8px;
    background: var(--cream-dark);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.hero__card-text {
    font-size: .95rem;
    color: var(--stone);
    padding: var(--space-md) var(--space-lg);
    background: var(--cream);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border: 1px solid var(--cream-dark);
}

.hero__card-response {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: .9rem;
    color: var(--ink-muted);
    line-height: 1.6;
    padding: var(--space-md) var(--space-lg);
    background: var(--gold-pale);
    border-radius: var(--radius-md);
    border: 1px solid rgba(212,175,55,.12);
}

.hero__card-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .95rem;
    border: none;
    cursor: pointer;
    transition: all .25s ease;
    border-radius: var(--radius-md);
    line-height: 1;
    text-decoration: none;
}

.btn--primary {
    background: var(--gold);
    color: var(--ink);
    padding: .85rem 2rem;
}
.btn--primary:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212,175,55,.25);
}

.btn--lg {
    padding: 1rem 2.4rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn--sm {
    padding: .55rem 1.3rem;
    font-size: .85rem;
}

.btn--ghost {
    background: transparent;
    color: var(--ink-muted);
    padding: .85rem 2rem;
    border: 1px solid var(--cream-dark);
}
.btn--ghost:hover {
    background: var(--cream);
    color: var(--ink);
}

.btn--wa {
    background: var(--wa-green);
    color: var(--white);
    padding: .75rem 1.5rem;
    border-radius: var(--radius-md);
    width: 100%;
    text-align: center;
}
.btn--wa:hover {
    background: #20b858;
    transform: translateY(-1px);
    color: var(--white);
}

.btn--memorial {
    background: transparent;
    color: var(--gold);
    padding: .75rem 1.8rem;
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-md);
}
.btn--memorial:hover {
    background: var(--gold);
    color: var(--white);
}

.btn--submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

/* Primary large (compat) */
.btn-primary-large { composes: btn btn--primary btn--lg; }

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
    letter-spacing: -.01em;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    padding: var(--space-5xl) 0;
    background: var(--white);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sand), transparent);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.about__desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ink-muted);
    margin-top: var(--space-lg);
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    padding-top: var(--space-sm);
}

.feature {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    padding: var(--space-xl);
    background: var(--cream);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,.04);
    transition: all .3s ease;
}

.feature:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature__icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
}

.feature__title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .3rem;
}

.feature__desc {
    font-size: .9rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits {
    padding: var(--space-5xl) 0;
    background: var(--cream);
}

.benefits__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}
.benefits__header .section-title {
    margin-top: var(--space-sm);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.benefit {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.05);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all .3s ease;
    position: relative;
}

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

.benefit--featured {
    border-color: var(--gold);
    border-width: 1.5px;
}

.benefit--featured::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--gold);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.benefit__number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--sand);
    margin-bottom: var(--space-md);
    line-height: 1;
}

.benefit--featured .benefit__number {
    color: var(--gold);
}

.benefit__title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--space-sm);
}

.benefit__desc {
    font-size: .925rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

/* ============================================================
   MEMORIAL
   ============================================================ */
.memorial {
    padding: var(--space-5xl) 0;
    background: var(--ink);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.memorial::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 0%, rgba(212,175,55,.1) 0%, transparent 70%);
    pointer-events: none;
}

.memorial__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.memorial__image-wrap {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(212,175,55,.35);
    flex-shrink: 0;
}

.memorial__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.memorial__label {
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: var(--space-sm);
}

.memorial__name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: .25rem;
}

.memorial__dates {
    font-size: .9rem;
    color: var(--stone);
    margin-bottom: var(--space-lg);
}

.memorial__quote {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(250,248,245,.7);
    max-width: 520px;
    margin-bottom: var(--space-xl);
}

/* ============================================================
   REGISTRATION
   ============================================================ */
.register {
    padding: var(--space-5xl) 0;
    background: var(--parchment);
    position: relative;
}

.register::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sand), transparent);
}

.register__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: var(--space-3xl);
    align-items: start;
}

.register__form-wrap {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-md);
}

.register__form-header {
    margin-bottom: var(--space-2xl);
}

.register__form-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .4rem;
}

.register__form-subtitle {
    font-size: .95rem;
    color: var(--ink-muted);
}

/* ---- Form elements ---- */
.form-progress {
    margin-bottom: var(--space-xl);
}

.progress-bar {
    height: 4px;
    background: var(--cream-dark);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: .4rem;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--gold);
    border-radius: var(--radius-full);
    transition: width .4s ease;
}

.progress-text {
    font-size: .78rem;
    color: var(--stone);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: .4rem;
}

.form-optional {
    font-weight: 400;
    color: var(--stone);
}

.form-input {
    width: 100%;
    padding: .75rem 1rem;
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--ink);
    background: var(--cream);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-md);
    transition: all .2s;
    outline: none;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: var(--sand);
}

.form-input:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(212,175,55,.08);
}

.form-input.form-success,
.form-input.success {
    border-color: var(--success);
}

.form-input.form-error,
.form-input.error {
    border-color: var(--error);
    background: #fdf6f5;
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b8b9e' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    padding-left: 2.5rem;
    padding-right: 1rem;
}

.field-error {
    font-size: .8rem;
    color: var(--error);
    margin-top: .3rem;
    min-height: 0;
    transition: all .2s;
}
.field-error.show { min-height: 1.2em; }

/* Checkbox */
.form-group--checkbox {
    margin-top: var(--space-md);
    margin-bottom: var(--space-xl);
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--sand);
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all .2s;
    background: var(--white);
}

.checkbox-input:checked + .checkbox-label .checkbox-custom {
    background: var(--gold);
    border-color: var(--gold);
}
.checkbox-input:checked + .checkbox-label .checkbox-custom::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
}

.checkbox-text {
    font-size: .875rem;
    color: var(--ink-muted);
    line-height: 1.5;
}

.checkbox-wrapper.checkbox-error .checkbox-custom {
    border-color: var(--error);
}

/* Trust indicators */
.form__trust {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--cream-dark);
}

.form__trust-item {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    color: var(--stone);
}

.form__trust-item svg { color: var(--gold); }

.form__privacy {
    text-align: center;
    margin-top: var(--space-md);
}

.form__privacy-link {
    font-size: .78rem;
    color: var(--stone);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Sidebar */
.register__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.sidebar-card__icon {
    color: var(--wa-green);
    margin-bottom: var(--space-md);
}

.sidebar-card__title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .3rem;
}

.sidebar-card__desc {
    font-size: .875rem;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.donate-amounts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.donate-btn {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    padding: .65rem;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    transition: all .2s;
}
.donate-btn:hover {
    border-color: var(--gold);
    background: rgba(212,175,55,.06);
    color: var(--gold-dark);
}

.donate-btn--custom {
    grid-column: 1 / -1;
    background: var(--cream);
    color: var(--ink-muted);
}

.custom-donate-row {
    grid-column: 1 / -1;
    display: flex;
    gap: var(--space-sm);
}

.custom-donate-input {
    flex: 1;
    font-family: var(--font-body);
    font-size: .9rem;
    padding: .65rem .8rem;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--ink);
    text-align: center;
    direction: rtl;
}

.custom-donate-input:focus {
    outline: none;
    border-color: var(--gold);
}

.donate-btn--go {
    white-space: nowrap;
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.donate-btn--go:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--cream);
    border-top: 1px solid rgba(0,0,0,.04);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
}

.footer__tagline {
    font-size: .8rem;
    color: var(--stone);
    margin-top: .2rem;
}

.footer__links {
    display: flex;
    gap: var(--space-xl);
}

.footer__links a {
    font-size: .875rem;
    color: var(--ink-muted);
    transition: color .2s;
}
.footer__links a:hover { color: var(--ink); }

.footer__bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(0,0,0,.04);
}

.footer__bottom p {
    font-size: .8rem;
    color: var(--stone);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,26,46,.4);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 440px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    transform: translateY(16px);
    transition: transform .3s ease;
}

.modal.show .modal__content {
    transform: translateY(0);
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.modal__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
}

.modal__close {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--stone);
    cursor: pointer;
    padding: .25rem;
    line-height: 1;
}

.modal__desc {
    font-size: .9rem;
    color: var(--ink-muted);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.donation-amounts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.amount-btn {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    padding: .7rem .5rem;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    transition: all .2s;
}
.amount-btn:hover,
.amount-btn.selected {
    border-color: var(--gold);
    background: var(--gold-pale);
    color: var(--gold-dark);
}

.amount-btn.popular {
    border-color: var(--gold);
    background: rgba(212,175,55,.07);
}

.modal__custom-input {
    margin-bottom: var(--space-lg);
}

.modal__actions {
    display: flex;
    gap: var(--space-sm);
}
.modal__actions .btn {
    flex: 1;
}

.modal__footnote {
    font-size: .78rem;
    color: var(--stone);
    text-align: center;
    margin-top: var(--space-lg);
}

/* ============================================================
   STICKY CTA
   ============================================================ */
.sticky-cta {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 900;
    transform: translateY(100%);
    transition: transform .35s ease;
}

.sticky-cta.show {
    transform: translateY(0);
}

.sticky-cta__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-xl);
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 -4px 20px rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.sticky-cta__text {
    font-size: .9rem;
    color: var(--ink-muted);
}

.sticky-cta__close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--stone);
    cursor: pointer;
    padding: .25rem .5rem;
    margin-right: auto;
}

/* ============================================================
   MESSAGES (success/error toasts)
   ============================================================ */
.success-message,
.error-message {
    position: fixed;
    top: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-size: .9rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: toast-in .3s ease;
    max-width: 90%;
    text-align: center;
}

.success-message {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.error-message {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================================
   PRIVACY / ADMIN MODALS (generated by JS)
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,26,46,.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xl) var(--space-xl) var(--space-md);
    border-bottom: 1px solid var(--cream-dark);
}

.modal-header h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
}

.modal-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--stone);
}

.modal-body {
    padding: var(--space-xl);
    font-size: .9rem;
    line-height: 1.8;
    color: var(--ink-muted);
}

.modal-body h4 {
    font-weight: 600;
    color: var(--ink);
    margin: var(--space-lg) 0 var(--space-sm);
}

.modal-body ul {
    padding-right: var(--space-xl);
    margin-bottom: var(--space-md);
}

.modal-footer {
    padding: var(--space-md) var(--space-xl) var(--space-xl);
}

.modal-footer .btn-primary {
    background: var(--gold);
    color: var(--ink);
    border: none;
    padding: .7rem 1.6rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .9rem;
}

/* Admin panel */
.admin-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,26,46,.55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 92%;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xl);
    border-bottom: 1px solid var(--cream-dark);
}

.admin-header h3 {
    font-weight: 700;
}

.admin-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--stone);
}

.admin-body { padding: var(--space-xl); }
.admin-stats { margin-bottom: var(--space-xl); }
.admin-stats h4 { font-weight: 600; margin-bottom: var(--space-md); }
.admin-stats p { font-size: .85rem; color: var(--ink-muted); margin-bottom: .4rem; }

.admin-actions h4 {
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.admin-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.admin-btn {
    padding: .7rem;
    font-family: var(--font-body);
    font-size: .85rem;
    font-weight: 500;
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all .2s;
}
.admin-btn:hover {
    background: var(--gold-pale);
    border-color: var(--gold);
    color: var(--gold-dark);
}

.admin-info { margin-top: var(--space-xl); }

/* ============================================================
   LOADING / BUTTON STATES
   ============================================================ */
.btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

.btn--submit.loading .btn-text,
.btn-submit.loading .btn-text { display: none; }
.btn--submit.loading .btn-loader,
.btn-submit.loading .btn-loader { display: inline-block; }

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

/* ============================================================
   PAGE LOAD ANIMATION
   ============================================================ */
.hero__content,
.hero__visual {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.hero__visual {
    transition-delay: .15s;
}

.page-loaded .hero__content,
.page-loaded .hero__visual {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   COMPAT — old class names referenced by JS
   ============================================================ */
.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
    background: var(--gold);
    color: var(--ink);
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.btn-submit:hover {
    background: var(--gold-dark);
    color: var(--white);
}

.beta-form { /* compat alias */ }

.security-badges { display: none; }

.donation-modal { /* alias */
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}
.donation-modal.show {
    opacity: 1;
    visibility: visible;
}

.donation-modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 440px;
    width: 90%;
    box-shadow: var(--shadow-xl);
}

.donation-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.donation-modal-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--stone);
    cursor: pointer;
}

.custom-amount-input {
    width: 100%;
    padding: .75rem 1rem;
    font-family: var(--font-body);
    font-size: .95rem;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    outline: none;
}
.custom-amount-input:focus {
    border-color: var(--gold);
}

.modal-actions {
    display: flex;
    gap: var(--space-sm);
}

.modal-actions .btn-primary {
    flex: 1;
    background: var(--gold);
    color: var(--ink);
    border: none;
    padding: .85rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
}

.modal-actions .btn-secondary {
    flex: 1;
    background: transparent;
    border: 1px solid var(--cream-dark);
    padding: .85rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--ink-muted);
    cursor: pointer;
}

/* Donation card compat */
.donation-card {
    border-color: transparent;
    transition: border .3s ease;
}

/* ============================================================
   BUTTON — Outline Variant
   ============================================================ */
.btn--outline {
    background: transparent;
    color: var(--gold);
    padding: .85rem 2rem;
    border: 2px solid var(--gold);
}
.btn--outline:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212,175,55,.25);
}

/* ============================================================
   CHAT DEMO (Hero Visual)
   ============================================================ */
.chat-demo {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.02);
    max-width: 420px;
    width: 100%;
    overflow: hidden;
}

.chat-demo__header {
    background: var(--ink);
    color: var(--cream);
    padding: .75rem var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: .9rem;
    font-weight: 600;
}

.chat-demo__header-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    flex-shrink: 0;
    animation: chat-pulse 2s infinite;
}

@keyframes chat-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(39,174,96,.4); }
    50% { opacity: .8; box-shadow: 0 0 0 4px rgba(39,174,96,0); }
}

.chat-demo__messages {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.chat-demo__message {
    padding: .75rem var(--space-md);
    border-radius: var(--radius-md);
    font-size: .9rem;
    line-height: 1.6;
    max-width: 88%;
}

.chat-demo__message--user {
    align-self: flex-end;
    background: var(--gold-pale);
    border: 1px solid rgba(212,175,55,.12);
    border-radius: var(--radius-md) var(--radius-md) 4px var(--radius-md);
}

.chat-demo__message--ai {
    align-self: flex-start;
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 4px;
}

.chat-demo__typing {
    display: flex;
    gap: 4px;
    padding: .25rem 0;
}

.chat-demo__typing span {
    width: 6px;
    height: 6px;
    background: var(--sand);
    border-radius: 50%;
    animation: typing-bounce 1.4s ease-in-out infinite;
}

.chat-demo__typing span:nth-child(2) {
    animation-delay: .2s;
}

.chat-demo__typing span:nth-child(3) {
    animation-delay: .4s;
}

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: .4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.chat-demo__response-text {
    font-size: .88rem;
    line-height: 1.7;
    color: var(--ink-muted);
}

.chat-demo__sources {
    display: block;
    margin-top: var(--space-sm);
    font-size: .8rem;
    color: var(--gold);
    font-weight: 500;
}

.chat-demo__caption {
    text-align: center;
    font-size: .82rem;
    color: var(--ink-muted);
    padding: var(--space-lg) var(--space-xl) 0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
    padding: var(--space-5xl) 0;
    background: var(--white);
    position: relative;
}

.features__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.features__header .section-title {
    margin-top: var(--space-sm);
}

.features__subtitle {
    color: var(--ink-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin: var(--space-md) auto 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all .3s ease;
}

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

.feature-card__icon {
    margin-bottom: var(--space-md);
    line-height: 1;
    color: var(--gold);
}

.feature-card__icon svg {
    width: 32px;
    height: 32px;
}

.feature-card__title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--space-sm);
}

.feature-card__desc {
    font-size: .9rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
    padding: var(--space-5xl) 0;
    background: var(--cream);
}

.how-it-works__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.how-it-works__header .section-title {
    margin-top: var(--space-sm);
}

.steps {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    align-items: flex-start;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 300px;
    position: relative;
}

/* Connector line between steps */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: -24px;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--sand), var(--gold-light));
    opacity: .5;
}

.step__number {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto var(--space-lg);
    box-shadow: 0 4px 12px rgba(212,175,55,.25);
}

.step__title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--space-sm);
}

.step__desc {
    font-size: .9rem;
    color: var(--ink-muted);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

.how-it-works__cta {
    text-align: center;
    margin-top: var(--space-3xl);
}

/* ============================================================
   TARGET AUDIENCE
   ============================================================ */
.audience {
    padding: var(--space-5xl) 0;
    background: var(--white);
}

.audience__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.audience__header .section-title {
    margin-top: var(--space-sm);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.audience__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.audience-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all .3s ease;
}

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

/* RTL: border-inline-start maps to the right side visually */
.audience-card--beginner {
    border-inline-start: 4px solid var(--success);
}

.audience-card--intermediate {
    border-inline-start: 4px solid var(--gold);
}

.audience-card--advanced {
    border-inline-start: 4px solid var(--error);
}

.audience-card__badge {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    line-height: 1;
}

.audience-card__title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--space-sm);
}

.audience-card__desc {
    font-size: .9rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    padding: var(--space-5xl) 0;
    background: var(--cream);
}

.faq__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.faq__header .section-title {
    margin-top: var(--space-sm);
}

.faq__list {
    max-width: 720px;
    margin: 0 auto;
}

.faq__item {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: all .3s ease;
}

.faq__item:hover {
    box-shadow: var(--shadow);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: right;
    gap: var(--space-md);
    transition: color .2s;
}

.faq__question:hover {
    color: var(--gold-dark);
}

.faq__icon {
    flex-shrink: 0;
    transition: transform .3s ease;
    color: var(--ink-muted);
}

.faq__item--open .faq__icon {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding: 0 var(--space-xl);
}

.faq__item--open .faq__answer {
    max-height: 300px;
    padding: 0 var(--space-xl) var(--space-lg);
}

.faq__answer p {
    font-size: .925rem;
    color: var(--ink-muted);
    line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    padding: var(--space-5xl) 0;
    background: var(--ink);
    color: var(--cream);
}

.contact__inner {
    text-align: center;
}

.contact__inner .section-title {
    color: var(--cream);
    margin-bottom: var(--space-2xl);
}

.contact__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* Override btn--wa width inside contact (not full-width here) */
.contact__buttons .btn--wa {
    width: auto;
}

/* Outline button in dark (contact) section */
.contact__buttons .btn--outline {
    color: var(--cream);
    border-color: var(--cream);
}
.contact__buttons .btn--outline:hover {
    background: var(--cream);
    color: var(--ink);
    border-color: var(--cream);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
    padding: var(--space-5xl) 0;
    background: var(--parchment);
}

.final-cta__inner {
    text-align: center;
}

.final-cta__inner .section-title {
    margin-bottom: var(--space-md);
}

.final-cta__subtitle {
    font-size: 1.05rem;
    color: var(--ink-muted);
    margin-bottom: var(--space-2xl);
}

.final-cta__stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.1;
}

.stat__label {
    display: block;
    font-size: .85rem;
    color: var(--ink-muted);
    margin-top: var(--space-xs);
}

/* ============================================================
   FORM SECURITY NOTE
   ============================================================ */
.form__security-note {
    text-align: center;
    font-size: .85rem;
    color: var(--stone);
    margin-top: var(--space-md);
}

/* ============================================================
   SCROLL ANIMATION SUPPORT (fade-in-up targets)
   ============================================================ */
.feature-card,
.step,
.audience-card,
.faq__item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.feature-card.visible,
.step.visible,
.audience-card.visible,
.faq__item.visible {
    opacity: 1;
    transform: translateY(0);
}
