/* ==============================
   ClearOps Landing Page
   ============================== */

:root {
  --navy: #0A2342;
  --navy-dark: #071829;
  --teal: #00B8D9;
  --teal-dim: rgba(0, 184, 217, 0.6);
  --surface: #0D2B4E;
  --bg: #05101D;
  --text: #E8F4F8;
  --muted: rgba(232, 244, 248, 0.55);
  --border: rgba(0, 184, 217, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 16, 29, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- HERO ---- */
.hero {
  padding: 160px 32px 100px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(0, 184, 217, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0, 184, 217, 0.1);
  border: 1px solid rgba(0, 184, 217, 0.25);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-illustration {
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,184,217,0.08);
}
.hero-svg { display: block; width: 100%; height: auto; }

/* ---- PROBLEM ---- */
.problem { padding: 100px 32px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem-label, .features-label, .workflow-label, .compliance-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.problem-headline, .features-headline, .workflow-headline, .compliance-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.problem-body {
  font-size: 1rem;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 60px;
}
.problem-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.problem-col h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--text);
  margin: 16px 0 10px;
  letter-spacing: -0.02em;
}
.problem-col p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.problem-icon {
  width: 52px; height: 52px;
  background: rgba(0, 184, 217, 0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

/* ---- FEATURES ---- */
.features { padding: 100px 32px; background: var(--bg); }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-headline { margin-bottom: 60px; max-width: 560px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: #0F3050; }
.feature-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(0, 184, 217, 0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.feature-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ---- WORKFLOW ---- */
.workflow { padding: 100px 32px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.workflow-inner { max-width: 1100px; margin: 0 auto; }
.workflow-headline { margin-bottom: 64px; max-width: 480px; }
.workflow-steps {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr;
  align-items: start;
  gap: 0;
}
.workflow-step { }
.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--teal);
  opacity: 0.35;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.step-content h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-content p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.workflow-connector {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.workflow-connector::after {
  content: '';
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--teal-dim), transparent, var(--teal-dim));
}

/* ---- COMPLIANCE ---- */
.compliance { padding: 100px 32px; background: var(--bg); }
.compliance-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.compliance-body {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.compliance-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.compliance-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  opacity: 0.7;
}
.compliance-card-rows { display: flex; flex-direction: column; gap: 12px; }
.log-row { display: flex; gap: 0; }
.log-key {
  width: 96px;
  font-size: 0.75rem;
  color: var(--teal);
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 2px;
  flex-shrink: 0;
}
.log-val {
  font-size: 0.85rem;
  color: var(--muted);
}
.log-ok { color: #4CAF50; }
.compliance-card-seal {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--teal);
  opacity: 0.7;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 32px 140px;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-dim), transparent);
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0, 184, 217, 0.08);
  border: 1px solid rgba(0, 184, 217, 0.2);
  border-radius: 100px;
  padding: 5px 16px;
  margin-bottom: 28px;
}
.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

/* ---- FOOTER ---- */
.footer { padding: 40px 32px; border-top: 1px solid var(--border); background: var(--navy-dark); }
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
  opacity: 0.7;
}
.footer-copy { font-size: 0.8rem; color: var(--muted); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-illustration { max-width: 400px; margin: 0 auto; }
  .hero-sub { max-width: 100%; }
  .problem-columns { grid-template-columns: 1fr; gap: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr; gap: 40px; }
  .workflow-connector { display: none; }
  .compliance-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 120px 20px 80px; }
  .nav-inner { padding: 0 20px; }
  .nav-tagline { display: none; }
  .hero-stats { gap: 20px; }
  .workflow-steps { gap: 32px; }
}