/* ============================================
   ✨ AI CONTENT CREATOR — PREMIUM DARK MODE CSS
   ============================================ */

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

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1328;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(247, 208, 70, 0.2);
    --gold-1: #f7d046;
    --gold-2: #d4a017;
    --gold-3: #c5930a;
    --gold-dark: #8b6914;
    --text-primary: #f0eae0;
    --text-secondary: rgba(240, 234, 224, 0.55);
    --accent-blue: #4f8cff;
    --accent-purple: #8b5cf6;
    --accent-green: #34d399;
    --accent-red: #f87171;
    --accent-glow: rgba(247, 208, 70, 0.12);
    --purple-accent: #2d1b69;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

strong { color: var(--gold-1); }

/* ---- Stars Canvas ---- */
#stars-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- Floating Particles ---- */
.crescent-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.crescent {
    position: absolute;
    font-size: 1rem;
    opacity: 0.06;
    animation: floatCrescent linear infinite;
}

@keyframes floatCrescent {
    0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.08; }
    90% { opacity: 0.06; }
    100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* ============================================
   GLOBAL LAYOUT
   ============================================ */

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    position: relative;
    z-index: 1;
    padding: 5rem 0;
}

.section + .section {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(79, 140, 255, 0.1);
    border: 1px solid rgba(79, 140, 255, 0.2);
    border-radius: 100px;
    padding: 0.4rem 1.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.section-badge-red {
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.2);
    color: var(--accent-red);
}

.section-badge-green {
    background: rgba(52, 211, 153, 0.1);
    border-color: rgba(52, 211, 153, 0.2);
    color: var(--accent-green);
}

.section-badge-gold {
    background: rgba(247, 208, 70, 0.1);
    border-color: var(--border-gold);
    color: var(--gold-1);
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.section-demo, .section-problem, .section-solution,
.section-modules, .section-bonus, .section-pricing,
.section-guarantee, .section-cta, .section-archive {
    text-align: center;
}

.section-desc {
    margin-left: auto;
    margin-right: auto;
}


/* Widescreen Video Embed (Top) */
.widescreen-video-container {
    max-width: 100%;
    margin: 0 auto 2.5rem;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    border: 1.5px solid var(--border-card);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    z-index: 5;
}
.widescreen-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .widescreen-video-container {
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }
}


/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 1.5rem 3rem;
    background: linear-gradient(180deg,
        rgba(45, 27, 105, 0.35) 0%,
        rgba(10, 14, 26, 0) 100%
    );
}

.hero-logo {
    width: 72px; height: 72px;
    border-radius: 18px;
    margin: 0 auto 1.5rem;
    display: block;
    border: 2px solid var(--border-gold);
    box-shadow: 0 0 40px rgba(247, 208, 70, 0.08);
    animation: fadeInDown 0.6s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(247, 208, 70, 0.1), rgba(139, 92, 246, 0.08));
    border: 1px solid var(--border-gold);
    border-radius: 100px;
    padding: 0.45rem 1.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-1);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease-out 0.1s both;
}

.hero-badge .dot {
    width: 6px; height: 6px;
    background: var(--gold-1);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.6); }
}

.hero-title {
    font-size: clamp(2.2rem, 7vw, 3.6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    animation: fadeInDown 0.7s ease-out 0.2s both;
}

.shimmer-text {
    background: linear-gradient(
        90deg,
        var(--gold-1) 0%, #fff8e1 25%, var(--gold-1) 50%, #fff8e1 75%, var(--gold-1) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.hero-title-sub {
    display: block;
    color: var(--text-primary);
    font-size: clamp(1.4rem, 4.5vw, 2.2rem);
    font-weight: 700;
    opacity: 0.85;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 1.2rem;
    animation: fadeInDown 0.7s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInDown 0.7s ease-out 0.4s both;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp 0.7s ease-out 0.5s both;
}

.hero-divider {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-1), transparent);
    margin: 0 auto;
    border-radius: 2px;
    animation: fadeIn 1s ease-out 0.8s both;
}


