/* OpenClaw Service Pages — Dark Theme with Cyan Accents */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #09090b;
  --surface: #18181b;
  --surface-2: #1e1e22;
  --border: #27272a;
  --border-hover: #3f3f46;
  --text: #f0f0f5;
  --text-muted: #a1a1aa;
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.15);
  --accent-dark: #0891b2;
  --green: #10b981;
  --radius: 12px;
}

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

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

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.oc-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(9,9,11,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); padding: 16px 0;
}
.oc-nav .container { display: flex; align-items: center; justify-content: space-between; }
.oc-nav-logo { font-weight: 700; font-size: 1.1rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.oc-nav-logo span { color: var(--accent); }
.oc-nav-links { display: flex; gap: 24px; align-items: center; }
.oc-nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.oc-nav-links a:hover { color: var(--text); text-decoration: none; }

/* HERO */
.hero {
  padding: 160px 0 100px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(6,182,212,0.08) 0%, transparent 60%);
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: var(--accent-glow); border: 1px solid rgba(6,182,212,0.3);
  color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 36px; }
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 8px;
  font-weight: 600; font-size: 15px; border: none; cursor: pointer;
  transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* SECTIONS */
section { padding: 80px 0; }
.section-label { color: var(--accent); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 16px; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin-bottom: 48px; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* CARDS GRID */
.cards-grid { display: grid; gap: 20px; }
.cards-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.card-icon { font-size: 1.8rem; margin-bottom: 16px; }
.card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 14px; }

/* STATS BAR */
.stats-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px; padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-value { font-size: 2.2rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* CONFIGURATOR */
#configurator { background: var(--surface); border-top: 1px solid var(--border); }
.config-section { margin-bottom: 36px; }
.config-section h3 { font-size: 1rem; font-weight: 600; margin-bottom: 16px; color: var(--text); }

.config-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; margin-bottom: 10px; cursor: pointer;
  transition: border-color 0.2s;
}
.config-item:hover { border-color: var(--border-hover); }
.config-item.active { border-color: var(--accent); background: rgba(6,182,212,0.04); }
.config-item-left { display: flex; align-items: center; gap: 12px; }
.config-item-name { font-weight: 500; font-size: 14px; }
.config-item-desc { font-size: 12px; color: var(--text-muted); }
.config-item-price { font-weight: 600; color: var(--accent); font-size: 14px; white-space: nowrap; }

.config-check {
  width: 20px; height: 20px; border-radius: 4px;
  border: 2px solid var(--border); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: all 0.15s;
}
.config-item.active .config-check {
  background: var(--accent); border-color: var(--accent);
}
.config-check::after { content: '✓'; color: #000; font-size: 12px; font-weight: 700; opacity: 0; transition: opacity 0.15s; }
.config-item.active .config-check::after { opacity: 1; }

.config-radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: all 0.15s;
}
.config-item.active .config-radio {
  border-color: var(--accent);
}
.config-radio::after {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); opacity: 0; transition: opacity 0.15s;
}
.config-item.active .config-radio::after { opacity: 1; }

/* Quantity selector */
.qty-control { display: flex; align-items: center; gap: 12px; }
.qty-btn {
  width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s;
}
.qty-btn:hover { border-color: var(--accent); }
.qty-value { font-weight: 600; font-size: 16px; min-width: 24px; text-align: center; }

/* PRICE SUMMARY */
.price-summary {
  position: sticky; bottom: 0; background: var(--surface);
  border-top: 1px solid var(--border); padding: 24px 0;
  z-index: 50;
}
.price-summary-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.price-totals { display: flex; gap: 32px; }
.price-total-group label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.price-total-group .amount { font-size: 1.5rem; font-weight: 700; }
.price-total-group .amount.monthly { color: var(--green); }

.btn-checkout {
  padding: 16px 40px; font-size: 16px; border-radius: 8px;
  background: var(--accent); color: #000; font-weight: 700;
  border: none; cursor: pointer; transition: background 0.2s;
}
.btn-checkout:hover { background: var(--accent-dark); }
.btn-checkout:disabled { opacity: 0.5; cursor: not-allowed; }

/* VERTICALS SECTION */
.vertical-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.vertical-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.vertical-card .icon { font-size: 2.5rem; margin-bottom: 16px; }
.vertical-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.vertical-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

/* TESTIMONIAL */
.testimonial {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; margin-bottom: 20px;
}
.testimonial p { font-size: 15px; font-style: italic; margin-bottom: 12px; }
.testimonial .author { font-size: 13px; color: var(--text-muted); font-style: normal; }

/* FOOTER */
.oc-footer {
  padding: 48px 0; border-top: 1px solid var(--border);
  text-align: center; color: var(--text-muted); font-size: 13px;
}

/* VERTICAL PAGE HERO */
.vertical-hero { padding: 160px 0 60px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(6,182,212,0.08) 0%, transparent 60%);
}

/* SCROLL ANIMATIONS */
.fade-up { opacity: 1; transform: translateY(0); transition: opacity 0.6s, transform 0.6s; }
.fade-up.animate { opacity: 0; transform: translateY(24px); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 2rem; }
  section { padding: 60px 0; }
  .price-summary-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .price-totals { justify-content: center; }
  .btn-checkout { width: 100%; }
  .oc-nav-links { display: none; }
}
