/* ═══════════════════════════════════════════════════════════════
   UCI Global Stylesheet — All public pages
   Theme: Dark Navy · Electric Blue · Inter
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #07091a;
  --bg2:       #0b0e23;
  --panel:     #0f1330;
  --border2:   rgba(255,255,255,0.06);
  --blue:      #4f9cf9;
  --blue2:     #2563eb;
  --green:     #10b981;
  --amber:     #f59e0b;
  --red:       #ef4444;
  --purple:    #a78bfa;
  --text:      #f0f4ff;
  --text2:     #94a3b8;
  --text3:     #64748b;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(79,156,249,0.3); border-radius: 3px; }

/* Blueprint grid */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(79,156,249,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,156,249,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── Navbar ─────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(7,9,26,0.88);
  border-bottom: 1px solid var(--border2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.3s;
}
.nav-logo {
  font-size: 1.35rem; font-weight: 800;
  color: var(--text); text-decoration: none;
}
.nav-logo-dot { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  color: var(--text2); text-decoration: none;
  font-size: 0.85rem; font-weight: 500; transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-cta {
  background: var(--blue); color: #fff;
  padding: 0.5rem 1.25rem; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.35rem;
  box-shadow: 0 0 18px rgba(79,156,249,0.22);
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--blue2); box-shadow: 0 0 26px rgba(79,156,249,0.38); }
#mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
#mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 999;
  background: rgba(11,14,35,0.98); border-bottom: 1px solid var(--border2);
  padding: 1.25rem 2rem; backdrop-filter: blur(20px);
}
#mobile-menu a {
  display: block; color: var(--text2); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; padding: 0.7rem 0;
  border-bottom: 1px solid var(--border2);
}
#mobile-menu a:last-child { border-bottom: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  #mobile-toggle { display: block; }
  #navbar { padding: 0 1.25rem; }
}

/* ── Page layout ───────────────────────────────────────────── */
.page-wrap { padding-top: 68px; }
.section { padding: 6rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-sm { padding: 4rem 2rem; max-width: 1100px; margin: 0 auto; }

/* ── Section headings ──────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; color: var(--blue);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 18px; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900;
  letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 1.25rem;
}
.h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 1rem;
}
.h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.lead {
  font-size: clamp(1rem, 2vw, 1.15rem); color: var(--text2);
  line-height: 1.8; max-width: 640px; margin-bottom: 2.5rem;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Divider ───────────────────────────────────────────────── */
.divider {
  border: none; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
  margin: 0 2rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem; border-radius: 10px;
  font-size: 0.9rem; font-weight: 700; font-family: inherit;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.2s;
}
.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff; box-shadow: 0 4px 20px rgba(79,156,249,0.3);
}
.btn-blue:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(79,156,249,0.42); }
.btn-ghost {
  background: transparent; color: var(--text2);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-green {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff; box-shadow: 0 4px 20px rgba(16,185,129,0.28);
}
.btn-green:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(16,185,129,0.4); }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: rgba(15,19,48,0.5);
  border: 1px solid var(--border2);
  border-radius: 16px; padding: 1.75rem;
  transition: all 0.25s; position: relative; overflow: hidden;
}
.card:hover { border-color: rgba(79,156,249,0.3); transform: translateY(-2px); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(79,156,249,0.1); border: 1px solid rgba(79,156,249,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 1.1rem;
}

/* ── Grid helpers ──────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }

/* ── Form elements ─────────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }
.form-label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--text2); margin-bottom: 0.4rem; letter-spacing: 0.03em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(7,9,26,0.8); border: 1px solid var(--border2);
  border-radius: 10px; padding: 0.75rem 1rem;
  color: var(--text); font-size: 0.9rem; font-family: inherit;
  outline: none; transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text3); }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.75rem; color: var(--text3); margin-top: 0.35rem; }

/* ── Tags / Badges ─────────────────────────────────────────── */
.tag {
  display: inline-block; padding: 3px 12px; border-radius: 100px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em;
}
.tag-blue   { background: rgba(79,156,249,0.1);  color: var(--blue);   border: 1px solid rgba(79,156,249,0.25); }
.tag-green  { background: rgba(16,185,129,0.1);  color: var(--green);  border: 1px solid rgba(16,185,129,0.25); }
.tag-amber  { background: rgba(245,158,11,0.1);  color: var(--amber);  border: 1px solid rgba(245,158,11,0.25); }
.tag-purple { background: rgba(167,139,250,0.1); color: var(--purple); border: 1px solid rgba(167,139,250,0.25); }

/* ── Check list ────────────────────────────────────────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.875rem; color: var(--text2); line-height: 1.6;
}
.check-list li::before {
  content: '✓'; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.28);
  color: var(--green); font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 0.1rem;
}

/* ── Highlight / info box ──────────────────────────────────── */
.info-box {
  background: rgba(79,156,249,0.06);
  border: 1px solid rgba(79,156,249,0.18);
  border-radius: 12px; padding: 1.25rem 1.5rem;
  font-size: 0.875rem; color: var(--text2); line-height: 1.75;
}
.warning-box {
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.18);
  border-radius: 12px; padding: 1.25rem 1.5rem;
  font-size: 0.875rem; color: var(--text2); line-height: 1.75;
}
.warning-box strong { color: var(--amber); }

