:root {
  --purple-500: #5B4D95;
  --purple-700: #3D3363;
  --purple-light: #8B7BD8;
  --ink: #1E1A32;
  --gray-600: #68727D;
  --bg: #F8F9FB;
  --hero: linear-gradient(160deg, #5B4D95 0%, #8B7BD8 100%);
  --radius: 20px;
  --maxw: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }

/* ---------- Hero ---------- */
.hero {
  background: var(--hero);
  color: #fff;
  padding-bottom: 64px;
  overflow: hidden;
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
}
.brand img { border-radius: 9px; }

.nav-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-link:hover { color: #fff; }

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 24px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  max-width: 30em;
  margin-bottom: 28px;
}

.cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.badge-soon {
  background: #fff;
  color: var(--purple-700);
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 1rem;
}
.cta-sub { color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.95rem; }

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Realistický iPhone mockup kolem čistého screenshotu */
.phone {
  position: relative;
  background: linear-gradient(145deg, #413a57 0%, #1b1626 48%, #15111d 100%);
  padding: 11px;
  border-radius: 52px;
  box-shadow: 0 28px 66px rgba(30,26,50,0.34),
              inset 0 0 0 2px rgba(255,255,255,0.06);
  display: inline-block;
  line-height: 0;
}
/* zapínací tlačítko (vpravo) */
.phone::before {
  content: "";
  position: absolute;
  right: -3px;
  top: 116px;
  width: 3px;
  height: 64px;
  background: #14101c;
  border-radius: 0 2px 2px 0;
}
/* hlasitost (vlevo, dvě tlačítka pod sebou) */
.phone::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 98px;
  width: 3px;
  height: 38px;
  background: #14101c;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 52px 0 #14101c;
}
.phone img {
  display: block;
  width: 224px;
  height: auto;
  border-radius: 41px;
}
.phone-hero { transform: rotate(-2deg); }
.phone-hero img { width: 256px; }

/* ---------- Sections ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px;
  text-align: center;
}
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 40px; }

.section-alt { max-width: none; background: #fff; }
.section-alt > h2, .section-alt > .benefits, .section-alt > .gallery {
  max-width: var(--maxw); margin-left: auto; margin-right: auto;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid #EAEBF0;
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(91,77,149,0.12); }
.card-ico { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--purple-700); }
.card p { color: var(--gray-600); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit { text-align: left; padding: 8px 4px; }
.benefit h3 {
  font-size: 1.15rem; margin-bottom: 8px; color: var(--ink);
  padding-left: 16px; border-left: 4px solid var(--purple-light);
}
.benefit p { color: var(--gray-600); padding-left: 20px; }

/* Quote */
.quote { max-width: 760px; }
.quote-text { font-size: 1.2rem; color: var(--ink); }

/* Sekce funkcí – střídavé řádky (telefon + text), klasická product landing */
.section-lead {
  color: var(--gray-600);
  font-size: 1.1rem;
  margin: -26px auto 60px;
  max-width: 34em;
}
.features {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 84px;
}
.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
}
.feature-row.reverse { flex-direction: row-reverse; }
.feature-row .phone-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
}
.feature-row .phone img { width: 238px; }
.feature-text { flex: 1; text-align: left; }
.feature-text h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--ink);
  margin-bottom: 14px;
}
.feature-text p {
  color: var(--gray-600);
  font-size: 1.12rem;
  max-width: 32em;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--purple-700);
  color: #fff;
  text-align: center;
  padding: 64px 24px 48px;
}
.footer img { margin: 0 auto 16px; border-radius: 12px; }
.footer h2 { font-size: 1.6rem; margin-bottom: 12px; }
.footer p { color: rgba(255,255,255,0.85); max-width: 32em; margin: 0 auto 8px; }
.footer .mail { margin: 14px 0 24px; }
.footer .mail a {
  color: #fff; font-size: 1.25rem; font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--purple-light); padding-bottom: 2px;
}
.foot-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 28px; flex-wrap: wrap; }
.foot-links a { color: rgba(255,255,255,0.9); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: #fff; }
.copy { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
  .hero-copy h1 { font-size: clamp(1.6rem, 7vw, 2.3rem); overflow-wrap: break-word; }
  .br-d { display: none; }
  .lead { margin-left: auto; margin-right: auto; font-size: 1.05rem; }
  .cta { justify-content: center; }
  .cta-sub { width: 100%; text-align: center; }
  .hero-art { margin-top: 24px; }
  .phone-hero img { width: 230px; }
  .cards, .benefits { grid-template-columns: 1fr; }
  .benefit { text-align: center; }
  .benefit h3 { border-left: none; padding-left: 0; }
  .benefit p { padding-left: 0; }
  /* Showcase: vodorovný scroll se „snapem" místo mačkání 4 telefonů */
  .features { gap: 56px; }
  .feature-row, .feature-row.reverse { flex-direction: column; gap: 28px; text-align: center; }
  .feature-text { text-align: center; }
  .feature-text p { margin-left: auto; margin-right: auto; }
  .feature-row .phone img { width: 220px; }
}
