/* ============================================================
   Urobi — Promotional Website
   Clean, friendly, modern (Figma-inspired) light theme
   ============================================================ */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f6fb;
  --color-bg-soft: #eef1fb;
  --color-text: #1a1a2e;
  --color-text-muted: #5c5f77;
  --color-primary: #6d5bfa;
  --color-primary-dark: #5642f0;
  --color-secondary: #00c2ff;
  --color-accent: #ff6b6b;
  --color-border: #e6e8f5;
  --gradient-brand: linear-gradient(135deg, #6d5bfa 0%, #00c2ff 100%);
  --gradient-soft: linear-gradient(135deg, #f0edff 0%, #e6f9ff 100%);
  --shadow-sm: 0 2px 8px rgba(31, 31, 60, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 31, 60, 0.08);
  --shadow-lg: 0 20px 48px rgba(31, 31, 60, 0.12);
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --container-width: 1140px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

section { padding: clamp(56px, 10vw, 120px) 0; }

h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.4em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--color-text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-bg-soft);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { color: #fff; box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: var(--color-bg-soft);
  color: var(--color-text);
}
.btn-ghost:hover { color: var(--color-text); background: var(--color-border); }

/* ── Nav ─────────────────────────────────────────────── */
header.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 40px);
  max-width: var(--container-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-text);
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a { color: var(--color-text-muted); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--color-primary); }
.lang-toggle {
  display: flex;
  gap: 4px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-full);
  padding: 4px;
}
.lang-toggle a {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
}
.lang-toggle a.active { background: #fff; color: var(--color-primary); box-shadow: var(--shadow-sm); }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nav-links {
    width: 100%;
    justify-content: space-between;
  }
  .nav-links .nav-primary-links {
    gap: 14px !important;
    flex-wrap: wrap;
  }
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  background: var(--gradient-soft);
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-badges { justify-content: center; }
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero-badges {
  display: flex;
  gap: 18px;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.hero-badges span { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  width: 100%;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 40%, rgba(109, 91, 250, 0.25), transparent 70%);
  z-index: -1;
}

/* ── Video placeholder ──────────────────────────────── */
.video-frame {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0d0d1a;
  aspect-ratio: 16 / 9;
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  text-align: center;
  padding: 20px;
}
.play-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.play-btn svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.video-overlay .tag {
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

/* ── Features grid ──────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.feature-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.feature-card p { color: var(--color-text-muted); margin: 0.4em 0 0; }

/* ── Screenshot showcase ────────────────────────────── */
.showcase-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 4px 20px;
  scroll-snap-type: x mandatory;
}
.showcase-scroll img {
  scroll-snap-align: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 240px;
  flex: 0 0 auto;
}

/* ── Accessibility section ──────────────────────────── */
.a11y-section {
  background: var(--color-text);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 64px);
}
.a11y-section h2 { color: #fff; }
.a11y-section p.lead { color: rgba(255,255,255,0.75); }
.a11y-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
}
.a11y-list li {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 20px;
  font-weight: 600;
}

/* ── Pricing ─────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.price-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.price-card.highlight {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  position: relative;
}
.price-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ── Privacy / trust ─────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.trust-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--color-primary); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--color-text-muted); margin-top: 0.8em; }

/* ── CTA banner ──────────────────────────────────────── */
.cta-banner {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 64px);
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.85); }
.cta-banner .btn-ghost { background: rgba(255,255,255,0.15); color: #fff; }
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* ── Footer ──────────────────────────────────────────── */
footer.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 1em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--color-text); font-weight: 600; font-size: 0.95rem; }
.footer-col a:hover { color: var(--color-primary); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 12px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--color-text-muted); }
.footer-bottom a:hover { color: var(--color-primary); }

/* ── Reveal animation ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
