/* ============================================
   GoOS landing — light SaaS B2B
   ============================================ */
:root {
  --primary:        #4f46e5;
  --primary-dark:   #4338ca;
  --primary-soft:   #eef2ff;
  --accent:         #6366f1;
  --ink:            #0f172a;
  --ink-2:          #1e293b;
  --text:           #334155;
  --text-muted:     #64748b;
  --border:         #e2e8f0;
  --border-strong:  #cbd5e1;
  --bg:             #ffffff;
  --bg-soft:        #f8fafc;
  --bg-tint:        #f1f5f9;
  --success:        #16a34a;
  --warning:        #d97706;
  --radius-sm:      8px;
  --radius:         14px;
  --radius-lg:      22px;
  --shadow-sm:      0 1px 2px rgba(15,23,42,.06);
  --shadow:         0 4px 14px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow-lg:      0 20px 50px -12px rgba(15,23,42,.18), 0 8px 16px -8px rgba(15,23,42,.10);
  --shadow-primary: 0 10px 28px -8px rgba(79,70,229,.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Buttons ============ */
.btn-primary, .btn-secondary, .btn-ghost, .btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(79,70,229,.55); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 32px; height: 32px; object-fit: contain; }
.brand-name { font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--text); transition: color .15s ease; }
.nav a:hover { color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 88px 0 80px;
  background:
    radial-gradient(60% 50% at 10% 0%, rgba(99,102,241,.10), transparent 60%),
    radial-gradient(50% 40% at 90% 10%, rgba(79,70,229,.08), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,.18);
}
.hero-title {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.grad {
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--text);
  max-width: 560px;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-points svg { color: var(--success); }

/* Hero mockup */
.hero-mock { position: relative; }
.mock-window {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transform-origin: center;
}
.mock-bar {
  background: var(--bg-tint);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ef4444; }
.dot.y { background: #f59e0b; }
.dot.g { background: #10b981; }
.mock-url {
  margin-left: 14px;
  font-size: 12px;
  color: var(--text-muted);
  background: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.mock-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 360px;
}
.mock-side {
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-side-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-muted);
}
.mock-side-item.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}
.mock-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}
.stat-label { font-size: 11px; color: var(--text-muted); }
.stat-val { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 2px; }
.stat-trend { font-size: 11px; font-weight: 600; margin-top: 2px; }
.stat-trend.up { color: var(--success); }
.mock-chart {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  height: 90px;
}
.mock-chart svg { width: 100%; height: 100%; display: block; }
.mock-list { display: flex; flex-direction: column; gap: 6px; }
.list-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
}
.row-id { color: var(--text-muted); font-weight: 600; font-family: ui-monospace, 'Cascadia Code', monospace; }
.row-name { color: var(--ink); font-weight: 500; }
.row-tag { font-size: 10px; padding: 3px 8px; border-radius: 999px; font-weight: 600; }
.tag-progress { background: #fef3c7; color: #92400e; }
.tag-done { background: #dcfce7; color: #166534; }
.tag-open { background: var(--primary-soft); color: var(--primary); }

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  border: 1px solid var(--border);
}
.float-card b { display: block; color: var(--ink); font-size: 13px; }
.float-card span { color: var(--text-muted); font-size: 11px; }
.card-1 { top: -14px; left: -28px; animation: float 6s ease-in-out infinite; }
.card-2 { bottom: -20px; right: -24px; animation: float 7s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-right: -6px;
}

/* ============ Proof ============ */
.proof {
  padding: 56px 0 32px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.proof-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 28px;
}
.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.proof-stats > div { display: flex; flex-direction: column; gap: 4px; }
.proof-stats b { font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.proof-stats span { font-size: 13px; color: var(--text-muted); }

/* ============ Section heads ============ */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.eyebrow {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0;
}

/* ============ Features ============ */
.features { padding: 96px 0; background: var(--bg-soft); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 15px; color: var(--text-muted); }

/* ============ How ============ */
.how { padding: 96px 0; background: #fff; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-primary);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ============ Pricing ============ */
.pricing { padding: 96px 0; background: var(--bg-soft); }
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan-desc { color: var(--text-muted); font-size: 14px; margin: 0 0 24px; min-height: 42px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 28px; }
.currency { font-size: 18px; color: var(--text-muted); font-weight: 600; }
.amount { font-size: 48px; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.period { color: var(--text-muted); font-size: 15px; }
.plan-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.plan-feats li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary-soft);
  position: relative;
  flex-shrink: 0;
}
.check::after {
  content: '';
  position: absolute;
  left: 5px; top: 2px;
  width: 5px; height: 9px;
  border: solid var(--primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.plan-featured {
  border-color: var(--primary);
  box-shadow: 0 16px 40px -16px rgba(79,70,229,.35);
  transform: scale(1.02);
}
.plan-featured:hover { transform: scale(1.02) translateY(-4px); }
.plan-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
}

/* ============ FAQ ============ */
.faq { padding: 96px 0; background: #fff; }
.faq-container { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--primary); background: #fff; box-shadow: var(--shadow-sm); }
.faq summary {
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--primary); }
.faq details p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* ============ CTA band ============ */
.cta-band {
  padding: 80px 0;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(99,102,241,.6), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(139,92,246,.5), transparent 60%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #7c3aed 100%);
  color: #fff;
  text-align: center;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}
.cta-inner p {
  color: rgba(255,255,255,.85);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 32px;
}
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ============ Footer ============ */
.footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 64px 0 24px;
}
.footer .brand-name { color: #fff; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  margin: 16px 0 0;
  max-width: 320px;
  color: #94a3b8;
  font-size: 14px;
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: #94a3b8;
  padding: 4px 0;
  transition: color .15s ease;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  font-size: 13px;
  color: #64748b;
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-mock { max-width: 560px; margin: 0 auto; }
  .mock-window { transform: none; }
  .feature-grid, .steps, .plans { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .proof-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.menu-open .nav,
  .site-header.menu-open .header-cta {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: #fff;
    padding: 16px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .feature-grid, .steps, .plans { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-4px); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .float-card { display: none; }
  .proof-stats { grid-template-columns: repeat(2, 1fr); }
  .mock-side { display: none; }
  .mock-body { grid-template-columns: 1fr; }
}
