/* FleetCare Automotive — style.v1.css */
:root {
  --blue: #1E5FA8;
  --blue-dark: #163f70;
  --blue-light: #2d7dd2;
  --green: #3F8F3A;
  --green-light: #4aaa44;
  --graphite: #0f1117;
  --orange: #f26419;
  --orange-light: #ff7a2f;
  --gray: #7F848A;
  --gray-light: #8F8F8F;
  --navy: #0f2540;
  --navy-mid: #1a3a5c;
  --white: #ffffff;
  --off-white: #f4f7fb;
  --border: #d0dce8;
  --text: #1a2535;
  --text-muted: #5a6678;
  --shadow: 0 4px 32px rgba(30,95,168,0.10);
  --shadow-lg: 0 12px 48px rgba(30,95,168,0.18);
  --radius: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Noto Sans', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }

h1,h2,h3,h4 { font-family: 'Syne', sans-serif; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
p  { font-size: 1rem; color: var(--text-muted); }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(15,37,64,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.07); padding: 0 clamp(1rem,4vw,3rem); height: 64px; display: flex; align-items: center; justify-content: space-between; transition: box-shadow 0.3s; }
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.3); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); text-decoration: none; }
.nav-logo-mark { display: flex; flex-direction: column; gap: 2px; }
.nav-logo-fleet { color: #4d9cee; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.04em; }
.nav-logo-care  { color: var(--green-light); font-size: 0.95rem; font-weight: 800; letter-spacing: 0.04em; }
.nav-logo-auto  { color: var(--gray-light); font-size: 0.6rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem,2.5vw,2.2rem); list-style: none; }
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.01em; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { background: var(--orange); color: white !important; padding: 9px 20px; border-radius: 8px; font-weight: 600 !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--orange-light) !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: all 0.3s; }

/* HERO */
.hero { min-height: 100dvh; background: linear-gradient(135deg, var(--navy) 0%, #1a3558 55%, #163f70 100%); display: flex; align-items: center; position: relative; overflow: hidden; padding: 80px clamp(1.5rem,5vw,6rem) 60px; }
.hero-grid-bg { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(30,95,168,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(30,95,168,0.12) 1px, transparent 1px); background-size: 55px 55px; }
.hero-glow       { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(30,95,168,0.3) 0%, transparent 70%); top: -100px; right: -150px; z-index: 0; pointer-events: none; }
.hero-glow-green { position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(63,143,58,0.2) 0%, transparent 70%); bottom: -80px; left: 30%; z-index: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(30,95,168,0.3); border: 1px solid rgba(77,156,238,0.4); border-radius: 100px; padding: 6px 16px 6px 8px; margin-bottom: 28px; animation: fadeUp 0.6s ease both; }
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 8px var(--green-light); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
.hero-badge span { color: rgba(255,255,255,0.85); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; }
.hero h1 { color: var(--white); animation: fadeUp 0.6s ease 0.1s both; }
.hero h1 em { font-style: normal; color: #4d9cee; }
.hero h1 strong { color: var(--green-light); font-style: normal; }
.hero-sub { font-size: clamp(1rem,1.8vw,1.2rem); color: rgba(255,255,255,0.7); margin: 20px 0 36px; max-width: 560px; line-height: 1.7; animation: fadeUp 0.6s ease 0.2s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: fadeUp 0.6s ease 0.3s both; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: white; padding: 14px 28px; border-radius: 10px; font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: all 0.25s; letter-spacing: 0.02em; box-shadow: 0 4px 20px rgba(242,100,25,0.35); }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(242,100,25,0.45); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: white; padding: 14px 28px; border-radius: 10px; font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 600; text-decoration: none; border: 1px solid rgba(255,255,255,0.3); transition: all 0.25s; cursor: pointer; }
.btn-outline:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }
/* ── STARE hero-stats (mobile fallback, ukryte na desktop) ── */
.hero-stats { display: none; }

/* ── HERO LAYOUT 2-kolumnowy ── */
.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-right {
  display: none; /* ukryte na mobile */
}

/* ── 2×2 STAT CARDS ── */
.hero-stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
  animation: fadeUp 0.6s ease 0.4s both;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.25s, background 0.25s;
  cursor: default;
}

.hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(77, 156, 238, 0.4);
}

