/* =====================================================================
 * Aktywa Energetyczne - Landing (early access)  |  CSS premium, scoped pod .ae
 * Brand: navy #15375C / #0A2238 · emerald #35C97E · amber #FFB52E
 * Fonty: Sora (nagłówki) + Inter (tekst) - ładowane przez functions.php.
 * ===================================================================== */
.ae {
  --navy: #15375C;
  --navy-2: #0e2b48;
  --navy-deep: #0A2238;
  --navy-900: #07182a;
  --green: #35C97E;
  --green-600: #1fa968;
  --green-700: #178a53;
  --amber: #FFB52E;
  --amber-600: #f0a100;
  --ink: #16242f;
  --slate: #5a6b78;
  --slate-2: #8597a4;
  --line: #e4ecf1;
  --paper: #f3f7f9;
  --paper-2: #eaf1f4;
  --white: #fff;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --shadow: 0 30px 70px -34px rgba(10, 34, 56, .45);
  --shadow-card: 0 18px 44px -26px rgba(10, 34, 56, .30);
  --shadow-soft: 0 6px 18px -10px rgba(10, 34, 56, .22);
  --maxw: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
}
.ae *, .ae *::before, .ae *::after { box-sizing: border-box; }
.ae img, .ae svg { max-width: 100%; display: block; }
.ae a { color: inherit; text-decoration: none; }
.ae-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }

/* ---------- Typografia ---------- */
.ae h1, .ae h2, .ae h3 { font-family: "Sora", "Inter", sans-serif; }
.ae-eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green-700); margin-bottom: 16px;
}
.ae-eyebrow-glow { color: var(--amber); }
.ae-h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -.025em; margin: 0 0 20px; }
.ae-h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.022em; line-height: 1.12; margin: 0 0 12px; }
.ae-lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: #cfdeea; margin: 0 0 30px; max-width: 46ch; }
.ae-sub { font-size: clamp(15.5px, 1.6vw, 17px); color: var(--slate); margin: 0; max-width: 62ch; }
.ae-head { max-width: 720px; margin: 0 0 40px; }

/* ---------- Przyciski ---------- */
.ae-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Inter", sans-serif; font-weight: 700; font-size: 15px; line-height: 1;
  cursor: pointer; border: 0; border-radius: 12px; padding: 15px 26px;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.ae-btn:hover { transform: translateY(-2px); }