/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
    color: var(--bg-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px -5px rgba(247, 208, 70, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(247, 208, 70, 0.15),
                0 4px 15px rgba(247, 208, 70, 0.1);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}


/* ============================================
   SECTION 2 — DEMO
   ============================================ */

.demo-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.demo-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    width: 260px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.demo-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.demo-card-after {
    border-color: var(--border-gold);
    background: rgba(247, 208, 70, 0.04);
}

.demo-card-after:hover {
    border-color: rgba(247, 208, 70, 0.4);
    box-shadow: 0 0 40px rgba(247, 208, 70, 0.08);
}

.demo-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.demo-label-gold {
    color: var(--gold-1);
}

.demo-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.8rem;
}

.demo-placeholder p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.demo-placeholder-gold p {
    color: var(--gold-1);
    font-weight: 600;
}

.demo-arrow {
    font-size: 2rem;
    color: var(--gold-1);
    font-weight: 800;
    animation: pulseArrow 2s ease-in-out infinite;
}

@keyframes pulseArrow {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(8px); opacity: 0.6; }
}


/* ============================================
   SECTION 3 — PROBLEM
   ============================================ */

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.problem-card {
    background: rgba(248, 113, 113, 0.04);
    border: 1px solid rgba(248, 113, 113, 0.1);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.2rem;
    transition: all 0.3s ease;
}

.problem-card:hover {
    border-color: rgba(248, 113, 113, 0.25);
    transform: translateY(-4px);
}

.problem-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.8rem;
}

.problem-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.problem-card strong {
    color: var(--accent-red);
}


/* ============================================
   SECTION 4 — SOLUTION FLOW
   ============================================ */

.solution-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.5rem 1.2rem;
    min-width: 140px;
}

.flow-number {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-step-final .flow-number {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
    color: var(--bg-primary);
}

.flow-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.flow-connector {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
    opacity: 0.3;
}


/* ============================================
   SECTION 5 — MODULES
   ============================================ */

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.module-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.module-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.module-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.4),
                0 0 30px -10px rgba(247, 208, 70, 0.08);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.module-icon {
    font-size: 2rem;
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 208, 70, 0.08);
    border-radius: 14px;
    border: 1px solid var(--border-gold);
    flex-shrink: 0;
}

.module-meta {
    flex: 1;
}

.module-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.module-meta h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.module-goal {
    font-size: 0.82rem;
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0.8rem;
    background: rgba(52, 211, 153, 0.06);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(52, 211, 153, 0.1);
}

.module-list {
    list-style: none;
    margin-bottom: 1rem;
}

.module-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.35rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.module-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold-2);
    font-weight: 700;
}

.module-output {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.6rem 0.8rem;
    background: rgba(247, 208, 70, 0.04);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(247, 208, 70, 0.08);
}

.module-output span {
    font-weight: 700;
    color: var(--gold-1);
}


/* ============================================
   SECTION 6 — BONUS
   ============================================ */

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
    text-align: left;
}

.bonus-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.bonus-card:hover {
    border-color: rgba(247, 208, 70, 0.2);
    transform: translateY(-4px);
}

.bonus-card-highlight {
    border-color: var(--border-gold);
    background: rgba(247, 208, 70, 0.04);
    box-shadow: 0 0 30px rgba(247, 208, 70, 0.06);
}

.bonus-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.bonus-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.bonus-card ul {
    list-style: none;
}

.bonus-card ul li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.bonus-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.75rem;
}


/* ============================================
   SECTION 7 — PRICING
   ============================================ */

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 420px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(247, 208, 70, 0.04), rgba(139, 92, 246, 0.04));
    border: 2px solid var(--border-gold);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 0 60px rgba(247, 208, 70, 0.06);
}

.pricing-header {
    padding: 1.5rem 2rem;
    background: rgba(247, 208, 70, 0.06);
    border-bottom: 1px solid rgba(247, 208, 70, 0.1);
}

.pricing-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gold-1);
}

.pricing-body {
    padding: 2rem;
}

.pricing-original {
    margin-bottom: 0.3rem;
}

.strikethrough {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.6;
}

.pricing-current {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.8rem;
}

.pricing-currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-1);
}

.pricing-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gold-1);
    line-height: 1;
}

.pricing-note {
    font-size: 0.85rem;
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 2rem;
}

