/* ==========================================================================
   mailanonim.ro — dedicated design layer
   Loaded AFTER style.css so it overrides the base theme. Identity: privacy /
   anonymity — deep slate + teal accent, rounded cards, calm typography.
   ========================================================================== */

/* Higher-than-:root specificity (:root:root:root) so these win even over a
   later inline custom_css block. Teal/emerald identity — clearly NOT the
   quickmails.eu blue. */
:root,
:root:root:root {
    --ma-accent: #0d9488;
    --ma-accent-2: #10b981;
    --ma-ink: #0f172a;
    --ma-ink-2: #1e293b;
    --ma-muted: #64748b;
    --ma-surface: #ffffff;
    --ma-surface-2: #f1f5f9;
    --ma-border: #e2e8f0;
    --ma-radius: 18px;
    --ma-shadow: 0 10px 30px rgba(15, 23, 42, .08);

    /* Override ALL base theme colour tokens (they're used via var() everywhere,
       including the blue CTA bar = --secondary_color and the hero gradient). */
    --primary_color: #0d9488;
    --primary_opacity: #0f766e;
    --secondary_color: #10b981;
    --secondary_text_color: #ffffff;
    --primary_gradient: radial-gradient(circle, #0d9488 0%, #0f766e 45%, #115e59 100%);
}

/* --- Hero: deeper, privacy-forward gradient ------------------------------ */
.header {
    background: radial-gradient(1200px 600px at 50% -10%, #134e4a 0%, #0f172a 55%, #0b1220 100%) !important;
}

.header-title {
    letter-spacing: -.02em;
}

/* Accent the copy / primary buttons */
.btn-secondary,
.mail-action.btn-light:hover {
    background: var(--ma-accent) !important;
    border-color: var(--ma-accent) !important;
    color: #fff !important;
}

/* --- Shared section scaffolding ----------------------------------------- */
.section {
    padding: 64px 0;
}

.site-section-title {
    text-align: center;
    font-weight: 800;
    font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem);
    letter-spacing: -.02em;
    color: var(--ma-ink);
    margin-bottom: 2.5rem;
}

/* --- Intro / long-form prose -------------------------------------------- */
.site-prose {
    max-width: 820px;
    margin: 0 auto;
    color: var(--ma-ink-2);
    line-height: 1.75;
    font-size: 1.02rem;
}

.site-prose h2,
.site-prose h3 {
    color: var(--ma-ink);
    font-weight: 700;
    margin: 1.6em 0 .6em;
}

.site-intro .section-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    color: var(--ma-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- Feature cards ------------------------------------------------------- */
.site-features {
    background: var(--ma-surface-2);
}

.site-feature-card,
.site-step-card {
    background: var(--ma-surface);
    border: 1px solid var(--ma-border);
    border-radius: var(--ma-radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--ma-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.site-feature-card:hover,
.site-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
}

.site-feature-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(135deg, var(--ma-accent), var(--ma-accent-2));
    margin-bottom: 1.1rem;
}

.site-feature-title,
.site-step-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ma-ink);
    margin-bottom: .5rem;
}

.site-feature-text,
.site-step-text {
    color: var(--ma-muted);
    line-height: 1.6;
    margin: 0;
}

/* --- Steps: numbered ----------------------------------------------------- */
.site-step-num {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 800;
    color: var(--ma-accent);
    background: rgba(16, 185, 129, .12);
    margin-bottom: 1rem;
}

/* --- FAQ accordion ------------------------------------------------------- */
.site-faq {
    background: var(--ma-surface-2);
}

.site-accordion {
    max-width: 820px;
    margin: 0 auto;
}

.site-accordion .accordion-item {
    border: 1px solid var(--ma-border);
    border-radius: 14px !important;
    margin-bottom: .75rem;
    overflow: hidden;
    background: var(--ma-surface);
}

.site-accordion .accordion-button {
    font-weight: 600;
    color: var(--ma-ink);
    background: var(--ma-surface);
}

.site-accordion .accordion-button:not(.collapsed) {
    color: var(--ma-accent);
    background: rgba(16, 185, 129, .06);
    box-shadow: none;
}

.site-accordion .accordion-button:focus {
    box-shadow: 0 0 0 .2rem rgba(16, 185, 129, .2);
}

.site-accordion .accordion-body {
    color: var(--ma-muted);
    line-height: 1.7;
}

@media (max-width: 767px) {
    .section {
        padding: 44px 0;
    }
}
