/* Goafie — official site styles */
:root {
  --bg: #0b0f1c;
  --bg-2: #0d1422;
  --surface: #131b2e;
  --surface-2: #18223a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eaf0fb;
  --muted: #9aa7bd;
  --muted-2: #6f7d96;
  --green: #3ddc97;
  --teal: #2bd9c4;
  --purple: #8b5cf6;
  --accent-grad: linear-gradient(135deg, #2bd9c4 0%, #5b8cf0 45%, #8b5cf6 100%);
  --radius: 16px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.4em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(12px);
  background: rgba(11, 15, 28, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--border-strong); color: var(--text); cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); border-color: var(--teal); }
.btn-primary { background: var(--accent-grad); border: none; color: #fff; font-weight: 700; text-shadow: 0 1px 2px rgba(6, 17, 31, 0.45); }
.btn-primary:hover { filter: brightness(1.06); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 720px; z-index: 0;
  background:
    radial-gradient(60% 60% at 30% 20%, rgba(61, 220, 151, 0.18), transparent 70%),
    radial-gradient(55% 55% at 75% 30%, rgba(139, 92, 246, 0.20), transparent 70%);
  filter: blur(8px); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-logo {
  width: 132px; height: 132px; margin: 0 auto 26px; border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border);
}
.hero h1 { font-size: clamp(40px, 7vw, 68px); font-weight: 800; margin-bottom: 18px; }
.hero .tagline { font-size: clamp(18px, 2.6vw, 23px); color: var(--muted); max-width: 620px; margin: 0 auto 34px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-note { margin-top: 16px; font-size: 13px; color: var(--muted-2); }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 16px;
  background: rgba(43, 217, 196, 0.12); border: 1px solid rgba(43, 217, 196, 0.25);
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

/* Stats showcase */
.stats-band {
  background: linear-gradient(135deg, rgba(43, 217, 196, 0.08), rgba(139, 92, 246, 0.10));
  border: 1px solid var(--border); border-radius: 24px; padding: 44px;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: clamp(30px, 5vw, 46px); font-weight: 800; }
.stat .label { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 4px 22px; margin-bottom: 12px;
}
details[open] { border-color: var(--border-strong); }
summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal); font-size: 24px; font-weight: 400; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 0 0 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 60px; background: var(--bg-2); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 28px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 0; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin: 0 0 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal .back { display: inline-block; margin-bottom: 24px; font-size: 14px; color: var(--muted); }
.legal h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 800; }
.legal .updated { color: var(--muted-2); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin-top: 38px; }
.legal h3 { font-size: 18px; margin-top: 26px; }
.legal p, .legal li { color: #cdd6e6; }
.legal a { color: var(--teal); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .note {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--teal);
  border-radius: 10px; padding: 14px 18px; font-size: 14px; color: var(--muted); margin: 28px 0;
}

/* Responsive */
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links .nav-only { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .stats-band { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