.pricing-includes {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-check {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.pricing-check:last-child {
    border-bottom: none;
}


/* ============================================
   SECTION 8 — GUARANTEE
   ============================================ */

.guarantee-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(52, 211, 153, 0.04);
    border: 2px solid rgba(52, 211, 153, 0.15);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guarantee-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.guarantee-steps {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.guarantee-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(52, 211, 153, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    flex: 1;
    min-width: 200px;
}

.guarantee-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: var(--accent-green);
    color: var(--bg-primary);
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.guarantee-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.guarantee-step strong {
    color: var(--accent-green);
}

.guarantee-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}


/* ============================================
   SECTION 9 — CTA FINAL
   ============================================ */

.section-cta {
    background: linear-gradient(180deg,
        rgba(45, 27, 105, 0.3) 0%,
        rgba(10, 14, 26, 0) 100%
    );
    padding: 5rem 0;
}

.cta-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-micro {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 1.2rem;
    opacity: 0.6;
}


/* ============================================
   ARCHIVE — RAMADHAN SERIES
   ============================================ */

.section-archive {
    background: rgba(45, 27, 105, 0.06);
    border-top: 1px solid rgba(247, 208, 70, 0.06);
}

.day-counter {
    text-align: center;
    margin-bottom: 2rem;
}

.day-counter-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(247, 208, 70, 0.05);
    border: 1px solid rgba(247, 208, 70, 0.1);
    border-radius: 100px;
    padding: 0.5rem 1.3rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.day-counter-inner strong {
    color: var(--gold-1);
    font-weight: 700;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.video-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(247, 208, 70, 0.25);
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.4),
                0 0 30px -10px rgba(247, 208, 70, 0.08);
}

.video-card video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #000;
    display: block;
    border-bottom: 1px solid rgba(247, 208, 70, 0.06);
}

.card-body {
    padding: 1.2rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
    color: var(--bg-primary);
    font-size: 0.72rem;
    font-weight: 800;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem 1.4rem;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
    color: var(--bg-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(247, 208, 70, 0.35);
}

.download-btn:hover::before {
    left: 100%;
}

.card-footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.7rem;
}

.card-hint {
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-align: left;
    margin: 0;
    line-height: 1.5;
}

.dl-badge {
    font-size: 0.68rem;
    color: var(--gold-1);
    font-weight: 600;
    background: rgba(247, 208, 70, 0.08);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

.empty-state .emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}


/* ============================================
   FOOTER
   ============================================ */

.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 1.5rem 6rem;
    font-size: 0.72rem;
    color: rgba(240, 234, 224, 0.2);
}

.footer a {
    color: var(--gold-2);
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.footer a:hover { opacity: 1; }


/* ============================================
   STICKY CTA
   ============================================ */

.sticky-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0.8rem 1rem;
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(247, 208, 70, 0.1);
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

.sticky-cta .btn-primary {
    width: 100%;
    max-width: 400px;
    padding: 0.85rem 1.5rem;
}


/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes moonGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(247, 208, 70, 0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(247, 208, 70, 0.6)); }
}


/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-2); }


/* ============================================
   MODAL GARANSI
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(247, 208, 70, 0.08);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem; right: 1.2rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-primary);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
    .hero { padding: 2.5rem 1rem 2rem; }
    .section { padding: 3rem 0; }
    .module-grid { grid-template-columns: 1fr; }
    .bonus-grid { grid-template-columns: 1fr; }
    .video-grid { gap: 1.2rem; grid-template-columns: 1fr; }
    .hero-cta-group { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 340px; }
    .demo-arrow { transform: rotate(90deg); }
    .flow-connector { display: none; }
    .solution-flow { flex-direction: column; }
    .guarantee-steps { flex-direction: column; }
    .pricing-amount { font-size: 2.8rem; }
    .footer { padding-bottom: 5rem; }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .module-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 769px) {
    .sticky-cta { display: none; }
}

/* ============================================
   NEW UPGRADES (TARGET AUDIENCE, OBJECTION, DEMO)
   ============================================ */

/* Helper classes replacing inline CSS */
.hero-p-bottom { padding-bottom: 2rem; }
.hero-sub-text { font-size: 1.1rem; max-width: 600px; margin: 0 auto; line-height: 1.8; }
.hero-garansi-btn {
    background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); color: var(--accent-green); padding: 0.5rem 1rem; border-radius: 100px; font-family: inherit; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease; margin-bottom: 0.8rem;
}
.hero-garansi-btn:hover { background: rgba(52, 211, 153, 0.2); }
.hero-h1-main { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 0.5rem; line-height: 1.1; }
.section-p-top { padding-top: 1rem; }
.section-p-top-large { padding-top: 2rem; }
.module-footer-price { margin-top: 1.5rem; text-align: center; }
.module-price-text { font-size: 1.4rem; font-weight: 800; color: var(--gold-1); margin-bottom: 1rem; }
.btn-modul-buy { width: 100%; border-color: rgba(247, 208, 70, 0.3); color: var(--gold-1); }
.pricing-card-wrap { max-width: 600px; border-color: var(--gold-1); box-shadow: 0 0 50px rgba(247, 208, 70, 0.15); margin: 0 auto; }
.pricing-head-bg { background: rgba(247, 208, 70, 0.1); }
.pricing-name-large { font-size: 1.2rem; }
.pricing-amount-lg { font-size: 2rem; }

