/* ============================================================
   CvvStar — Static Pages CSS
   ============================================================ */

/* ═══ Page wrapper ═══ */
.static-page {
  padding: 40px 0 80px;
}

/* ═══ Page Hero ═══ */
.page-hero {
  position: relative;
  padding: 60px 0 50px;
  margin-bottom: 40px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(124,107,255,.18), transparent 60%),
    radial-gradient(500px 250px at 80% 30%, rgba(34,211,238,.10), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.2);
  margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.15;
  margin: 0 0 12px;
  max-width: 900px;
  color: var(--text);
}
.page-hero p,
.page-hero-lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.65;
  margin: 0;
}
.page-hero-lead { margin-top: 10px; }

/* ═══ Content wrapper — ALL HTML inside is styled ═══ */
.page-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 52px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #C4C5D6;
}

@media (max-width: 640px) {
  .page-content { padding: 28px 22px; }
}

/* ─── Headings inside content ─── */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
  font-family: 'Sora', sans-serif;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.3;
  margin-top: 32px;
  margin-bottom: 12px;
  scroll-margin-top: 100px;
}
.page-content h1 { font-size: 1.75rem; font-weight: 800; margin-top: 0; }
.page-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.page-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); }
.page-content h4 { font-size: 1rem; font-weight: 700; }

.page-content > h1:first-child,
.page-content > h2:first-child,
.page-content > h3:first-child {
  margin-top: 0;
}

/* ─── Paragraphs & text ─── */
.page-content p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.8;
  color: #C4C5D6;
}
.page-content strong,
.page-content b {
  color: var(--text);
  font-weight: 600;
}
.page-content em,
.page-content i {
  color: #D3D4E2;
  font-style: italic;
}
.page-content small {
  font-size: 13px;
  color: var(--muted);
}
.page-content a {
  color: var(--accent-2);
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
  border-bottom: 1px solid rgba(34,211,238,.3);
}
.page-content a:hover {
  color: #7DE0F0;
  border-bottom-color: currentColor;
}

/* ─── Lists ─── */
.page-content ul,
.page-content ol {
  margin: 0 0 18px;
  padding-left: 26px;
}
.page-content li {
  margin-bottom: 8px;
  line-height: 1.75;
  color: #C4C5D6;
}
.page-content li::marker {
  color: var(--accent-2);
}
.page-content ul li::marker {
  content: "▸  ";
}

/* ─── Blockquote ─── */
.page-content blockquote {
  margin: 20px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--accent);
  background: rgba(124,107,255,.05);
  border-radius: 0 12px 12px 0;
  color: #D3D4E2;
  font-style: italic;
}

/* ─── Code ─── */
.page-content code {
  background: rgba(124,107,255,.12);
  border: 1px solid rgba(124,107,255,.2);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: .9em;
  color: var(--accent-2);
}
.page-content pre {
  background: #0a0a15;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  overflow-x: auto;
  margin: 18px 0;
  font-size: 13.5px;
  line-height: 1.7;
}
.page-content pre code {
  background: none;
  border: 0;
  padding: 0;
  color: #d0d0e0;
}

/* ─── Tables ─── */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14.5px;
}
.page-content table th {
  background: rgba(124,107,255,.08);
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent-2);
  border-bottom: 1px solid var(--border);
}
.page-content table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: #C4C5D6;
}
.page-content table tr:last-child td { border-bottom: 0; }

/* ─── Images ─── */
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
  display: block;
}

/* ─── Horizontal rule ─── */
.page-content hr {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

/* ─── Definition lists ─── */
.page-content dl { margin: 16px 0; }
.page-content dt {
  font-weight: 700;
  color: var(--text);
  margin-top: 14px;
  font-size: 15px;
}
.page-content dd {
  color: var(--muted);
  margin: 4px 0 0 20px;
  line-height: 1.7;
}

/* ═══ Contact Page Layout ═══ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}
@media (max-width: 640px) {
  .contact-form-card { padding: 26px 22px; }
}
.contact-form-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.contact-form-card > p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 28px;
  line-height: 1.6;
}

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  outline: none;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text);
  transition: all .25s;
}
.form-field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(124,107,255,.6);
  box-shadow: 0 0 0 4px rgba(124,107,255,.12);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #63647A; }

/* ═══ Contact Sidebar ═══ */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}
.contact-side-card h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 16px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 14px; }
.contact-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(124,107,255,.2);
  color: var(--accent-2);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 16px; height: 16px; }
.contact-info-text {
  font-size: 13.5px;
  color: #C4C5D6;
  line-height: 1.55;
}
.contact-info-text strong {
  color: var(--text);
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.hours-list { display: flex; flex-direction: column; gap: 8px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  gap: 12px;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row span:first-child { color: var(--muted); }
.hours-row span:last-child { color: var(--text); font-weight: 600; text-align: right; }

/* ═══ FAQ ═══ */
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.faq-cat-btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .25s;
  font-family: inherit;
}
.faq-cat-btn:hover { color: var(--text); border-color: var(--border-strong); }
.faq-cat-btn:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}
.faq-cat-btn.active {
  background: var(--grad);
  color: #07070B;
  border-color: transparent;
  box-shadow: 0 10px 24px -10px rgba(124,107,255,.9);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item:hover { border-color: rgba(124,107,255,.35); }
.faq-item[open] { border-color: rgba(124,107,255,.5); }

.faq-question {
  padding: 16px 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}
.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--accent-2);
  transition: transform .3s, background .3s;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(34,211,238,.08);
}
.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(180deg);
  background: rgba(34,211,238,.15);
}

