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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  position: relative;
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(197, 248, 42, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(34, 211, 238, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* --- NAV --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav.menu-open {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 100vh !important;
  width: 100vw !important;
  background: #0a0a0a !important;
  z-index: 9999 !important;
  animation: fadeIn 0.25s ease forwards;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.logo:hover .logo-img {
  opacity: 0.9;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

.nav-links a {
  font-size: 14px;
  color: var(--muted-2);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--accent);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(197, 248, 42, 0.3);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* --- HERO --- */
.hero {
  padding: 80px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(197, 248, 42, 0.08);
  border: 1px solid rgba(197, 248, 42, 0.25);
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--accent);
  margin-bottom: 28px;
}

.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.5s infinite;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent) 0%, #a8e020 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 .stroke {
  -webkit-text-stroke: 1.5px var(--text);
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted-2);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(197, 248, 42, 0.35);
}

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

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

.btn svg {
  width: 16px;
  height: 16px;
}

/* --- Terminal --- */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

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

.terminal-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }

.terminal-title {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.terminal-body {
  padding: 20px;
  line-height: 1.8;
  max-height: 350px;
  overflow-y: auto;
}

.terminal-body::-webkit-scrollbar {
  width: 4px;
}
.terminal-body::-webkit-scrollbar-track {
  background: transparent;
}
.terminal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
.terminal-body .prompt {
  color: var(--accent);
}

.terminal-body .cmd {
  color: var(--text);
}

.terminal-body .out {
  color: var(--muted-2);
}

.terminal-body .ok {
  color: #4ade80;
}

.terminal-body .warn {
  color: #fbbf24;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* --- SECTIONS --- */
section {
  padding: 100px 0;
  position: relative;
}

.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-tag::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted-2);
  max-width: 600px;
}

/* --- BENTO STATS --- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 16px;
  margin-bottom: 100px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.bento-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}


.bento-big {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 2;
}

.stat-num {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, var(--text) 0%, var(--muted-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.bento-big .stat-num {
  font-size: 96px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted-2);
}

.bento-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.bento-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.6;
}

/* --- SERVICES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(197, 248, 42, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::after {
  opacity: 1;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card > p {
  color: var(--muted-2);
  margin-bottom: 24px;
  font-size: 15px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted-2);
}

.service-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* --- MARQUEE --- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  background: var(--surface);
  margin: 0 -24px;
}

.marquee-track {
  display: flex;
  gap: 64px;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 64px;
  white-space: nowrap;
}

.marquee-item::after {
  content: "◆";
  color: var(--accent);
  font-size: 12px;
}

/* --- CASES --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
}

.case-visual {
  height: 160px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.5%, var(--border) 49.5%, var(--border) 50.5%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, var(--border) 49.5%, var(--border) 50.5%, transparent 50.5%);
  background-size: 40px 40px;
  opacity: 0.4;
}

.case-visual .big-num {
  font-size: 72px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #a8e020);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
  letter-spacing: -0.04em;
}

.case-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(197, 248, 42, 0.08);
  border: 1px solid rgba(197, 248, 42, 0.25);
  margin-bottom: 16px;
  align-self: flex-start;
}

.case-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.case-card > p {
  color: var(--muted-2);
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.case-results {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-results div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-2);
}

.case-results div::before {
  content: "→";
  color: var(--accent);
}

.case-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.case-stack span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--muted-2);
  border: 1px solid var(--border);
}

/* --- PROCESS --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
  z-index: 0;
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  z-index: 1;
}

.process-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

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

/* --- PERFORMANCE --- */
.perf-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.perf-col h4 {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.perf-col.before h4 {
  color: var(--red);
}

.perf-col.after h4 {
  color: var(--accent);
}

.perf-metric {
  margin-bottom: 24px;
}

.perf-metric-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.perf-metric-label strong {
  color: var(--text);
  font-family: var(--font-mono);
}

.perf-bar {
  height: 8px;
  border-radius: 100px;
  background: var(--surface-3);
  overflow: hidden;
}

.perf-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}

