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

:root {
  --bg:        #060d1a;
  --bg-card:   #0d1f38;
  --bg-input:  #0a1628;
  --cyan:      #00d4ff;
  --cyan-dim:  rgba(0,212,255,0.1);
  --cyan-glow: rgba(0,212,255,0.15);
  --text:      #e8f4ff;
  --muted:     #5a7fa0;
  --border:    rgba(0,212,255,0.15);
  --border-md: rgba(0,212,255,0.28);
  --success:   #00e5a0;
  --warning:   #ffaa00;
  --radius:    12px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Exo 2', sans-serif; font-size: 16px; line-height: 1.6;
  overflow-x: hidden;
}

/* GRID BG */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none; z-index: 0;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6,13,26,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem; height: 64px;
  display: flex; align-items: center; gap: 1rem;
}
.navbar-logo { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.navbar-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.btn-nav {
  padding: 0.5rem 1.2rem; border-radius: 8px;
  font-family: 'Exo 2', sans-serif; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; text-decoration: none; letter-spacing: 0.03em;
}
.btn-ghost { background: none; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-primary { background: var(--cyan); border: none; color: var(--bg); }
.btn-primary:hover { background: #33ddff; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 8rem 2rem 4rem;
}

.hero::before {
  content: '';
  position: absolute; top: 10%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  background: var(--cyan-dim); border: 1px solid var(--border-md);
  font-size: 0.78rem; font-weight: 700; color: var(--cyan);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: blink 1.5s infinite; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.2; } }

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800;
  line-height: 1.1; margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--cyan); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted);
  max-width: 560px; margin: 0 auto 2.5rem; font-weight: 400;
}

.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem; }
.btn-lg {
  padding: 0.85rem 2rem; border-radius: var(--radius);
  font-family: 'Exo 2', sans-serif; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s; text-decoration: none; letter-spacing: 0.04em;
}
.btn-lg.primary { background: var(--cyan); color: var(--bg); border: none; }
.btn-lg.primary:hover { background: #33ddff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,212,255,0.25); }
.btn-lg.outline { background: none; color: var(--text); border: 1px solid var(--border-md); }
.btn-lg.outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* HERO STATS */
.hero-stats {
  display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-val { font-size: 1.8rem; font-weight: 800; color: var(--cyan); font-family: 'JetBrains Mono', monospace; }
.hero-stat-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── SECTIONS ── */
section { position: relative; z-index: 1; padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
  font-size: 0.7rem; font-weight: 700; color: var(--cyan);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  margin-bottom: 1rem; letter-spacing: -0.01em;
}
.section-sub { font-size: 1rem; color: var(--muted); max-width: 540px; margin-bottom: 3rem; }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }

.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  position: relative; overflow: hidden; transition: border-color 0.2s;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0.4;
}
.feature-card:hover { border-color: var(--border-md); }

.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--cyan-dim); border: 1px solid var(--border-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 1rem;
}
.feature-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ── HOW IT WORKS ── */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; position: relative; }
.how-grid::before {
  content: '';
  position: absolute; top: 28px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-md), var(--border-md), transparent);
}
.how-step { text-align: center; position: relative; }
.how-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: var(--cyan);
  margin: 0 auto 1rem; position: relative; z-index: 1;
  font-family: 'JetBrains Mono', monospace;
}
.how-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.how-desc { font-size: 0.82rem; color: var(--muted); }

/* ── DEVICES ── */
.devices-showcase {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.device-chip {
  padding: 6px 14px; border-radius: 20px;
  background: var(--bg-input); border: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: var(--text);
  transition: border-color 0.2s;
}
.device-chip:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; align-items: stretch; }

.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.price-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0.4;
}
.price-card.featured { border-color: var(--border-md); transform: scale(1.02); }
.price-card.featured::after {
  content: 'POPULÁRNÍ';
  position: absolute; top: 16px; right: 16px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--bg); background: var(--cyan); padding: 3px 8px; border-radius: 4px;
}

.price-name { font-size: 0.7rem; font-weight: 700; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.price-amount { font-size: 2rem; font-weight: 800; margin-bottom: 4px; }
.price-amount.cyan { color: var(--cyan); }
.price-amount.gold { color: var(--warning); }
.price-period { font-size: 0.78rem; color: var(--muted); margin-bottom: 1.5rem; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; margin-bottom: 1.5rem; }
.price-features li { font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.price-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

.btn-plan {
  width: 100%; padding: 0.8rem;
  border-radius: var(--radius); border: none;
  font-family: 'Exo 2', sans-serif; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.04em;
  text-decoration: none; text-align: center; display: block;
}
.btn-plan.free { background: none; border: 1px solid var(--border-md); color: var(--text); }
.btn-plan.free:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-plan.basic { background: var(--cyan); color: var(--bg); }
.btn-plan.basic:hover { background: #33ddff; }
.btn-plan.pro { background: var(--warning); color: var(--bg); }
.btn-plan.pro:hover { opacity: 0.85; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--bg-card); border: 1px solid var(--border-md);
  border-radius: var(--radius); padding: 3rem 2rem;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.cta-banner h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.75rem; }
.cta-banner p { color: var(--muted); margin-bottom: 2rem; }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem; text-align: center;
  font-size: 0.8rem; color: var(--muted);
}
footer a { color: var(--cyan); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .navbar { padding: 0 1rem; }
  .hero { padding: 7rem 1.2rem 3rem; }
  .hero-stats { gap: 1.5rem; }
  section { padding: 3.5rem 1.2rem; }
  .how-grid::before { display: none; }
  .price-card.featured { transform: none; }
}