:root {
  /* barevnost odvozená z loga BENEOSPHERE */
  --aubergine: #4A2D52;      /* primární, wordmark */
  --aubergine-soft: #6E4D78; /* světlejší aubergine */
  --aubergine-pale: #EFE9F1; /* velmi světlý aubergine tint */
  --slate: #34465C;          /* tmavá modrá ze značky */
  --blue: #5687A8;           /* střední modrá z kapky */
  --blue-soft: #D4E0EA;      /* velmi světlá modrá */

  --bg: #FEFEFE;             /* téměř bílá */
  --bg-soft: #F9F8F6;
  --ink: #1F1525;            /* tmavá aubergine pro text */
  --ink-soft: #4A4250;
  --ink-mute: #8A8190;
  --line: #E8E5E0;
  --white: #FFFFFF;
  --cream: #FFFFFF;

  --primary: var(--aubergine);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%27200%27 height=%27200%27><filter id=%27n%27><feTurbulence type=%27fractalNoise%27 baseFrequency=%270.85%27 numOctaves=%272%27 stitchTiles=%27stitch%27/><feColorMatrix values=%270 0 0 0 0.12 0 0 0 0 0.08 0 0 0 0 0.16 0 0 0 0.06 0%27/></filter><rect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/></svg>");
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* decorative wavy line motif from logo */
.wavy {
  display: inline-block;
  height: 10px;
  width: 64px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 10%27 fill=%27none%27 stroke=%27%234A2D52%27 stroke-width=%271.5%27 stroke-linecap=%27round%27><path d=%27M2 5 Q 6 1, 10 5 T 18 5 T 26 5 T 34 5 T 42 5 T 50 5 T 58 5 T 62 5%27/></svg>");
  background-repeat: no-repeat;
}

/* ---------- NAV ---------- */
nav {
  padding: 26px 0;
  position: relative;
  z-index: 10;
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img {
  height: 44px;
  display: block;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--aubergine); }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  padding: 11px 20px;
  background: var(--aubergine);
  color: var(--white);
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.nav-cta:hover { background: var(--ink); transform: translateY(-1px); }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  padding: 60px 0 100px;
  position: relative;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}
.blob-1 {
  width: 540px; height: 540px;
  background: var(--blue);
  opacity: 0.2;
  top: -140px; right: -160px;
}
.blob-2 {
  width: 380px; height: 380px;
  background: var(--aubergine);
  opacity: 0.14;
  bottom: -80px; left: -100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease-out backwards;
}
.badge .dot {
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(86, 135, 168, 0.22);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

h1.hero-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(48px, 6.6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 30px;
  font-weight: 900;
  animation: fadeUp 1s ease-out 0.1s backwards;
}
h1 .light {
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--aubergine);
}
h1 .underline {
  position: relative;
  display: inline-block;
}
h1 .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 10px;
  background: var(--blue);
  opacity: 0.32;
  z-index: -1;
  border-radius: 2px;
}

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.55;
  animation: fadeUp 1s ease-out 0.2s backwards;
}

.hero-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 6px 6px 22px;
  box-shadow: 0 4px 24px rgba(31, 21, 37, 0.06);
  animation: fadeUp 1s ease-out 0.3s backwards;
}
.hero-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
}
.hero-form input::placeholder { color: var(--ink-mute); }
.hero-form button {
  background: var(--aubergine);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}
.hero-form button:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

.hero-meta {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeUp 1s ease-out 0.4s backwards;
}
.hero-meta svg { color: var(--blue); }

/* hero CTAs */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 1s ease-out 0.3s backwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--aubergine);
  color: var(--white);
  padding: 16px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 24px -8px rgba(74, 45, 82, 0.5);
}
.btn-primary .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(74, 45, 82, 0.55);
}
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 16px 22px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.btn-ghost:hover {
  border-color: var(--aubergine);
  color: var(--aubergine);
  background: var(--white);
}

