:root {
  --bg: #070b14;
  --bg-soft: #0e1424;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --border: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);
  --text: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #10b981;
  --accent-soft: rgba(16, 185, 129, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 60px -15px rgba(2, 6, 23, 0.35);
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.logo-badge {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  display: grid;
  place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.logo span.dot {
  color: #38bdf8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--text-light-muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.6);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.22), transparent 45%),
              radial-gradient(circle at 80% 10%, rgba(16, 185, 129, 0.15), transparent 40%),
              var(--bg);
  color: var(--text-light);
  padding: 76px 0 88px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-light-muted);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.stat-item strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.stat-item span {
  font-size: 0.86rem;
  color: var(--text-light-muted);
}

/* Hero Preview Card */
.hero-mockup {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
}

.mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
  background: rgba(255, 255, 255, 0.25);
}

.mockup-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
}

.mockup-body {
  background: #0f172a;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-tag {
  font-size: 0.75rem;
  color: #38bdf8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.mockup-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.mockup-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.mockup-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  color: #e2e8f0;
}

.mockup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #6ee7b7;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-muted {
  background: var(--surface-muted);
}

.section-dark {
  background: var(--bg);
  color: var(--text-light);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-head p {
  color: var(--text-muted);
  max-width: 480px;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.16);
}

.case-preview {
  height: 200px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  position: relative;
}

.case-preview.dental {
  background: linear-gradient(135deg, #0284c7, #0f172a);
}
.case-preview.cosmetology {
  background: linear-gradient(135deg, #be185d, #31102f);
}
.case-preview.auto {
  background: linear-gradient(135deg, #ea580c, #18181b);
}
.case-preview.law {
  background: linear-gradient(135deg, #1e293b, #0f172a);
}
.case-preview.barber {
  background: linear-gradient(135deg, #b45309, #1c1917);
}
.case-preview.cafe {
  background: linear-gradient(135deg, #d97706, #78350f);
}
.case-preview.cleaning {
  background: linear-gradient(135deg, #059669, #064e3b);
}
.case-preview.fitness {
  background: linear-gradient(135deg, #7c3aed, #0f172a);
}

.case-badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.case-preview-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.case-preview-sub {
  font-size: 0.9rem;
  opacity: 0.88;
}

.case-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.case-body p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 16px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.case-tags span {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
}

.case-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

/* Benefits / Steps */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.info-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--primary);
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 1rem;
}

.info-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Pricing */
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
  position: relative;
}

.price-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.price-val {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 10px 0 6px;
}

.price-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 0.93rem;
}

.price-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  margin-right: 10px;
}

/* Calculator */
.calc-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}

.calc-group {
  margin-bottom: 18px;
}

.calc-group label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.calc-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-chip {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.calc-chip.active {
  background: #eff6ff;
  border-color: var(--primary);
  color: var(--primary);
}

.calc-result {
  background: var(--bg);
  color: #fff;
  border-radius: 14px;
  padding: 26px;
}

.calc-result small {
  color: var(--text-light-muted);
  font-size: 0.84rem;
}

.calc-result .big {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 6px 0 14px;
  color: #6ee7b7;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-a {
  display: none;
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.faq-item.open .faq-a {
  display: block;
}

/* CTA Footer */
.cta-box {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  border-radius: 22px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-box p {
  color: var(--text-light-muted);
  max-width: 520px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 920px) {
  .hero-grid,
  .portfolio-grid,
  .grid-4,
  .grid-3,
  .calc-box {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
}