/* Demo Section */
.demo-video-wrapper {
    border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--border-gold); box-shadow: 0 10px 40px rgba(247, 208, 70, 0.2);
}
.demo-video-wrapper video { width: 100%; display: block; border-radius: calc(var(--radius-lg) - 2px); }

/* Trust Boosters */
.trust-boosters { margin-top: 1.5rem; text-align: left; background: rgba(255, 255, 255, 0.03); padding: 1rem 1.5rem; border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, 0.08); }
.trust-boosters div { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.trust-boosters div i { color: var(--accent-green); font-style: normal; }

/* Urgency Text */
.urgency-text { color: var(--accent-red); font-weight: 700; font-size: 0.9rem; margin-top: 1rem; background: rgba(248, 113, 113, 0.1); padding: 0.5rem 1rem; border-radius: var(--radius-sm); border: 1px dashed rgba(248, 113, 113, 0.3); display: inline-block; }

/* Target Audience */
.target-audience-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; max-width: 800px; margin: 0 auto; text-align: left;
}
.audience-card { background: rgba(79, 140, 255, 0.05); border: 1px solid rgba(79, 140, 255, 0.15); padding: 1.2rem; border-radius: var(--radius-md); display: flex; align-items: center; gap: 0.8rem; font-weight: 600; color: var(--text-primary); transition: all 0.3s ease; }
.audience-card:hover { transform: translateY(-3px); border-color: rgba(79, 140, 255, 0.3); }
.audience-card span { font-size: 1.5rem; }

/* Anti Objection */
.objection-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto;
}
.objection-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg); padding: 1.5rem; text-align: left; position: relative; overflow: hidden; }
.objection-card::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: var(--gold-1); }
.objection-q { font-size: 0.9rem; color: var(--text-secondary); font-weight: 600; margin-bottom: 0.5rem; }
.objection-a { font-size: 1.1rem; color: var(--gold-1); font-weight: 800; }

/* ============================================
   LIGHT THEME OVERRIDES
   ============================================ */
[data-theme="light"] {
    --bg-primary: #f8f9fc;
    --bg-secondary: #eef1f6;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --border-card: #d1d5db;
    --border-gold: rgba(180, 133, 13, 0.35);
    --gold-1: #b8860b;
    --gold-2: #996f0a;
    --gold-3: #7a5a08;
    --gold-dark: #5c4306;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-blue: #2563eb;
    --accent-purple: #7c3aed;
    --accent-green: #059669;
    --accent-red: #dc2626;
    --accent-glow: rgba(180, 133, 13, 0.08);
    --purple-accent: #ede9fe;
}

/* Hide decorative canvas and particles in light mode */
[data-theme="light"] canvas,
[data-theme="light"] .crescent-container { display: none !important; }

/* Body & strong */
[data-theme="light"] body {
    background: var(--bg-primary) !important;
    color: var(--text-primary);
}
[data-theme="light"] strong { color: var(--gold-1); }

