/* ============================================================
   SM INTERN — styles.css
   Design: dark #0b0c10 · lime accent #c8f54a · Syne + DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── Design Tokens ── */
:root {
  --bg:          #0b0c10;
  --surface:     #13151c;
  --surface-2:   #1a1d27;
  --surface-3:   #1f2330;
  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.12);
  --accent:      #c8f54a;
  --accent-dim:  #a8d93a;
  --accent2:     #4af5c8;
  --accent-glow: rgba(200,245,74,0.15);
  --accent-wash: rgba(200,245,74,0.08);
  --text:        #e8eaf0;
  --text-2:      #a0a8b8;
  --muted:       #6b7080;
  --error:       #f5564a;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 999px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { overflow-x: hidden; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ── Background layers ── */
.bg-mesh {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 15% 15%, rgba(200,245,74,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 60% 60% at 85% 85%, rgba(74,245,200,0.05) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(74,245,200,0.04) 0%, transparent 60%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Page wrapper ── */
.site-wrap {
  position: relative; z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ── Header / Nav ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 16px 0;
  background: rgba(11,12,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.brand-mark {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 9px;
  display: grid; place-items: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 14px;
  color: var(--bg); letter-spacing: -0.5px;
  flex-shrink: 0;
}
.brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 15px;
  letter-spacing: -0.3px; color: var(--text);
}
.brand-name span { color: var(--accent); }

.nav-links {
  display: flex; align-items: center;
  gap: 4px; flex: 1;
}
.nav-links a {
  font-size: 13.5px; font-weight: 500;
  color: var(--muted); padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav-actions {
  display: flex; align-items: center;
  gap: 8px; flex-shrink: 0;
}

/* ── Buttons ── */
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px; font-weight: 500;
  color: var(--text-2);
  cursor: pointer; text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--border-2);
  color: var(--text);
}

.btn-accent {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 20px;
  background: var(--accent);
  border: none; border-radius: var(--radius-pill);
  font-family: 'Syne', sans-serif;
  font-size: 13.5px; font-weight: 700;
  color: var(--bg); cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-accent:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px;
  background: var(--accent); border: none;
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-size: 15px; font-weight: 700;
  color: var(--bg); cursor: pointer;
  letter-spacing: -0.2px;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(200,245,74,0.25);
}

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--text); cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--border-2);
}

/* ── Page sections ── */
.page-section {
  margin-top: 56px;
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: rgba(200,245,74,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.card-sm {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

/* ── Grid layouts ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Section headings ── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block; width: 20px; height: 2px;
  background: var(--accent); border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.page-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

p { color: var(--text-2); line-height: 1.7; }

/* ── Tags ── */
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px;
  background: var(--accent-wash);
  border: 1px solid rgba(200,245,74,0.2);
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); font-family: 'Syne', sans-serif;
}
.tag-neutral {
  background: rgba(255,255,255,0.05);
  border-color: var(--border);
  color: var(--muted);
}

/* ── Step number ── */
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(200,245,74,0.3);
  display: grid; place-items: center;
  font-family: 'Syne', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* ── Forms ── */
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
select option { background: var(--surface-2); color: var(--text); }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  background: rgba(200,245,74,0.04);
  box-shadow: 0 0 0 3px rgba(200,245,74,0.1);
}
textarea { min-height: 140px; resize: vertical; }

/* ── Divider ── */
.divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: 12px; margin: 20px 0;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px;
  background: var(--border);
}

/* ── Msg banners ── */
.msg {
  display: none; border-radius: 10px;
  padding: 11px 14px; font-size: 13.5px;
  font-weight: 500; margin-bottom: 16px;
}
.msg.error   { display: block; background: rgba(245,86,74,0.1);  color: var(--error); border: 1px solid rgba(245,86,74,0.2); }
.msg.success { display: block; background: var(--accent-wash);   color: var(--accent); border: 1px solid rgba(200,245,74,0.2); }

/* ── Footer ── */
.site-footer {
  margin-top: 80px;
  padding: 28px 0 20px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px; color: var(--muted);
}
.footer-inner a { color: var(--muted); transition: color 0.15s; }
.footer-inner a:hover { color: var(--accent); }

/* ── Verification badge ── */
.verify-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  background: var(--accent-wash);
  border: 1px solid rgba(200,245,74,0.25);
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600;
  color: var(--accent); font-family: 'Syne', sans-serif;
}
.verify-badge::before { content: '✓'; font-weight: 800; }

/* ── Pricing cards ── */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}
.pricing-card:hover {
  border-color: rgba(200,245,74,0.25);
  transform: translateY(-3px);
}
.pricing-card.featured {
  border-color: rgba(200,245,74,0.3);
  background: linear-gradient(145deg, #161a22, #13151c);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-family: 'Syne', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 14px; border-radius: var(--radius-pill);
}
.price {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  letter-spacing: -0.05em; color: var(--text);
  line-height: 1; margin: 12px 0 6px;
}
.price span { font-size: 1.1rem; font-weight: 400; color: var(--muted); }

/* ── Hero accent text ── */
.accent-text { color: var(--accent); }

/* ── Filter bar ── */
.filter-bar {
  display: flex; gap: 12px;
  align-items: flex-end; flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-bar .form-field {
  margin-bottom: 0; min-width: 200px;
}
.filter-bar input {
  padding: 10px 14px; font-size: 14px;
}

/* ── Responsive ── */
@media (max-width: 880px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-wrap { padding: 0 16px 60px; }
  .header-inner { padding: 0 16px; gap: 12px; }
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .page-title { font-size: 2rem; }
  .card { padding: 22px 18px; }
}

@media (max-width: 400px) {
  .nav-actions .btn-ghost { display: none; }
}
