/* ==========================================
   SoftWashOS — Theme CSS
   ========================================== */

:root {
  --bg-primary: #080c14;
  --bg-secondary: #0d1524;
  --bg-card: #111c30;
  --accent-teal: #3de8c8;
  --accent-teal-dim: rgba(61, 232, 200, 0.12);
  --accent-orange: #ff6b35;
  --text-primary: #f0f4f8;
  --text-secondary: #8fa3bf;
  --text-muted: #4a6080;
  --border-subtle: rgba(255,255,255,0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  backdrop-filter: blur(12px);
  background: rgba(8, 12, 20, 0.7);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-teal);
  letter-spacing: -0.02em;
}
.nav-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 2rem 6rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61,232,200,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,232,200,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(61,232,200,0.25) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  bottom: 0;
  left: -80px;
}
.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(61,232,200,0.1) 0%, transparent 70%);
  bottom: 20%;
  right: 30%;
}
.hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-teal-dim);
  border: 1px solid rgba(61,232,200,0.2);
  color: var(--accent-teal);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}
.label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent-teal);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* ---- SHARED EYEBROW ---- */
.section-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-teal);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ---- PROBLEM ---- */
.problem {
  padding: 7rem 2rem;
  background: var(--bg-secondary);
  position: relative;
}
.problem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
  opacity: 0.2;
}
.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  max-width: 600px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
}
.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  margin-bottom: 1.25rem;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.problem-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 7rem 2rem;
  background: var(--bg-primary);
}
.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  position: relative;
}
.manifesto-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.4em;
  left: -0.3em;
  font-size: 5em;
  color: var(--accent-teal);
  opacity: 0.15;
  line-height: 1;
  font-family: Georgia, serif;
}
.manifesto-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* ---- FEATURES ---- */
.features {
  padding: 7rem 2rem;
  background: var(--bg-secondary);
  position: relative;
}
.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61,232,200,0.2), transparent);
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.features-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
  max-width: 600px;
  color: var(--text-primary);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.feature-card:hover {
  border-color: rgba(61,232,200,0.15);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-teal), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-teal);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---- OUTCOMES ---- */
.outcomes {
  padding: 7rem 2rem;
  background: var(--bg-primary);
}
.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.outcomes-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.outcomes-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.outcome-item:last-child { border-bottom: none; }
.outcome-arrow {
  color: var(--accent-teal);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.outcome-item span:last-child {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- CLOSING ---- */
.closing {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, rgba(61,232,200,0.06) 0%, transparent 60%), var(--bg-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(61,232,200,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.closing-inner { position: relative; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.closing-body {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.footer {
  padding: 3rem 2rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-teal);
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero { padding: 7rem 1.5rem 5rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .stat-divider { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-inner { grid-template-columns: 1fr; gap: 3rem; }
  .manifesto-quote::before { display: none; }
  .problem, .features, .outcomes, .closing { padding: 5rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
  .nav-tag { display: none; }
}