.ae-btn:active { transform: translateY(0); }
.ae-btn:focus-visible, .ae a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.ae-btn-amber { background: linear-gradient(180deg, #ffc14d, var(--amber)); color: #2a1c00; box-shadow: 0 14px 30px -12px rgba(255, 181, 46, .65); }
.ae-btn-amber:hover { background: linear-gradient(180deg, var(--amber), var(--amber-600)); box-shadow: 0 18px 38px -12px rgba(255, 181, 46, .7); }
.ae-btn-green { background: linear-gradient(180deg, #3ed88a, var(--green-600)); color: #042418; box-shadow: 0 14px 30px -14px rgba(31, 169, 104, .6); }
.ae-btn-green:hover { background: linear-gradient(180deg, var(--green-600), var(--green-700)); color: #fff; }
.ae-btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(4px); }
.ae-btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); }
.ae-btn-sm { padding: 11px 18px; font-size: 14px; border-radius: 10px; }
.ae-btn-lg { padding: 17px 30px; font-size: 16px; }
.ae-btn-block { width: 100%; }

/* ---------- Nagłówek / nawigacja ---------- */
.ae-nav { background: rgba(7, 24, 42, .82); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ae-nav-inner { display: flex; align-items: center; gap: 20px; height: 70px; }
.ae-brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.ae-brand-mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.ae-mark-svg { width: 100%; height: 100%; }
.ae-brand-tx { font-family: "Sora", sans-serif; font-weight: 800; letter-spacing: -.01em; color: #fff; font-size: 18px; }
.ae-brand-tx span { color: var(--amber); }
.ae-nav-links { display: flex; gap: 26px; }
.ae-nav-links a { font-size: 14.5px; font-weight: 600; color: #b9cad9; transition: color .15s ease; }
.ae-nav-links a:hover { color: #fff; }
.ae-nav-right { display: flex; align-items: center; gap: 16px; }
/* Przelacznik jezyka - segmentowy pill toggle (aktywny segment wypelniony amber). */
.ae-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); }
.ae-lang-ic { display: inline-grid; place-items: center; width: 20px; height: 20px; color: #8ea3b5; margin: 0 1px 0 4px; }
.ae-lang-ic svg { width: 15px; height: 15px; }
.ae-lang-opt { color: #aebccb; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; line-height: 1; transition: color .15s ease, background .15s ease, box-shadow .15s ease; }
.ae-lang-opt:hover { color: #fff; }
.ae-lang-opt.is-active { color: #07182a; background: var(--amber); box-shadow: 0 2px 8px rgba(255, 181, 46, .35); }
.ae-lang-opt.is-active:hover { color: #07182a; }

/* Przelacznik jezyka w menu mobilnym (wyrazny, z etykieta). */
.ae-mobile-lang { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .09); }
.ae-mobile-lang > span { font-size: 13px; font-weight: 600; color: #8ea3b5; margin-right: auto; }
.ae-mobile-lang .ae-lang-opt { border: 1px solid rgba(255, 255, 255, .16); padding: 8px 16px; font-size: 14px; }
.ae-mobile-lang .ae-lang-opt.is-active { border-color: var(--amber); }

/* Hamburger + menu mobilne */
.ae-burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(255, 255, 255, .18); border-radius: 11px; cursor: pointer; }
.ae-burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.ae-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ae-burger.is-open span:nth-child(2) { opacity: 0; }
.ae-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ae-mobile-menu { background: rgba(7, 24, 42, .98); border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ae-mobile-menu[hidden] { display: none; }
.ae-mobile-menu-inner { display: grid; gap: 6px; padding: 16px 22px 22px; }
.ae-mobile-menu-inner a { color: #cdddea; font-weight: 600; font-size: 16px; padding: 12px 4px; border-radius: 8px; }
.ae-mobile-menu-inner a:hover { color: #fff; }
.ae-mobile-menu-inner .ae-btn { margin-top: 8px; color: #2a1c00; }

/* ---------- Tło gradientowe (mesh) ---------- */
.ae-hero, .ae-section-dark, .ae-cta-final { position: relative; overflow: hidden; }
.ae-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(70% 90% at 82% -8%, rgba(53, 201, 126, .20) 0%, transparent 55%),
    radial-gradient(60% 80% at 6% 8%, rgba(255, 181, 46, .14) 0%, transparent 55%),
    radial-gradient(120% 130% at 50% 0%, var(--navy) 0%, var(--navy-deep) 48%, var(--navy-900) 100%);
}
.ae-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .045) 1px, transparent 0);
  background-size: 26px 26px; opacity: .6;
}
.ae-hero-bg-soft { background: radial-gradient(80% 120% at 80% 0%, rgba(53, 201, 126, .12) 0%, transparent 50%), linear-gradient(180deg, var(--navy-deep), var(--navy-900)); }

/* ---------- Hero ---------- */
.ae-hero { color: #fff; padding: 84px 0 92px; }
.ae-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.ae-hero-trust { display: inline-flex; align-items: center; gap: 11px; font-size: 14px; color: #aec3d2; }
.ae-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(53, 201, 126, .22); flex: none; animation: aePulse 2.4s var(--ease) infinite; }
.ae-hero-cta { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 26px; }

/* Glass card */
.ae-glass { background: linear-gradient(165deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035)); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-xl); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.ae-hero-card { padding: 30px 28px; position: relative; }
.ae-hero-card-mark { width: 52px; height: 52px; margin-bottom: 16px; }
.ae-hero-card-title { font-size: 22px; font-weight: 800; color: #fff; margin: 4px 0 18px; letter-spacing: -.01em; }
.ae-hero-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.ae-hero-list li { position: relative; padding-left: 28px; font-size: 14.5px; color: #d8e6ef; }
.ae-hero-list li::before { content: "\2713"; position: absolute; left: 0; top: -1px; width: 19px; height: 19px; border-radius: 50%; background: rgba(53, 201, 126, .18); color: var(--green); font-size: 11px; font-weight: 800; display: grid; place-items: center; }

/* ---------- Sekcje ---------- */
.ae-section { padding: 88px 0; }
.ae-section-alt { background: var(--paper); }
.ae-section-dark { background: var(--navy-deep); color: #fff; }
.ae-section-dark .ae-h2 { color: #fff; }
.ae-section-dark .ae-sub { color: #b3c6d3; }

/* ---------- Siatki / karty ---------- */
.ae-grid { display: grid; gap: 24px; }
.ae-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ae-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ae-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px 30px; box-shadow: var(--shadow-card); }
.ae-card-lift { transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .2s ease; }
.ae-card-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d4e2ea; }
.ae-card-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.ae-card-ic svg { width: 27px; height: 27px; }
.ae-ic-green { background: rgba(53, 201, 126, .12); color: var(--green-700); }
.ae-ic-amber { background: rgba(255, 181, 46, .16); color: var(--amber-600); }
.ae-card h3 { font-size: 20px; margin: 0 0 10px; font-weight: 700; letter-spacing: -.01em; }
.ae-card p { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.65; }

/* Korzyści (dark) */
.ae-benefits { gap: 16px; }
.ae-benefit { display: flex; gap: 13px; align-items: flex-start; background: linear-gradient(165deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .11); border-radius: var(--r); padding: 20px 22px; font-size: 15px; color: #e6f0f5; line-height: 1.5; transition: transform .25s var(--ease), border-color .2s ease; }
.ae-benefit:hover { transform: translateY(-3px); border-color: rgba(53, 201, 126, .4); }
.ae-check { color: var(--green); font-weight: 800; flex: none; }

/* Kroki */
.ae-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ae-steps li { display: flex; gap: 20px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; box-shadow: var(--shadow-soft); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ae-steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.ae-step-no { flex: none; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, var(--green), var(--green-700)); color: #fff; font-family: "Sora", sans-serif; font-weight: 800; display: grid; place-items: center; font-size: 19px; box-shadow: 0 10px 22px -10px rgba(31, 169, 104, .6); }
.ae-steps h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.ae-steps p { margin: 0; color: var(--slate); font-size: 14.5px; }

/* ---------- Formularz ---------- */
.ae-form-section { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.ae-form-wrap { display: grid; grid-template-columns: .92fr 1.08fr; gap: 50px; align-items: start; }
.ae-form-intro { padding-top: 6px; }
.ae-form-trust { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.ae-form-trust li { display: flex; gap: 11px; align-items: center; font-size: 15px; color: var(--ink); font-weight: 600; }
.ae-formcard { padding: 32px 32px 34px; }
.ae-field { margin-bottom: 16px; }
.ae-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.ae-field input, .ae-field select {
  width: 100%; border: 1px solid #d7e2e9; border-radius: 12px; padding: 14px 15px; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--white); transition: border-color .15s ease, box-shadow .15s ease;
}
.ae-field input:hover, .ae-field select:hover { border-color: #b9ccd6; }
.ae-field input:focus, .ae-field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(53, 201, 126, .15); }
.ae-field input:focus-visible, .ae-field select:focus-visible, .ae-consent input:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.ae-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ae-consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: var(--slate); margin: 10px 0 4px; cursor: pointer; line-height: 1.5; }
.ae-consent input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: var(--green-600); }
.ae-consent a { color: var(--green-700); font-weight: 600; text-decoration: underline; }
.ae-form-note { font-size: 12px; color: var(--slate-2); margin: 14px 0 0; }
.ae-form-err { background: #fdecec; border: 1px solid #f3c9c9; color: #a32d2d; border-radius: 11px; padding: 11px 14px; font-size: 13.5px; margin: 4px 0 14px; }
.ae-submit-wait { opacity: .65; pointer-events: none; }
.ae-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.ae-faq-wrap { max-width: 860px; }
.ae-faq { display: grid; gap: 12px; }
.ae-faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-soft); transition: border-color .2s ease, box-shadow .2s ease; }
.ae-faq-item[open] { border-color: #cfe2d8; box-shadow: var(--shadow-card); }
.ae-faq-item summary { list-style: none; cursor: pointer; padding: 19px 22px; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ae-faq-item summary::-webkit-details-marker { display: none; }
.ae-faq-item summary:focus-visible { outline: 2px solid var(--green); outline-offset: -3px; border-radius: var(--r); }
.ae-faq-chev { width: 11px; height: 11px; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: rotate(45deg); transition: transform .25s var(--ease); flex: none; }
.ae-faq-item[open] .ae-faq-chev { transform: rotate(-135deg); }
.ae-faq-a { padding: 0 22px 20px; color: var(--slate); font-size: 15px; line-height: 1.7; }

/* ---------- Końcowe CTA ---------- */
.ae-cta-final { color: #fff; text-align: center; padding: 96px 0; }
.ae-cta-final-inner { max-width: 680px; margin: 0 auto; }
.ae-cta-final .ae-h2 { color: #fff; }
.ae-cta-final .ae-sub { color: #c3d4df; margin: 0 auto 28px; }

/* ---------- Stopka ---------- */
.ae-footer { background: var(--navy-900); color: #93a8ba; padding: 30px 0; }
.ae-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.ae-footer-brand { font-size: 17px; }
.ae-footer-meta a { color: #d2e1ec; text-decoration: underline; }

/* ---------- Modal sukcesu ---------- */
.ae-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 22px; }
.ae-modal[hidden] { display: none; }
.ae-modal-backdrop { position: absolute; inset: 0; background: rgba(7, 24, 42, .62); backdrop-filter: blur(6px); animation: aeFade .25s var(--ease); }
.ae-modal-card {
  position: relative; z-index: 1; width: 100%; max-width: 460px; background: var(--white);
  border-radius: var(--r-xl); padding: 40px 34px 32px; text-align: center; box-shadow: 0 40px 90px -30px rgba(7, 24, 42, .6);
  animation: aePop .34s var(--ease);
}
.ae-modal-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--slate-2); font-size: 26px; line-height: 1; cursor: pointer; border-radius: 10px; transition: background .15s ease, color .15s ease; }
.ae-modal-x:hover { background: var(--paper); color: var(--ink); }
.ae-modal-ic { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-700)); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 0 0 9px rgba(53, 201, 126, .14); }
.ae-modal-ic svg { width: 34px; height: 34px; }
.ae-modal-card h3 { font-size: 23px; margin: 0 0 10px; letter-spacing: -.01em; }
.ae-modal-card p { color: var(--slate); font-size: 15px; line-height: 1.65; margin: 0 0 24px; }

/* ============ FALA AE-2.3: nowe komponenty ============ */

/* Hero: badge programu startowego (pula 300) */
.ae-hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin: -6px 0 24px;
  background: rgba(255, 181, 46, .10); border: 1px solid rgba(255, 181, 46, .38);
  color: #ffd98f; border-radius: 999px; padding: 9px 16px 9px 13px;
  font-size: 13px; font-weight: 600; line-height: 1.35; max-width: 60ch;
  transition: border-color .2s ease, background .2s ease, transform .18s var(--ease);
}
.ae-hero-badge:hover { background: rgba(255, 181, 46, .16); border-color: rgba(255, 181, 46, .6); transform: translateY(-1px); }
.ae-hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; box-shadow: 0 0 0 4px rgba(255, 181, 46, .18); }

/* Pasek planowanego startu + licznik (w hero, glass na ciemnym tle) */
.ae-launch {
  margin-top: 44px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  background: linear-gradient(165deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg);
  padding: 18px 24px; backdrop-filter: blur(8px);
}
.ae-launch-left { display: grid; gap: 2px; }
.ae-launch-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.ae-launch-date { font-family: "Sora", sans-serif; font-size: 21px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.ae-count { display: inline-flex; align-items: baseline; gap: 8px; }
.ae-count-cell { display: grid; justify-items: center; gap: 1px; min-width: 52px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 8px 10px 7px; }
.ae-count-cell b { font-family: "Sora", sans-serif; font-size: 22px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ae-count-cell small { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9fb4c4; }
.ae-count-sep { color: rgba(255, 255, 255, .35); font-weight: 800; font-size: 18px; align-self: center; }
.ae-launch-live { margin: 0; font-size: 14px; font-weight: 700; color: var(--green); }
.ae-launch-note { margin: 0; font-size: 12.5px; color: #9fb4c4; line-height: 1.5; flex-basis: 260px; flex-grow: 1; }

/* Chip (np. "Pula 300 ogloszen startowych" na karcie Dla kogo) */
.ae-chip {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  background: rgba(255, 181, 46, .12); border: 1px solid rgba(240, 161, 0, .35); color: #8a5b00;
  border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 700;
  transition: background .2s ease, transform .18s var(--ease);
}
.ae-chip-amber:hover { background: rgba(255, 181, 46, .22); transform: translateY(-1px); }

/* Sekcja programu startowego (pula 300) */
.ae-prog-card { padding: 40px 42px; border-top: 4px solid var(--amber); }
.ae-prog-head { max-width: 720px; margin-bottom: 26px; }
.ae-prog-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.ae-prog-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.ae-prog-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ae-prog-note { margin: 0; font-size: 12.5px; color: var(--slate-2); max-width: 46ch; line-height: 1.55; }

/* Teaser bonusu PDF przy formularzu */
.ae-form-bonus {
  display: flex; gap: 13px; align-items: flex-start; margin-top: 22px;
  background: rgba(53, 201, 126, .08); border: 1px solid rgba(53, 201, 126, .28);
  border-radius: var(--r); padding: 15px 17px; font-size: 13.5px; color: var(--ink); line-height: 1.55;
}
.ae-form-bonus-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; background: rgba(53, 201, 126, .14); color: var(--green-700); display: grid; place-items: center; }
.ae-form-bonus-ic svg { width: 19px; height: 19px; }

/* SUCCESS STATE w karcie formularza (po zapisie - koniec bialej plamy) */
.ae-success[hidden] { display: none; }
.ae-success { text-align: left; }
.ae-success-ic { width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-700)); color: #fff; display: grid; place-items: center; margin: 4px 0 16px; box-shadow: 0 0 0 8px rgba(53, 201, 126, .13); }
.ae-success-ic svg { width: 30px; height: 30px; }
.ae-success-title { font-size: 23px; font-weight: 800; letter-spacing: -.015em; margin: 0 0 8px; }
.ae-success-sub { color: var(--slate); font-size: 14.5px; line-height: 1.6; margin: 0 0 20px; }
.ae-success-block { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.ae-success-block h4 { margin: 0 0 10px; font-size: 14.5px; font-weight: 700; color: var(--navy); }
.ae-success-steps { margin: 0; padding-left: 20px; display: grid; gap: 7px; font-size: 14px; color: var(--ink); line-height: 1.55; }
.ae-success-pdf { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: rgba(53, 201, 126, .08); border: 1px solid rgba(53, 201, 126, .28); border-radius: var(--r); padding: 14px 16px; margin-top: 18px; }
.ae-success-pdf p { margin: 0; font-size: 12.5px; color: var(--slate); flex: 1; min-width: 180px; }
.ae-success-seller { border-left: 3px solid var(--amber); padding-left: 16px; border-top: 0; margin-top: 18px; }
.ae-success-seller p { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.6; }
.ae-success-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ae-success-check li { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--slate); line-height: 1.55; padding: 9px 12px; border-radius: 10px; transition: background .2s ease; }
.ae-success-check li.is-you { background: rgba(53, 201, 126, .10); color: var(--ink); font-weight: 600; border: 1px solid rgba(53, 201, 126, .3); }

/* Modal: drugi przycisk (zamknij) w wersji stonowanej */
.ae-btn-ghost-dark { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.ae-btn-ghost-dark:hover { background: var(--paper-2); }

/* ---------- Scroll-reveal ---------- */
.ae [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.ae [data-reveal].is-in { opacity: 1; transform: none; }
/* Staggered reveal - karty/kroki/korzysci pojawiaja sie kolejno (premium) */
.ae-grid > [data-reveal]:nth-child(2), .ae-benefits > [data-reveal]:nth-child(2), .ae-steps > [data-reveal]:nth-child(2) { transition-delay: .07s; }
.ae-grid > [data-reveal]:nth-child(3), .ae-benefits > [data-reveal]:nth-child(3), .ae-steps > [data-reveal]:nth-child(3) { transition-delay: .14s; }
.ae-benefits > [data-reveal]:nth-child(4) { transition-delay: .21s; }
.ae-benefits > [data-reveal]:nth-child(5) { transition-delay: .28s; }
.ae-benefits > [data-reveal]:nth-child(6) { transition-delay: .35s; }

/* ---------- Animacje ---------- */
@keyframes aePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(53, 201, 126, .35); } 50% { box-shadow: 0 0 0 7px rgba(53, 201, 126, 0); } }
@keyframes aeFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes aePop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Responsywność ---------- */
@media (max-width: 920px) {
  .ae-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .ae-hero { padding: 60px 0 68px; }
  .ae-grid-3 { grid-template-columns: 1fr 1fr; }
  .ae-form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .ae-section { padding: 64px 0; }
  .ae-nav-links { display: none; }
  .ae-burger { display: inline-flex; }
}
@media (max-width: 920px) {
  .ae-prog-list { grid-template-columns: 1fr; }
  .ae-prog-card { padding: 30px 26px; }
}
@media (max-width: 620px) {
  .ae-grid-2, .ae-grid-3 { grid-template-columns: 1fr; }
  .ae-row2 { grid-template-columns: 1fr; }
  .ae-hero-cta { flex-direction: column; }
  .ae-hero-cta .ae-btn { width: 100%; }
  .ae-nav-cta { display: none; }
  .ae-formcard { padding: 24px 20px 26px; }
  .ae-modal-card { padding: 34px 24px 28px; }
  .ae-launch { gap: 16px; padding: 16px 18px; }
  .ae-launch-note { flex-basis: 100%; }
  .ae-prog-foot { align-items: flex-start; flex-direction: column; gap: 12px; }
  .ae-prog-foot .ae-btn { width: 100%; }
  .ae-hero-badge { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ae *, .ae *::before, .ae *::after { animation: none !important; transition: none !important; }
  .ae [data-reveal] { opacity: 1; transform: none; }
}