/* ---------- PHONE MOCKUP ---------- */
.phone-stage {
  position: relative;
  height: 620px;
  animation: fadeUp 1.2s ease-out 0.3s backwards;
}
.phone {
  position: absolute;
  width: 280px;
  height: 580px;
  background: #1F1525;
  border-radius: 34px;
  padding: 10px;
  box-shadow:
    0 30px 60px -20px rgba(31, 21, 37, 0.4),
    0 12px 30px -10px rgba(31, 21, 37, 0.22),
    inset 0 0 0 2px rgba(255,255,255,0.06);
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* placeholder pattern visible until screenshot is added */
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(86, 135, 168, 0.10), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(74, 45, 82, 0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.phone-screen img {
  position: relative;
  z-index: 1;
}

.phone-1 {
  top: 20px;
  right: 60px;
  transform: rotate(4deg);
  z-index: 2;
}
.phone-2 {
  bottom: 0;
  left: 0;
  transform: rotate(-6deg) scale(0.78);
  z-index: 1;
  opacity: 0.95;
}

/* App UI */
.app-greet {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.app-h {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}
.app-h .it {
  font-weight: 300;
  font-style: italic;
  color: var(--aubergine);
}

.app-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.pill-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.pill-icon.aubergine { background: var(--aubergine-pale); }
.pill-icon.blue { background: var(--blue-soft); }
.pill-icon.slate { background: #DDE3EA; }

.app-card-title {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1px;
}
.app-card-meta {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--ink-mute);
}
.app-card-time {
  margin-left: auto;
  font-size: 11px;
  color: var(--aubergine);
  font-weight: 500;
}
.app-card-time.done {
  color: var(--ink-mute);
  text-decoration: line-through;
}

.app-section-h {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 14px 0 8px;
}

.app-stat {
  background: linear-gradient(135deg, var(--slate) 0%, var(--aubergine) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
}
.app-stat-label {
  font-size: 9.5px;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.app-stat-value {
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.app-stat-value .small { font-size: 14px; opacity: 0.6; font-weight: 400; }

/* Phone 2 */
.doc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 7px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.doc-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--slate) 100%);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.doc-name { font-size: 12px; font-weight: 500; color: var(--ink); }
.doc-spec { font-size: 10px; font-weight: 400; color: var(--ink-mute); margin-top: 1px; }
.doc-distance {
  margin-left: auto;
  font-size: 10px;
  color: var(--blue);
  font-weight: 500;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-stage { height: 520px; margin-top: 20px; }
  .phone-1 { right: 0; left: 0; margin: 0 auto; transform: rotate(0); }
  .phone-2 { display: none; }
}

/* ---------- FEATURES ---------- */
.features {
  padding: 120px 0 100px;
  position: relative;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aubergine);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-eyebrow::before {
  content: "";
  width: 28px; height: 1.5px;
  background: var(--aubergine);
  display: block;
}

.section-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  max-width: 800px;
  color: var(--ink);
}
.section-title .it {
  font-weight: 300;
  font-style: italic;
  color: var(--aubergine);
  letter-spacing: -0.025em;
}

.section-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 64px;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.feat {
  background: var(--bg);
  padding: 36px 32px 40px;
  transition: background 0.4s ease;
  position: relative;
}
.feat:hover { background: var(--white); }

.feat-num {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.feat-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--aubergine);
  transition: transform 0.4s ease, background 0.4s, color 0.4s;
}
.feat:hover .feat-icon {
  transform: rotate(-6deg) scale(1.05);
  background: var(--aubergine);
  color: var(--white);
}

.feat h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.feat p {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .feat-grid { grid-template-columns: 1fr; }
}

.more-claim {
  text-align: center;
  margin-top: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.more-claim .claim-wave {
  width: 84px;
  height: 14px;
  color: var(--aubergine);
  opacity: 0.8;
}
.more-claim p {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
  max-width: 640px;
}
.more-claim p em {
  font-style: italic;
  color: var(--aubergine);
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 20px 0 120px;
  position: relative;
}
.cta-card {
  background: var(--ink);
  color: var(--white);
  border-radius: 32px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  background: var(--aubergine);
  border-radius: 50%;
  top: -200px; right: -140px;
  opacity: 0.65;
  filter: blur(80px);
}
.cta-card::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  background: var(--blue);
  border-radius: 50%;
  bottom: -160px; left: -100px;
  opacity: 0.4;
  filter: blur(80px);
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.cta-card .badge {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
}
.cta-card .badge .dot {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(86, 135, 168, 0.3);
}
.cta-card h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: var(--white);
}
.cta-card h2 .it {
  font-weight: 300;
  font-style: italic;
  color: var(--blue);
  letter-spacing: -0.025em;
}
.cta-card .lead {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.55;
}
.cta-card .hero-form {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  box-shadow: none;
}
.cta-card .hero-form input { color: var(--white); }
.cta-card .hero-form input::placeholder { color: rgba(255,255,255,0.5); }
.cta-card .hero-form button { background: var(--white); color: var(--ink); }
.cta-card .hero-form button:hover { background: var(--blue); color: var(--white); }

.cta-perks {
  margin-top: 28px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
}
.cta-perks span { display: flex; align-items: center; gap: 8px; }
.cta-perks svg { width: 14px; height: 14px; color: var(--blue); }

@media (max-width: 700px) {
  .cta-card { padding: 56px 28px; border-radius: 24px; }
}

/* ---------- FOOTER ---------- */
footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
footer .copy {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-mute);
}
footer .links {
  display: flex; gap: 24px;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
}
footer .links a {
  color: var(--ink-soft); text-decoration: none;
}
footer .links a:hover { color: var(--aubergine); }

.company-id {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-mute);
  line-height: 1.5;
  text-align: right;
}
.company-id strong {
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 2px;
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  .company-id { align-items: flex-start; text-align: left; }
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