/* Hero */
[data-theme="light"] .hero {
    background: linear-gradient(180deg, rgba(180, 133, 13, 0.08) 0%, rgba(248, 249, 252, 0) 100%) !important;
}
[data-theme="light"] .shimmer-text {
    background: linear-gradient(90deg, var(--gold-1) 0%, #a07808 25%, var(--gold-1) 50%, #a07808 75%, var(--gold-1) 100%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Cards & glass backgrounds */
[data-theme="light"] .module-card,
[data-theme="light"] .bonus-card,
[data-theme="light"] .demo-card,
[data-theme="light"] .problem-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .module-item,
[data-theme="light"] .welcome-card,
[data-theme="light"] .login-card,
[data-theme="light"] .sub-card,
[data-theme="light"] .stat-box {
    background: #ffffff !important;
    border-color: #d1d5db !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    backdrop-filter: none !important;
}

/* folder-card (module pages) */
[data-theme="light"] .folder-card {
    background: #ffffff !important;
    border-color: #d1d5db !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* Code/prompt boxes - dark backgrounds in light mode should be light gray */
[data-theme="light"] .prompt-box,
[data-theme="light"] [style*="background: rgba(0,0,0,0.3)"],
[data-theme="light"] [style*="background: rgba(0,0,0,0.25)"],
[data-theme="light"] [style*="background: rgba(0,0,0,0.2)"] {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

/* Subtle section backgrounds */
[data-theme="light"] [style*="background: rgba(255,255,255,0.03)"],
[data-theme="light"] [style*="background: rgba(255,255,255,0.04)"],
[data-theme="light"] [style*="background: rgba(255,255,255,0.05)"],
[data-theme="light"] [style*="background: rgba(255,255,255,0.06)"] {
    background: #f8fafc !important;
}

/* Borders */
[data-theme="light"] [style*="border-bottom: 1px solid rgba(255, 255, 255, 0.04)"],
[data-theme="light"] [style*="border-bottom: 1px solid rgba(255, 255, 255, 0.06)"],
[data-theme="light"] .folder-header {
    border-color: #e2e8f0 !important;
}

/* Section dividers */
[data-theme="light"] .section + .section {
    border-top-color: #e2e8f0;
}

/* Buttons */
[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-3)) !important;
    color: #fff !important;
}
[data-theme="light"] .btn-secondary {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

/* Forms (login, submission) */
[data-theme="light"] .form-control,
[data-theme="light"] .review-form textarea {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}
[data-theme="light"] .form-control:focus,
[data-theme="light"] .review-form textarea:focus {
    border-color: var(--gold-1) !important;
    background: #fff !important;
}

/* File list */
[data-theme="light"] .file-list li {
    border-bottom-color: #e2e8f0 !important;
    color: #334155 !important;
}

/* Pricing */
[data-theme="light"] .pricing-header {
    background: rgba(180, 133, 13, 0.08) !important;
    border-bottom-color: #e2e8f0 !important;
}

/* Quiz options */
[data-theme="light"] .quiz-option {
    background: #f8fafc !important;
    border-color: #d1d5db !important;
    color: #0f172a !important;
}

/* Error messages */
[data-theme="light"] .error-msg {
    background: rgba(220, 38, 38, 0.08) !important;
}

/* Glassmorphism fallback (admin, dashboard) */
[data-theme="light"] [style*="var(--glass-bg)"] {
    background: #ffffff !important;
}

/* Nav buttons area backgrounds */
[data-theme="light"] .module-page-wrapper,
[data-theme="light"] .dashboard-wrapper,
[data-theme="light"] .admin-container {
    color: var(--text-primary);
}

/* Section progress checkbox separator */
[data-theme="light"] [style*="border-top: 1px dashed rgba(255,255,255,0.1)"] {
    border-top-color: #d1d5db !important;
}

/* ============================================
   LESSON / MATERI SPLIT-SCREEN LAYOUT
   ============================================ */
.lesson-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem 6rem;
    position: relative;
    z-index: 10;
}
.lesson-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.lesson-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold-1);
}
.lesson-header h1 small {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 0.3rem;
}
.header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.lesson-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 2.5rem;
    align-items: start;
}
.video-column {
    position: sticky;
    top: 5.5rem;
}
.video-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(247, 208, 70, 0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(247,208,70,0.06);
    background: #000;
    aspect-ratio: 9/16;
}
.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.video-label {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 600;
}
.video-label strong {
    color: var(--gold-1);
}
.content-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.lesson-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.3s;
}
.lesson-card:hover { border-color: rgba(247, 208, 70, 0.15); }
.lesson-card.highlight {
    border-color: rgba(247, 208, 70, 0.25);
    background: linear-gradient(135deg, rgba(247,208,70,0.04), rgba(139,92,246,0.03));
}
.card-title { font-size: 1.15rem; font-weight: 800; color: var(--gold-1); margin-bottom: 0.4rem; text-align: center; }
.card-subtitle { font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 1.2rem; font-weight: 500; text-align: center; }
.card-body { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.75; }
.card-body strong { color: var(--text-primary); }

