/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --accent-dark: #5b21b6;
  --bg: #0d0d14;
  --bg2: #13131f;
  --bg3: #1a1a2e;
  --surface: #1e1e30;
  --surface2: #252540;
  --border: #2e2e4a;
  --text: #e8e8f0;
  --text-muted: #8888aa;
  --text-dim: #5555770;
  --white: #ffffff;
  --green: #10b981;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: var(--accent-light);
}

.btn-outline {
  background: transparent;
  color: var(--accent-light);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-nav {
  background: var(--accent);
  color: var(--white);
  padding: 9px 20px;
  font-size: 14px;
}
.btn-nav:hover {
  background: var(--accent-dark);
  color: var(--white);
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo span { color: var(--accent-light); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-inner .btn-nav { margin-left: 16px; }

/* ===== HERO ===== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
}

.badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-light);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== SECTION COMMON ===== */
section { padding: 80px 0; }

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.section-sub a { color: var(--accent-light); }
.section-sub strong { color: var(--text); }

/* ===== WHAT ===== */
.what { background: var(--bg2); }

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.pillar:hover { border-color: var(--accent); }

.pillar-icon { font-size: 28px; margin-bottom: 14px; }
.pillar h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.pillar p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== CASE STUDY ===== */
.case-study { background: var(--bg3); }

.cs-label {
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.cs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}
.cs-card:hover { border-color: var(--green); }

.cs-icon { font-size: 26px; margin-bottom: 12px; }
.cs-card h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.cs-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }

.cs-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
}

.cs-result {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.7;
}
.cs-result strong { color: var(--green); }

/* ===== CATALOGUE ===== */
.catalogue { background: var(--bg); }

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.wf-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.wf-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.wf-featured {
  border-color: rgba(124, 58, 237, 0.4);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(124, 58, 237, 0.06) 100%);
}

.wf-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.wf-tag {
  display: inline-block;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}

.tag-finance  { background: rgba(251, 191, 36, 0.12); color: #fbbf24; border: 1px solid rgba(251,191,36,0.25); }
.tag-sales    { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16,185,129,0.25); }
.tag-phone    { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59,130,246,0.25); }
.tag-analytics{ background: rgba(249, 115, 22, 0.12); color: #fb923c; border: 1px solid rgba(249,115,22,0.25); }
.tag-clients  { background: rgba(236, 72, 153, 0.12); color: #f472b6; border: 1px solid rgba(236,72,153,0.25); }
.tag-marketing{ background: rgba(124, 58, 237, 0.12); color: #a78bfa; border: 1px solid rgba(124,58,237,0.25); }
.tag-ai       { background: rgba(124, 58, 237, 0.18); color: #c4b5fd; border: 1px solid rgba(124,58,237,0.4); }
.tag-jobs     { background: rgba(20, 184, 166, 0.12); color: #2dd4bf; border: 1px solid rgba(20,184,166,0.25); }
.tag-bookings { background: rgba(239, 68, 68, 0.12); color: #f87171; border: 1px solid rgba(239,68,68,0.25); }
.tag-shopping { background: rgba(234, 179, 8, 0.12); color: #facc15; border: 1px solid rgba(234,179,8,0.25); }
.tag-email    { background: rgba(99, 102, 241, 0.12); color: #818cf8; border: 1px solid rgba(99,102,241,0.25); }

.wf-card h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.wf-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }

.wf-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-light);
}

.wf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
}

.btn-buy {
  display: inline-block;
  padding: 5px 14px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-light);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-buy:hover {
  background: var(--accent);
  color: var(--white);
}

/* ===== PRICING ===== */
.pricing { background: var(--bg2); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 800px;
  margin-bottom: 28px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
}

.price-featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(124, 58, 237, 0.1) 100%);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.price-card h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.price-amount { font-size: 40px; font-weight: 800; color: var(--white); letter-spacing: -1px; margin-bottom: 4px; }
.price-was { font-size: 13px; color: var(--text-muted); text-decoration: line-through; margin-bottom: 16px; }
.price-card > p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }

.price-list {
  list-style: none;
  margin-bottom: 28px;
}
.price-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0;
}

.pricing-note {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg3);
  text-align: center;
}
.contact .section-sub { margin: 0 auto 28px; }

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

.footer-inner {
  text-align: center;
}

.footer .logo {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer .logo span { color: var(--accent-light); }

.footer p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 4px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  margin-top: 24px;
  font-size: 12px;
  color: #444466;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 72px 0 60px; }
  .hero-stats { gap: 28px; }
  .stat-num { font-size: 28px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
  .cs-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
}
