/* styles.css */
/* ===== DESIGN TOKENS ===== */
:root {
  --black: #080810;
  --surface: #0f0f1a;
  --surface-2: #16162a;
  --surface-3: #1e1e35;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.18);
  --text: #f0f0f8;
  --text-muted: #8888aa;
  --text-dim: #4a4a6a;

  /* Brand gradient: Instagram-inspired purple→pink */
  --grad-start: #9b59b6;
  --grad-mid: #e1306c;
  --grad-end: #f58529;
  --gradient: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));
  --gradient-hover: linear-gradient(135deg, #b06fd4, #e84585, #f79a4e);

  --accent: #c240e4;
  --accent-2: #e1306c;
  --gold: #f0b429;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.4);
  --shadow: 0 8px 40px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 60px rgba(194,64,228,0.25);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --max-w: 1200px;
  --nav-h: 70px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--text-muted); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(194,64,228,0.1);
  border: 1px solid rgba(194,64,228,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header p { max-width: 520px; margin: 12px auto 0; font-size: 1.1rem; }

/* ===== GRID HELPERS ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(225,48,108,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(225,48,108,0.55);
}
.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; }
.btn-ghost { background: none; border: none; color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(8,8,16,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; color: var(--text-muted); transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--black);
    padding: 40px 20px;
    gap: 24px;
    z-index: 99;
  }
  .nav-menu-open .nav-links a { font-size: 1.3rem; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #9b59b6, transparent);
  top: -100px; right: -100px;
}
.hero-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #e1306c, transparent);
  bottom: -100px; left: 5%;
}
.hero-blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f58529, transparent);
  top: 40%; left: 50%;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-badge span { color: var(--gold); font-weight: 600; }
.hero h1 { margin-bottom: 24px; }
.hero p.subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-item {}
.stat-number { font-size: 1.6rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== TRUST STRIP ===== */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 20px 0;
}
.trust-items { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.trust-icon { color: var(--gold); flex-shrink: 0; }

/* ===== PRICING ===== */
#pricing { background: var(--surface); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.pricing-card.featured {
  border-color: rgba(194,64,228,0.5);
  box-shadow: 0 0 0 1px rgba(194,64,228,0.3), var(--shadow-glow);
}
.pricing-badge {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.pricing-card-free { border-color: rgba(240,180,41,0.4); }
.pricing-badge-free {
  background: linear-gradient(135deg, #f0b429, #ff8c00);
  color: #000;
}
.pricing-followers {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-label { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 20px; }
.pricing-price { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 4px; }
.pricing-price-sub { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 24px; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-feature { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }
.pricing-feature svg { color: var(--accent); flex-shrink: 0; }

/* ===== HOW IT WORKS ===== */
.hiw-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 60px; }
.hiw-tab {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.hiw-tab.active, .hiw-tab:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}
.hiw-steps { display: none; }
.hiw-steps.active { display: grid; }
.hiw-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
}
.hiw-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}
.hiw-step h3 { margin-bottom: 10px; }

/* ===== BENEFITS ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}
.benefit-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.benefit-icon {
  width: 48px; height: 48px;
  background: rgba(194,64,228,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.benefit-card h3 { font-size: 1rem; margin-bottom: 8px; }

/* ===== TESTIMONIALS ===== */
#testimonials { background: var(--surface); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 16px; }
.testimonial-text { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}
.testimonial-name { font-size: 0.9rem; font-weight: 600; }
.testimonial-handle { font-size: 0.8rem; color: var(--text-dim); }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  width: 100%;
  gap: 16px;
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-icon { flex-shrink: 0; transition: transform var(--transition); color: var(--accent); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 24px 20px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E");
}
.cta-band h2, .cta-band p { color: #fff; position: relative; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 480px; margin: 0 auto 36px; opacity: 0.85; }
.cta-band .btn-secondary { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); color: #fff; }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,0.25); }

/* ===== FOOTER ===== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.9rem; margin-top: 12px; max-width: 260px; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.9rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-dim); }
.footer-disclaimer { font-size: 0.78rem; color: var(--text-dim); margin-top: 16px; max-width: 700px; }

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
}
@media (max-width: 768px) { .sticky-cta { display: flex; gap: 12px; } }
.sticky-cta .btn { flex: 1; padding: 14px; }

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow), var(--shadow-glow);
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalIn {
  from { transform: scale(0.85) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}
.modal-close:hover { background: rgba(255,255,255,0.12); color: var(--text); }
.modal-header {
  padding: 32px 32px 0;
  text-align: center;
}
.modal-icon {
  width: 64px; height: 64px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}
.modal-header h2 { font-size: 1.5rem; margin-bottom: 8px; }
.modal-header p { font-size: 0.9rem; }
.modal-body { padding: 28px 32px 32px; }
.modal-step { display: none; }
.modal-step.active { display: block; }

/* ===== PROGRESS DOTS ===== */
.progress-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
}
.progress-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--surface-3);
  transition: var(--transition);
}
.progress-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--gradient);
}

