:root {
  /* Brand colors — from RoK app palette */
  --blue-900: #0D2A54;
  --blue-800: #123D7A;
  --blue-700: #154587;
  --blue-400: #257EF9;
  --blue-300: #5B9EFA;
  --blue-200: #92BEFC;
  --blue-100: #C9DEFD;
  --cyan-400: #00B4D8;
  --cyan-600: #0096C7;
  --gray-950: #1F1F1F;

  --bg: #07090F;
  --bg-alt: #0C1220;
  --bg-card: #0E1628;
  --accent: var(--blue-400);
  --accent-hover: var(--blue-300);
  --accent-deep: var(--blue-700);
  --accent-cyan: var(--cyan-400);
  --accent-soft: rgba(37, 126, 249, 0.13);
  --accent-glow: rgba(37, 126, 249, 0.45);
  --text: #EEF3FF;
  --muted: #7E8FB8;
  --muted-light: #A8BAD8;
  --border: #182138;
  --border-accent: rgba(37, 126, 249, 0.35);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 8px 40px rgba(37, 126, 249, 0.35);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(ellipse 80% 60% at 110% -10%, rgba(21, 69, 135, 0.45) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at -10% 100%, rgba(13, 42, 84, 0.35) 0%, transparent 70%),
    #07090F;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  border-bottom: 1px solid rgba(37, 126, 249, 0.1);
  backdrop-filter: blur(22px) saturate(180%);
  background: linear-gradient(to bottom, rgba(7, 9, 15, 0.92), rgba(7, 9, 15, 0.75));
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(37, 126, 249, 0.5);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}

.nav-links a {
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-400), var(--cyan-400));
  transition: width 0.22s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: none;
  color: var(--text);
  transition: all 0.18s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(37, 126, 249, 0.55), 0 1px 0 rgba(255,255,255,0.1) inset;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 126, 249, 0.75), 0 1px 0 rgba(255,255,255,0.1) inset;
}

.btn-ghost {
  border-color: var(--border-accent);
  background: rgba(14, 22, 40, 0.7);
  color: var(--muted-light);
}

.btn-ghost:hover {
  border-color: var(--blue-300);
  background: rgba(37, 126, 249, 0.08);
  color: var(--text);
}

main {
  flex: 1;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-title span {
  background: linear-gradient(120deg, #EEF3FF 10%, var(--blue-300) 50%, var(--cyan-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(37, 126, 249, 0.07);
  border: 1px solid rgba(37, 126, 249, 0.22);
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.2);
}

.hero-visual {
  position: relative;
}

.hero-card {
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-card-inner {
  padding: 12px 12px 0 12px;
}

.hero-screenshot {
  width: 100%;
  display: block;
  border-radius: 12px 12px 0 0;
  object-fit: cover;
  margin-top: 10px;
}

.hero-screenshot-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 0 0 20px 20px;
}

.hero-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid rgba(37, 126, 249, 0.12);
}

.hero-dots {
  display: flex;
  gap: 6px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2d3a54;
}

.hero-dot.red {
  background: #f97373;
}

.hero-dot.yellow {
  background: #facc15;
}

.hero-dot.green {
  background: #4ade80;
}

.hero-floating-tag {
  position: absolute;
  right: 10%;
  top: -18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12, 18, 32, 0.97);
  border: 1px solid var(--border-accent);
  font-size: 11px;
  color: var(--muted-light);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(37, 126, 249, 0.2);
}

.hero-floating-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.2);
}

/* Sections */

.section-header {
  max-width: 640px;
  margin-bottom: 24px;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(100deg, var(--text) 40%, var(--blue-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.section-subtitle {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.value-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 24px;
}

.value-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--bg-card), var(--bg-alt));
  border: 1px solid var(--border);
  padding: 20px 20px 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.value-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 4px 32px rgba(37, 126, 249, 0.12);
}

.value-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.value-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(37, 126, 249, 0.08);
  border: 1px solid rgba(37, 126, 249, 0.3);
  color: var(--blue-200);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--bg-card), var(--bg-alt));
  border: 1px solid var(--border);
  padding: 0 0 16px 0;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37, 126, 249, 0.15);
}

.feature-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-bottom: 1px solid var(--border);
}

.feature-content {
  padding: 14px 16px 2px;
}

.feature-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue-300);
  margin-bottom: 5px;
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.screen-card {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
  cursor: default;
}

.screen-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--border-accent);
  box-shadow: 0 12px 40px rgba(37, 126, 249, 0.22);
}

.screen-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.screen-card:hover img {
  transform: scale(1.03);
}

.screen-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 12px 12px;
  background: linear-gradient(to top, rgba(7, 9, 15, 0.95) 0%, transparent 100%);
}

.screen-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue-300);
  margin-bottom: 3px;
}

.screen-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.story-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border-accent);
  padding: 24px 22px 20px;
  box-shadow: 0 4px 32px rgba(37, 126, 249, 0.08);
}

.story-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.story-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
}

.story-signature {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.story-signature span {
  color: var(--blue-200);
  font-weight: 500;
}

.social-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: flex-start;
}

.rating-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--bg-card), var(--bg-alt));
  border: 1px solid var(--border);
  padding: 20px 22px;
}

.rating-score {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}

.rating-stars {
  font-size: 15px;
  color: #f5c347;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 13px;
  color: var(--muted);
}

.quote-card {
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 16px 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  position: relative;
}

.quote-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 32px;
  color: rgba(148, 163, 184, 0.35);
}

.quote-text {
  margin-left: 16px;
}

.quote-author {
  margin-top: 10px;
  font-size: 12px;
  color: var(--blue-100);
}

.quote-author span {
  color: var(--muted);
  font-weight: 400;
}

/* Section divider */
.section-divider {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-divider hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent) 30%, rgba(0, 180, 216, 0.3) 60%, transparent);
}

.cta-section {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 50px;
}

.cta-inner {
  display: inline-block;
  padding: 36px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(21, 69, 135, 0.25), rgba(37, 126, 249, 0.1));
  border: 1px solid var(--border-accent);
  box-shadow: 0 4px 40px rgba(37, 126, 249, 0.1);
}

.cta-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-text {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 480px;
}

footer {
  border-top: 1px solid rgba(37, 126, 249, 0.15);
  background: #040609;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 20px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  overflow: hidden;
  opacity: 0.85;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    border-radius: 18px;
  }

  .value-grid,
  .features-grid,
  .social-proof {
    grid-template-columns: minmax(0, 1fr);
  }

  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 28px;
  }

  .screens-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-floating-tag {
    display: none;
  }

  .cta-inner {
    padding: 24px 20px;
  }
}
