/* =============================================
   GLOWRANK — Core Styles
   ============================================= */

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

:root {
  --black: #0a0a0a;
  --near-black: #111;
  --dark: #1a1a1a;
  --mid: #2a2a2a;
  --border: #e5e5e5;
  --muted: #6b7280;
  --light: #f9f9f9;
  --white: #ffffff;
  --accent: #c9a96e;
  --accent-light: #f5efe4;
  --accent-dark: #a8843e;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* =============================================
   UTILITIES
   ============================================= */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-alt { background: var(--light); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--near-black);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-sm { padding: 8px 18px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; margin-top: 24px; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,169,110,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--near-black);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--near-black);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--accent-dark); }

/* =============================================
   NAV
   ============================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--near-black);
  text-decoration: none;
}

.logo .dot { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--near-black); }

/* =============================================
   HERO
   ============================================= */

.hero {
  padding: 96px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #faf8f4 0%, var(--white) 100%);
}

.badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--near-black);
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-proof {
  display: flex;
  gap: 24px;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

/* =============================================
   PAIN
   ============================================= */

.pain { padding: 80px 0; }

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pain-copy h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--near-black);
  line-height: 1.3;
}

.pain-copy p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.pain-closer { color: var(--near-black) !important; }

.pain-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* =============================================
   HOW IT WORKS
   ============================================= */

.how { padding: 96px 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step { text-align: center; }

.step-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-light);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--near-black);
}

.step p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* =============================================
   DELIVERABLES
   ============================================= */

.deliverables { padding: 96px 0; }

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.del-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.del-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.del-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.del-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--near-black);
}

.del-item p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* =============================================
   PRICING
   ============================================= */

.pricing { padding: 96px 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  background: var(--white);
  transition: box-shadow 0.2s;
}

.price-card:hover { box-shadow: var(--shadow); }

.price-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.price-tier {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--near-black);
  margin-bottom: 12px;
  line-height: 1;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.price-desc {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
  min-height: 52px;
}

.price-features {
  list-style: none;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-features li {
  font-size: 0.92rem;
  color: var(--dark);
}

.pricing-footnote {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 40px;
}

/* =============================================
   SAMPLE TOPICS
   ============================================= */

.topics { padding: 80px 0; }

.topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.topic-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--dark);
  transition: all 0.2s;
  cursor: default;
}

.topic-pill:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-light);
}

/* =============================================
   FAQ
   ============================================= */

.faq { padding: 96px 0; }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 10px;
}

.faq-a {
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.75;
}

/* =============================================
   CTA / SIGNUP
   ============================================= */

.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2515 100%);
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.65);
  font-size: 1.08rem;
  margin-bottom: 40px;
}

.signup-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.signup-form input,
.signup-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.97rem;
  outline: none;
  transition: border-color 0.2s;
}

.signup-form input::placeholder { color: rgba(255,255,255,0.4); }

.signup-form input:focus,
.signup-form select:focus {
  border-color: var(--accent);
}

.signup-form select {
  color: rgba(255,255,255,0.6);
  cursor: pointer;
}

.signup-form select option { color: var(--black); background: var(--white); }

.form-fine {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
  margin-bottom: 0;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--near-black); }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  .pain-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .deliverables-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-featured { transform: none; }
  .nav-links a:not(.btn) { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .section-header h2 { font-size: 1.9rem; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .hero-proof { flex-direction: column; gap: 8px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