.step-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 1.3rem; margin-bottom: 1rem;
}
.step-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.step-num { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; color: white; font-size: 0.85rem; flex-shrink: 0; }
.step-title { font-weight: 800; color: var(--text-primary); font-size: 0.9rem; }
.step-desc { font-size: 0.78rem; color: var(--text-secondary); }
.code-box { background: rgba(0,0,0,0.3); padding: 1rem 1.2rem; border-radius: 10px; font-family: monospace; font-size: 0.82rem; color: var(--text-primary); line-height: 1.8; }
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: var(--bg-secondary); border-top: 1px solid var(--border-card); padding: 0.8rem 1.5rem; display: flex; justify-content: center; align-items: center; gap: 1rem; backdrop-filter: blur(12px); }

@media (max-width: 900px) {
    .lesson-layout { grid-template-columns: 1fr; }
    .video-column { position: static; max-width: 400px; margin: 0 auto; width: 100%; }
    .lesson-card { padding: 1.4rem; }
    .card-title { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .lesson-page { padding: 1rem 1rem 5rem; }
    .lesson-header h1 { font-size: 1.3rem; }
    .video-column { max-width: 100%; }
}

/* Light mode overrides for new layout */
[data-theme="light"] .lesson-card {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
}
[data-theme="light"] .lesson-card.highlight {
    background: linear-gradient(135deg, rgba(247,208,70,0.08), rgba(139,92,246,0.04)) !important;
    border-color: rgba(247,208,70,0.3) !important;
}
[data-theme="light"] .step-box {
    background: #f9fafb !important;
    border-color: #e5e7eb !important;
}
[data-theme="light"] .code-box {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}
[data-theme="light"] .video-wrapper {
    box-shadow: 0 12px 30px rgba(0,0,0,0.1), 0 0 30px rgba(247,208,70,0.15) !important;
}
[data-theme="light"] .sticky-cta {
    background: rgba(255,255,255,0.95) !important;
    border-top-color: #e5e7eb !important;
}

/* Compare Grid (Dulu vs Sekarang) */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.compare-box { padding: 1.2rem 1.4rem; border-radius: 14px; border: 1px solid transparent; }
.compare-box.bad { background: rgba(248,113,113,0.06); border-color: rgba(248,113,113,0.18); }
.compare-box.good { background: rgba(52,211,153,0.06); border-color: rgba(52,211,153,0.18); }
.cb-label { font-weight: 800; font-size: 0.92rem; margin-bottom: 0.8rem; }
.compare-box div:not(.cb-label) { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.4rem; line-height: 1.6; }

@media (max-width: 600px) {
    .compare-grid { grid-template-columns: 1fr; }
}

/* Tag Row (Bisa Dipakai untuk Apa?) */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag {
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: rgba(247,208,70,0.08);
    border: 1px solid rgba(247,208,70,0.18);
    color: var(--gold-1);
    padding: 0.45rem 1rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.3s;
}
.tag:hover {
    background: rgba(247,208,70,0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247,208,70,0.15);
}

/* Flow Steps (Cara Kerja Sederhana) */
.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding: 1.2rem 0;
}
.lesson-card .flow-step {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 1.2rem 1rem;
    text-align: center;
    flex: 1;
    min-width: 100px;
    transition: all 0.3s;
}
.lesson-card .flow-step:hover {
    border-color: rgba(247,208,70,0.25);
    background: rgba(247,208,70,0.03);
    transform: translateY(-3px);
}
.lesson-card .flow-step.done {
    border-color: rgba(52,211,153,0.3);
    background: rgba(52,211,153,0.04);
}
.fs-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.fs-label { font-weight: 700; font-size: 0.82rem; color: var(--text-primary); }
.fs-sub { font-size: 0.72rem; color: var(--text-secondary); margin-top: 0.25rem; }
.flow-arrow {
    font-size: 1.2rem;
    color: var(--gold-1);
    font-weight: 700;
    opacity: 0.6;
    flex-shrink: 0;
}

/* Mini Grid (Tool Features) */
.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 1.2rem;
}
.mini-item {
    background: rgba(79,140,255,0.04);
    border: 1px solid rgba(79,140,255,0.12);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s;
}
.mini-item:hover {
    border-color: rgba(79,140,255,0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(79,140,255,0.1);
}
.mi-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.mi-title { font-weight: 700; font-size: 0.82rem; color: var(--text-primary); margin-bottom: 0.25rem; }
.mi-desc { font-size: 0.72rem; color: var(--text-secondary); }

@media (max-width: 600px) {
    .mini-grid { grid-template-columns: 1fr; }
    .flow-steps { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); }
}

