/* ──────────────────────────────────────────────────────
   portfolio.unykorn.org — shared stylesheet
   Dark sovereign theme, Space Grotesk
   ────────────────────────────────────────────────────── */

:root {
  --bg:          #080c10;
  --surface:     #0e1318;
  --panel:       rgba(255,255,255,0.04);
  --border:      rgba(255,255,255,0.09);
  --ink:         #e8e4da;
  --ink-soft:    #9da3a8;
  --gold:        #c8a84b;
  --gold-light:  #e8c76b;
  --gold-dim:    rgba(200,168,75,0.12);
  --signal:      #3fbca8;
  --signal-dim:  rgba(63,188,168,0.1);
  --danger:      #e05a5a;
  --radius:      8px;
  --radius-lg:   14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p  { color: var(--ink-soft); }
a  { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,12,16,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  background: var(--gold);
  color: #080c10 !important;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--gold-light) !important; color: #080c10 !important; }

/* ── Hero ── */
.hero {
  padding: 7rem 0 5rem;
  text-align: center;
  position: relative;
}

.hero h1 {
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: #080c10;
}
.btn-primary:hover {
  background: var(--gold-light);
  color: #080c10;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Card grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--gold); }

.card-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.card h3 {
  color: var(--ink);
  margin-bottom: 0.1rem;
}

.card p {
  font-size: 0.9rem;
  flex: 1;
}

.card-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: var(--gold-dim);
  color: var(--gold);
  width: fit-content;
}

.card-tag.green {
  background: var(--signal-dim);
  color: var(--signal);
}

/* ── Pricing table ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(200,168,75,0.08), rgba(8,12,16,0));
}

.pricing-card .tier-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pricing-card .price {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.pricing-card .price span {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: 0;
}

.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.pricing-card ul li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-left: 1.25rem;
  position: relative;
}
.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--signal);
  font-weight: 700;
}

/* ── Process / steps ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 680px;
  margin: 3rem auto 0;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
}

.step-body h4 { color: var(--ink); margin-bottom: 0.25rem; }
.step-body p  { font-size: 0.9rem; }

/* ── Notice / disclaimer ── */
.notice {
  background: rgba(200,168,75,0.06);
  border: 1px solid rgba(200,168,75,0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.notice strong { color: var(--gold); }

.notice-danger {
  background: rgba(224,90,90,0.06);
  border-color: rgba(224,90,90,0.2);
}
.notice-danger strong { color: var(--danger); }

/* ── Form ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.15s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(200,168,75,0.04);
}
.form-field select option { background: var(--surface); }
.form-field textarea { min-height: 110px; resize: vertical; }

.form-submit {
  margin-top: 0.5rem;
  grid-column: 1 / -1;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* ── Section header ── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { max-width: 580px; margin: 0 auto; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.8;
}
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--gold); }

/* ── Highlight bar ── */
.highlight-bar {
  background: var(--gold-dim);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.highlight-bar p { color: var(--ink); font-size: 0.92rem; }

/* ── Two-col ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ── Mobile nav ── */
.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 1rem;
    z-index: 99;
  }
  .nav-menu-btn { display: block; }
  .nav-cta { display: none; }
}

/* ── Orb decorations ── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}
.orb-a {
  width: 360px; height: 360px;
  top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(200,168,75,0.18) 0%, transparent 70%);
}
.orb-b {
  width: 300px; height: 300px;
  bottom: 10%; left: -80px;
  background: radial-gradient(circle, rgba(63,188,168,0.12) 0%, transparent 70%);
}
main, .site-nav, .site-footer { position: relative; z-index: 1; }

/* ── Utility ── */
.text-gold   { color: var(--gold); }
.text-signal { color: var(--signal); }
.text-soft   { color: var(--ink-soft); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.ta-center { text-align: center; }
.w-full { width: 100%; }

/* Success state */
.form-success {
  display: none;
  background: var(--signal-dim);
  border: 1px solid rgba(63,188,168,0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  gap: 0.75rem;
}
.form-success h3 { color: var(--signal); }
.form-success p  { font-size: 0.92rem; }

/* Stats row */
.stats-row {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-val {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.08em; }
