/* ============================================================
   Social Steps — website design system
   ============================================================ */
:root {
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #5b9dff;
  --violet:   #8b5cf6;
  --cyan:     #22d3ee;
  --ink:      #0c1322;
  --ink-2:    #1a2438;
  --muted:    #5b6677;
  --line:     rgba(16,24,42,.08);
  --bg:       #f6f8fc;
  --card:     #ffffff;
  --navy:     #101a30;
  --navy-2:   #1a1340;
  --radius:   24px;
  --radius-lg: 34px;
  --maxw:     1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 4px 16px rgba(16,24,42,.06);
  --shadow-md: 0 18px 50px rgba(16,24,42,.12);
  --shadow-blue: 0 16px 40px rgba(37,99,235,.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(110deg, var(--blue-500), var(--violet) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 16px; padding: 15px 28px; border-radius: 999px;
  border: 0; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(120deg, var(--blue-500), var(--blue-600)); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(37,99,235,.45); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.btn-ghost:hover { transform: translateY(-2px); background:#fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,248,252,.72);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.scrolled { border-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 14px; }

/* language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600;
  color: var(--ink); background: rgba(255,255,255,.7); border: 1px solid var(--line);
  padding: 8px 13px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(8px);
}
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 6px; min-width: 168px; display: none; z-index: 60;
}
.lang-menu.open { display: block; animation: pop .14s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lang-menu button {
  display: flex; width: 100%; align-items: center; gap: 10px; background: none; border: 0;
  padding: 9px 12px; border-radius: 10px; cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--ink); text-align: left;
}
.lang-menu button:hover { background: var(--bg); }
.lang-menu button.active { color: var(--blue-600); font-weight: 700; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 92px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.blob.b1 { width: 520px; height: 520px; background: #93c5fd; top: -160px; left: -120px; }
.blob.b2 { width: 460px; height: 460px; background: #c4b5fd; top: -80px; right: -120px; opacity: .5; }
.blob.b3 { width: 420px; height: 420px; background: #a7f3ef; bottom: -200px; left: 30%; opacity: .35; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--blue-600); background: rgba(37,99,235,.10); border: 1px solid rgba(37,99,235,.18);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(59,130,246,.18); }
.hero h1 { font-size: clamp(40px, 6vw, 66px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 520px; margin: 22px 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--blue-500); }

/* phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 290px; aspect-ratio: 1206 / 2622; background: #0b0f1a;
  border-radius: 46px; padding: 11px; box-shadow: 0 40px 80px rgba(20,30,60,.35), 0 8px 20px rgba(20,30,60,.2);
  border: 1px solid rgba(255,255,255,.12);
}
.phone::before {
  content: ""; position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #0b0f1a; border-radius: 999px; z-index: 3;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.hero-visual .phone { transform: rotate(3deg); transition: transform .4s ease; }
.hero-visual:hover .phone { transform: rotate(0deg); }
.float-card {
  position: absolute; background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.6); border-radius: 18px; padding: 13px 16px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 14px;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.fc1 { top: 64px; left: -28px; }
.fc1 .ic { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); }
.fc2 { bottom: 96px; right: -26px; }
.fc2 .ic { background: linear-gradient(135deg, var(--violet), #6d28d9); }
.float-card > div > span { display: block; line-height: 1.15; }
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; }

/* ---------- Sections ---------- */
section { position: relative; }
.section-pad { padding: 84px 0; }
.eyebrow { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
.h2 { text-align: center; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.03em; margin: 10px 0 0; }
.sub { text-align: center; color: var(--muted); max-width: 560px; margin: 14px auto 0; font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step .badge {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff;
  font-weight: 800; font-size: 19px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); box-shadow: var(--shadow-blue);
}
.step:nth-child(2) .badge { background: linear-gradient(135deg, var(--violet), #6d28d9); box-shadow: 0 16px 40px rgba(139,92,246,.35); }
.step:nth-child(3) .badge { background: linear-gradient(135deg, var(--cyan), #0891b2); box-shadow: 0 16px 40px rgba(34,211,238,.3); }
.step h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.step p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }

/* showcase rows */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 40px; }
.showcase.reverse .showcase-text { order: 2; }
.showcase + .showcase { margin-top: 96px; }
.showcase-text .tag { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-600); margin-bottom: 12px; }
.showcase-text h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.showcase-text p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.showcase-text ul { list-style: none; margin-top: 18px; display: grid; gap: 11px; }
.showcase-text li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
.showcase-text li svg { color: var(--blue-500); flex-shrink: 0; margin-top: 3px; }
.showcase-visual { display: flex; justify-content: center; }
.showcase-visual .phone { width: 258px; }

/* premium band */
.premium-band { margin-top: 0; }
.premium-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 64px 40px;
  text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}
.premium-card::after {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,157,255,.5), transparent 70%);
  top: -180px; right: -120px; filter: blur(20px);
}
.premium-card .inner { position: relative; z-index: 1; }
.premium-card .crown { width: 70px; height: 70px; border-radius: 20px; display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--blue-500)); margin-bottom: 18px; box-shadow: 0 16px 40px rgba(139,92,246,.4); }
.premium-card h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.premium-card p { color: rgba(255,255,255,.78); max-width: 520px; margin: 14px auto 0; font-size: 17px; }
.premium-pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.premium-pills span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; }

/* final CTA */
.final { text-align: center; }
.final .h2 { margin-bottom: 8px; }
.final .btn { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 36px; margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 260px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--blue-600); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* ---------- Article (legal / FAQ) ---------- */
.article-wrap { max-width: 800px; margin: 0 auto; padding: 56px 0; }
.article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow-sm); }
.article h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 800; letter-spacing: -.03em; }
.article .updated { color: var(--muted); font-size: 14.5px; margin: 6px 0 30px; }
.article h2 { font-size: 21px; font-weight: 700; margin: 34px 0 10px; letter-spacing: -.01em; }
.article p, .article li { color: #2a3346; font-size: 16px; }
.article ul { padding-left: 20px; margin-top: 8px; }
.article li { margin: 6px 0; }
.faq-q { font-weight: 700; font-size: 18px; margin: 28px 0 6px; letter-spacing: -.01em; }
.faq-a { color: #2a3346; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .trust { justify-content: center; }
  .hero-visual { margin-top: 48px; }
  .steps { grid-template-columns: 1fr; }
  .showcase, .showcase.reverse { grid-template-columns: 1fr; gap: 32px; }
  .showcase.reverse .showcase-text { order: 0; }
  .showcase-text { text-align: center; }
  .showcase-text ul { justify-items: center; }
  .showcase-text li { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .article { padding: 30px 22px; }
}
