/* OmaCloud marketing site — Catppuccin Mocha palette to match the dashboard. */

:root {
  --base:    #1e1e2e;
  --mantle:  #181825;
  --crust:   #11111b;
  --surface0:#313244;
  --surface1:#45475a;
  --surface2:#585b70;
  --text:    #cdd6f4;
  --subtext: #a6adc8;
  --blue:    #89b4fa;
  --green:   #a6e3a1;
  --yellow:  #f9e2af;
  --red:     #f38ba8;
  --mauve:   #cba6f7;
  --peach:   #fab387;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "Fira Code", Menlo, Consolas, monospace;

  --max-w: 1100px;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--crust);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

main, .site-nav, .site-footer {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Nav --- */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--crust);
  font-weight: 900;
  font-size: 18px;
}
.brand-name { font-size: 18px; }
.brand-accent { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.nav-links a { color: var(--subtext); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-cta { white-space: nowrap; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* --- Buttons --- */

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--blue);
  color: var(--crust);
}
.btn-primary:hover { background: #a3c4ff; }

.btn-ghost {
  background: transparent;
  border-color: var(--surface1);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-lg { padding: 14px 24px; font-size: 16px; }

/* --- Hero --- */

.hero {
  padding: 72px 0 56px;
  text-align: left;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mauve);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--text);
}
.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--subtext);
  max-width: 720px;
  margin: 0 0 32px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-snippet {
  margin: 0;
  padding: 18px 22px;
  background: var(--mantle);
  border: 1px solid var(--surface0);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  overflow-x: auto;
  line-height: 1.7;
}
.hero-snippet code { color: inherit; background: transparent; }

/* --- Sections --- */

section { padding: 56px 0; }
section h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: var(--text);
}
.section-lede {
  color: var(--subtext);
  max-width: 720px;
  margin: -8px 0 32px;
  font-size: 17px;
}

/* --- Features --- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--mantle);
  border: 1px solid var(--surface0);
  border-radius: var(--radius);
  padding: 22px;
}
.feature-card h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  color: var(--text);
}
.feature-card p {
  margin: 0;
  color: var(--subtext);
  font-size: 14px;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface0);
  font-size: 18px;
}

/* --- Verify steps --- */

.verify-steps {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: step;
}
.verify-steps li {
  counter-increment: step;
  background: var(--mantle);
  border: 1px solid var(--surface0);
  border-radius: var(--radius);
  padding: 16px 18px 16px 56px;
  margin-bottom: 10px;
  position: relative;
  color: var(--subtext);
}
.verify-steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  background: var(--surface0);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-mono);
}
.verify-steps strong { color: var(--text); }
.verify-steps code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--surface0);
  color: var(--yellow);
  padding: 1px 6px;
  border-radius: 6px;
}

/* --- Pricing --- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.price-card {
  position: relative;
  background: var(--mantle);
  border: 1px solid var(--surface0);
  border-radius: var(--radius);
  padding: 24px;
}
.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(137, 180, 250, 0.12);
}
.price-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--text);
}
.price-card .price {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
}
.price-card .price small {
  font-size: 14px;
  color: var(--subtext);
  font-weight: 400;
}
.price-card ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--subtext);
  font-size: 14px;
}
.price-card li {
  padding: 4px 0 4px 22px;
  position: relative;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.badge {
  position: absolute;
  top: -10px; right: 16px;
  background: var(--blue);
  color: var(--crust);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
}

/* --- CTA --- */

.cta {
  text-align: center;
  padding: 72px 0;
  background: linear-gradient(180deg, transparent 0%, var(--mantle) 100%);
  border-top: 1px solid var(--surface0);
  border-bottom: 1px solid var(--surface0);
}
.cta h2 { margin-bottom: 24px; }

/* --- Footer --- */

.site-footer {
  padding: 32px 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--subtext);
  font-size: 14px;
}
.footer-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-links {
  display: flex;
  gap: 18px;
}
.footer-links a { color: var(--subtext); }
.footer-links a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 720px) {
  .hero { padding-top: 48px; }
  section { padding: 40px 0; }
  .site-footer { justify-content: center; text-align: center; }
}