.faq-group-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.faq-group-title svg { width: 18px; height: 18px; color: var(--accent-2); flex-shrink: 0; }

.faq-answer {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #C4C5D6;
}
.faq-answer a { color: var(--accent-2); }
.faq-answer strong { color: var(--text); }

/* ═══ Alerts ═══ */
.alert-success {
  padding: 16px 20px;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.35);
  border-radius: 12px;
  color: #86EFAC;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-error {
  padding: 16px 20px;
  background: rgba(255,107,157,.1);
  border: 1px solid rgba(255,107,157,.35);
  border-radius: 12px;
  color: #FF9AB8;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ═══ CTA Box ═══ */
.cta-box {
  position: relative;
  background: linear-gradient(120deg, #10081f 0%, #1a0e3f 50%, #0a1520 100%);
  border: 1px solid rgba(124,107,255,.35);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  overflow: hidden;
  margin: 40px 0;
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(124,107,255,.35), transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(34,211,238,.25), transparent 45%);
  pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0 0 12px;
  color: var(--text);
}
.cta-box p {
  color: #B9BACE;
  font-size: 15.5px;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

/* ═══ Info Grid (for About) ═══ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 30px 0;
}
.info-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px;
  transition: all .3s cubic-bezier(.22,1,.36,1);
}
.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,107,255,.4);
  background: #191926;
}
.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(124,107,255,.25);
  color: var(--accent-2);
  margin-bottom: 16px;
}
.info-card-icon svg { width: 22px; height: 22px; }
.info-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  font-family: 'Sora', sans-serif;
  color: var(--text);
}
.info-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ═══ Stats Row ═══ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  margin: 40px 0;
}
.stats-row > div {
  background: var(--surface);
  padding: 32px 20px;
  text-align: center;
}
.stats-row .stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, #7C6BFF, #22D3EE);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stats-row .stat-label {
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

/* ═══════════════════════════════════════════
   Legal content — reuses .page-content styles
   ═══════════════════════════════════════════ */
.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 52px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #C4C5D6;
}
@media (max-width: 640px) {
  .legal-content { padding: 28px 22px; }
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
  font-family: 'Sora', sans-serif;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.3;
  margin-top: 32px;
  margin-bottom: 12px;
}
.legal-content h1 { font-size: 1.75rem; font-weight: 800; margin-top: 0; }
.legal-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.legal-content h3 { font-size: 1.15rem; font-weight: 700; }
.legal-content > h1:first-child,
.legal-content > h2:first-child { margin-top: 0; }
.legal-content p { margin: 0 0 14px; line-height: 1.8; color: #C4C5D6; }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content a {
  color: var(--accent-2);
  border-bottom: 1px solid rgba(34,211,238,.3);
  text-decoration: none;
}
.legal-content a:hover { border-bottom-color: currentColor; }
.legal-content ul,
.legal-content ol {
  padding-left: 26px;
  margin: 0 0 18px;
}
.legal-content li { margin-bottom: 8px; line-height: 1.75; }
.legal-content li::marker { color: var(--accent-2); }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.legal-content table th {
  background: rgba(124,107,255,.08);
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  color: var(--accent-2);
  border-bottom: 1px solid var(--border);
}
.legal-content table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: #C4C5D6;
}
.legal-content table tr:last-child td { border-bottom: 0; }
.legal-content blockquote {
  margin: 20px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--accent);
  background: rgba(124,107,255,.05);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

/* ═══════════════════════════════════════════
   Team Grid (About Page)
   ═══════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.team-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  transition: all .3s cubic-bezier(.22,1,.36,1);
}
.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124,107,255,.4);
  background: #191926;
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7C6BFF, #22D3EE);
  color: #07070B;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -.02em;
  box-shadow: 0 12px 28px -10px rgba(124,107,255,.6);
}
.team-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text);
  font-family: 'Sora', sans-serif;
  letter-spacing: -.01em;
}
.team-card .team-role {
  font-size: 12.5px;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}
.team-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════
   Values Grid (About Page)
   ═══════════════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.value-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all .3s;
}
.value-item:hover {
  border-color: rgba(124,107,255,.35);
  transform: translateX(4px);
}
.value-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7C6BFF, #22D3EE);
  color: #07070B;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 15px;
}
.value-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
  font-family: 'Sora', sans-serif;
}
.value-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════
   Content Card (reusable)
   ═══════════════════════════════════════════ */
.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 44px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 640px) {
  .content-card { padding: 26px 22px; }
}
.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124,107,255,.5), rgba(34,211,238,.5), transparent);
  opacity: .5;
}
.content-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 12px;
  color: var(--text);
  font-family: 'Sora', sans-serif;
}
.content-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 22px 0 10px;
  color: var(--text);
  font-family: 'Sora', sans-serif;
}

/* ═══════════════════════════════════════════
   Accessibility — reduced motion
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .faq-question::after,
  .info-card,
  .team-card,
  .value-item {
    transition: none !important;
  }
}