/* ── PORTRAIT Landing Site — Shared Styles ── */
/* Color palette unified with the React app (Tailwind violet scale) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #1a1a2e;
  background: #faf9ff;
  line-height: 1.7;
}

/* ── Color Tokens ── */
:root {
  --brand-dark:    #3b0764;   /* violet-950 */
  --brand-primary: #7c3aed;   /* violet-600 — matches app's primary */
  --brand-mid:     #8b5cf6;   /* violet-500 */
  --brand-light:   #a78bfa;   /* violet-400 */
  --brand-tint:    #f5f3ff;   /* violet-50  */
  --accent:        #f0a500;   /* warm gold for contrast */
  --card-bg:       #ffffff;
  --text-muted:    #4b5563;
  --border:        #e9d5ff;   /* violet-200 */
}

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--brand-dark); margin-bottom: 0.5rem; }
h3 { font-size: 1.1rem; color: var(--brand-dark); }
h4 { color: var(--brand-dark); }
p  { color: var(--text-muted); }
a  { color: var(--brand-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { width: min(1100px, 92%); margin-inline: auto; }
section { padding: 72px 0; }

/* ── Section Labels & Dividers ── */
.section-label {
  display: inline-block;
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.section-divider {
  width: 56px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 12px 0 28px;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--brand-dark);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
  box-shadow: 0 2px 16px rgba(59,7,100,.4);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: #fff;
  letter-spacing: 0.04em; text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }
.nav-logo { height: 36px; width: 36px; object-fit: contain; border-radius: 6px; }
.brand-port { color: var(--accent); }
.brand-sub { font-weight: 400; opacity: 0.75; }
.nav-links { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.nav-links a { color: rgba(255,255,255,.82); font-size: 0.88rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-cta {
  background: var(--accent); color: var(--brand-dark) !important;
  padding: 7px 17px; border-radius: 6px; font-weight: 700 !important;
}
.nav-cta:hover { background: #ffc233; }

/* ── Hero logo block ── */
.hero-brand-block {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 1.4rem;
}
.hero-logo {
  width: 64px; height: 64px; object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  padding: 6px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px; font-weight: 700; font-size: 0.95rem;
  transition: transform .18s, box-shadow .18s, background .18s; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--brand-dark); box-shadow: 0 4px 18px rgba(240,165,0,.35); }
.btn-primary:hover { background: #ffc233; box-shadow: 0 6px 22px rgba(240,165,0,.5); }
.btn-secondary { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-secondary:hover { background: rgba(255,255,255,.22); }
.btn-purple { background: var(--brand-primary); color: #fff; box-shadow: 0 4px 18px rgba(124,58,237,.35); }
.btn-purple:hover { background: #6d28d9; box-shadow: 0 6px 22px rgba(124,58,237,.5); }

/* ── Page header (inner pages) ── */
.page-header {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #5b21b6 60%, var(--brand-primary) 100%);
  padding: 60px 0 56px;
  text-align: center;
}
.page-header .back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.7); font-size: 0.85rem; margin-bottom: 1.2rem;
  transition: color .2s;
}
.page-header .back-link:hover { color: #fff; text-decoration: none; }
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.page-header p  { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ── FOOTER ── */
footer { background: var(--brand-dark); color: rgba(255,255,255,.7); padding: 48px 5% 32px; text-align: center; }
.footer-links { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: rgba(255,255,255,.75); font-size: 0.88rem; font-weight: 500; transition: color .2s; }
.footer-links a:hover { color: var(--accent); text-decoration: none; }
footer p { font-size: 0.82rem; }
footer p a { color: rgba(255,255,255,.7); }
footer p a:hover { color: var(--accent); text-decoration: none; }

/* ── Responsive nav ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  section { padding: 52px 0; }
}
