/* ============================================================
   SMARTICA · 3D PROHLÍDKY
   /mp/css/style_mp.css
   Google Store inspired — světlý design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&display=swap');

/* ── RESET ────────────────────────────────────────────────── */

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

:root {
  /* Google paleta */
  --white:          #ffffff;
  --bg:             #ffffff;
  --bg-soft:        #f8f9fa;
  --bg-blue:        #e8f0fe;

  --border:         #e0e0e0;
  --border-light:   #eeeeee;

  --text-primary:   #202124;
  --text-secondary: #5f6368;
  --text-muted:     #80868b;
  --text-faint:     #bdc1c6;

  --blue:           #1a73e8;
  --blue-dark:      #1557b0;
  --blue-hover:     #1967d2;
  --blue-soft:      #e8f0fe;
  --blue-mid:       #4285f4;

  --google-red:     #ea4335;
  --google-yellow:  #fbbc04;
  --google-green:   #34a853;

  /* Font */
  --font: 'DM Sans', sans-serif;

  /* Rozměry */
  --max-width:   1160px;
  --gutter:      8vw;
  --section-py:  96px;
  --radius:      16px;
  --radius-sm:   8px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */

.t-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 16px;
}

.t-hero {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.t-h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.t-h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.t-lead {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
}

.t-body {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
}

.t-small {
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
}

.t-caption {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-faint);
}

.t-accent { color: var(--blue); }

/* ── LAYOUT ───────────────────────────────────────────────── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--section-py) var(--gutter);
  position: relative;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

hr.divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.two-col.align-center { align-items: center; }

/* ── NAVIGATION ───────────────────────────────────────────── */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 var(--gutter);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#navbar.scrolled {
  border-color: var(--border-light);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-logo {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-dots {
  display: flex;
  gap: 3px;
}

.nav-logo-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
}

.nav-logo-dots span:nth-child(1) { background: var(--google-red); }
.nav-logo-dots span:nth-child(2) { background: var(--google-yellow); }
.nav-logo-dots span:nth-child(3) { background: var(--google-green); }
.nav-logo-dots span:nth-child(4) { background: var(--blue-mid); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-links .nav-btn {
  background: var(--blue);
  color: var(--white) !important;
  padding: 8px 22px;
  border-radius: 20px;
  font-weight: 500;
  transition: background 0.2s, box-shadow 0.2s !important;
}

.nav-links .nav-btn:hover {
  background: var(--blue-hover) !important;
  box-shadow: 0 1px 8px rgba(26,115,232,0.3);
}

/* ── BUTTONS ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 24px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 2px 12px rgba(26,115,232,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-soft); }

/* ── SCROLL REVEAL ────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(.22,1,.36,1),
              transform 0.75s cubic-bezier(.22,1,.36,1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.75s cubic-bezier(.22,1,.36,1),
              transform 0.75s cubic-bezier(.22,1,.36,1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.75s cubic-bezier(.22,1,.36,1),
              transform 0.75s cubic-bezier(.22,1,.36,1);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

.d1 { transition-delay: 0.07s; }
.d2 { transition-delay: 0.15s; }
.d3 { transition-delay: 0.23s; }
.d4 { transition-delay: 0.31s; }
.d5 { transition-delay: 0.39s; }

/* ── PROGRESS NAV ─────────────────────────────────────────── */

#progress-nav {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

#progress-nav.visible {
  opacity: 1;
  pointer-events: auto;
}

.pnav-dot {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 3px 0;
}

.pnav-dot-inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s, transform 0.3s;
  flex-shrink: 0;
}

.pnav-dot.active .pnav-dot-inner {
  background: var(--blue);
  transform: scale(1.6);
}

.pnav-label {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s, color 0.2s;
  pointer-events: none;
}

.pnav-dot:hover .pnav-label,
.pnav-dot.active .pnav-label {
  opacity: 1;
  transform: translateX(0);
}

.pnav-dot.active .pnav-label { color: var(--blue); }

/* ── HERO ─────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg-shape {
  position: absolute;
  top: 0; right: 0;
  width: 52%;
  height: 100%;
  background: var(--bg-soft);
  clip-path: ellipse(90% 100% at 100% 50%);
  pointer-events: none;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-title { margin-bottom: 20px; }
.hero-sub   { margin-bottom: 32px; max-width: 460px; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 16px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-visual { position: relative; }

.hero-iframe-box {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.hero-iframe-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── HERO ANIMACE ─────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-anim-1 { animation: fadeUp 0.8s 0.1s ease both; }
.hero-anim-2 { animation: fadeUp 0.8s 0.22s ease both; }
.hero-anim-3 { animation: fadeUp 0.8s 0.34s ease both; }
.hero-anim-4 { animation: fadeUp 0.8s 0.46s ease both; }
.hero-anim-5 { animation: fadeUp 0.8s 0.58s ease both; }
.hero-anim-r { animation: fadeUp 0.9s 0.28s ease both; }

/* ── CARDS ────────────────────────────────────────────────── */