.stat-card-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  /* PNG bez tła — bez dodatkowych stylów */
}

.stat-card-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-top: 4px;
}

.stat-card-unit {
  color: #4d9cee;
  font-size: 0.75em;
}

.stat-card-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ── DESKTOP ≥1280px ── */
@media (min-width: 1280px) {
  .hero-content {
    max-width: min(1280px, calc(100vw - 8rem));
  }

  .hero-layout {
    flex-direction: row;
    align-items: stretch;
    gap: 48px;
    position: relative; /* dla pozycjonowania demo panelu */
  }

  .hero-left {
    flex: 0 0 52%;
    max-width: 52%;
  }

  .hero-right {
    display: flex;
    flex: 1 1 auto;
    align-items: flex-start;
    position: relative; /* anchor dla absolute */
  }

  .hero-right .live-demo-panel {
    display: flex;
    flex-direction: column;
    width: var(--demo-width, 100%);
    height: var(--demo-height, auto);
    max-height: var(--demo-max-height, 600px);
    min-height: var(--demo-min-height, 340px);
    background: rgba(13, 20, 36, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    transform: scale(var(--demo-scale, 1));
    transform-origin: top right;
    position: absolute;
    top: var(--demo-top, 0px);
    right: var(--demo-right, 0px);
    z-index: 20;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
  }

  .hero-right .live-demo-panel[data-visible="0"] {
    display: none !important;
  }

  /* Mniejsza czcionka gdy skala > 1.5 żeby nie wychodziło poza ekran */
  .hero-right .live-demo-panel[style*="--demo-scale: 2"] {
    font-size: 0.85rem;
  }

  .hero-right .live-demo-panel .demo-body {
    flex: 1;
    min-height: 0;
  }

  .hero-right .live-demo-panel .demo-table-body {
    overflow: hidden;
  }
}
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* KINETIC ICONS */
.hero-icons { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hi { position: absolute; font-size: 2rem; opacity: 0; animation: hiLand 0.7s cubic-bezier(0.22,1,0.36,1) forwards; }
@keyframes hiLand { 0%{opacity:0;transform:var(--from) scale(0.4) rotate(var(--rot0))} 70%{opacity:0.18;transform:translateX(0) translateY(0) scale(1.08) rotate(var(--rot1))} 100%{opacity:0.13;transform:translateX(0) translateY(0) scale(1) rotate(var(--rot1))} }
@keyframes hiFloat { 0%,100%{transform:translateY(0) rotate(var(--rot1))} 50%{transform:translateY(-10px) rotate(var(--rot1))} }
.hi.landed { opacity: 0.13; animation: hiFloat var(--dur) ease-in-out infinite; animation-delay: var(--fdel); }

/* SECTIONS */
section { padding: clamp(60px,8vw,100px) clamp(1.5rem,5vw,6rem); }
.section-label { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.section-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--blue); }
.section-header { max-width: 620px; margin-bottom: 56px; }
.section-header p { margin-top: 14px; font-size: 1.05rem; line-height: 1.75; }

/* HOW */
.how { background: var(--off-white); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 24px; position: relative; }
.step-card { background: white; border-radius: var(--radius-lg); padding: 36px 28px; border: 1px solid var(--border); position: relative; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
.step-num { font-family: 'Syne', sans-serif; font-size: 3.5rem; font-weight: 800; color: var(--off-white); position: absolute; top: 16px; right: 20px; line-height: 1; pointer-events: none; user-select: none; }
.step-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.4rem; }
.step-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.step-card p  { font-size: 0.9rem; }
@keyframes float { 0%{transform:translateY(0px);box-shadow:0 4px 16px rgba(30,95,168,0.10)} 50%{transform:translateY(-8px);box-shadow:0 14px 32px rgba(30,95,168,0.18)} 100%{transform:translateY(0px);box-shadow:0 4px 16px rgba(30,95,168,0.10)} }
.step-card.is-visible { opacity: 1; animation: float 3.6s ease-in-out infinite; }
.step-card.is-visible:nth-child(1) { animation-delay: 0.0s; }
.step-card.is-visible:nth-child(2) { animation-delay: 0.4s; }
.step-card.is-visible:nth-child(3) { animation-delay: 0.8s; }
.step-card.is-visible:nth-child(4) { animation-delay: 1.2s; }
.step-card.is-visible:hover { animation-play-state: paused; transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* FOR WHOM */
.segments-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 20px; }
.segment-card { border-radius: var(--radius-lg); padding: 32px 24px; border: 1px solid var(--border); cursor: default; transition: all 0.3s; background: white; }
.segment-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.segment-icon { font-size: 2.4rem; margin-bottom: 16px; display: block; }
.segment-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--blue-dark); }
.segment-card p  { font-size: 0.85rem; }

