/* ===== UGCStd — Landing Page Styles ===== */

:root {
  --bg: #0A0E27;
  --bg-2: #10152E;
  --surface: #141A38;
  --surface-2: #1A2145;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --accent: #00D4FF;      /* cyan */
  --accent-2: #9D4EDD;    /* purple */
  --accent-glow: rgba(0, 212, 255, 0.35);

  --text: #E8E8E8;
  --text-strong: #FFFFFF;
  --muted: #9AA3C0;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);

  --font-sans: 'Inter', 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121a;
  box-shadow: 0 10px 30px -8px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 16px 40px -8px var(--accent-glow); }

.btn-secondary {
  background: var(--surface-2);
  color: var(--text-strong);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text-strong); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 39, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-strong);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  color: #04121a;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo-accent { color: var(--accent); }

.main-nav { display: flex; gap: 28px; }
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.18s ease;
}
.nav-link:hover { color: var(--text-strong); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(0,212,255,0.14), transparent 55%),
    radial-gradient(120% 90% at 90% 100%, rgba(157,78,221,0.18), transparent 55%),
    linear-gradient(180deg, rgba(10,14,39,0.72) 0%, rgba(10,14,39,0.88) 60%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hero-note {
  font-size: 0.9rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-note::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin-top: 12px;
}
.section-lead { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }

/* ===== Cards (gradient border) ===== */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,212,255,0.4), rgba(157,78,221,0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 13px;
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.18);
  margin-bottom: 18px;
}
.icon-badge svg { width: 26px; height: 26px; }
.card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--text-strong);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card p { color: var(--muted); font-size: 0.98rem; }

/* ===== How It Works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card { padding-top: 34px; }
.step-index {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.14);
}

/* ===== Product Showcase ===== */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.showcase-copy h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: var(--text-strong);
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
}
.check-list { list-style: none; margin: 24px 0 30px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0,212,255,0.12);
  border: 1px solid var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D4FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}

/* App mockup (CSS built) */
.app-window {
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.app-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.app-title { margin-left: 10px; font-size: 0.85rem; color: var(--muted); }
.app-body { display: grid; grid-template-columns: 54px 1fr; min-height: 300px; }
.app-sidebar {
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px 0; align-items: center;
  border-right: 1px solid var(--border);
}
.side-item { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,0.06); }
.side-item.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.app-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.app-preview {
  flex: 1;
  min-height: 150px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 45%, rgba(0,212,255,0.16), transparent 60%),
    linear-gradient(160deg, #0c1230, #060a1f);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.app-prompt {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.prompt-label {
  display: block; font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 4px;
}
.prompt-text { font-size: 0.9rem; color: var(--text); }
.app-timeline { display: flex; gap: 8px; }
.clip { height: 30px; border-radius: 6px; flex: 1; }
.c1 { background: linear-gradient(180deg, var(--accent), #0086a8); }
.c2 { background: rgba(255,255,255,0.10); }
.c3 { background: linear-gradient(180deg, var(--accent-2), #5c2a86); }
.c4 { background: rgba(255,255,255,0.10); }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.badge-soon {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(157,78,221,0.12);
  border: 1px solid rgba(157,78,221,0.35);
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 6px;
}
.feature-card.is-soon { opacity: 0.9; }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  gap: 24px;
  justify-content: center;
}
.price-card { display: flex; flex-direction: column; }
.price-featured {
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 20px 60px -25px var(--accent-glow);
}
.price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #04121a;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 5px 14px; border-radius: 999px;
}
.price-name { font-family: var(--font-head); font-size: 1.3rem; color: var(--text-strong); }
.price-amount {
  font-family: var(--font-head);
  font-size: 2.6rem; font-weight: 700; color: var(--text-strong);
  margin: 8px 0 20px;
}
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-list { list-style: none; margin-bottom: 26px; flex: 1; }
.price-list li {
  position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--text);
}
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D4FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}

/* ===== Value ===== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== CTA Final ===== */
.cta-final {
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(0,212,255,0.10), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-strong);
  letter-spacing: -0.02em;
}
.cta-buttons { display: flex; justify-content: center; margin: 26px 0; }
.signup-form {
  display: flex; gap: 12px; max-width: 460px; margin: 0 auto;
}
.signup-form input {
  flex: 1;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 0.98rem;
  font-family: var(--font-sans);
}
.signup-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.15);
}
.form-note { margin-top: 14px; font-size: 0.9rem; color: var(--accent); min-height: 1.2em; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg);
  padding: 64px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 12px; max-width: 240px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-strong); margin-bottom: 4px;
}
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.92rem; transition: color 0.18s ease; }
.footer-col a:hover { color: var(--accent); }
.social-row { display: flex; gap: 12px; }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border-strong); color: var(--muted);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.social-row a:hover { color: var(--accent); border-color: var(--accent); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.85rem; text-align: center;
}

/* ===== Modal ===== */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(3, 5, 18, 0.85);
  backdrop-filter: blur(6px);
}
.modal-dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 900px;
}
.modal-close {
  position: absolute; top: -46px; right: 0;
  width: 40px; height: 40px;
  background: transparent; border: none; color: var(--text);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--accent); }
.modal-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.modal-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 40;
  }
  .main-nav.is-open { transform: translateY(0); }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .section { padding: 72px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .signup-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-actions .btn-primary { display: none; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
