/* ==========================================================================
   Világos téma – EZ AZ ALAP (<html data-theme="light">). A sötét a site.css/demo.css
   :root értékeivel fut; a fejléc kapcsolója vált a kettő között (localStorage: gaia-theme).
   Elv: fehér + halvány menta felületek, mély smaragd kiemelés, lágy árnyékok; a mozgás
   ugyanaz, csak fény helyett színnel és árnyékkal. Nagy, fekete felület nincs.
   ========================================================================== */

html[data-theme="light"] {
    color-scheme: light;

    /* A „sötét” szekciók világos megfelelői */
    --d-bg:      #f1f8f4;
    --d-bg-2:    #ffffff;
    --d-surface: rgba(255,255,255,.78);
    --d-surface-2: #ffffff;
    --d-line:    rgba(6,78,59,.14);
    --d-ink:     #06201a;
    --d-ink-2:   #3d5149;
    --d-ink-3:   #566a61;

    --mint:      #047857;
    --lime:      #047857;
    --mint-hex:  #059669;
    --lime-on-ink: #a7f3d0;
    --grad:      linear-gradient(135deg, #087f55 0%, #047857 50%, #065f46 100%);
    --grad-text: linear-gradient(100deg, #065f46 0%, #047857 45%, #059669 100%);
    --on-grad:   #ffffff;
    --on-grad-2: #ffffff;

    --bg:        #ffffff;
    --bg-alt:    #f1f8f4;
    --ink-2:     #3d5149;
    --ink-3:     #566a61;
    --line:      #dceae2;
    --brand:     #047857;

    --wh:        6,78,59;        /* a fehér fátylak és vonalak helyett halvány zöld */
    --mi:        5,150,105;
    --header-bg: rgba(255,255,255,.86);
    --menu-bg:   rgba(255,255,255,.98);
    --panel:     linear-gradient(152deg, #ffffff, #f3fbf6);
    --panel-2:   linear-gradient(152deg, #ffffff, #f3fbf6);
    --badge-bg:  rgba(255,255,255,.92);
    --spark:     #10b981;
    --hf-big:    #06201a;

    --shadow:    0 1px 2px rgba(6,60,40,.05), 0 14px 34px -16px rgba(6,60,40,.20);
    --shadow-lg: 0 34px 80px -34px rgba(6,78,59,.38);
    --glow:      0 10px 26px -10px rgba(4,120,87,.55);
}
html[data-theme="light"] body { background: var(--bg); }
html[data-theme="light"] ::selection { background: #a7f3d0; color: #06201a; }

/* ---------- Hátterek: pasztell fények ---------- */
[data-theme="light"] .hero, [data-theme="light"] .page-hero { background: linear-gradient(180deg, #e9f7ef 0%, #f6fbf8 55%, #ffffff 100%); }
[data-theme="light"] .page-hero:has(+ .section.dark) { background: linear-gradient(180deg, #e9f7ef 0%, #f1f8f4 100%); }
[data-theme="light"] .bg-grid { opacity: .75; }
[data-theme="light"] .aurora { opacity: .8; }
[data-theme="light"] .aurora i { mix-blend-mode: normal; }
[data-theme="light"] .aurora i:nth-child(1) { background: radial-gradient(circle, rgba(110,231,183,.50), transparent 65%); }
[data-theme="light"] .aurora i:nth-child(2) { background: radial-gradient(circle, rgba(153,225,217,.45), transparent 65%); }
[data-theme="light"] .aurora i:nth-child(3) { background: radial-gradient(circle, rgba(167,243,208,.45), transparent 65%); }
[data-theme="light"] .rays i:nth-child(1) { background: repeating-linear-gradient(102deg, transparent 0 70px, rgba(16,185,129,.13) 70px 86px, transparent 86px 150px, rgba(255,255,255,.75) 150px 162px, transparent 162px 230px); }
[data-theme="light"] .rays i:nth-child(2) { background: repeating-linear-gradient(98deg, transparent 0 120px, rgba(255,255,255,.85) 120px 136px, transparent 136px 260px); }
[data-theme="light"] .rays i:nth-child(3) { background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.95) 48%, transparent 56%); }
[data-theme="light"] .glow-pool { background: radial-gradient(closest-side, rgba(52,211,153,.36), transparent); }

/* ---------- Fejléc, gombok ---------- */
[data-theme="light"] .main-nav ul { box-shadow: 0 6px 20px -14px rgba(6,78,59,.4); }
[data-theme="light"] .main-nav ul a[aria-current="page"] { background: #065f46; color: #ffffff; }
[data-theme="light"] .btn-primary:hover, [data-theme="light"] .btn-accent:hover { box-shadow: 0 16px 34px -12px rgba(4,120,87,.7); }
[data-theme="light"] .btn-glass, [data-theme="light"] .dark .btn-ghost { box-shadow: 0 8px 22px -16px rgba(6,78,59,.5); }
[data-theme="light"] .btn-glass:hover, [data-theme="light"] .dark .btn-ghost:hover, [data-theme="light"] .btn-ghost:hover { border-color: #047857; }
[data-theme="light"] .pill-badge { box-shadow: 0 8px 22px -16px rgba(6,78,59,.5); }

/* ---------- Kártyák, tények, csomagok ---------- */
[data-theme="light"] .card-icon, [data-theme="light"] .dark .card-icon { background: linear-gradient(135deg, #d1fae5, #ecfdf5); color: #065f46; box-shadow: inset 0 0 0 1px rgba(5,150,105,.18); }
[data-theme="light"] .facts-card { box-shadow: var(--shadow-lg); }
[data-theme="light"] .facts-card li .icon { color: #ffffff; }
[data-theme="light"] .faq details[open] .faq-icon { background: #065f46; color: #ffffff; }
[data-theme="light"] .plan-featured { background: linear-gradient(180deg, #e3f7ec 0%, #ffffff 62%); box-shadow: 0 0 0 2px #059669, 0 40px 80px -40px rgba(6,78,59,.55); }
[data-theme="light"] .plan-featured::before { background: radial-gradient(420px 220px at 80% 0%, rgba(52,211,153,.28), transparent 70%); }
[data-theme="light"] .notice { background: #fef3c7; color: #854d0e; border-color: #fcd34d; }
[data-theme="light"] .form-card { box-shadow: 0 44px 90px -46px rgba(6,78,59,.5); }
[data-theme="light"] .page-hero-form { background: linear-gradient(180deg, #e3f5ea 0%, #eef8f2 100%); }

/* Ajánlatkérő doboz: menta felület, körbefutó zöld fény a szegélyén */
[data-theme="light"] .cta-box { background: #e6f6ed; box-shadow: var(--shadow-lg); }
[data-theme="light"] .cta-box::before { background: conic-gradient(from 0deg, transparent 0 58%, rgba(16,185,129,.9) 75%, rgba(52,211,153,.75) 83%, transparent 93%); }
[data-theme="light"] .cta-box::after { inset: 2px; border-radius: 30px; background: radial-gradient(640px 280px at 50% 0%, rgba(110,231,183,.50), transparent 70%), #f2faf5; }

/* ---------- Lábléc ---------- */
[data-theme="light"] .site-footer { background: linear-gradient(180deg, #eef7f1, #e4f3ea); }
[data-theme="light"] .footer-word { background: linear-gradient(180deg, rgba(4,120,87,.22), rgba(4,120,87,0) 85%); -webkit-background-clip: text; background-clip: text; }

/* ---------- Hero-panelek: fény helyett árnyék és zöld keret ---------- */
[data-theme="light"] .hf-base { stroke: rgba(6,78,59,.28); }
[data-theme="light"] .hf-wire { stroke: #059669; filter: drop-shadow(0 0 4px rgba(16,185,129,.55)); }
[data-theme="light"] .hf-spark { filter: drop-shadow(0 0 5px rgba(16,185,129,.95)); }
[data-theme="light"] .hf-panel { filter: saturate(calc(.5 + var(--on) * .5));
    border-color: rgba(5,150,105, calc(.18 + var(--on) * .62));
    box-shadow: 0 0 0 calc(var(--on) * 3px) rgba(16,185,129,.16), 0 1.5em 3em -1.5em rgba(6,78,59, calc(.28 + var(--on) * .4)); }
[data-theme="light"] .hf-k { color: #047857; }
[data-theme="light"] .hf-tile { color: #047857; }
[data-theme="light"] .hf-pill { color: #065f46; opacity: 1; }
[data-theme="light"] .hf-bars span::after { background: linear-gradient(90deg, #059669, #34d399); }
[data-theme="light"] .hf-badge b { color: #047857; }
[data-theme="light"] .hf-badge { box-shadow: 0 12px 28px -16px rgba(6,78,59,.5); }

/* ---------- Bemutató-lejátszó ---------- */
[data-theme="light"] .player { background: #ffffff; box-shadow: 0 0 0 1px rgba(5,150,105,.08), 0 60px 120px -60px rgba(6,78,59,.55); }
[data-theme="light"] .player-stage { box-shadow: inset 0 0 0 1px rgba(6,78,59,.08); }
[data-theme="light"] .player.is-paused .player-stage::after { background: rgba(236,248,241,.55); }
[data-theme="light"] .player-bigplay { box-shadow: 0 0 0 10px rgba(16,185,129,.20), 0 20px 40px -14px rgba(6,78,59,.6); }
/* A jelenetek mély felületei smaragdra világosítva */
[data-theme="light"] .e-side { background: linear-gradient(180deg, #e2f4ea, #d3eddf); color: #31594a; }
[data-theme="light"] .e-nav.on { background: #047857; color: #ffffff; }
[data-theme="light"] .w-navcta, [data-theme="light"] .w-send, [data-theme="light"] .w-filters i.on { background: #047857; border-color: #047857; color: #ffffff; }
[data-theme="light"] .w-btn { background: #047857; color: #ffffff; }
[data-theme="light"] .w-toast, [data-theme="light"] .e-toast { background: #ffffff; color: #06201a; box-shadow: 0 0 0 1px rgba(5,150,105,.25), 0 1em 2.2em -.8em rgba(6,78,59,.5); }
[data-theme="light"] .w-toast .icon { background: #059669; color: #ffffff; }
[data-theme="light"] .e-toast small { color: #566a61; }
[data-theme="light"] .e-ping, [data-theme="light"] .e-ping::after { background: #10b981; }
[data-theme="light"] .e-avatar, [data-theme="light"] .tag-won { background: #047857; color: #ffffff; }
[data-theme="light"] .q-total { background: #e2f6ea; color: #06201a; }
[data-theme="light"] .q-total b { color: #047857; }
[data-theme="light"] .f-chart { background: #ffffff; box-shadow: 0 .4em 1.2em -.8em rgba(6,20,12,.25); }
[data-theme="light"] .f-bars i { background: linear-gradient(180deg, #34d399, #bbf0d6); }
[data-theme="light"] .f-line polyline { stroke: #065f46; filter: none; }
[data-theme="light"] .f-months span { color: #566a61; }

/* ---------- Folyamat és bento ---------- */
[data-theme="light"] .pipe-step:first-child .pipe-node { background: var(--grad); color: #ffffff; }
[data-theme="light"] .bx { box-shadow: 0 20px 44px -34px rgba(6,78,59,.55); }
[data-theme="light"] .bx::before { background: radial-gradient(420px 220px at var(--mx, 80%) var(--my, 0%), rgba(110,231,183,.38), transparent 70%); }
[data-theme="light"] #bsky stop:first-child { stop-color: #c9ecd9; }
[data-theme="light"] #bsky stop:last-child { stop-color: #e9f8ef; }
[data-theme="light"] .art-cat > div { background: #ffffff; box-shadow: 0 10px 24px -18px rgba(6,78,59,.6); }
[data-theme="light"] .art-cat svg path { fill: #047857; }
[data-theme="light"] .art-cat > div:nth-child(even) svg path { fill: #10b981; }
[data-theme="light"] .art-leads div { background: #ffffff; }
[data-theme="light"] .art-gantt span::after { background: linear-gradient(90deg, #059669, #34d399); }
[data-theme="light"] .art-wave i { background: #10b981; }
[data-theme="light"] .art-portals span { background: #ffffff; box-shadow: 0 10px 22px -16px rgba(6,78,59,.6); }
[data-theme="light"] .art-portals .c { background: var(--grad); box-shadow: var(--glow); }
[data-theme="light"] .device-glow { background: radial-gradient(closest-side, rgba(52,211,153,.40), transparent); }

[data-theme="light"] .brand-name span { background: none; color: #047857; }
@media (max-width: 860px) { [data-theme="light"] .main-nav ul { box-shadow: none; } }
