/* Donemark — Cutting-Edge Dark Theme
   Sleek, modern, futuristic design */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ------------------------------------------------------------------- */
/* Design Tokens                                                       */
/* ------------------------------------------------------------------- */
:root {
  /* Dark theme palette */
  --bg-primary:       #000000;
  --bg-secondary:     #0a0a0a;
  --bg-elevated:      #111111;
  --bg-card:          rgba(255, 255, 255, 0.03);
  --bg-card-hover:    rgba(255, 255, 255, 0.06);
  
  /* Text colors */
  --text-primary:     #ffffff;
  --text-secondary:   rgba(255, 255, 255, 0.7);
  --text-muted:       rgba(255, 255, 255, 0.5);
  --text-subtle:      rgba(255, 255, 255, 0.35);
  
  /* Accent - electric cyan/teal */
  --accent:           #00d4ff;
  --accent-glow:      rgba(0, 212, 255, 0.15);
  --accent-soft:      rgba(0, 212, 255, 0.08);
  
  /* Borders */
  --border:           rgba(255, 255, 255, 0.08);
  --border-hover:     rgba(255, 255, 255, 0.15);
  --border-accent:    rgba(0, 212, 255, 0.3);
  
  /* Effects */
  --glow:             0 0 60px rgba(0, 212, 255, 0.15);
  --glow-strong:      0 0 100px rgba(0, 212, 255, 0.25);
  --shadow:           0 4px 24px rgba(0, 0, 0, 0.5);
  
  /* Layout */
  --maxw:             1280px;
  --maxw-narrow:      720px;
  --radius:           16px;
  --radius-sm:        8px;
  --radius-lg:        24px;
}

/* ------------------------------------------------------------------- */
/* Reset & Base                                                        */
/* ------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle noise texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1000;
}

/* ------------------------------------------------------------------- */
/* Typography                                                          */
/* ------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent);
}

strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* ------------------------------------------------------------------- */
/* Layout                                                              */
/* ------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
}

.container.narrow {
  max-width: var(--maxw-narrow);
}

/* ------------------------------------------------------------------- */
/* Brand / Header                                                      */
/* ------------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand:hover {
  color: var(--text-primary);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  color: var(--text-primary);
}

.brand-mark-sm {
  width: 1.25rem;
  height: 1.25rem;
}

/* ------------------------------------------------------------------- */
/* Hero Section                                                        */
/* ------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

/* Gradient orb background */
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: -30%;
  width: 60vw;
  height: 60vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(120, 0, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-content {
  max-width: 720px;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .lede {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-content .cta {
  margin: 0 0 1.5rem;
}

.hero-content .cta-note {
  font-size: 0.9375rem;
  color: var(--text-subtle);
  max-width: 420px;
  line-height: 1.6;
}

/* ------------------------------------------------------------------- */
/* Method Card (Glassmorphism)                                         */
/* ------------------------------------------------------------------- */
.method-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.method-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.method-card-label {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  font-weight: 600;
}

.method-flow {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.method-flow li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.method-flow li:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.method-flow .step-num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------- */
/* Buttons                                                             */
/* ------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--text-primary);
  color: var(--bg-primary);
  border: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(0, 212, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
}

/* ------------------------------------------------------------------- */
/* Sections                                                            */
/* ------------------------------------------------------------------- */
section {
  padding: 8rem 0;
  position: relative;
}

.section-lede {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin-bottom: 4rem;
  line-height: 1.7;
}

/* Section dividers */
section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1200px);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
}

.hero::before {
  display: none;
}

/* ------------------------------------------------------------------- */
/* Problem Section                                                     */
/* ------------------------------------------------------------------- */
.problem {
  background: var(--bg-secondary);
}

.problem::before {
  background: linear-gradient(90deg, transparent 0%, var(--border-accent) 50%, transparent 100%);
}

.problem .question-list {
  list-style: none;
  margin: 2rem 0 2.5rem;
}

.problem .question-list li {
  padding: 1.25rem 0;
  padding-left: 2rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  transition: all 0.2s ease;
}

.problem .question-list li:hover {
  color: var(--text-primary);
  padding-left: 2.5rem;
}

.problem .question-list li:last-child {
  border-bottom: none;
}

.problem .question-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.problem .closer {
  margin-top: 2rem;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 1.125rem;
}

/* ------------------------------------------------------------------- */
/* Shockwave Section (5-phase model)                                   */
/* ------------------------------------------------------------------- */
.shockwave-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.shockwave-grid li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.shockwave-grid li:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.shockwave-grid .phase-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.shockwave-grid h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.shockwave-grid p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ------------------------------------------------------------------- */
/* Offers Section                                                      */
/* ------------------------------------------------------------------- */
.offers {
  background: var(--bg-secondary);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.offer {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.offer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.offer:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.offer-recommended {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-card) 100%);
}

.offer-recommended::before {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.offer-recommended::after {
  content: "Recommended";
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
}

.offer-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.offer-num {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0.15;
}

.offer-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.offer h3 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
}

.offer-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.offer p:last-child {
  margin-bottom: 0;
}

.offer-recommendation {
  margin: 2rem 0 0;
  padding: 1.5rem 2rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
}

.offer-recommendation::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 3px 0 0 3px;
}

/* ------------------------------------------------------------------- */
/* How it Works                                                        */
/* ------------------------------------------------------------------- */
.steps {
  list-style: none;
  counter-reset: step;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 1.125rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--border));
}