.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-color: var(--border);
}

.card-blue {
  background: var(--bg-blue);
  border-color: #c5d8fd;
}

/* ── STAT CARDS ───────────────────────────────────────────── */

.stat-card-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}

.stat-card-num.large {
  font-size: 3.6rem;
  color: var(--blue);
}

/* ── REASON LIST ──────────────────────────────────────────── */

.reason-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}

.reason-item:first-child { border-top: 1px solid var(--border-light); }

.reason-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.reason-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.reason-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── SEGMENTS ─────────────────────────────────────────────── */

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.segment {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.segment:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  border-color: var(--border);
}

.segment-icon { font-size: 2rem; margin-bottom: 12px; display: block; }

.segment h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.segment p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── PROCESS STEPS ────────────────────────────────────────── */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: box-shadow 0.2s;
}

.process-step:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── IFRAME ───────────────────────────────────────────────── */

.iframe-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── NOTEBOOK MOCKUP ──────────────────────────────────────── */

.notebook-wrapper {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.1));
}

.notebook-wrapper img { width: 100%; height: auto; display: block; }

.iframe-overlay {
  position: absolute;
  top: 12.36%;
  left: 17.83%;
  width: 64%;
  height: 62.64%;
}

.iframe-overlay iframe { width: 100%; height: 100%; border: none; }

/* ── DEMO FEATURES ────────────────────────────────────────── */

.demo-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}

.demo-feature:first-of-type { border-top: 1px solid var(--border-light); }

.demo-feature-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.demo-feature h5 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--text-primary);
}

.demo-feature p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── TECH BADGES ──────────────────────────────────────────── */

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.badge {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 5px 14px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── PRICING ──────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}

.price-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.price-card.featured {
  border-color: var(--blue);
  background: var(--bg-blue);
}

.price-card.featured::before {
  content: 'POPULÁRNÍ';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 3px 12px;
  border-radius: 16px;
  white-space: nowrap;
}

.price-tier {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.price-size  { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 4px; }
.price-scans { font-size: 0.75rem; color: var(--blue); font-weight: 500; margin-bottom: 12px; }
.price-use   { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 16px; min-height: 36px; line-height: 1.5; }

.price-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-currency { font-size: 0.85rem; color: var(--text-muted); margin-left: 2px; }

.pricing-note {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.pricing-note p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.8; }
.pricing-note strong { color: var(--text-primary); font-weight: 600; }

/* ── STRIP ────────────────────────────────────────────────── */

.strip {
  background: var(--blue);
  padding: 52px var(--gutter);
  text-align: center;
}

.strip p {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── EXAMPLES ─────────────────────────────────────────────── */

.examples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.example-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.2s;
}

.example-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.example-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 14px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: block;
}

/* ── GSV BLOCK ────────────────────────────────────────────── */

.gsv-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.gsv-block img { height: 40px; width: auto; flex-shrink: 0; }

.gsv-block p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ── CONTACT ──────────────────────────────────────────────── */

.contact-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
  display: block;
}

.contact-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s;
  display: block;
}

.contact-value:hover { color: var(--blue); }

.contact-address {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-top: 36px;
}

/* ── EXAMPLES 2-COL GRID ──────────────────────────────────── */

.examples-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

@media (max-width: 600px) {
  .examples-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 1100px) {
  :root { --gutter: 5vw; }
  .pricing-grid  { grid-template-columns: repeat(3, 1fr); }
  .examples-grid { grid-template-columns: repeat(2, 1fr); }
  #progress-nav  { display: none; }
}

@media (max-width: 900px) {
  :root { --section-py: 68px; }
  .hero-grid      { grid-template-columns: 1fr; }
  .hero-bg-shape  { display: none; }
  .two-col        { grid-template-columns: 1fr; gap: 40px; }
  .process-grid   { grid-template-columns: 1fr; gap: 16px; }
  .segments-grid  { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid   { grid-template-columns: repeat(2, 1fr); }
  .pricing-note   { grid-template-columns: 1fr; gap: 20px; }
  .hero-stats     { gap: 28px; }
  .nav-links      { display: none; }
}

@media (max-width: 600px) {
  :root { --gutter: 5vw; --section-py: 52px; }
  .segments-grid  { grid-template-columns: 1fr; }
  .pricing-grid   { grid-template-columns: 1fr; }
  .examples-grid  { grid-template-columns: 1fr; }
  .hero-stats     { flex-wrap: wrap; gap: 20px; }
}
