/* ═══════════════════════════════════════════════════════════════
   LAZ HARFA — Landing Page Styles
   Design: Dark mode premium, Gen Z aesthetic
   ═══════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-primary: #0d0f1a;
    --bg-secondary: #13162a;
    --bg-card: #1a1d2e;
    --bg-card-hover: #1f2340;

    --accent-primary: #8B5CF6;
    --accent-secondary: #06B6D4;
    --accent-green: #10B981;
    --accent-gold: #F59E0B;

    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    --border: rgba(139, 92, 246, 0.2);
    --border-light: rgba(255, 255, 255, 0.06);

    --gradient-primary: linear-gradient(135deg, #8B5CF6, #06B6D4);
    --gradient-hero: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 50%, #10B981 100%);
    --gradient-card: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.05));

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);

    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 15, 26, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text strong {
    color: var(--accent-primary);
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 100px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-xl {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 1.5px solid var(--accent-primary);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8B5CF6, transparent);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #06B6D4, transparent);
    top: 50%;
    right: -100px;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #10B981, transparent);
    bottom: -50px;
    left: 30%;
    animation-delay: -6s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero .container {
    position: relative;
    text-align: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.7s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border-light);
}

/* ── TRUST BAR ───────────────────────────────────────────────── */
.trust-bar {
    background: rgba(139, 92, 246, 0.06);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 14px 0;
    overflow: hidden;
}

.trust-inner {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.trust-inner span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ── SECTIONS ────────────────────────────────────────────────── */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ── KALKULATOR ──────────────────────────────────────────────── */
.calc-wrapper {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.calc-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-light);
}

.calc-tab {
    flex: 1;
    padding: 14px 8px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.calc-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.calc-tab.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.08);
}

.calc-panel {
    display: none;
    padding: 32px;
}