/* DLACZEGO */
.why-section { background: var(--graphite); }
.why-section .section-label { color: var(--orange); }
.why-section .section-label::before { background: var(--orange); }
.why-section h2 { color: white; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 18px; }
.why-item { display: flex; align-items: flex-start; gap: 15px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 22px 18px; transition: border-color 0.25s; }
.why-item:hover { border-color: var(--orange); }
.why-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.why-item p { color: rgba(255,255,255,0.78); font-size: 0.9rem; line-height: 1.6; }

/* PANEL */
.panel-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); position: relative; overflow: hidden; }
.panel-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(30,95,168,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(30,95,168,0.08) 1px, transparent 1px); background-size: 40px 40px; }
.panel-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.panel-text .section-label { color: #4d9cee; }
.panel-text .section-label::before { background: #4d9cee; }
.panel-text h2 { color: white; }
.panel-text p { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-top: 14px; line-height: 1.75; }
.panel-features { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.panel-features li { display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.panel-features li::before { content: '✓'; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; min-width: 20px; border-radius: 50%; background: var(--green); color: white; font-size: 0.7rem; font-weight: 700; margin-top: 2px; }
.panel-mockup { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.4); }
.mockup-bar { background: rgba(255,255,255,0.06); padding: 10px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-title { color: rgba(255,255,255,0.4); font-size: 0.75rem; margin-left: auto; font-family: monospace; }
.mockup-content { padding: 20px; }
.mockup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.mockup-card { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 14px; border: 1px solid rgba(255,255,255,0.07); }
.mockup-card-label { color: rgba(255,255,255,0.4); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.mockup-card-val { color: white; font-size: 1.3rem; font-weight: 700; font-family: 'Syne', sans-serif; }
.mockup-card-val.green { color: #4ade80; }
.mockup-card-val.yellow { color: #fbbf24; }
.mockup-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.mockup-table th { color: rgba(255,255,255,0.35); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; text-align: left; padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mockup-table td { color: rgba(255,255,255,0.7); font-size: 0.7rem; padding: 8px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.status-pill { display: inline-block; padding: 2px 8px; border-radius: 100px; font-size: 0.6rem; font-weight: 600; text-transform: uppercase; }
.status-pill.open { background: rgba(251,191,36,0.15); color: #fbbf24; }
.status-pill.wip  { background: rgba(59,130,246,0.15); color: #60a5fa; }
.status-pill.done { background: rgba(74,222,128,0.15); color: #4ade80; }

/* INTEGRATIONS */
.integrations { text-align: center; }
.tu-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.tu-pill { background: white; border: 1.5px solid var(--border); border-radius: 100px; padding: 10px 22px; font-size: 0.875rem; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; transition: all 0.2s; }
.tu-pill:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow); }
.tu-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; }

/* CASE STUDY */
.case-section { background: white; }
.case-grid { display: flex; align-items: stretch; justify-content: center; gap: 28px; flex-wrap: wrap; max-width: 860px; margin: 0 auto; }
.case-col { flex: 1; min-width: 260px; border-radius: var(--radius-lg); padding: 30px 26px; }
.case-before { background: rgba(15,37,64,0.04); border: 1.5px solid rgba(15,37,64,0.1); }
.case-after  { background: rgba(63,143,58,0.05); border: 1.5px solid rgba(63,143,58,0.2); }
.case-tag { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.case-before .case-tag { background: rgba(15,37,64,0.09); color: var(--navy); }
.case-after  .case-tag { background: rgba(63,143,58,0.14); color: var(--green); }
.case-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.case-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.88rem; color: var(--text); line-height: 1.5; }
.case-before .case-list li::before { content:'✗'; color:#e53935; font-weight:700; flex-shrink:0; }
.case-after  .case-list li::before { content:'✓'; color:var(--green); font-weight:700; flex-shrink:0; }
.case-arrow { font-size: 2rem; color: var(--orange); font-weight: 700; display: flex; align-items: center; flex-shrink: 0; }

/* ZGLOS */
.zglos-section { background: linear-gradient(180deg,#0d2240 0%,#0f2540 100%); text-align: center; position: relative; overflow: hidden; }
.zglos-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(30,95,168,0.15) 1px, transparent 1px); background-size: 28px 28px; }
.zglos-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.zglos-inner h2 { color: white; margin-bottom: 12px; }
.zglos-inner p  { color: rgba(255,255,255,0.6); font-size: 1.05rem; margin-bottom: 36px; }
.zglos-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 36px; backdrop-filter: blur(10px); }
.zglos-flow { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 32px; flex-wrap: wrap; }
.zglos-step { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 16px; }
.zglos-step-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(30,95,168,0.3); border: 1px solid rgba(77,156,238,0.3); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.zglos-step-text { color: rgba(255,255,255,0.7); font-size: 0.75rem; text-align: center; max-width: 90px; }
.zglos-arrow { color: rgba(255,255,255,0.2); font-size: 1.2rem; padding: 0 4px; }
#zglos-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 16px; border-radius: 12px; background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%); color: white; text-decoration: none; font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; transition: all 0.3s; letter-spacing: 0.03em; box-shadow: 0 4px 24px rgba(242,100,25,0.4); }
#zglos-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(242,100,25,0.5); }
.zglos-info { margin-top: 16px; color: rgba(255,255,255,0.4); font-size: 0.75rem; line-height: 1.6; }

/* CONTACT */
.contact-section { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.contact-form-card { background: white; border-radius: var(--radius-lg); padding: 44px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.contact-form-card h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--text); }
.contact-form-card > p { margin-bottom: 28px; font-size: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea { padding: 12px 14px; border-radius: 8px; border: 1.5px solid var(--border); background: var(--off-white); font-family: 'Noto Sans', sans-serif; font-size: 0.9rem; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; outline: none; width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,95,168,0.1); background: white; }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit { width: 100%; padding: 15px; border-radius: 10px; background: var(--blue); color: white; border: none; font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.25s; letter-spacing: 0.03em; box-shadow: 0 4px 16px rgba(30,95,168,0.3); }
.form-submit:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,95,168,0.4); }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info h2 { color: var(--text); }
.contact-info p  { font-size: 1rem; line-height: 1.75; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.contact-card { display: flex; align-items: center; gap: 16px; background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; transition: box-shadow 0.2s; }
.contact-card:hover { box-shadow: var(--shadow); }
.contact-card-icon { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.contact-card-icon.blue  { background: rgba(30,95,168,0.1); }
.contact-card-icon.green { background: rgba(63,143,58,0.1); }
.contact-card label  { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; display: block; }
.contact-card strong { font-size: 0.95rem; color: var(--text); }

/* FOOTER */
footer { background: var(--navy); padding: 48px clamp(1.5rem,5vw,6rem) 28px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.85rem; margin-top: 14px; max-width: 300px; line-height: 1.7; }
.footer-col h4 { color: rgba(255,255,255,0.5); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.55); font-size: 0.875rem; text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* SEASONAL MODAL */
#seasonal-modal .modal { background: white; }
#seasonal-modal .btn-cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 12px; border-radius: 8px; background: var(--orange); color: white; text-decoration: none; font-weight: 700; font-size: 0.9rem; font-family: 'Syne', sans-serif; transition: all 0.2s; }
#seasonal-modal .btn-cta:hover { background: var(--orange-light); }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(10,20,40,0.85); z-index: 1000; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: white; border-radius: var(--radius-lg); padding: 40px; max-width: 480px; width: calc(100% - 32px); box-shadow: 0 32px 80px rgba(0,0,0,0.3); transform: translateY(20px); transition: transform 0.3s; }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text-muted); line-height: 1; }

/* LANG SWITCHER */
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-sw { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: white; border-radius: 8px; padding: 7px 11px; cursor: pointer; font-family: 'Noto Sans', sans-serif; font-size: 0.78rem; font-weight: 600; transition: all 0.2s; white-space: nowrap; }
.lang-btn:hover { background: rgba(255,255,255,0.14); }
.lang-btn .chev { font-size: 0.55rem; opacity: 0.55; transition: transform 0.2s; }
.lang-sw.open .lang-btn .chev { transform: rotate(180deg); }
.lang-drop { position: absolute; top: calc(100% + 7px); right: 0; background: #1a2e4a; border: 1px solid rgba(255,255,255,0.11); border-radius: 10px; overflow: hidden; min-width: 165px; box-shadow: 0 12px 36px rgba(0,0,0,0.4); opacity: 0; pointer-events: none; transform: translateY(-5px); transition: all 0.2s; z-index: 200; }
.lang-sw.open .lang-drop { opacity: 1; pointer-events: all; transform: translateY(0); }
.lang-opt { display: flex; align-items: center; gap: 9px; padding: 10px 15px; cursor: pointer; transition: background 0.15s; border-bottom: 1px solid rgba(255,255,255,0.05); }
.lang-opt:last-child { border-bottom: none; }
.lang-opt:hover { background: rgba(255,255,255,0.07); }
.lang-opt.active { background: rgba(30,95,168,0.22); }
.lang-opt .flag { font-size: 1rem; }
.lang-opt .lname  { color: white; font-size: 0.83rem; font-weight: 500; }
.lang-opt .lnative { color: rgba(255,255,255,0.38); font-size: 0.72rem; }
.lang-opt .lcheck { color: #4ade80; margin-left: auto; font-size: 0.72rem; display: none; }
.lang-opt.active .lcheck { display: block; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .panel-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-stats { gap: 16px; }
  .hero-stat-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .zglos-flow { gap: 8px; }
  .zglos-arrow { display: none; }
  .case-arrow { transform: rotate(90deg); }
}
.nav-mobile-open .nav-links { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: rgba(15,37,64,0.98); backdrop-filter: blur(16px); padding: 32px; gap: 20px; z-index: 99; }
.nav-mobile-open .nav-links a { font-size: 1.2rem; color: white; }
.sm-close-btn { width:100%;margin-top:10px;padding:10px;border-radius:8px;background:transparent;color:var(--text-muted);border:1px solid var(--border);cursor:pointer;font-family:inherit;font-size:0.85rem;transition:all .2s; }
.sm-close-btn:hover { background:var(--off-white); }


}
/* ════════════════════════════════════════════════════
   HERO H1 ACCENT - zamiast inline style
   ════════════════════════════════════════════════════ */
.hero-h1-accent {
  color: var(--orange-light);
}

/* ════════════════════════════════════════════════════
   LIVE DEMO PANEL - responsywny dashboard
   ════════════════════════════════════════════════════ */
/* Domyślnie: demo ukryte, h1 pełna szerokość */
.hero-h1-with-demo {
  display: block;
  width: 100%;
}

.live-demo-panel {
  display: none;
  position: relative;
}

.hero-h1-with-demo h1 {
  flex: none;
  min-width: unset;
  max-width: 100%;
  word-wrap: break-word;
  hyphens: auto;
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(30, 41, 59, 0.8);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
/* Stare breakpointy live-demo zastąpione przez hero-right w nowym layoucie */

.demo-dots {
  display: flex;
  gap: 6px;
}

.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:nth-child(3) { background: #28c840; }

.demo-title {
  font-size: 11px;
  color: #94a3b8;
  font-family: 'SF Mono', monospace;
  margin-left: auto;
}

/* Menu boczne + content */
.demo-body {
  display: flex;
  min-height: 0;
}
/* ── DEMO 2×2 GRID ── */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  flex: 1;
  min-height: 0;
}

.demo-cell {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.10);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.demo-cell:hover {
  border-color: rgba(148, 163, 184, 0.22);
}

.demo-cell-title {
  font-size: 9px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  white-space: nowrap;
}

.demo-cell-ico { font-size: 11px; }

/* A1 — mini claims table */
.demo-mini-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4px;
  padding: 4px 6px;
  font-size: 9px;
  color: #e2e8f0;
  border-radius: 4px;
  transition: background 0.2s;
  opacity: 0;
  transform: translateX(-10px);
  animation: rowSlideIn 0.4s ease forwards;
}

.demo-mini-row:hover {
  background: rgba(148, 163, 184, 0.08);
}

.demo-mini-nr {
  font-family: 'SF Mono', monospace;
  color: #60a5fa;
  font-size: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-mini-veh {
  color: #cbd5e1;
  font-size: 8px;
}

.demo-mini-row .demo-status {
  font-size: 7px;
  padding: 2px 6px;
}

.demo-mini-row .demo-status::before {
  width: 4px;
  height: 4px;
}

/* B1 — Timeline */
.demo-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.demo-tl-step {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  position: relative;
}

.demo-tl-step::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 15px;
  width: 1px;
  height: 100%;
  background: rgba(148, 163, 184, 0.15);
}

.demo-tl-step:last-child::before { display: none; }

.demo-tl-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.3);
  flex-shrink: 0;
  z-index: 1;
  transition: all 0.4s;
}

.demo-tl-step.done .demo-tl-dot {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.demo-tl-step.active .demo-tl-dot {
  background: #60a5fa;
  box-shadow: 0 0 6px rgba(96, 165, 250, 0.4);
  animation: tlPulse 2s ease-in-out infinite;
}

@keyframes tlPulse {
  0%, 100% { box-shadow: 0 0 6px rgba(96, 165, 250, 0.4); }
  50% { box-shadow: 0 0 12px rgba(96, 165, 250, 0.7); }
}

.demo-tl-text {
  font-size: 9px;
  color: #94a3b8;
  flex: 1;
}

.demo-tl-step.done .demo-tl-text  { color: #22c55e; }
.demo-tl-step.active .demo-tl-text { color: #e2e8f0; font-weight: 600; }

.demo-tl-time {
  font-size: 8px;
  color: rgba(148, 163, 184, 0.5);
  font-family: 'SF Mono', monospace;
}

/* A2 — KPI stats */
.demo-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  flex: 1;
}

.demo-kpi {
  background: rgba(148, 163, 184, 0.06);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.demo-kpi-val {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1;
}

.demo-kpi-val.green  { color: #4ade80; }
.demo-kpi-val.yellow { color: #fbbf24; }
.demo-kpi-val.blue   { color: #60a5fa; }

.demo-kpi-lbl {
  font-size: 7px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

/* B2 — Activity feed */
.demo-feed {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.demo-feed-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.demo-feed-item:hover {
  background: rgba(148, 163, 184, 0.06);
}

.demo-feed-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.demo-feed-dot.green  { background: #22c55e; }
.demo-feed-dot.blue   { background: #60a5fa; }
.demo-feed-dot.yellow { background: #fbbf24; }
.demo-feed-dot.purple { background: #a855f7; }

.demo-feed-text {
  font-size: 8px;
  color: #cbd5e1;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-feed-time {
  font-size: 7px;
  color: #64748b;
  font-family: 'SF Mono', monospace;
  flex-shrink: 0;
}

.demo-sidebar {
  width: 230px;
  background: rgba(30, 41, 59, 0.5);
  border-right: 1px solid rgba(148, 163, 184, 0.1);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: flex-start;
  flex-shrink: 0;
}

.demo-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  position: relative;
  font-size: 11px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s;
}

.demo-menu-item:hover,
.demo-menu-item.active {
  background: rgba(74, 222, 128, 0.15);
  border-color: rgba(74, 222, 128, 0.3);
  color: #e2e8f0;
}

.demo-menu-item.completed {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.demo-menu-item.completed .demo-text {
  text-decoration: line-through;
  opacity: 0.7;
}

.demo-icon {
  font-size: 13px;
  width: 18px;
  text-align: center;
}

.demo-text {
  flex: 1;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-check {
  width: 14px;
  height: 14px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: white;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.demo-menu-item.completed .demo-check {
  opacity: 1;
  transform: scale(1);
}

/* Content area */
.demo-content {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.demo-table-header {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr 0.8fr;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-table-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow: hidden;
}

.demo-table-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr 0.8fr;
  gap: 8px;
  padding: 8px; /* mniejszy padding */
  background: rgba(30, 41, 59, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  font-size: 10px; /* mniejsza czcionka */
  color: #e2e8f0;
  opacity: 0;
  transform: translateX(-20px);
  animation: rowSlideIn 0.4s ease forwards;
}

.demo-table-row:nth-child(1) { animation-delay: 0.1s; }
.demo-table-row:nth-child(2) { animation-delay: 0.2s; }
.demo-table-row:nth-child(3) { animation-delay: 0.3s; }
.demo-table-row:nth-child(4) { animation-delay: 0.4s; }
.demo-table-row:nth-child(5) { animation-delay: 0.5s; }
.demo-table-row:nth-child(6) { animation-delay: 0.6s; }
.demo-table-row:nth-child(7) { animation-delay: 0.7s; }
.demo-table-row:nth-child(8) { animation-delay: 0.8s; }

@keyframes rowSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.demo-table-row:hover {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(148, 163, 184, 0.15);
}

.demo-col-nr { font-family: 'SF Mono', monospace; color: #60a5fa; }
.demo-col-veh { color: #cbd5e1; }
.demo-col-date { color: #94a3b8; font-size: 10px; }

.demo-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.demo-status.registered { background: rgba(148, 163, 184, 0.2); color: #94a3b8; }
.demo-status.waiting { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.demo-status.quotation { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.demo-status.repair { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.demo-status.closed { background: rgba(34, 197, 94, 0.15); color: #22c55e; }

.demo-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* Animowany kursor */
.demo-cursor {
  position: absolute;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M5.5 3.21V20.8c0 .45.54.67.85.35l4.86-4.86a.5.5 0 0 1 .35-.15h6.87c.44 0 .66-.53.35-.85L6.35 2.85a.5.5 0 0 0-.85.35z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  pointer-events: none;
  z-index: 100;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  animation: cursorMove 12s ease-in-out infinite;
}

/* Grid cells (approx): A1 top-left, B1 top-right, A2 bot-left, B2 bot-right
   header≈36px, grid-pad 8px, gap 8px → cell ≈ 170×213px
   A1 center ≈ (80,100)  B1 ≈ (290,100)  A2 ≈ (80,280)  B2 ≈ (290,280) */
@keyframes cursorMove {
  0%        { top: 100px; left:  80px; opacity: 0; }
  3%        { top: 100px; left:  80px; opacity: 1; }
  /* A1 — claims table */
  10%       { top: 110px; left:  90px; }
  12%       { top: 110px; left:  95px; }
  /* → B1 — timeline */
  25%       { top: 100px; left: 300px; }
  27%       { top: 115px; left: 305px; }
  /* → A2 — stats */
  42%       { top: 280px; left:  90px; }
  44%       { top: 285px; left:  95px; }
  /* → B2 — feed */
  58%       { top: 275px; left: 300px; }
  60%       { top: 285px; left: 305px; }
  /* fade out */
  72%       { top: 100px; left:  80px; opacity: 1; }
  78%       { opacity: 0; }
  100%      { opacity: 0; }
}

/* Podświetlanie aktywnego menu */
.demo-menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: #4ade80;
  border-radius: 0 2px 2px 0;
  transition: height 0.3s;
}

.demo-menu-item.active::before,
.demo-menu-item:hover::before {
  height: 60%;
}

/* Animacje check */
.demo-menu-item:nth-child(1) { animation: menuPulse 12s ease-in-out infinite 1.2s; }
.demo-menu-item:nth-child(2) { animation: menuPulse 12s ease-in-out infinite 2.4s; }
.demo-menu-item:nth-child(3) { animation: menuPulse 12s ease-in-out infinite 4.2s; }
.demo-menu-item:nth-child(4) { animation: menuPulse 12s ease-in-out infinite 6.0s; }

@keyframes menuPulse {
  0%, 15% { background: transparent; }
  20% { background: rgba(74, 222, 128, 0.15); border-color: rgba(74, 222, 128, 0.4); }
  25%, 100% { background: rgba(34, 197, 94, 0.1); }
}

/* Tooltip */
.demo-tooltip {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 10px;
  white-space: nowrap;
  opacity: 0;
  animation: tooltipShow 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes tooltipShow {
  0%, 18% { opacity: 0; transform: translateY(5px); }
  20%, 23% { opacity: 1; transform: translateY(0); }
  25%, 100% { opacity: 0; transform: translateY(5px); }
}

/* Pulsujące wiersze - symulacja aktualizacji */
.demo-table-row:nth-child(3) .demo-status {
  animation: statusChange 8s ease-in-out infinite;
}

@keyframes statusChange {
  0%, 40% { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
  50%, 90% { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
  100% { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
}
