/* =========================================================
   CouponsArena – About page (about.css)
   ========================================================= */
:root {
    --brand-primary: #7e22ce;
    --brand-primary-dark: #4c1d95;
    --brand-primary-light: #a855f7;
    --brand-accent: #ec4899;
    --brand-deep-purple: #3b0764;

    --bg-body: #f9fafb;
    --bg-surface: #ffffff;
    --bg-dark: #0a0a0a;
    --bg-dark-accent: #1a0b2e;

    --text-main: #111827;
    --text-body: #4b5563;
    --text-muted: #9ca3af;
    --text-light: #ffffff;
    --text-light-muted: #d1d5db;

    --border-light: #e5e7eb;
    --border-dark: #2d2d2d;

    --gradient-brand: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
    --gradient-dark-bg: linear-gradient(180deg, #0a0a0a 0%, #3b0764 100%);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-brand: 0 4px 14px 0 rgba(126, 34, 206, 0.3);

    --radius: 20px;
    --radius-sm: 12px;
}

.about-page { background: var(--bg-body); color: var(--text-body); }

/* ---------- Hero ---------- */
.about-hero {
    position: relative; overflow: hidden;
    padding: 3.5rem 0 7.5rem;
    text-align: center; color: #fff;
    background:
        radial-gradient(60% 80% at 85% 0%, rgba(236,72,153,.28) 0%, transparent 60%),
        radial-gradient(50% 70% at 10% 100%, rgba(168,85,247,.35) 0%, transparent 60%),
        var(--gradient-dark-bg);
}
.about-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.about-hero .container { position: relative; z-index: 2; }

.about-breadcrumb { display: flex; justify-content: center; margin-bottom: 1.6rem; }
.about-breadcrumb .breadcrumb {
    display: inline-flex; margin: 0; padding: .5rem 1.2rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px; backdrop-filter: blur(10px); font-size: .88rem;
}
.about-breadcrumb .breadcrumb-item a { color: var(--text-light-muted); text-decoration: none; font-weight: 600; }
.about-breadcrumb .breadcrumb-item a:hover { color: #fff; }
.about-breadcrumb .breadcrumb-item.active { color: #fff; font-weight: 600; }
.about-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.45); }

.about-hero .hero-icon {
    width: 68px; height: 68px; margin: 0 auto 1.2rem;
    display: grid; place-items: center; font-size: 1.6rem; color: #fff;
    background: var(--gradient-brand); border-radius: 20px;
    box-shadow: var(--shadow-brand), 0 0 40px rgba(236,72,153,.35);
}
.about-hero h1 {
    max-width: 860px; margin: 0 auto;
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    font-weight: 800; letter-spacing: -.03em; line-height: 1.18; color: #fff;
}

/* ---------- Intro card (overlaps hero) ---------- */
.about-intro { position: relative; z-index: 3; margin-top: -4.5rem; }
.intro-card {
    padding: 2.4rem 2.6rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    box-shadow: var(--shadow-lg), 0 30px 60px rgba(59, 7, 100, .15);
    position: relative; overflow: hidden;
}
.intro-card::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px;
    background: var(--gradient-brand);
}
.intro-card p { margin: 0; font-size: 1.12rem; line-height: 1.85; color: var(--text-body); }

/* ---------- Sections ---------- */
.about-section { padding: 4.5rem 0 0; }
.section-head { margin-bottom: 2.2rem; text-align: center; }
.section-head .eyebrow {
    display: inline-block; margin-bottom: .5rem;
    color: var(--brand-accent); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.section-head h2 {
    margin: 0 0 .7rem; color: var(--text-main);
    font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; letter-spacing: -.02em;
}
.section-head h2::after {
    content: ''; display: block; width: 56px; height: 4px; margin: .7rem auto 0;
    border-radius: 4px; background: var(--gradient-brand);
}
.section-head p { max-width: 720px; margin: .9rem auto 0; color: var(--text-body); line-height: 1.8; }

/* Vision (dark) */
.vision-card {
    position: relative; overflow: hidden;
    padding: 3rem 2.8rem;
    color: #fff;
    background:
        radial-gradient(50% 90% at 100% 0%, rgba(236,72,153,.35) 0%, transparent 60%),
        radial-gradient(40% 80% at 0% 100%, rgba(168,85,247,.3) 0%, transparent 60%),
        var(--bg-dark-accent);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}
.vision-card .v-icon {
    width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 1.2rem;
    font-size: 1.5rem; background: var(--gradient-brand); border-radius: 18px; box-shadow: var(--shadow-brand);
}
.vision-card h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 1rem; color: #fff; }
.vision-card p { margin: 0; max-width: 860px; color: var(--text-light-muted); font-size: 1.05rem; line-height: 1.85; }

/* Feature cards */
.feature-card {
    position: relative; height: 100%;
    padding: 1.8rem 1.6rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--brand-primary-light); box-shadow: var(--shadow-lg), var(--shadow-brand); }
.feature-card .f-num {
    position: absolute; top: 1rem; right: 1.3rem;
    font-size: 2.4rem; font-weight: 800; line-height: 1; color: rgba(126,34,206,.09);
}
.feature-card .f-icon {
    width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 1.1rem;
    font-size: 1.3rem; color: var(--brand-primary);
    background: rgba(126,34,206,.09); border-radius: 16px;
    transition: all .3s ease;
}
.feature-card:hover .f-icon { color: #fff; background: var(--gradient-brand); box-shadow: var(--shadow-brand); }
.feature-card h3 { margin: 0 0 .55rem; color: var(--text-main); font-size: 1.1rem; font-weight: 700; }
.feature-card p { margin: 0; color: var(--text-body); font-size: .94rem; line-height: 1.7; }

/* Why (check list cards) */
.why-card {
    display: flex; gap: 1rem; align-items: flex-start; height: 100%;
    padding: 1.4rem 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-primary-light); }
.why-card .w-icon {
    flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center;
    color: #fff; font-size: 1.1rem; background: var(--gradient-brand);
    border-radius: 14px; box-shadow: var(--shadow-brand);
}
.why-card h3 { margin: .1rem 0 .35rem; color: var(--text-main); font-size: 1.05rem; font-weight: 700; }
.why-card p { margin: 0; color: var(--text-body); font-size: .93rem; line-height: 1.65; }

/* Extra text blocks (only render when translated) */
.text-block {
    padding: 2.2rem 2.4rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.text-block h2 { margin: 0 0 .9rem; color: var(--text-main); font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; }
.text-block p { color: var(--text-body); line-height: 1.85; }
.text-block p:last-child { margin-bottom: 0; }

.about-page .about-end { padding-bottom: 5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .about-hero { padding: 2.5rem 0 6.5rem; }
    .about-intro { margin-top: -4rem; }
    .intro-card { padding: 1.7rem 1.4rem; }
    .intro-card p { font-size: 1rem; }
    .vision-card { padding: 2rem 1.5rem; border-radius: 22px; }
    .about-section { padding-top: 3.2rem; }
    .text-block { padding: 1.6rem 1.3rem; }
}

/* ---------- Motion ---------- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.intro-card, .feature-card, .why-card { animation: fadeInUp .6s ease both; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }