/* ═══════════════════════════════════════════════════════════════
   Apexaio Dream Engine v1.0.6
   MindDrift Dream Engine™ — Full-viewport premium dark UI
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
    --ade-bg:             #050910;
    --ade-bg2:            #0A1020;
    --ade-bg3:            #0F172A;
    --ade-glass:          rgba(255, 255, 255, 0.035);
    --ade-glass-border:   rgba(255, 255, 255, 0.07);
    --ade-glass-hover:    rgba(255, 255, 255, 0.06);
    --ade-border:         rgba(148, 163, 184, 0.08);
    --ade-border-hover:   rgba(148, 163, 184, 0.16);
    --ade-text:           #F1F5F9;
    --ade-text-secondary: #94A3B8;
    --ade-text-muted:     #64748B;
    --ade-text-dim:       #475569;
    --ade-primary:        #F59E0B;
    --ade-primary-soft:   rgba(245, 158, 11, 0.1);
    --ade-primary-glow:   rgba(245, 158, 11, 0.12);
    --ade-accent:         #EF4444;
    --ade-blue:           #3B82F6;
    --ade-green:          #10B981;
    --ade-purple:         #A855F7;
    --ade-serif:          'Playfair Display', Georgia, 'Times New Roman', serif;
    --ade-mono:           'DM Mono', 'SF Mono', 'Fira Code', monospace;
    --ade-r-xl:           20px;
    --ade-r-lg:           16px;
    --ade-r-md:           12px;
    --ade-r-sm:           8px;
    --ade-shadow:         0 2px 8px rgba(0,0,0,0.2), 0 8px 32px rgba(0,0,0,0.15);
    --ade-shadow-lg:      0 8px 32px rgba(0,0,0,0.3), 0 24px 64px rgba(0,0,0,0.2);
    --ade-shadow-glow:    0 0 48px rgba(245,158,11,0.06), 0 8px 32px rgba(0,0,0,0.2);
    --ade-ease:           cubic-bezier(0.4, 0, 0.2, 1);
    --ade-ease-bounce:    cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ══════════════════════════════════════════════════════════
   CONTAINER — Safe full-width strategy
   Fills parent width without 100vw breakout (avoids
   scrollbar-induced horizontal overflow on desktop).
   ══════════════════════════════════════════════════════════ */
#ade-dream-engine,
#ade-dream-dashboard,
#ade-dream-pricing {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;

    /* Visual base */
    font-family: var(--ade-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--ade-text);
    line-height: 1.65;
    background: var(--ade-bg);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    font-size: 16px;
}

/* ── Defensive CSS Reset (scoped — theme conflict prevention) ── */
#ade-dream-engine *,
#ade-dream-dashboard *,
#ade-dream-pricing * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
#ade-dream-engine img,
#ade-dream-dashboard img,
#ade-dream-pricing img {
    max-width: 100%;
    height: auto;
}
#ade-dream-engine button,
#ade-dream-dashboard button,
#ade-dream-pricing button {
    font-family: inherit;
    line-height: inherit;
}

/* Prevent Astra / theme content wrappers from collapsing width */
.ast-container #ade-dream-engine,
.ast-container #ade-dream-dashboard,
.ast-container #ade-dream-pricing,
.site-content #ade-dream-engine,
.site-content #ade-dream-dashboard,
.site-content #ade-dream-pricing,
.entry-content #ade-dream-engine,
.entry-content #ade-dream-dashboard,
.entry-content #ade-dream-pricing {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ── Ambient Atmosphere ── */
.ade-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.ade-ambient::before {
    content: '';
    position: absolute;
    top: -50%; left: -30%;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, rgba(245,158,11,0.06) 0%, transparent 60%);
    animation: ade-drift 40s ease-in-out infinite alternate;
}
.ade-ambient::after {
    content: '';
    position: absolute;
    bottom: -40%; right: -25%;
    width: 80%; height: 80%;
    background: radial-gradient(ellipse at center, rgba(239,68,68,0.04) 0%, transparent 60%);
    animation: ade-drift 50s ease-in-out infinite alternate-reverse;
}
@keyframes ade-drift {
    0%   { transform: translate(0,0) rotate(0deg); }
    100% { transform: translate(4%,2%) rotate(3deg); }
}

/* ── Content Shell (centered column inside full-width bg) ── */
.ade-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 32px 120px;
}

/* ══════════════════════════════════════
   HERO — Dream Input
   ══════════════════════════════════════ */
.ade-input-area {
    text-align: center;
    padding: 20vh 0 12vh;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ade-hero-title {
    font-family: var(--ade-serif);
    font-size: clamp(42px, 8vw, 76px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--ade-text);
    margin-bottom: 16px;
}
.ade-hero-sub {
    font-family: var(--ade-mono);
    font-size: 14px;
    color: var(--ade-text-dim);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 64px;
}

/* Input pill */
.ade-input-wrap {
    position: relative;
    max-width: 680px;
    width: 100%;
}
.ade-input {
    width: 100%;
    padding: 24px 72px 24px 32px;
    font-family: var(--ade-serif);
    font-size: 20px;
    color: var(--ade-text);
    background: var(--ade-glass);
    border: 1px solid var(--ade-glass-border);
    border-radius: 60px;
    outline: none;
    transition: all 0.35s var(--ade-ease);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.ade-input::placeholder {
    color: var(--ade-text-dim);
    font-style: italic;
}
.ade-input:focus {
    border-color: var(--ade-primary);
    box-shadow: 0 0 0 4px var(--ade-primary-soft), var(--ade-shadow);
    background: rgba(15,23,42,0.5);
}
.ade-submit-btn {
    position: absolute;
    right: 10px; top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--ade-primary), #D97706);
    border: none;
    border-radius: 50%;
    color: #000;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ade-ease);
    box-shadow: 0 2px 12px rgba(245,158,11,0.25);
}
.ade-submit-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(245,158,11,0.35);
}
.ade-submit-btn:disabled {
    opacity: 0.4; cursor: not-allowed; transform: translateY(-50%);
}

/* Example chips */
.ade-examples {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    max-width: 700px;
}
.ade-example-chip {
    font-family: var(--ade-mono);
    font-size: 13px;
    padding: 10px 22px;
    background: var(--ade-glass);
    border: 1px solid var(--ade-glass-border);
    border-radius: 40px;
    color: var(--ade-text-muted);
    cursor: pointer;
    transition: all 0.3s var(--ade-ease);
    backdrop-filter: blur(6px);
    white-space: nowrap;
}
.ade-example-chip:hover {
    border-color: var(--ade-primary);
    color: var(--ade-primary);
    background: var(--ade-primary-soft);
    transform: translateY(-2px);
}

/* Quote */
.ade-quote {
    text-align: center;
    padding: 40px 32px;
    margin: 56px 0;
    font-style: italic;
    color: var(--ade-text-dim);
    font-size: 18px;
    letter-spacing: 0.01em;
}
.ade-quote-attr {
    display: block;
    font-family: var(--ade-mono);
    font-size: 12px;
    color: var(--ade-text-dim);
    font-style: normal;
    margin-top: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ══════════════════════════════════════
   LOADING
   ══════════════════════════════════════ */
.ade-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 160px 20px;
    min-height: 60vh;
}
.ade-spinner {
    width: 48px; height: 48px;
    border: 2px solid rgba(245,158,11,0.15);
    border-top-color: var(--ade-primary);
    border-radius: 50%;
    animation: ade-spin 0.75s linear infinite;
    margin-bottom: 28px;
}
@keyframes ade-spin { to { transform: rotate(360deg); } }
.ade-loading-text {
    font-family: var(--ade-mono);
    font-size: 15px;
    color: var(--ade-text-dim);
    animation: ade-pulse 2.5s ease-in-out infinite;
}
@keyframes ade-pulse { 0%,100% { opacity:0.4; } 50% { opacity:1; } }

/* ══════════════════════════════════════
   DREAM HEADER
   ══════════════════════════════════════ */
.ade-dream-header {
    text-align: center;
    margin-bottom: 64px;
}
.ade-dream-title {
    font-family: var(--ade-serif);
    font-size: clamp(34px, 6vw, 60px);
    font-weight: 700;
    color: var(--ade-text);
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 12px;
}
.ade-dream-tagline {
    font-family: var(--ade-mono);
    font-size: 15px;
    color: var(--ade-primary);
    letter-spacing: 0.06em;
}
.ade-dream-subtitle {
    font-size: 18px;
    color: var(--ade-text-muted);
    margin-top: 16px;
}

/* Back button */
.ade-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ade-mono);
    font-size: 13px;
    color: var(--ade-text-dim);
    background: transparent;
    border: 1px solid var(--ade-border);
    border-radius: 40px;
    padding: 10px 24px;
    cursor: pointer;
    margin-bottom: 48px;
    transition: all 0.3s var(--ade-ease);
    letter-spacing: 0.02em;
}
.ade-back-btn:hover {
    color: var(--ade-text-secondary);
    border-color: var(--ade-border-hover);
    background: var(--ade-glass);
}

/* ══════════════════════════════════════
   PATH CARDS
   ══════════════════════════════════════ */
.ade-paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 56px;
}
.ade-path-card {
    background: var(--ade-glass);
    border: 1px solid var(--ade-glass-border);
    border-radius: var(--ade-r-xl);
    padding: 36px 32px 32px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s var(--ade-ease);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: ade-cardIn 0.6s var(--ade-ease) both;
}
.ade-path-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ade-primary), var(--ade-accent));
    opacity: 0;
    transition: opacity 0.4s var(--ade-ease);
}
.ade-path-card:hover {
    border-color: var(--ade-border-hover);
    background: var(--ade-glass-hover);
    transform: translateY(-4px);
    box-shadow: var(--ade-shadow-glow);
}
.ade-path-card:hover::before { opacity: 1; }

@keyframes ade-cardIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ade-path-card:nth-child(1) { animation-delay: 0.05s; }
.ade-path-card:nth-child(2) { animation-delay: 0.1s; }
.ade-path-card:nth-child(3) { animation-delay: 0.15s; }
.ade-path-card:nth-child(4) { animation-delay: 0.2s; }
.ade-path-card:nth-child(5) { animation-delay: 0.25s; }
.ade-path-card:nth-child(6) { animation-delay: 0.3s; }

.ade-path-number {
    font-family: var(--ade-mono);
    font-size: 12px;
    color: var(--ade-primary);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.ade-path-name {
    font-family: var(--ade-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--ade-text);
    margin-bottom: 14px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.ade-path-desc {
    font-size: 16px;
    color: var(--ade-text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

/* Card meta grid */
.ade-path-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 28px;
}
.ade-path-meta-item {
    background: rgba(0,0,0,0.2);
    border-radius: var(--ade-r-sm);
    padding: 14px 16px;
}
.ade-path-meta-label {
    font-family: var(--ade-mono);
    font-size: 10px;
    color: var(--ade-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}
.ade-path-meta-value {
    font-family: var(--ade-mono);
    font-size: 15px;
    color: var(--ade-text);
    font-weight: 500;
    line-height: 1.4;
}

/* Difficulty */
.ade-difficulty {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--ade-mono);
    font-size: 12px;
    font-weight: 500;
}
.ade-difficulty-beginner     { background: rgba(16,185,129,0.1);  color: #34D399; }
.ade-difficulty-intermediate { background: rgba(59,130,246,0.1);  color: #60A5FA; }
.ade-difficulty-advanced     { background: rgba(168,85,247,0.1);  color: #C084FC; }
.ade-difficulty-expert       { background: rgba(239,68,68,0.1);   color: #F87171; }

/* Quick Win box */
.ade-path-quickwin {
    background: rgba(245,158,11,0.05);
    border: 1px solid rgba(245,158,11,0.1);
    border-radius: var(--ade-r-md);
    padding: 18px 20px;
    margin-bottom: 28px;
}
.ade-path-quickwin-label {
    font-family: var(--ade-mono);
    font-size: 11px;
    color: var(--ade-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}
.ade-path-quickwin-text {
    font-size: 15px;
    color: var(--ade-text-secondary);
    line-height: 1.6;
}

/* Card pricing footer */
.ade-path-pricing {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--ade-border);
}
.ade-path-price {
    font-family: var(--ade-mono);
    font-size: 14px;
    color: var(--ade-text-muted);
}
.ade-path-price strong {
    color: var(--ade-text);
    font-size: 22px;
    font-weight: 700;
}
.ade-path-price-divider {
    color: var(--ade-text-dim);
    font-family: var(--ade-mono);
    font-size: 12px;
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.ade-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--ade-serif);
    font-weight: 600;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s var(--ade-ease);
    text-decoration: none;
    line-height: 1;
}
.ade-btn-primary {
    background: linear-gradient(135deg, var(--ade-primary), #D97706);
    color: #000;
    padding: 18px 48px;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(245,158,11,0.2);
}
.ade-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245,158,11,0.3);
}
.ade-btn-secondary {
    background: var(--ade-glass);
    border: 1px solid var(--ade-glass-border);
    color: var(--ade-text-secondary);
    padding: 14px 32px;
    font-size: 15px;
    backdrop-filter: blur(6px);
}
.ade-btn-secondary:hover {
    border-color: var(--ade-border-hover);
    color: var(--ade-text);
}
.ade-btn-sm { padding: 12px 24px; font-size: 14px; }
.ade-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* ══════════════════════════════════════
   BLUEPRINT SECTIONS (Accordion)
   ══════════════════════════════════════ */
.ade-blueprint { animation: ade-cardIn 0.5s var(--ade-ease); }

.ade-bp-section {
    background: var(--ade-glass);
    border: 1px solid var(--ade-glass-border);
    border-radius: var(--ade-r-xl);
    margin-bottom: 20px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: border-color 0.3s var(--ade-ease);
}
.ade-bp-section:hover { border-color: var(--ade-border-hover); }
.ade-bp-section-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 32px;
    cursor: pointer;
    transition: background 0.3s var(--ade-ease);
    user-select: none;
}
.ade-bp-section-header:hover { background: rgba(255,255,255,0.02); }
.ade-bp-section-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.25);
    border-radius: var(--ade-r-md);
}
.ade-bp-section-title {
    font-family: var(--ade-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--ade-text);
    flex: 1;
}
.ade-bp-section-badge {
    font-family: var(--ade-mono);
    font-size: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}
.ade-badge-free    { background: rgba(16,185,129,0.1);  color: #34D399; }
.ade-badge-preview { background: rgba(59,130,246,0.1);  color: #60A5FA; }
.ade-badge-locked  { background: rgba(100,116,139,0.1); color: var(--ade-text-dim); }
.ade-bp-section-arrow {
    font-size: 13px;
    color: var(--ade-text-dim);
    transition: transform 0.35s var(--ade-ease);
}
.ade-bp-section.ade-expanded .ade-bp-section-arrow { transform: rotate(180deg); }
.ade-bp-section-body {
    padding: 0 32px 32px;
    display: none;
}
.ade-bp-section.ade-expanded .ade-bp-section-body {
    display: block;
    animation: ade-fadeIn 0.35s var(--ade-ease);
}
@keyframes ade-fadeIn {
    from { opacity:0; transform:translateY(-4px); }
    to   { opacity:1; transform:translateY(0); }
}

/* Locked overlay */
.ade-locked-overlay {
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
}
.ade-locked-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, var(--ade-bg) 90%);
    pointer-events: none;
}
.ade-locked-msg {
    position: relative;
    z-index: 1;
    font-family: var(--ade-mono);
    font-size: 14px;
    color: var(--ade-text-dim);
    margin-bottom: 16px;
}

/* ══════════════════════════════════════
   ACTION PLAN STEPS
   ══════════════════════════════════════ */
.ade-phase { margin-bottom: 40px; }
.ade-phase:last-child { margin-bottom: 0; }
.ade-phase-title {
    font-family: var(--ade-serif);
    font-size: 19px;
    font-weight: 600;
    color: var(--ade-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(245,158,11,0.1);
}
.ade-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    border-radius: var(--ade-r-md);
    margin-bottom: 10px;
    background: rgba(0,0,0,0.15);
    transition: background 0.3s var(--ade-ease);
}
.ade-step:hover { background: rgba(0,0,0,0.25); }
.ade-step-check {
    width: 26px; height: 26px;
    border: 2px solid var(--ade-border-hover);
    border-radius: 8px;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ade-ease-bounce);
    margin-top: 2px;
    background: transparent;
    color: transparent;
    font-size: 14px;
}
.ade-step-check:hover { border-color: var(--ade-primary); transform: scale(1.1); }
.ade-step-check.ade-checked {
    background: var(--ade-primary);
    border-color: var(--ade-primary);
    color: #000;
}
.ade-step-content { flex: 1; min-width: 0; }
.ade-step-task {
    font-size: 17px;
    font-weight: 500;
    color: var(--ade-text);
    margin-bottom: 8px;
    line-height: 1.4;
}
.ade-step.ade-completed .ade-step-task {
    text-decoration: line-through;
    opacity: 0.5;
}
.ade-step-meta {
    font-family: var(--ade-mono);
    font-size: 13px;
    color: var(--ade-text-dim);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.ade-step-howto-btn {
    font-family: var(--ade-mono);
    font-size: 12px;
    color: var(--ade-blue);
    background: rgba(59,130,246,0.06);
    border: 1px solid rgba(59,130,246,0.12);
    border-radius: 20px;
    padding: 6px 18px;
    cursor: pointer;
    margin-top: 10px;
    display: inline-block;
    transition: all 0.3s var(--ade-ease);
}
.ade-step-howto-btn:hover { background: rgba(59,130,246,0.12); }
.ade-step-guide {
    margin-top: 14px;
    padding: 20px;
    background: rgba(59,130,246,0.04);
    border: 1px solid rgba(59,130,246,0.08);
    border-radius: var(--ade-r-md);
    font-size: 15px;
    color: var(--ade-text-secondary);
    line-height: 1.75;
    display: none;
}
.ade-step-guide.ade-visible {
    display: block;
    animation: ade-fadeIn 0.3s var(--ade-ease);
}

/* ══════════════════════════════════════
   PROGRESS BAR
   ══════════════════════════════════════ */
.ade-progress-wrap { margin: 28px 0; }
.ade-progress-bar-outer {
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
    height: 7px;
    overflow: hidden;
}
.ade-progress-bar-inner {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--ade-primary), var(--ade-accent));
    transition: width 0.6s var(--ade-ease);
}
.ade-progress-label {
    font-family: var(--ade-mono);
    font-size: 12px;
    color: var(--ade-text-dim);
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

/* ══════════════════════════════════════
   REVENUE, STREAKS, ACHIEVEMENTS
   ══════════════════════════════════════ */
.ade-revenue-form {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.ade-revenue-input {
    flex: 1;
    min-width: 140px;
    padding: 14px 18px;
    font-family: var(--ade-mono);
    font-size: 15px;
    color: var(--ade-text);
    background: rgba(0,0,0,0.25);
    border: 1px solid var(--ade-border);
    border-radius: var(--ade-r-md);
    outline: none;
    transition: all 0.3s var(--ade-ease);
}
.ade-revenue-input:focus { border-color: var(--ade-green); box-shadow: 0 0 0 3px rgba(16,185,129,0.1); }
.ade-revenue-total {
    font-family: var(--ade-mono);
    font-size: 36px;
    font-weight: 700;
    color: var(--ade-green);
}
.ade-achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    margin-top: 24px;
}
.ade-achievement {
    text-align: center;
    padding: 28px 16px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--ade-border);
    border-radius: var(--ade-r-md);
    transition: all 0.3s var(--ade-ease);
}
.ade-achievement.ade-unlocked {
    border-color: rgba(245,158,11,0.25);
    background: rgba(245,158,11,0.04);
}
.ade-achievement.ade-locked-ach { opacity: 0.3; }
.ade-achievement-icon { font-size: 40px; margin-bottom: 12px; }
.ade-achievement-name {
    font-family: var(--ade-mono);
    font-size: 11px;
    color: var(--ade-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.ade-streak-display { display: flex; gap: 36px; margin: 24px 0; }
.ade-streak-item { text-align: center; }
.ade-streak-num {
    font-family: var(--ade-mono);
    font-size: 44px;
    font-weight: 700;
    color: var(--ade-primary);
    line-height: 1;
    margin-bottom: 8px;
}
.ade-streak-label {
    font-family: var(--ade-mono);
    font-size: 11px;
    color: var(--ade-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Crypto */
.ade-crypto-section { display: none; }
.ade-crypto-enabled .ade-crypto-section { display: block; }
.ade-wallet-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #9333EA, #6D28D9);
    border: none;
    border-radius: 60px;
    color: #fff;
    font-family: var(--ade-mono);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s var(--ade-ease);
}
.ade-wallet-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(147,51,234,0.3); }
.ade-token-balance { font-family: var(--ade-mono); font-size: 30px; font-weight: 700; color: var(--ade-purple); }

/* ══════════════════════════════════════
   TOASTS
   ══════════════════════════════════════ */
.ade-toast-container {
    position: fixed;
    top: 32px; right: 32px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.ade-toast {
    padding: 18px 28px;
    border-radius: var(--ade-r-md);
    font-family: var(--ade-mono);
    font-size: 14px;
    color: var(--ade-text);
    background: var(--ade-bg3);
    border: 1px solid var(--ade-border);
    box-shadow: var(--ade-shadow-lg);
    pointer-events: auto;
    animation: ade-toastIn 0.4s var(--ade-ease), ade-toastOut 0.4s var(--ade-ease) 3.6s forwards;
    max-width: 400px;
    backdrop-filter: blur(12px);
}
.ade-toast-success { border-left: 3px solid var(--ade-green); }
.ade-toast-reward  { border-left: 3px solid var(--ade-primary); }
.ade-toast-crypto  { border-left: 3px solid var(--ade-purple); }
.ade-toast-error   { border-left: 3px solid var(--ade-accent); }
@keyframes ade-toastIn  { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:translateX(0); } }
@keyframes ade-toastOut { from { opacity:1; transform:translateX(0); }    to { opacity:0; transform:translateX(40px); } }

/* ══════════════════════════════════════
   MODAL
   ══════════════════════════════════════ */
.ade-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5,9,16,0.88);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(6px);
}
.ade-modal {
    background: var(--ade-bg2);
    border: 1px solid var(--ade-glass-border);
    border-radius: var(--ade-r-xl);
    max-width: 640px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: var(--ade-shadow-lg);
}
.ade-modal-close {
    float: right;
    background: none;
    border: none;
    color: var(--ade-text-dim);
    font-size: 22px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: var(--ade-r-sm);
}
.ade-modal-close:hover { color: var(--ade-text); background: rgba(255,255,255,0.05); }
.ade-modal h3 { font-family: var(--ade-serif); font-size: 24px; font-weight: 600; margin-bottom: 24px; color: var(--ade-text); }
.ade-modal p { font-size: 16px; color: var(--ade-text-secondary); line-height: 1.8; margin-bottom: 16px; }

/* ══════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════ */
.ade-tip {
    background: rgba(59,130,246,0.04);
    border: 1px solid rgba(59,130,246,0.08);
    border-radius: var(--ade-r-md);
    padding: 18px 22px;
    margin: 24px 0;
    font-size: 15px;
    color: var(--ade-text-secondary);
    line-height: 1.6;
}
.ade-tip::before { content: '\1F4A1\00a0'; }

.ade-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.ade-table th {
    font-family: var(--ade-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ade-text-dim);
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ade-border);
}
.ade-table td {
    font-size: 15px;
    color: var(--ade-text-secondary);
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    line-height: 1.55;
}
.ade-table tr:last-child td { border-bottom: none; }

.ade-severity, .ade-priority {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--ade-mono);
    font-size: 11px;
    font-weight: 500;
}
.ade-severity-low    { background: rgba(16,185,129,0.1);  color: #34D399; }
.ade-severity-medium { background: rgba(245,158,11,0.1);  color: #FBBF24; }
.ade-severity-high   { background: rgba(239,68,68,0.1);   color: #F87171; }
.ade-priority-essential   { background: rgba(239,68,68,0.1);   color: #F87171; }
.ade-priority-recommended { background: rgba(245,158,11,0.1);  color: #FBBF24; }
.ade-priority-optional    { background: rgba(100,116,139,0.1); color: var(--ade-text-dim); }

.ade-pricing-toggle {
    display: inline-flex;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--ade-border);
    border-radius: 60px;
    padding: 4px;
}
.ade-pricing-toggle-btn {
    font-family: var(--ade-mono);
    font-size: 13px;
    padding: 12px 28px;
    border: none;
    border-radius: 60px;
    background: transparent;
    color: var(--ade-text-dim);
    cursor: pointer;
    transition: all 0.3s var(--ade-ease);
}
.ade-pricing-toggle-btn.ade-active {
    background: var(--ade-primary);
    color: #000;
    font-weight: 600;
}

.ade-upgrade-prompt {
    background: linear-gradient(135deg, rgba(245,158,11,0.04), rgba(239,68,68,0.03));
    border: 1px solid rgba(245,158,11,0.1);
    border-radius: var(--ade-r-xl);
    padding: 56px 40px;
    text-align: center;
    margin: 56px 0;
}
.ade-upgrade-prompt h3 {
    font-family: var(--ade-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--ade-text);
    margin-bottom: 12px;
}
.ade-upgrade-prompt p {
    font-size: 17px;
    color: var(--ade-text-secondary);
    margin-bottom: 28px;
    line-height: 1.65;
}

.ade-disclaimer {
    font-family: var(--ade-mono);
    font-size: 12px;
    color: var(--ade-text-dim);
    background: rgba(239,68,68,0.03);
    border: 1px solid rgba(239,68,68,0.06);
    border-radius: var(--ade-r-sm);
    padding: 16px 18px;
    margin-top: 20px;
    line-height: 1.6;
}

.ade-encourage {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%) scale(0.8);
    font-size: 24px;
    padding: 20px 36px;
    background: var(--ade-bg2);
    border: 1px solid var(--ade-primary);
    border-radius: var(--ade-r-xl);
    box-shadow: 0 0 60px rgba(245,158,11,0.1), var(--ade-shadow-lg);
    z-index: 100001;
    animation: ade-popIn 0.4s var(--ade-ease-bounce) forwards, ade-popOut 0.4s var(--ade-ease) 1.8s forwards;
    pointer-events: none;
    white-space: nowrap;
    backdrop-filter: blur(12px);
}
@keyframes ade-popIn  { from { opacity:0; transform:translate(-50%,-50%) scale(0.6); } to { opacity:1; transform:translate(-50%,-50%) scale(1); } }
@keyframes ade-popOut { from { opacity:1; transform:translate(-50%,-50%) scale(1); }   to { opacity:0; transform:translate(-50%,-50%) scale(1.1); } }

/* Dashboard */
.ade-dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 56px;
}
.ade-dash-stat {
    background: var(--ade-glass);
    border: 1px solid var(--ade-glass-border);
    border-radius: var(--ade-r-xl);
    padding: 36px 28px;
    text-align: center;
    backdrop-filter: blur(8px);
}
.ade-dash-stat-value {
    font-family: var(--ade-mono);
    font-size: 40px;
    font-weight: 700;
    color: var(--ade-primary);
    margin-bottom: 8px;
}
.ade-dash-stat-label {
    font-family: var(--ade-mono);
    font-size: 11px;
    color: var(--ade-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ade-footer {
    text-align: center;
    padding: 56px 0 28px;
    border-top: 1px solid var(--ade-border);
    margin-top: 80px;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 768px) {
    .ade-content { padding: 36px 20px 80px; }
    .ade-input-area { padding: 12vh 0 8vh; min-height: auto; }
    .ade-hero-title { font-size: clamp(34px, 10vw, 50px); }
    .ade-hero-sub { margin-bottom: 40px; }
    .ade-paths-grid { grid-template-columns: 1fr; gap: 20px; }
    .ade-path-card { padding: 28px 22px 24px; }
    .ade-path-name { font-size: 24px; }
    .ade-path-desc { font-size: 15px; }
    .ade-input { font-size: 17px; padding: 20px 60px 20px 24px; }
    .ade-submit-btn { width: 44px; height: 44px; font-size: 19px; right: 8px; }
    .ade-examples { gap: 8px; margin-top: 28px; }
    .ade-example-chip { font-size: 12px; padding: 8px 16px; }
    .ade-dream-header { margin-bottom: 40px; }
    .ade-path-meta { grid-template-columns: 1fr; }
    .ade-dash-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
    .ade-achievements-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .ade-modal { padding: 28px 20px; max-height: 90vh; }
    .ade-revenue-form { flex-direction: column; }
    .ade-streak-display { justify-content: center; }
    .ade-bp-section-header { padding: 22px 22px; }
    .ade-bp-section-body { padding: 0 22px 22px; }
    .ade-upgrade-prompt { padding: 40px 24px; }
    .ade-step { padding: 16px 16px; }
    .ade-step-task { font-size: 15px; }
}
@media (max-width: 480px) {
    .ade-content { padding: 24px 16px 60px; }
    .ade-hero-title { font-size: 32px; }
    .ade-dream-title { font-size: 28px; }
    .ade-dash-stats { grid-template-columns: 1fr; }
    .ade-path-name { font-size: 22px; }
    .ade-bp-section-title { font-size: 17px; }
    .ade-upgrade-prompt h3 { font-size: 22px; }
}

/* ══════════════════════════════════════
   GUTENBERG EDITOR PREVIEW (admin only)
   ══════════════════════════════════════ */
.ade-editor-preview {
    background: #0A1020;
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #94A3B8;
}
.ade-editor-preview__icon {
    font-size: 36px;
    margin-bottom: 16px;
}
.ade-editor-preview__title {
    font-size: 18px;
    font-weight: 600;
    color: #F1F5F9;
    margin-bottom: 8px;
}
.ade-editor-preview__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #64748B;
}