/* Step Timeline (Langkah di Google AI Studio) */
.step-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 1.2rem;
}
.step-timeline::before {
    content: '';
    position: absolute;
    left: 0.3rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple), var(--gold-1), var(--accent-green));
    border-radius: 2px;
}
.step-item {
    position: relative;
    padding: 1rem 1.2rem;
    margin-bottom: 0.5rem;
    border: none;
    border-left: 3px solid transparent;
    border-radius: 0 12px 12px 0;
    background: rgba(255,255,255,0.02);
    transition: all 0.3s;
}
.step-item:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(4px);
}
.step-item::before {
    content: '';
    position: absolute;
    left: -1.55rem;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    border: 2px solid var(--bg-primary);
    z-index: 1;
}
.si-title {
    font-weight: 800;
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
}
.si-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Compare Table (Voice Over Manual vs AI) */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 0.8rem;
    border: 1px solid rgba(255,255,255,0.08);
}
.compare-table th {
    padding: 0.9rem 1rem;
    font-weight: 800;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.04);
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.compare-table td {
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }

/* Quote Box (Tips) */
.quote-box {
    margin-top: 1rem;
    padding: 1.2rem 1.5rem;
    background: rgba(247,208,70,0.04);
    border-left: 4px solid var(--gold-1);
    border-radius: 0 12px 12px 0;
    font-size: 0.92rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
}

/* Quiz Card */
.quiz-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 2rem;
}
.quiz-q {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.6;
}
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.quiz-option {
    padding: 1rem 1.2rem !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px !important;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s !important;
    line-height: 1.5;
}
.quiz-option:hover {
    border-color: rgba(247,208,70,0.25) !important;
    background: rgba(247,208,70,0.04) !important;
    color: var(--text-primary);
    transform: translateX(4px);
}

/* Light Mode Overrides for New Components */
[data-theme="light"] .tag {
    background: rgba(247,208,70,0.12);
    border-color: rgba(247,208,70,0.25);
}
[data-theme="light"] .lesson-card .flow-step {
    background: #f9fafb;
    border-color: #e5e7eb;
}
[data-theme="light"] .mini-item {
    background: rgba(79,140,255,0.06);
    border-color: rgba(79,140,255,0.15);
}
[data-theme="light"] .step-item {
    background: #f9fafb;
}
[data-theme="light"] .compare-table {
    border-color: #e5e7eb;
}
[data-theme="light"] .compare-table th {
    background: #f1f5f9;
    border-color: #e5e7eb;
}
[data-theme="light"] .compare-table td {
    border-color: #f1f5f9;
    color: #475569;
}
[data-theme="light"] .quote-box {
    background: rgba(247,208,70,0.08);
}
[data-theme="light"] .quiz-card {
    background: #ffffff;
    border-color: #e5e7eb;
}
[data-theme="light"] .quiz-option {
    border-color: #e5e7eb !important;
    color: #475569;
}
[data-theme="light"] .quiz-option:hover {
    border-color: rgba(247,208,70,0.35) !important;
    background: rgba(247,208,70,0.06) !important;
}
[data-theme="light"] .compare-box.bad {
    background: rgba(248,113,113,0.08);
    border-color: rgba(248,113,113,0.2);
}
[data-theme="light"] .compare-box.good {
    background: rgba(52,211,153,0.08);
    border-color: rgba(52,211,153,0.2);
}

/* LANGUAGE SWITCHER */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.2rem;
    backdrop-filter: blur(8px);
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.6rem;
    border-radius: 9px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.25s ease;
    white-space: nowrap;
}
.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}
.lang-btn.active {
    background: rgba(247, 208, 70, 0.15);
    color: var(--gold-1);
    border: 1px solid rgba(247, 208, 70, 0.25);
}
.lang-flag {
    font-size: 1rem;
    line-height: 1;
}
.lang-code {
    letter-spacing: 0.5px;
}
[data-theme="light"] .lang-switcher {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .lang-btn {
    color: #475569;
}
[data-theme="light"] .lang-btn:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .lang-btn.active {
    background: rgba(247, 208, 70, 0.2);
    color: #b48600;
    border-color: rgba(247, 208, 70, 0.4);
}