/* ── Page hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding: 7rem 2rem 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(79,156,249,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .h1 { max-width: 700px; margin: 0 auto 1rem; }
.page-hero .lead { margin: 0 auto 2rem; }

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--bg2); border-top: 1px solid var(--border2);
  padding: 3rem 2rem; text-align: center; margin-top: 4rem;
}
.footer-logo { font-size: 1.25rem; font-weight: 800; color: var(--text); margin-bottom: 1.25rem; }
.footer-logo-dot { color: var(--blue); }
.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem 2rem; margin-bottom: 1.75rem;
}
.footer-nav a { color: var(--text3); text-decoration: none; font-size: 0.8rem; font-weight: 500; transition: color 0.2s; }
.footer-nav a:hover { color: var(--text2); }
.footer-legal { font-size: 0.72rem; color: var(--text3); line-height: 1.9; max-width: 680px; margin: 0 auto 0.75rem; }
.footer-copy { font-size: 0.75rem; color: var(--text3); }

/* ── Coming soon badge ─────────────────────────────────────── */
.coming-soon-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(167,139,250,0.1); border: 1px solid rgba(167,139,250,0.25);
  border-radius: 100px; padding: 0.35rem 1rem;
  font-size: 0.75rem; font-weight: 700; color: var(--purple);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ── Accordion (FAQ) ───────────────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid var(--border2); overflow: hidden;
}
.accordion-btn {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.3rem 0; display: flex; align-items: center; justify-content: space-between;
  font-size: 0.95rem; font-weight: 600; color: var(--text);
  font-family: inherit; text-align: left; gap: 1rem;
}
.accordion-btn:hover { color: var(--blue); }
.accordion-icon {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(79,156,249,0.08); border: 1px solid rgba(79,156,249,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--blue); transition: transform 0.2s;
}
.accordion-icon { transition: transform 0.25s; }
.accordion-item.open .accordion-icon { transform: rotate(180deg); }
.accordion-body {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.accordion-item.open .accordion-body {
  max-height: 1000px;
}
.accordion-body-inner {
  padding: 0 0 1.3rem; font-size: 0.875rem;
  color: var(--text2); line-height: 1.8;
}
.accordion-body p, .accordion-body ul {
  font-size: 0.875rem; color: var(--text2); line-height: 1.8; margin: 0;
}

/* ── Pricing card ──────────────────────────────────────────── */
.price-card {
  background: rgba(15,19,48,0.7);
  border: 1px solid rgba(79,156,249,0.2);
  border-radius: 20px; padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}
.price-amount { font-size: 3rem; font-weight: 900; color: var(--text); letter-spacing: -0.03em; }
.price-period { font-size: 1rem; color: var(--text3); font-weight: 500; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .section { padding: 4rem 1.25rem; }
  .page-hero { padding: 5rem 1.25rem 3rem; }
  .h1 { font-size: 2rem; }
}