/* ===== FORM ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.input-wrap { position: relative; }
.input-prefix {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-weight: 600;
  pointer-events: none;
}
.form-input {
  width: 100%;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
}
.form-input.has-prefix { padding-left: 36px; }
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(194,64,228,0.15); }
.form-input.error { border-color: #e74c3c; }
.form-hint { font-size: 0.8rem; color: var(--text-dim); margin-top: 6px; }
.form-error { font-size: 0.8rem; color: #e74c3c; margin-top: 6px; display: none; }
.form-error.visible { display: block; }
.form-input.error + .form-error { display: block; }

/* Profile preview card */
.profile-card {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.profile-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.skeleton { background: var(--surface-3); border-radius: 4px; animation: shimmer 1.5s infinite; }
@keyframes shimmer {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}
.profile-name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.profile-handle { font-size: 0.85rem; color: var(--text-muted); }
.profile-badge-public {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #2ecc71;
  background: rgba(46,204,113,0.1);
  padding: 2px 10px;
  border-radius: 100px;
  margin-top: 6px;
}

/* private warning */
.private-warning {
  background: rgba(231,76,60,0.1);
  border: 1px solid rgba(231,76,60,0.3);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.9rem;
  color: #e74c3c;
  margin-bottom: 20px;
  display: none;
}
.private-warning.visible { display: block; }

/* Timer bar */
.unlock-timer { text-align: center; margin-bottom: 16px; }
.unlock-timer-text { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 8px; }
.timer-bar {
  height: 4px;
  background: var(--surface-3);
  border-radius: 2px;
  overflow: hidden;
}
.timer-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 1s linear;
}

/* success */
.success-screen { text-align: center; padding: 20px 0; }
.success-icon { font-size: 3rem; margin-bottom: 16px; }
.success-screen h3 { margin-bottom: 8px; }

/* ===== CHECKOUT ===== */
.checkout-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 20px;
}
.checkout-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.order-summary {
  background: var(--surface-3);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 28px;
}
.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.95rem;
}
.order-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 16px;
  font-weight: 700;
  font-size: 1.1rem;
}
.payment-methods { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.payment-badge {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; max-width: 540px; margin: 0 auto; }

/* ===== CONTENT PAGE ===== */
.content-page { padding: 60px 0 100px; }
.content-page .container { max-width: 780px; }
.content-page h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 16px; color: var(--text); }
.content-page h3 { font-size: 1.1rem; margin-top: 28px; margin-bottom: 12px; color: var(--text); }
.content-page p { margin-bottom: 16px; line-height: 1.8; }
.content-page ul { margin-bottom: 16px; padding-left: 20px; }
.content-page ul li { color: var(--text-muted); margin-bottom: 8px; line-height: 1.7; list-style: disc; }
.content-page a { color: var(--accent); }
.content-page a:hover { text-decoration: underline; }
.content-page .last-updated {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ===== ABOUT ===== */
.about-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .about-team { grid-template-columns: 1fr; } }
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  font-weight: 700;
}
.team-name { font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.85rem; color: var(--text-dim); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-card h3 { margin-bottom: 8px; }
.contact-form-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form-card h2 { margin-bottom: 28px; }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-status { display: none; padding: 14px; border-radius: var(--radius); font-size: 0.9rem; margin-top: 16px; }
.form-status.success { display: block; background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.3); color: #2ecc71; }
.form-status.error-state { display: block; background: rgba(231,76,60,0.1); border: 1px solid rgba(231,76,60,0.3); color: #e74c3c; }

/* ===== EXIT POPUP ===== */
.exit-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.exit-popup-overlay.active { display: flex; }
.exit-popup {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 440px;
  text-align: center;
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-glow);
}
.exit-popup h2 { margin-bottom: 12px; }
.exit-popup p { margin-bottom: 28px; }
.exit-popup-emoji { font-size: 2.5rem; margin-bottom: 20px; }

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SPINNER ===== */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--gold); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.d-none { display: none !important; }
.relative { position: relative; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 32px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--text-dim); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }
