/* ============================================
   CleanFlowOS — Landing Page Styles
   ============================================ */

/* Variables */
:root {
  --bg: #080d18;
  --bg-2: #0b1424;
  --bg-3: #0f1a2e;
  --surface: #111d30;
  --teal: #00d4b1;
  --teal-dim: rgba(0, 212, 177, 0.12);
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --text: #e8edf5;
  --text-muted: #7a8fa8;
  --text-dim: #4a5c72;
  --border: rgba(255,255,255,0.07);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Section label */
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.2rem;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  max-width: 680px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  position: relative;
  overflow: hidden;
}

/* LEFT — atmospheric visual panel */
.hero-visual {
  position: relative;
  background: var(--bg-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,212,177,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 30% 80%, rgba(245,158,11,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-visual-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 4rem 2rem;
}

/* ATL Badge */
.atl-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.atl-label {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--teal);
  text-shadow: 0 0 60px rgba(0,212,177,0.4);
  letter-spacing: -0.02em;
}
.atl-sub {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Visual grid — abstract operational aesthetic */
.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 280px;
}
.grid-cell {
  aspect-ratio: 1;
  border-radius: 10px;
  animation: gridPulse 4s ease-in-out infinite;
}
.cell-1 { background: rgba(0,212,177,0.25); animation-delay: 0s; }
.cell-2 { background: rgba(0,212,177,0.1); animation-delay: 0.6s; border: 1px solid rgba(0,212,177,0.2); }
.cell-3 { background: rgba(245,158,11,0.2); animation-delay: 1.2s; }
.cell-4 { background: rgba(255,255,255,0.05); animation-delay: 0.3s; }
.cell-5 { background: rgba(0,212,177,0.15); animation-delay: 0.9s; }
.cell-6 { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); animation-delay: 1.5s; }
@keyframes gridPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

/* Stats row */
.visual-stats {
  display: flex;
  gap: 2.5rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
}
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* RIGHT — hero content */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 5rem 5rem 4rem;
  position: relative;
}
.hero-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--teal-dim), transparent);
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--teal);
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(0,212,177,0.3);
}
.hero-proof {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-dim);
  color: var(--teal);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ============================================
   MANIFESTO
   ============================================ */
.manifesto {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 0;
}
.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 4rem;
}
.manifesto-text {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.manifesto-attr {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

/* ============================================
   CAPABILITIES
   ============================================ */
.capabilities {
  padding: 8rem 0;
  background: var(--bg);
}
.cap-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}
.cap-inner .section-headline {
  margin-bottom: 4rem;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.cap-card {
  background: var(--bg-2);
  display: flex;
  overflow: hidden;
}
.cap-accent {
  width: 5px;
  flex-shrink: 0;
  background: var(--amber);
  box-shadow: 0 0 20px rgba(245,158,11,0.3);
}
.cap-body {
  padding: 2.5rem 2.5rem;
}
.cap-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.8rem;
}
.cap-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   CREDENTIALS
   ============================================ */
.credentials {
  padding: 8rem 0;
  background: var(--bg-2);
}
.cred-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}
.cred-inner .section-headline {
  margin-bottom: 4rem;
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
}
.cred-item {
  background: var(--bg);
  padding: 3rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.cred-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal-dim);
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
}
.cred-text h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.7rem;
}
.cred-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: 8rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.process-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 4rem;
}
.process-inner .section-headline {
  margin-bottom: 4rem;
}
.process-steps {
  display: flex;
  flex-direction: column;
}
.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.step-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-dim);
  border: 1px solid rgba(0,212,177,0.3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.step-marker::after {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(0,212,177,0.5);
}
.step-content {
  padding-bottom: 3rem;
  padding-top: 0.6rem;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.step-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 500px;
}
.step-connector {
  width: 2px;
  height: 2.5rem;
  background: linear-gradient(to bottom, rgba(0,212,177,0.3), rgba(0,212,177,0.05));
  margin-left: 23px;
}

/* ============================================
   CLOSER
   ============================================ */
.closer {
  padding: 8rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  text-align: center;
}
.closer-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 4rem;
}
.closer-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.closer-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 3rem 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: block;
  margin-top: 0.2rem;
}
.footer-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  align-items: center;
}
.footer-sep { color: var(--text-dim); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-visual {
    min-height: 280px;
  }
  .hero-visual-inner { padding: 3rem 2rem; }
  .visual-grid { width: 220px; }
  .hero-content {
    padding: 3rem 2rem;
  }
  .hero-content::before { display: none; }
  .cap-grid,
  .cred-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .cap-inner, .cred-inner, .process-inner,
  .closer-inner, .footer-inner, .manifesto-inner {
    padding: 0 1.5rem;
  }
  .cap-body { padding: 1.5rem; }
  .cred-item { padding: 2rem 1.5rem; }
  .cred-num { font-size: 2rem; width: 40px; }
  .visual-stats { gap: 1.5rem; }
  .atl-label { font-size: 3.5rem; }
  .hero-content { padding: 2.5rem 1.5rem; }
  .section-headline { font-size: 1.8rem; }
}