.calc-panel.active {
    display: block;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.input-wrap {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.input-wrap:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.input-prefix {
    padding: 14px 14px 14px 16px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    border-right: 1px solid var(--border-light);
}

.input-wrap input {
    flex: 1;
    padding: 14px 16px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
}

.input-wrap input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.input-counter {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(0, 0, 0, 0.3);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.counter-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    color: var(--accent-primary);
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.counter-btn:hover {
    background: rgba(139, 92, 246, 0.15);
}

.input-counter input {
    flex: 1;
    text-align: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 1.4rem;
    font-weight: 700;
    outline: none;
    min-width: 60px;
}

.nisab-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-md);
}

.nisab-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.nisab-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.nisab-note {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* RESULT */
.calc-result {
    margin: 0 32px 32px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInUp 0.5s ease;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.result-icon {
    font-size: 2.5rem;
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.result-amount {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}

.hidden {
    display: none !important;
}

/* ── PROGRAM GRID ─────────────────────────────────────────────── */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.program-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    cursor: default;
}

.program-card:hover {
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.program-emoji {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.program-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.program-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.program-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 100px;
    transition: width 1s ease;
}

.progress-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ── STEPS ────────────────────────────────────────────────────── */
.steps-grid {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.step-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.step-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-primary);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.cta-center {
    text-align: center;
}

.cta-note {
    margin-top: 14px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.cta-note strong {
    color: var(--text-primary);
}

/* ── TESTIMONIAL ────────────────────────────────────────────── */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.testi-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
}

.testi-stars {
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.testi-card>p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testi-author strong {
    display: block;
    font-size: 0.875rem;
}

.testi-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── SHARE SECTION ────────────────────────────────────────────── */
.share-section {
    background: var(--bg-primary);
}

.share-box {
    display: flex;
    gap: 48px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-glow);
}

.share-content {
    flex: 1;
}

.share-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.share-content p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 100px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-wa {
    background: #25D366;
    color: #fff;
}

.share-tg {
    background: #2AABEE;
    color: #fff;
}

.share-link {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.share-visual {
    flex-shrink: 0;
}

.share-card-preview {
    width: 220px;
    background: linear-gradient(135deg, #1a0533, #0a1a2e);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.preview-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.preview-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.preview-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.preview-link {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-secondary);
    background: rgba(6, 182, 212, 0.1);
    padding: 6px 12px;
    border-radius: 100px;
}

/* ── FLOATING CTA ─────────────────────────────────────────────── */
.floating-cta {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    animation: fadeInUp 0.5s ease;
}

.floating-cta a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: #fff;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5);
    transition: var(--transition);
}

.floating-cta a:hover {
    transform: translateY(-2px) scale(1.03);
}

/* ── FOOTER ───────────────────────────────────────────────────── */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-light);
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-top p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 8px;
}

/* ── TOAST ────────────────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: #fff;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 200;
    animation: fadeInUp 0.3s ease;
}

/* ── ANIMATIONS ───────────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── SCROLL ANIMATIONS ───────────────────────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-stats {
        gap: 24px;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .steps-grid {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .share-box {
        flex-direction: column;
        padding: 32px 24px;
    }

    .share-visual {
        display: none;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }
}

@media (max-width: 480px) {
    .calc-panel {
        padding: 20px;
    }

    .calc-result {
        margin: 0 20px 20px;
    }

    .section {
        padding: 70px 0;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
    }
}

/* 
   GEN Z FEATURES  Extra Styles
    */

/*  SECTION TAG  */
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/*  LIVE TICKER  */
.live-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(16, 185, 129, 0.07);
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  overflow: hidden;
  position: relative;
}
.ticker-dot {
  width: 8px; height: 8px;
  background: #ef4444;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 1.5s infinite;
}
.ticker-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ef4444;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 22px;
}
.ticker-item {
  position: absolute;
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  top: 0; left: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
.ticker-item.active {
  opacity: 1;
  transform: translateY(0);
}
.ticker-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-green);
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/*  MOOD CHIPS  */
.mood-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.mood-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}
.mood-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mood-chip {
  padding: 8px 18px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border-light);
  border-radius: 100px;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.mood-chip:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(139, 92, 246, 0.08);
}
.mood-chip.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/*  QUICK SEDEKAH GRID  */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.quick-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.quick-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.quick-card.featured {
  border-color: var(--accent-primary);
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(6,182,212,0.06));
}
.quick-badge-popular {
  position: absolute;
  top: -1px; right: -1px;
  background: var(--accent-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 0 var(--radius-lg) 0 var(--radius-md);
}
.quick-card.hidden-card { display: none; }

.quick-amount {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.quick-impact {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}
.quick-freq {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.quick-btn { font-size: 0.82rem; padding: 10px 16px; }
.quick-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/*  STREAK CHALLENGE  */
.streak-wrapper {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
}
.streak-tracker {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-glow);
}
.streak-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.streak-fire { font-size: 3rem; }
.streak-num {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.streak-label-text { font-size: 0.875rem; color: var(--text-muted); }

.streak-days {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.streak-day {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1.5px solid var(--border-light);
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  transition: var(--transition);
}
.streak-day.done {
  border-color: var(--accent-green);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}
.streak-day.today {
  border-color: var(--accent-primary);
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent-primary);
  animation: glow-pulse 2s infinite;
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139,92,246,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(139,92,246,0); }
}

.streak-msg {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 20px;
  padding: 10px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
}

.challenge-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.challengers { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.challenger-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}
.challenger-avatars { display: flex; gap: -4px; font-size: 1.2rem; }
.challenger-text { font-size: 0.85rem; color: var(--text-secondary); }
.challenger-text strong { color: var(--text-primary); }

.badges-preview {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.badge-item {
  flex: 1;
  min-width: 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 10px;
  text-align: center;
  transition: var(--transition);
}
.badge-item:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}
.badge-item.unlocked {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
}
.badge-icon { font-size: 1.8rem; margin-bottom: 6px; }
.badge-name { font-size: 0.75rem; font-weight: 700; color: var(--text-primary); }
.badge-req  { font-size: 0.68rem; color: var(--text-muted); margin-top: 2px; }

/*  IMPACT VISUALIZER  */
.impact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.impact-slider-box {
  width: 100%;
  max-width: 560px;
  text-align: center;
}
.impact-slider-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 500;
}
.impact-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.impact-rp {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-primary);
}
#impact-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 100px;
  background: linear-gradient(to right, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  outline: none;
  cursor: pointer;
}
#impact-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  border: 3px solid var(--accent-primary);
  cursor: pointer;
  transition: transform 0.2s;
}
#impact-slider::-webkit-slider-thumb:active { transform: scale(1.3); }
.impact-amount-display {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 12px;
}
.impact-cards-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.impact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  min-width: 160px;
  flex: 1;
  max-width: 200px;
  transition: var(--transition);
  animation: fadeInUp 0.4s ease;
}
.impact-card:hover { border-color: var(--accent-primary); transform: translateY(-4px); }
.impact-card-emoji { font-size: 2.5rem; margin-bottom: 12px; }
.impact-card-count {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.impact-card-label { font-size: 0.78rem; color: var(--text-secondary); margin-top: 4px; }
.impact-cta { align-self: center; }

/*  RESPONSIVE ADDITIONS  */
@media (max-width: 768px) {
  .streak-wrapper { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-cards-row { gap: 10px; }
  .impact-card { min-width: 140px; }
  .mood-row { flex-direction: column; align-items: flex-start; }
  .live-ticker { gap: 8px; }
  .ticker-count { display: none; }
}
@media (max-width: 480px) {
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .badges-preview { gap: 8px; }
  .badge-item { min-width: 60px; padding: 12px 6px; }
}

/* ── gamification styles ── */
.streak-badge {
    display: flex;
    align-items: center;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: 15px;
    cursor: help;
    transition: all 0.3s ease;
}
.streak-badge:hover {
    background: rgba(167, 139, 250, 0.2);
    transform: scale(1.05);
}
.modal-content.celebration {
    text-align: center;
    max-width: 450px;
    background: #1a1a2e;
    border: 2px solid #a78bfa;
    box-shadow: 0 0 30px rgba(167, 139, 250, 0.4);
}
.milestone-title {
    margin-bottom: 20px;
    font-size: 2rem;
}
.streak-card-preview {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
}
.streak-card-preview img {
    width: 100%;
    height: auto;
    display: block;
}
.share-prompt {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 25px;
}