.steps li {
  position: relative;
  padding-left: 4rem;
  padding-bottom: 3rem;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.steps li strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.steps li {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ------------------------------------------------------------------- */
/* Examples Section                                                    */
/* ------------------------------------------------------------------- */
.examples {
  background: var(--bg-secondary);
}

.example-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.example-list li {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  line-height: 1.7;
  transition: all 0.2s ease;
}

.example-list li:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.example-list strong {
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.example-note {
  margin-top: 2rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ------------------------------------------------------------------- */
/* Stance Section                                                      */
/* ------------------------------------------------------------------- */
.stance-block {
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.stance-block:hover {
  border-color: var(--border-hover);
}

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

.stance-block h3 {
  margin-bottom: 1.25rem;
  font-size: 1.375rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stance-block h3::before {
  content: "";
  width: 4px;
  height: 1.25rem;
  background: var(--accent);
  border-radius: 2px;
}

.stance-block p {
  color: var(--text-secondary);
}

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

/* ------------------------------------------------------------------- */
/* Founder Note                                                        */
/* ------------------------------------------------------------------- */
.founder-note {
  background: var(--bg-secondary);
}

.founder-note p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.8;
}

.founder-note p:first-of-type {
  color: var(--text-primary);
}

.founder-note p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------------- */
/* Footer CTA                                                          */
/* ------------------------------------------------------------------- */
.cta-footer {
  text-align: center;
  padding: 10rem 0;
  background: radial-gradient(ellipse at center, var(--accent-soft) 0%, transparent 60%);
}

.cta-footer h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.cta-footer > .container > p {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  font-size: 1.125rem;
}

.cta-footer .cta {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-note.small {
  font-size: 0.875rem;
  color: var(--text-subtle);
}

/* ------------------------------------------------------------------- */
/* Site Footer                                                         */
/* ------------------------------------------------------------------- */
.site-footer {
  padding: 3rem 0 4rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text-primary);
  font-weight: 600;
}

.footer-brand .brand-mark {
  color: var(--text-primary);
}

.footer-tag {
  color: var(--text-subtle);
}

/* ------------------------------------------------------------------- */
/* Responsive - Tablet                                                 */
/* ------------------------------------------------------------------- */
@media (min-width: 640px) {
  .shockwave-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .example-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ------------------------------------------------------------------- */
/* Responsive - Desktop                                                */
/* ------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .shockwave-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  .shockwave-grid li {
    padding: 1.5rem;
  }

  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .example-list {
    grid-template-columns: repeat(3, 1fr);
  }

  section {
    padding: 10rem 0;
  }
}

/* ------------------------------------------------------------------- */
/* Responsive - Mobile                                                 */
/* ------------------------------------------------------------------- */
@media (max-width: 639px) {
  html {
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    padding: 1.5rem 0;
  }

  .hero-grid {
    padding: 2rem 0;
    gap: 3rem;
  }

  section {
    padding: 5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
    padding: 1.125rem 2rem;
  }

  .method-card {
    padding: 1.75rem;
  }

  .offer {
    padding: 2rem;
  }

  .offer-recommended::after {
    top: 1rem;
    right: 1rem;
    font-size: 0.625rem;
    padding: 0.25rem 0.625rem;
  }

  .offer-num {
    font-size: 3rem;
  }

  .steps::before {
    left: 0.875rem;
  }

  .steps li {
    padding-left: 3rem;
  }

  .steps li::before {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.75rem;
  }

  .stance-block {
    padding: 1.75rem;
  }
}

/* ------------------------------------------------------------------- */
/* Animations & Interactions                                           */
/* ------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-content h1,
  .hero-content .lede,
  .hero-content .cta,
  .hero-content .cta-note,
  .method-card {
    animation: fadeUp 0.8s ease-out backwards;
  }

  .hero-content h1 { animation-delay: 0.1s; }
  .hero-content .lede { animation-delay: 0.2s; }
  .hero-content .cta { animation-delay: 0.3s; }
  .hero-content .cta-note { animation-delay: 0.4s; }
  .method-card { animation-delay: 0.5s; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Selection */
::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-subtle);
}
