/* =========================================
   ClearDesk — Theme CSS
   ========================================= */

:root {
  --bg: #071414;
  --bg-2: #0A1F1F;
  --bg-card: #0D2727;
  --fg: #E8F0F0;
  --fg-muted: #7A9E9E;
  --accent: #F5A623;
  --accent-dim: #B87A10;
  --border: rgba(245, 166, 35, 0.15);
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ---- HERO ---- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 80px 60px 60px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(245,166,35,0.05) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.03em;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.ring-1 {
  width: 320px;
  height: 320px;
  animation: rotate-slow 20s linear infinite;
}

.ring-2 {
  width: 220px;
  height: 220px;
  border-style: dashed;
  animation: rotate-slow 14s linear infinite reverse;
}

.ring-3 {
  width: 130px;
  height: 130px;
  animation: rotate-slow 8s linear infinite;
}

.orbit-core {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, rgba(245,166,35,0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245,166,35,0.3);
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---- PROOF ---- */
.proof {
  padding: 48px 60px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.proof-stat {
  flex: 1;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.proof-divider {
  width: 1px;
  height: 64px;
  background: var(--border);
  margin: 0 40px;
}

/* ---- FEATURES ---- */
.features {
  padding: 100px 60px;
  background: var(--bg-2);
}

.features-header {
  max-width: 1160px;
  margin: 0 auto 64px;
  text-align: center;
}

.features-header h2 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.features-header p {
  color: var(--fg-muted);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto;
}

.features-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--bg-2);
  padding: 40px 40px 40px 40px;
  transition: background 0.2s;
}

.feature-card:hover { background: #0D2E2E; }

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(245,166,35,0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}

.feature-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ---- PROCESS ---- */
.process {
  padding: 100px 60px;
  background: var(--bg);
}

.process-header {
  max-width: 1160px;
  margin: 0 auto 64px;
  text-align: center;
}

.process-header h2 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.process-steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.step-number {
  width: 56px;
  height: 56px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 20px;
}

.step-body h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-body p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-connector {
  width: 80px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 28px;
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: 0; top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--border);
}

/* ---- CLOSING ---- */
.closing {
  padding: 100px 60px 120px;
  background: var(--bg-2);
  text-align: center;
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
}

.closing-rule {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 40px;
}

.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing p {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

/* ---- FOOTER ---- */
.footer {
  padding: 60px 60px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 260px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col span {
  font-size: 14px;
  color: var(--fg-muted);
}

.footer-col-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg) !important;
  margin-bottom: 4px;
}

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 13px;
  color: var(--fg-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero { padding: 60px 28px 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 240px; }
  .features-grid { grid-template-columns: 1fr; }
  .proof-inner { flex-direction: column; gap: 32px; }
  .proof-divider { display: none; }
  .process-steps { flex-direction: column; gap: 32px; }
  .step-connector { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 600px) {
  .features, .process, .closing { padding: 72px 24px 80px; }
  .proof { padding: 40px 24px; }
  .footer { padding: 48px 24px 24px; }
}