/* 5-home-v4 — full-site dark theme continuing the v3 hero; brand colours stay vivid */
@import url("ig-base5.css");

:root{
  --navy:#07141C;
  --navy-2:#0C1C28;
  --navy-3:#0A1822;
  --navy-4:#101E28;
  --paper:#0E2230;
  --bg:#07141C;
  --ink:#F3F7F9;
  --ink-2:#D0DADF;
  --muted:#B7C5CD;
  --line:rgba(255,255,255,.10);
  --pale:rgba(19,184,238,.16);
  --mint:rgba(104,226,180,.16);
  --peach:rgba(255,160,79,.16);
  --foam:#D7EEF6;
  --shadow:0 1px 0 rgba(255,255,255,.05), 0 18px 40px rgba(0,0,0,.35);
  --shadow-lg:0 28px 64px rgba(0,0,0,.45);
}

html,body{background:var(--bg);color:var(--ink)}

/* Inherited concept-5 light surfaces → dark glass; brand hues unchanged */
.btn-ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.btn-ghost:hover{background:rgba(255,255,255,.08);color:#fff;box-shadow:inset 0 0 0 1px #13B8EE}
.btn-white{background:#fff;color:#14181C}
.lang-menu{background:#0E2230;border:1px solid rgba(255,255,255,.08);box-shadow:var(--shadow-lg)}
.lang-menu a{color:var(--ink)}
.lang-menu a:hover{background:rgba(19,184,238,.14)}
.section-head h2{color:var(--ink)}
.section-head p{color:var(--muted)}

/* Dark sticky header (same as v3, already matches the hero) */
.site-header{
  background:rgba(7,20,28,.88);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(18px) saturate(1.2);
  -webkit-backdrop-filter:blur(18px) saturate(1.2);
}
.site-header .nav a{color:#C9D6DE}
.site-header .nav a:hover{background:rgba(255,255,255,.08);color:#fff}
.site-header .nav a.is-active{color:#8EE3FE;background:transparent}
.site-header .menu-toggle span{background:#fff}
.site-header .lang-btn,
.site-header .head-user-icon{border-color:rgba(255,255,255,.14);background:#fff}

/* 1. Dramatic navy hero + product UI — kept as the v3 reference look */
.hero-v3{
  position:relative;
  padding:72px 0 100px;
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(19,184,238,.34), transparent 58%),
    radial-gradient(720px 460px at 6% 88%, rgba(255,160,79,.22), transparent 55%),
    radial-gradient(640px 400px at 42% 0%, rgba(104,226,180,.18), transparent 52%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 60%, #0A1A24 100%);
  color:#fff;
  overflow:hidden;
}
.hero-v3 .kicker{color:#8EE3FE}
.hero-v3 h1{
  color:#fff;
  font-size:clamp(46px, 6.4vw, 84px);
  letter-spacing:-.055em;
  line-height:.94;
}
.hero-v3 h1 em{
  background:linear-gradient(105deg, #13B8EE 8%, #70FCC8 58%, #68E2B4 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-v3 .hero-lead{color:#B7C5CD;font-size:19px;max-width:540px}
.hero-v3 .hero-actions .btn-primary{padding:16px 28px;font-size:16px}
.hero-v3 .btn-ghost{
  background:transparent;
  color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
}
.hero-v3 .btn-ghost:hover{background:rgba(255,255,255,.08);color:#fff;box-shadow:inset 0 0 0 1px #8EE3FE}
.hero-v3 .teaser{margin:18px 0 0;font-size:13.5px;color:#8AA0AB;max-width:520px;line-height:1.5}
.hero-v3 .teaser a{color:#8EE3FE;font-weight:700}
.hero-v3 .teaser a:hover{text-decoration:underline}
.hero-v3 .hero-visual{min-height:560px}
.hero-v3 .browser{box-shadow:0 40px 90px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08)}
.hero-v3 .phone{bottom:-48px}
/* Keep the light product mock on v3 tokens so it matches the reference hero */
.hero-v3 .browser,
.hero-v3 .phone-screen{
  color:#14181C;
  --ink:#14181C;
  --ink-2:#3C434A;
  --muted:#667078;
  --line:#E5E9EE;
  --bg:#F4F7F9;
  --paper:#fff;
  --pale:#E5F4FC;
  --mint:#E9FBF4;
}
.hero-v3 .ph-body h4{color:#14181C}
.hero-v3 .teaser{color:#C9D6DE}

/* 2. Marquee / trust strip — slightly lifted navy, vivid brand dots */
.marquee{
  background:#0A1822;
  border-top:1px solid rgba(19,184,238,.16);
  border-bottom:1px solid rgba(255,255,255,.08);
  overflow:hidden;
  padding:14px 0;
  position:relative;
}
.marquee::before,.marquee::after{content:"";position:absolute;top:0;bottom:0;width:56px;z-index:1;pointer-events:none}
.marquee::before{left:0;background:linear-gradient(90deg,#0A1822,transparent)}
.marquee::after{right:0;background:linear-gradient(270deg,#0A1822,transparent)}
.marquee-track{
  display:flex;
  align-items:center;
  gap:0;
  width:max-content;
  animation:marquee 42s linear infinite;
}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-set{display:flex;align-items:center;gap:8px}
.marquee-item{
  display:inline-flex;align-items:center;gap:10px;
  padding:6px 28px 6px 8px;
  font-size:13.5px;font-weight:650;color:#E3ECF0;letter-spacing:-.01em;
  white-space:nowrap;
}
.marquee-item i{
  width:7px;height:7px;border-radius:50%;background:#13B8EE;
  box-shadow:0 0 0 4px rgba(19,184,238,.28);
  flex:0 0 7px;
}
.marquee-item i.lime{background:#68E2B4;box-shadow:0 0 0 4px rgba(104,226,180,.3)}
.marquee-item i.orange{background:#FFA04F;box-shadow:0 0 0 4px rgba(255,160,79,.3)}
@keyframes marquee{to{transform:translateX(-50%)}}

/* 3. Tools studio — elevated dark glass, vivid tab accent */
.tools-sec{
  padding:72px 0 80px;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(19,184,238,.12), transparent 60%),
    #07141C;
}
.tools-sec .section-head{margin-bottom:28px}
.tools-studio{
  position:relative;
  background:linear-gradient(180deg,#0E2230 0%,#0B1C26 100%);
  border-radius:32px;
  box-shadow:var(--shadow-lg), 0 0 0 1px rgba(19,184,238,.18);
  overflow:hidden;
}
.tools-studio > input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tools-layout{display:grid;grid-template-columns:280px 1fr;min-height:560px}
.tools-tabs{display:flex;flex-direction:column;gap:4px;padding:16px 12px;background:linear-gradient(180deg,#0B1A22,#09151C);border-right:1px solid rgba(255,255,255,.08)}
.tools-tabs label{
  display:flex;align-items:center;gap:10px;
  padding:13px 14px;border-radius:14px;cursor:pointer;
  font-size:14.5px;font-weight:650;letter-spacing:-.02em;color:#C9D6DE;
  transition:background .2s,color .2s,box-shadow .2s;
}
.tools-tabs label:hover{background:rgba(255,255,255,.06);color:#fff}
.tools-tabs label svg{width:22px;height:22px;flex:0 0 22px}
.tools-stage{position:relative;min-width:0}
.tools-panel{display:none;padding:28px 32px 32px;flex-direction:column;gap:18px;height:100%}
.tools-panel .panel-lead h3{margin:0;font-size:26px;letter-spacing:-.04em;color:#fff}
.tools-panel .panel-lead p{margin:6px 0 0;color:var(--muted);font-size:15px;max-width:54ch}
.tools-mock{border-radius:20px;padding:18px 20px;min-height:168px;display:grid;place-items:center;overflow:hidden}
.tools-mock svg{width:min(100%,420px);height:140px;filter:drop-shadow(0 10px 18px rgba(0,0,0,.35))}
.mock-cyan{background:linear-gradient(165deg,#0C2C3A,#0A3A4C)}
.mock-lime{background:linear-gradient(165deg,#0C2A24,#0C3E32)}
.mock-orange{background:linear-gradient(165deg,#2A1C12,#3A2818)}
.mock-mix{background:linear-gradient(165deg,#0C2C3A,#0C3E32 50%,#2A1C12)}
.tool-rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;border-top:1px solid rgba(255,255,255,.08)}
.tool-rows a{
  display:grid;grid-template-columns:1fr auto;gap:8px 16px;align-items:center;
  padding:12px 4px;border-bottom:1px solid rgba(255,255,255,.08);
  transition:background .2s,padding-left .2s;
}
.tool-rows a:hover{background:rgba(19,184,238,.08);padding-left:8px}
.tool-rows h4{margin:0;font-size:16px;letter-spacing:-.02em;font-weight:700;color:#fff}
.tool-rows p{margin:2px 0 0;font-size:13.5px;color:var(--muted)}
.tool-rows .go{font-size:13px;font-weight:700;color:#13B8EE;white-space:nowrap}
.tool-rows .meta{display:flex;align-items:center;gap:8px;justify-self:end}
.tool-rows .badge{font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:rgba(104,226,180,.18);color:#68E2B4;border-radius:999px;padding:4px 8px}
.tool-rows .badge.is-try{background:rgba(19,184,238,.18);color:#13B8EE}

#tab-faktury:checked ~ .tools-layout label[for="tab-faktury"],
#tab-ksieg:checked ~ .tools-layout label[for="tab-ksieg"],
#tab-crm:checked ~ .tools-layout label[for="tab-crm"],
#tab-docs:checked ~ .tools-layout label[for="tab-docs"],
#tab-ai:checked ~ .tools-layout label[for="tab-ai"],
#tab-start:checked ~ .tools-layout label[for="tab-start"],
#tab-support:checked ~ .tools-layout label[for="tab-support"]{
  background:#123040;
  color:#13B8EE;
  box-shadow:0 0 0 1px #13B8EE, 0 8px 18px rgba(19,184,238,.28);
}
#tab-faktury:checked ~ .tools-layout .panel-faktury,
#tab-ksieg:checked ~ .tools-layout .panel-ksieg,
#tab-crm:checked ~ .tools-layout .panel-crm,
#tab-docs:checked ~ .tools-layout .panel-docs,
#tab-ai:checked ~ .tools-layout .panel-ai,
#tab-start:checked ~ .tools-layout .panel-start,
#tab-support:checked ~ .tools-layout .panel-support{display:flex}

@supports not selector(:checked){
  .tools-panel{display:flex}
}

/* 4. Split intro — dark copy + blended photo */
.intro-v3{display:grid;grid-template-columns:1fr 1fr;background:#0A1A24;min-height:560px}
.intro-v3 .intro-copy{padding:80px 56px 80px 64px;display:flex;flex-direction:column;justify-content:center;text-align:left;margin:0;max-width:none}
.intro-v3 .intro-copy h2{margin:0 0 18px;font-size:clamp(28px,3.2vw,44px);letter-spacing:-.045em;line-height:1.08;color:#fff}
.intro-v3 .intro-copy p{margin:0 0 14px;color:var(--ink-2);font-size:17px;line-height:1.6}
.intro-v3 .story{position:relative;min-height:560px;overflow:hidden;margin:0;width:auto;border-radius:0;box-shadow:none;align-self:stretch}
.intro-v3 .story img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.08)}
.intro-v3 .story::after{content:"";position:absolute;inset:0;background:
  linear-gradient(90deg, rgba(10,26,36,.45) 0%, rgba(8,22,32,.08) 28%, transparent 50%),
  linear-gradient(180deg,rgba(14,40,55,.18) 0%,rgba(8,22,32,.84) 100%)}
.intro-v3 .story-copy{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:48px 44px;color:#fff}
.intro-v3 .story-copy p{margin:0 0 10px;font-size:clamp(22px,2.2vw,32px);font-weight:700;letter-spacing:-.035em;line-height:1.15;color:#fff}
.intro-v3 .story-copy p.sub{font-size:16px;font-weight:500;color:#d9eef6;letter-spacing:-.01em;line-height:1.45;max-width:46ch}

/* 5. Comparison table — mint-tinted navy, vivid cyan MIA column */
.compare-v3{
  padding:80px 0;
  background:
    radial-gradient(700px 360px at 80% 100%, rgba(104,226,180,.10), transparent 60%),
    #0B1F1C;
}
.compare-v3 .section-head{margin-bottom:32px}
.compare-table{width:100%;border-collapse:separate;border-spacing:0;background:#0E2230;border-radius:24px;overflow:hidden;box-shadow:var(--shadow-lg), 0 0 0 1px rgba(104,226,180,.16)}
.compare-table th,.compare-table td{padding:18px 24px;text-align:left;vertical-align:top;border-bottom:1px solid rgba(255,255,255,.08)}
.compare-table thead th{font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:700}
.compare-table thead th:first-child{width:50%;background:#122028;color:#C5D0D6}
.compare-table thead th:last-child{background:linear-gradient(180deg,#0C3A4A,#0E2230);color:#13B8EE}
.compare-table tbody td:first-child{font-weight:650;background:#0C1A22;border-right:1px solid rgba(255,255,255,.08);width:50%;color:var(--ink-2)}
.compare-table td{font-size:15.5px;color:var(--ink-2);line-height:1.55}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td{border-bottom:0}
.compare-table .mia{font-weight:650;color:#fff}
.compare-table td ul{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.compare-table td li{padding:10px 14px;border-radius:12px;background:#152830;font-weight:650;color:#D0DADF}
.compare-table td.mia li{background:rgba(19,184,238,.16);color:#fff;box-shadow:inset 0 0 0 1px rgba(19,184,238,.35)}
.compare-table tfoot td{background:#0C2430;font-size:15.5px;color:var(--ink-2);line-height:1.55;padding:20px 24px}

/* 6. Big-number steps — vivid brand gradient band (not a light section) */
.how-v3{
  padding:80px 0 88px;
  background:linear-gradient(115deg,#13B8EE 0%,#3ad0c8 48%,#68E2B4 100%);
  color:#062018;
}
.how-v3 .kicker{color:#062018}
.how-v3 .kicker i{background:#062018;box-shadow:0 0 0 4px rgba(7,32,24,.12)}
.how-v3 .section-head.center{margin-bottom:48px}
.how-v3 .section-head h2{color:#062018}
.timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;position:relative}
.timeline::before{
  content:"";position:absolute;left:8%;right:8%;top:42px;height:3px;border-radius:3px;
  background:rgba(7,32,24,.18);
}
.tl-step{position:relative;z-index:1}
.tl-step .num{font-size:clamp(64px,7vw,104px);font-weight:800;letter-spacing:-.08em;line-height:.8;color:rgba(7,32,24,.2);margin:0 0 18px}
.tl-step h3{margin:0;font-size:22px;letter-spacing:-.03em}
.tl-step p{margin:8px 0 0;font-size:16px;line-height:1.5;color:#163028;max-width:32ch}

/* 7. Dark CTA band */
.cta-band{
  background:
    radial-gradient(600px 260px at 20% 120%, rgba(255,160,79,.16), transparent 70%),
    radial-gradient(600px 260px at 80% 120%, rgba(19,184,238,.22), transparent 70%),
    #050C10;
  color:#fff;padding:88px 0;text-align:center;position:relative;overflow:hidden;
}
.cta-band::before{
  content:"";position:absolute;inset:auto 20% -80px 20%;height:220px;border-radius:50%;
  background:radial-gradient(circle,rgba(19,184,238,.28),transparent 70%);pointer-events:none;
}
.cta-band h2{margin:0;font-size:clamp(32px,5vw,64px);letter-spacing:-.05em;line-height:1.05;color:#fff;position:relative}
.cta-band p{margin:16px auto 0;max-width:44ch;font-size:18px;line-height:1.55;color:#B7C5CD;position:relative}
.cta-band .hero-actions{justify-content:center;margin-top:28px;position:relative}

/* 8. Zalety bento — dark glass, vivid brand glows */
.zal-sec{
  padding:72px 0 64px;
  background:
    radial-gradient(700px 400px at 10% 0%, rgba(19,184,238,.10), transparent 55%),
    #08141C;
}
.zal-grid{gap:16px}
.zal-card{
  background:#0E2230;
  box-shadow:0 1px 0 rgba(255,255,255,.05), 0 14px 34px rgba(0,0,0,.28);
  min-height:200px;padding:18px 18px 20px;
}
.zal-card:hover{box-shadow:0 24px 50px rgba(0,0,0,.4)}
.zal-card h3{color:#fff}
.zal-cyan{background:linear-gradient(180deg,#0E2230 42%, #0A3040 100%)}
.zal-orange{background:linear-gradient(180deg,#0E2230 42%, #2A1C12 100%)}
.zal-lime{background:linear-gradient(180deg,#0E2230 42%, #0A2A20 100%)}
.zal-mix{background:linear-gradient(180deg,#0E2230 30%, #0A3040 65%, #0A2A20 100%)}
.zal-lg,.zal-md{min-height:300px}
.zal-lg .zal-visual,.zal-md .zal-visual{min-height:160px}
.zal-lg .zal-visual svg{max-height:200px}
.zal-sm{min-height:220px}
.zal-card .zal-visual{min-height:120px}
.zal-card .glow{opacity:1}

/* 9. App split — warm-dark with orange/cyan glow */
.app-v3{
  padding:72px 0 80px;
  background:
    radial-gradient(640px 380px at 85% 40%, rgba(255,160,79,.16), transparent 60%),
    radial-gradient(500px 300px at 10% 80%, rgba(19,184,238,.10), transparent 60%),
    #120E0A;
}
.app-copy h2{color:#fff}
.app-copy p{color:var(--muted)}
.app-copy strong{color:#fff}

/* 10. Accordion FAQ */
.faq-v3{padding:72px 0 48px;background:#07141C}
.acc-list{max-width:860px;margin:0 auto;border-top:1px solid rgba(255,255,255,.10)}
.acc{border-bottom:1px solid rgba(255,255,255,.10)}
.acc summary{
  list-style:none;cursor:pointer;padding:18px 8px;font-weight:700;font-size:17px;letter-spacing:-.02em;
  display:flex;align-items:center;justify-content:space-between;gap:16px;color:#fff;
}
.acc summary::-webkit-details-marker{display:none}
.acc summary::after{content:"+";color:#13B8EE;font-weight:700;font-size:22px;line-height:1}
.acc[open] summary::after{content:"–"}
.acc .acc-body{padding:0 8px 18px;color:var(--muted);font-size:15px}
.acc .acc-body a{color:#13B8EE;font-weight:700}
.faq-v3 .price-foot{text-align:center;margin:28px 0 0}
.faq-v3 .price-foot a{color:#13B8EE;font-weight:700}

/* 11. Contact — dark glass form card */
.final-v3{
  padding:24px 0 88px;
  background:
    radial-gradient(700px 360px at 50% 100%, rgba(19,184,238,.12), transparent 60%),
    #0A1620;
}
.final-split{
  display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;
  background:linear-gradient(180deg,#0E2230,#0C1C28);
  border-radius:32px;padding:56px;
  box-shadow:var(--shadow-lg), 0 0 0 1px rgba(19,184,238,.16);
}
.final-split h2{margin:0;font-size:clamp(28px,3vw,44px);letter-spacing:-.04em;line-height:1.08;color:#fff}
.final-split > div > p{margin:14px 0 0;color:var(--muted);font-size:16.5px;line-height:1.55;max-width:46ch}
.final-split .hero-actions{margin-top:28px}
.final-form{display:flex;flex-direction:column;gap:8px}
.final-form input,.final-form textarea{
  border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:12px 14px;font-size:14.5px;color:#F3F7F9;background:#07141C
}
.final-form input::placeholder,.final-form textarea::placeholder{color:#9AAEB6}
.final-form input:focus,.final-form textarea:focus{outline:none;border-color:#13B8EE;background:#0A1A24;box-shadow:0 0 0 3px rgba(19,184,238,.25)}
.final-form textarea{min-height:88px;resize:vertical}
.final-form .btn{align-self:flex-start;margin-top:4px}
.final-form .btn-dark{background:#fff;color:#07141C}
.final-form .btn-dark:hover{background:#E8F4FA;color:#07141C}

/* Footer — slightly deeper than the page */
.site-footer{background:#050B10;color:#C8CDD2}

/* Drawer — dark glass, same IDs / logic */
.drawer-backdrop{background:rgba(4,10,14,.62)}
.sub-page-profile{background:rgba(12,28,40,.94);color:var(--ink);box-shadow:-20px 0 50px rgba(0,0,0,.4)}
.drawer-block h2{color:#fff}
.field input{background:#07141C;border:1px solid rgba(255,255,255,.12);color:#F3F7F9}
.field input:focus{border-color:#13B8EE;background:#0A1A24;box-shadow:0 0 0 3px rgba(19,184,238,.25)}
.field input::placeholder{color:#9AAEB6}
.drawer-links{color:var(--muted)}
.drawer-links a,.drawer-links button{color:#13B8EE}
.legal-row{color:var(--muted)}
.hint{color:var(--muted)}
.dash-actions .btn-ghost{color:#fff}

@media (max-width: 1100px){
  .tools-layout{grid-template-columns:230px 1fr}
  .intro-v3{grid-template-columns:1fr}
  .intro-v3 .intro-copy{padding:48px 32px;max-width:none;margin:0}
  .intro-v3 .story{min-height:380px}
  .final-split{grid-template-columns:1fr;padding:36px 28px}
  .hero-v3 .hero-visual{min-height:460px}
}
@media (max-width: 900px){
  .tools-layout{grid-template-columns:1fr}
  .tools-tabs{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid rgba(255,255,255,.08);padding:12px}
  .tools-tabs label{white-space:nowrap;flex:0 0 auto}
  .tools-panel{padding:22px 18px 24px}
  .timeline{grid-template-columns:1fr;gap:22px}
  .timeline::before{left:28px;right:auto;top:12px;bottom:12px;width:3px;height:auto}
  .compare-table th,.compare-table td{padding:14px 14px}
}
@media (max-width: 720px){
  .hero-v3{padding:40px 0 64px}
  .hero-v3 .phone{bottom:auto}
  .intro-v3 .story-copy{padding:28px 22px}
  .cta-band{padding:64px 0}
  .how-v3,.tools-sec,.compare-v3,.app-v3,.faq-v3{padding:56px 0}
  .final-v3{padding:8px 0 64px}
  .final-split{padding:28px 20px}
}
@media (prefers-reduced-motion:reduce){
  .marquee-track,.browser,.phone,.zal-card .zal-visual svg,.tools-mock svg{animation:none}
  .marquee-track{flex-wrap:wrap;width:auto;justify-content:center}
}