.before .perf-bar-fill {
  background: linear-gradient(90deg, var(--red), #f87171);
}

.after .perf-bar-fill {
  background: linear-gradient(90deg, var(--accent), #a8e020);
}

/* --- PRICING --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  position: relative;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
}

.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(197, 248, 42, 0.04), var(--surface));
}
.price-card.featured::before {
  content: "Популярный";
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  z-index: 2;
}
.price-name {
  font-size: 14px;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.price-amount {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.price-amount span {
  font-size: 16px;
  color: var(--muted);
  font-weight: 400;
}

.price-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted-2);
}

.price-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.price-btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 14px;
  border-radius: 100px;
  background: var(--surface-3);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  transform: translateY(0);
}

.price-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.price-card.featured .price-btn {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.price-card.featured .price-btn:hover {
  background: #d4ff4a;
}

/* --- CALCULATOR --- */
.calc-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
}

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

.calc-group-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

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

.calc-opt {
  padding: 10px 16px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted-2);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-mono);
}

.calc-opt:hover {
  border-color: var(--border-2);
  color: var(--text);
}

.calc-opt.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.calc-result {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.calc-result-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.calc-total {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), #a8e020);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.calc-time {
  font-size: 14px;
  color: var(--muted-2);
  margin-bottom: 24px;
}

.calc-breakdown {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted-2);
}

.calc-breakdown-row strong {
  color: var(--text);
  font-family: var(--font-mono);
}

/* --- TESTIMONIALS --- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.testi-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 24px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
  font-size: 16px;
}

.testi-name {
  font-size: 14px;
  font-weight: 600;
}

.testi-role {
  font-size: 12px;
  color: var(--muted);
}

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--border-2);
}

.faq-q {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  text-align: left;
}

.faq-q-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
  font-family: var(--font-mono);
  font-size: 14px;
}

.faq-item.open .faq-q-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #000;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a-inner {
  padding: 0 28px 22px;
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1.7;
}

/* --- CTA --- */
.cta {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 20% 30%, rgba(197, 248, 42, 0.1), transparent 50%),
    radial-gradient(500px circle at 80% 70%, rgba(34, 211, 238, 0.08), transparent 50%);
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.cta p {
  font-size: 17px;
  color: var(--muted-2);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--muted-2);
  font-size: 14px;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--muted-2);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.footer-status .live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}

.footer-status .live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.5s infinite;
}

/* --- ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s, transform 0.8s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-big {
    grid-column: span 2;
  }
  .services-grid,
  .cases-grid,
  .pricing-grid,
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid::before {
    display: none;
  }
  .perf-wrap,
  .calc-wrap {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .nav-cta {
    display: none;
  }
  .logo {
    position: relative;
    z-index: 100;
  }
  .nav-links {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    text-align: center;
    z-index: 100;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation: none !important;
  }
  .nav-links.mobile-open a {
    font-size: 20px;
    font-weight: 500;
  }
  .burger {
    display: flex;
    position: relative;
    z-index: 100;
  }
  .burger span {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .burger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-big,
  .bento-wide {
    grid-column: span 1;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 64px 0;
  }
  .hero {
    padding: 48px 0 64px;
  }
  .cta {
    padding: 48px 24px;
  }
  .perf-wrap,
  .calc-wrap {
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --- PREMIUM ADDITIONS: STATUS PILL & GLOBAL MOUSE GLOW --- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(197, 248, 42, 0.08);
  border: 1px solid rgba(197, 248, 42, 0.25);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .4; }
}

/* Apply position relative & overflow hidden to all interactive cards except price-card */
.bento-card,
.service-card,
.case-card,
.case-full-card,
.testi-card,
.blog-card,
.process-step,
.faq-item {
  position: relative;
  overflow: hidden;
}

/* Dynamic mouse follow glow gradient */
.bento-card::after,
.service-card::after,
.case-card::after,
.case-full-card::after,
.price-card::after,
.testi-card::after,
.blog-card::after,
.process-step::after,
.faq-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(197, 248, 42, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}

.bento-card:hover::after,
.service-card:hover::after,
.case-card:hover::after,
.case-full-card:hover::after,
.price-card:hover::after,
.testi-card:hover::after,
.blog-card:hover::after,
.process-step:hover::after,
.faq-item:hover::after {
  opacity: 1;
}
/* Ensure content sits above glow */
.bento-card > *,
.service-card > *,
.case-card > *,
.case-full-card > *,
.price-card > *,
.testi-card > *,
.blog-card > *,
.process-step > *,
.faq-item > * {
  position: relative;
  z-index: 1;
}
