/* ============================================
   THE CASSIUS METHOD — BASELINE STYLES
   Gold: #C9A84C | Dark: #0A0A0A | Red: #4A0808
   Font: Inter only (300-400 body, 500-600 headings)
   Border-radius: 0px everywhere (brand identity)
   ============================================ */

:root {
  --gold: #C9A84C;
  --gold-light: #e0c97a;
  --gold-dark: #a88a3a;
  --dark: #0A0A0A;
  --dark-surface: rgba(15, 15, 15, 0.9);
  --blood-red: #4A0808;
  --red-accent: #5A1010;
  --indigo: #1A2A4A;
  --text: #FFFFFF;
  --text-muted: #B0B0B0;
  --metal-gold: linear-gradient(135deg, #F5E6A3 0%, #C9A84C 30%, #A88A3A 60%, #C9A84C 80%, #F5E6A3 100%);
  --metal-red: linear-gradient(135deg, #6B1A1A 0%, #4A0808 30%, #3A0606 60%, #4A0808 80%, #6B1A1A 100%);
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  background: #0A0A0A;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  position: relative;
  word-break: normal;
  overflow-wrap: break-word;
}

/* ===== GHOSTED BACKGROUND IMAGE ===== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('assets/the_ghosted_cornerstone.png') center -5% / cover no-repeat;
  opacity: 0.20;
  z-index: -1;
  filter: saturate(0.3) brightness(0.7);
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

/* ===== SCREEN READER ONLY ===== */
.sr-only {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary,
.btn-outline,
.nav-cta,
#emailForm button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  border: 0;
  border-radius: 0px;
}

/* PRIMARY — Metallic gold with flash on hover */
.btn-primary {
  background: var(--metal-gold);
  color: #0A0A0A;
  font-weight: 700;
  padding: 14px 28px;
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition: background-position 0.4s ease, box-shadow 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -1px 0 rgba(0,0,0,0.2);
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}

/* SECONDARY — Blood red brushed metal */
.btn-secondary {
  background: var(--metal-red);
  color: #FFFFFF;
  border: 1px solid rgba(107, 26, 26, 0.6);
  font-weight: 600;
  padding: 14px 28px;
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition: background-position 0.4s ease, box-shadow 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), inset 0 -1px 0 rgba(0,0,0,0.3);
}
.btn-secondary:hover {
  background-position: 100% 50%;
  box-shadow: 0 0 15px rgba(74, 8, 8, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* NAV CTA — Metallic gold */
.nav-cta {
  background: var(--metal-gold);
  color: #0A0A0A;
  padding: 12px 24px;
  font-weight: 700;
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition: background-position 0.4s ease;
}
.nav-cta:hover { background-position: 100% 50%; }

/* ===== TYPOGRAPHY ===== */
h1 {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 20px;
}

h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 40px;
  line-height: 1.2;
}

h3 {
  font-weight: 500;
  color: #FFFFFF;
}

h4 {
  font-weight: 500;
}

.highlight {
  color: var(--gold);
}

/* ===== HERO ===== */
.hero {
  padding: 20px;
  min-height: 100vh;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-weight: 600;
  font-size: 1.2rem;
  color: #FFFFFF;
}
.logo-c {
  color: var(--gold);
  font-size: 1.5rem;
  margin-right: 8px;
}

.hero-content {
  margin-top: 60px;
}

.hero-main {
  text-align: left;
  max-width: min(820px, 100%);
  margin-top: -24px;
}

.subheadline {
  font-size: 1.08rem;
  max-width: 72ch;
  margin-bottom: 30px;
  line-height: 1.65;
  font-weight: 300;
  color: #FFFFFF;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-points {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-points li {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 300;
  position: relative;
  padding-left: 20px;
}
.hero-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-intro {
  max-width: 72ch;
  margin-bottom: 40px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* ===== SOCIAL PROOF ===== */
.social-proof-inner {
  text-align: center;
}

.proof-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.proof-number {
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.proof-label {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SAMPLE READ ===== */
.sample-read-card {
  background: var(--dark-surface);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.sample-read-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.sample-tag {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sample-confidence {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 500;
}

.sample-matchup {
  padding: 24px 30px;
  text-align: center;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.sample-team {
  font-size: 1.3rem;
  font-weight: 500;
  color: #FFFFFF;
}

.sample-vs {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  margin: 0 16px;
  text-transform: uppercase;
}

.sample-number {
  padding: 16px 30px;
  text-align: center;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.sample-line-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 12px;
}

.sample-line {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
}

.sample-read-body {
  padding: 30px;
}

.sample-block {
  margin-bottom: 24px;
}

.sample-block:last-child {
  margin-bottom: 0;
}

.sample-block h4 {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.sample-block p {
  color: #FFFFFF;
  font-weight: 300;
  line-height: 1.7;
}

.sample-disclaimer {
  padding: 16px 30px;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
  font-style: italic;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--dark-surface);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 30px;
  transition: border-color 0.2s ease;
}
.feature-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
}

.feature-icon {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.feature-card h3 {
  color: #FFFFFF;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: #FFFFFF;
  font-weight: 300;
  line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: flex;
  justify-content: center;
}

.pricing-card {
  background: var(--dark-surface);
  border: 2px solid rgba(201, 168, 76, 0.3);
  padding: 40px;
  max-width: 500px;
  text-align: center;
}

.plan-name {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.plan-price {
  font-size: 4rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.plan-price span {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
}

.trial-badge {
  display: inline-block;
  background: var(--metal-red);
  color: var(--gold-light);
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.plan-positioning {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-weight: 300;
  line-height: 1.6;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
}

.pricing-card li {
  color: #FFFFFF;
  font-weight: 300;
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.cancel-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  margin-top: 16px;
}

.pricing-sub {
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 60ch;
  line-height: 1.7;
}

.pricing-disclaimer {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 300;
  margin-top: 40px;
  text-align: center;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.faq-item {
  background: var(--dark-surface);
  border: 1px solid rgba(201, 168, 76, 0.12);
  padding: 30px;
}

.faq-item h3 {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.faq-item p {
  color: #FFFFFF;
  font-weight: 300;
  line-height: 1.7;
}

/* ===== EMAIL CAPTURE ===== */
.email-capture {
  text-align: center;
}

.email-box {
  max-width: 600px;
  margin: 0 auto;
}

.email-box h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.email-box > p {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 30px;
}

#emailForm {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

#emailForm input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  background: rgba(15, 15, 15, 0.9);
  color: #FFFFFF;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-right: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  min-height: 48px;
  transition: border-color 0.2s ease;
}

#emailForm input[type="email"]::placeholder {
  color: var(--text-muted);
}

#emailForm input[type="email"]:focus {
  border-color: var(--gold);
}

#emailForm button {
  background: var(--metal-gold);
  color: #0A0A0A;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 24px;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition: background-position 0.4s ease;
  min-height: 48px;
}

#emailForm button:hover {
  background-position: 100% 50%;
}

.email-note {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 300;
  margin-top: 16px;
  min-height: 1.5em;
}

/* ===== FINAL CTA ===== */
.final-cta {
  text-align: center;
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1.1rem;
  max-width: 60ch;
  margin: 0 auto 30px;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
footer {
  padding: 60px 20px;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-content .logo {
  margin-bottom: 16px;
  justify-content: center;
  display: flex;
  align-items: center;
}

.footer-taglines {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-content > p {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-links {
  margin-top: 20px;
}

.footer-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}

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

/* ============================================
   RESPONSIVE — TABLET (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    min-height: auto;
    padding: 20px 16px;
  }

  .hero-main {
    margin-top: 0;
  }

  .subheadline {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-points {
    flex-direction: column;
    gap: 8px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .proof-stats {
    gap: 30px;
  }

  .proof-number {
    font-size: 2.2rem;
  }

  .sample-read-header {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .sample-team {
    font-size: 1.1rem;
  }

  .plan-price {
    font-size: 3rem;
  }

  .section {
    padding: 60px 16px;
  }

  nav {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  #emailForm {
    flex-direction: column;
    gap: 12px;
  }

  #emailForm input[type="email"] {
    border-right: 1px solid rgba(201, 168, 76, 0.3);
  }

  #emailForm button {
    width: 100%;
  }

  .pricing-card {
    padding: 30px 20px;
  }

  .final-cta h2 {
    font-size: 2rem;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .section {
    padding: 40px 16px;
  }

  .hero {
    padding: 16px 12px;
  }

  .subheadline {
    font-size: 0.95rem;
  }

  .section-tag {
    font-size: 0.75rem;
  }

  .proof-stats {
    flex-direction: column;
    gap: 24px;
  }

  .sample-matchup {
    padding: 16px 20px;
  }

  .sample-read-body {
    padding: 20px;
  }

  .sample-number {
    padding: 12px 20px;
  }

  .feature-card,
  .faq-item {
    padding: 24px 20px;
  }

  .plan-price {
    font-size: 2.5rem;
  }

  .final-cta h2 {
    font-size: 1.7rem;
  }

  .final-cta p {
    font-size: 1rem;
  }

  .btn-large {
    padding: 16px 28px;
    font-size: 1rem;
  }

  footer {
    padding: 40px 16px;
  }
}
