/* ClearOps Landing Page Theme */

:root {
  --bg: #0F1923;
  --bg-card: #162030;
  --bg-elevated: #1D2B3A;
  --text: #E8EDF3;
  --text-muted: #7A8FA6;
  --accent: #00D4AA;
  --accent-dim: #00A882;
  --amber: #F59E0B;
  --red: #EF4444;
  --border: rgba(255,255,255,0.07);
}

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

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

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15,25,35,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,170,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,170,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 760px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.metric { display: flex; flex-direction: column; gap: 4px; }
.metric-value {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.metric-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* SECTION SHARED */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '// ';
  opacity: 0.5;
}

/* COMPLIANCE */
.compliance {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.compliance-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  max-width: 440px;
}
.compliance-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 16px;
}
.compliance-rule {
  margin-top: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.rule-label {
  background: rgba(239,68,68,0.15);
  color: #EF4444;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 2px;
}
.compliance-rule p { color: var(--text); font-size: 14px; margin: 0; }

/* Risk Meter */
.risk-meter {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.meter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.meter-bar {
  height: 8px;
  background: var(--bg-elevated);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 20px;
}
.meter-fill {
  height: 100%;
  width: 73%;
  background: linear-gradient(90deg, #00D4AA, #F59E0B, #EF4444);
  border-radius: 100px;
}
.meter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 500;
}
.tag-amber { background: rgba(245,158,11,0.15); color: #F59E0B; }
.tag-red { background: rgba(239,68,68,0.15); color: #EF4444; }

.compliance-callout {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(0,212,170,0.05);
  border: 1px solid rgba(0,212,170,0.15);
  border-radius: 8px;
}
.compliance-callout svg { flex-shrink: 0; margin-top: 2px; }
.compliance-callout p { color: var(--text-muted); font-size: 13px; margin: 0; }

/* FEATURES */
.features {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.features-headline {
  font-family: 'Syne', sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 640px;
  margin-bottom: 56px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(0,212,170,0.25);
  transform: translateY(-2px);
}
.feature-icon {
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* HOW IT WORKS */
.how {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.how h2 {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 56px;
}
.how-steps {
  display: flex;
  align-items: center;
  gap: 24px;
}
.step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.step-arrow { flex-shrink: 0; }

/* MISSION */
.mission {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.mission-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.mission-content {
  max-width: 800px;
  margin: 0 auto;
}
blockquote {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  font-style: normal;
}

/* CLOSING */
.closing {
  padding: 100px 0 80px;
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.closing h2 {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}
.closing p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* FOOTER */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}
.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
}
.footer-copy {
  color: rgba(122,143,166,0.5);
  font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .compliance-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .hero-metrics { gap: 24px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero { padding: 100px 20px 60px; }
  .hero-metrics { flex-direction: column; align-items: flex-start; gap: 20px; }
  .metric-divider { display: none; }
  .compliance-grid, .feature-grid { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; }
  .step-arrow { display: none; }
}