/* ==========================================================================
   Victech Designs — main stylesheet

   Brand colors and fonts live in :root just below. Change them there and
   the whole site updates.

   Sections (search for the name to jump there):
     Buttons · Top bar · Header · Hero · Industries marquee · Tabs ·
     Service screenshots · Grids & features · Steps · Pricing · Promise ·
     FAQ · CTA · Contact · Footer · Floating WhatsApp · Scroll reveal ·
     Responsive (tablet and phone layouts are at the bottom)
   ========================================================================== */

:root {
  /* Colors */
  --bg: #0b0f17;
  --bg-alt: #0f1420;
  --surface: #141a28;
  --surface-2: #1a2132;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ebf2;
  --muted: #9aa4b8;
  --accent: #4f8cff;
  --accent-2: #22d3ee;
  --grad: linear-gradient(135deg, var(--accent), var(--accent-2));
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.9rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.9rem;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 820px;
}
.section {
  padding: 96px 0;
}
.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.ico {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    border-color 0.2s;
}
.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}
.btn-primary {
  background: var(--grad);
  color: #06101f;
  box-shadow: 0 10px 30px -10px rgba(79, 140, 255, 0.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(34, 211, 238, 0.7);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(79, 140, 255, 0.08);
}
.btn-light {
  background: #fff;
  color: #0b0f17;
}
.btn-light:hover {
  transform: translateY(-2px);
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

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

/* Top bar */
.topbar {
  background: #070a10;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  gap: 16px;
}
.topbar-links {
  display: flex;
  gap: 24px;
}
.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.topbar a:hover {
  color: var(--text);
}
.topbar-cta {
  color: var(--accent-2);
  font-weight: 600;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 23, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
}
.logo b {
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 3px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}
.nav a:not(.btn) {
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:not(.btn):hover {
  color: var(--text);
}
.nav-btn {
  padding: 10px 18px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}

/* Hero */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70%;
  height: 120%;
  pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(79, 140, 255, 0.28), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(34, 211, 238, 0.18), transparent 70%);
  filter: blur(20px);
  animation: glow-drift 14s ease-in-out infinite alternate;
}
@keyframes glow-drift {
  to {
    transform: translate(-8%, 10%) scale(1.12);
  }
}
.hero .grad {
  background-image: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
  background-size: 200% auto;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% center;
  }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  opacity: 0.5;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 580px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 28px;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-points li::before {
  content: "✓";
  color: var(--accent-2);
  font-weight: 700;
  margin-right: 8px;
}

.quick-form {
  padding: 28px;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.quick-form h2 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.quick-form .muted {
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.quick-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 12px;
}
.quick-form input,
.quick-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  resize: vertical;
}
.quick-form input:focus,
.quick-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.2);
}
.quick-form input[aria-invalid="true"],
.quick-form textarea[aria-invalid="true"] {
  border-color: #f87171;
}
.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.form-error {
  color: #f87171;
  font-size: 0.88rem;
  margin: 12px 0 0;
}

/* Industries marquee */
.industries {
  padding: 32px 0;
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
}
.industries-title {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  white-space: nowrap;
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
}
@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.tabs button,
.toggle button {
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 999px;
  font: 600 0.92rem var(--font);
  cursor: pointer;
  transition: all 0.2s;
}
.tabs button:hover,
.toggle button:hover {
  color: var(--text);
}
.tabs button[aria-selected="true"],
.toggle button[aria-selected="true"] {
  background: var(--grad);
  color: #06101f;
  border-color: transparent;
}
.tab-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  padding: 44px;
  animation: fade 0.35s ease;
}
.tab-panel[hidden] {
  display: none;
}
.tab-panel h3 {
  font-size: 1.7rem;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.checks li {
  position: relative;
  padding-left: 30px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.14)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
.link-arrow {
  color: var(--accent-2);
  font-weight: 600;
}
.link-arrow:hover {
  text-decoration: underline;
}

/* Service screenshots: SVG mockups in assets/img/services/ (they animate on their own) */
.shot {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 30px 60px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(79, 140, 255, 0.06);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
}
.tab-panel:hover .shot {
  transform: translateY(-4px);
  box-shadow:
    0 40px 70px -30px rgba(79, 140, 255, 0.35),
    0 0 0 1px rgba(79, 140, 255, 0.2);
}
.tab-panels.in .shot {
  animation: v-pop 0.6s 0.1s both;
}
.tab-panels.in .shot::after {
  animation: sheen 1.4s 0.5s ease-out both;
}
@keyframes v-pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
}
@keyframes sheen {
  to {
    transform: translateX(100%);
  }
}

/* Panel text staggers in alongside the visual */
.tab-panels.in .tab-panel h3,
.tab-panels.in .tab-panel > div > p,
.tab-panels.in .tab-panel .checks li {
  animation: v-pop 0.45s both;
}
.tab-panels.in .tab-panel > div > p {
  animation-delay: 0.08s;
}
.tab-panels.in .tab-panel .checks li:nth-child(1) {
  animation-delay: 0.15s;
}
.tab-panels.in .tab-panel .checks li:nth-child(2) {
  animation-delay: 0.22s;
}
.tab-panels.in .tab-panel .checks li:nth-child(3) {
  animation-delay: 0.29s;
}
.tab-panels.in .tab-panel .checks li:nth-child(4) {
  animation-delay: 0.36s;
}
.tab-panels.in .tab-panel .checks li:nth-child(5) {
  animation-delay: 0.43s;
}

/* Grids & features */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  padding: 30px;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.feature:hover,
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 140, 255, 0.4);
}
.feature p {
  margin: 0;
}
.f-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(79, 140, 255, 0.12);
  border: 1px solid rgba(79, 140, 255, 0.25);
}
.f-icon svg,
.c-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  padding: 30px;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.step p {
  margin: 0;
}
.step-num {
  display: block;
  font: 800 2.4rem var(--font-head);
  margin-bottom: 10px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}

/* Pricing */
.toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 36px;
  width: max-content;
  max-width: 100%;
  padding: 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.toggle button {
  border: 0;
  background: transparent;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.pricing-grid[hidden] {
  display: none;
}
.price {
  position: relative;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.price .checks {
  flex: 1;
  margin-top: 8px;
}
.price .btn {
  width: 100%;
}
.amount {
  font: 800 3rem/1 var(--font-head);
  margin: 10px 0 20px;
}
.amount span {
  font-size: 1.4rem;
  vertical-align: top;
  color: var(--muted);
  margin-right: 2px;
}
.price-featured {
  border-color: transparent;
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 30px 60px -30px rgba(79, 140, 255, 0.55);
}
.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #06101f;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-note {
  text-align: center;
  margin: 32px 0 0;
}
.pricing-note a {
  color: var(--accent-2);
  font-weight: 600;
}

/* Promise */
.promise {
  padding: 64px 0;
}
.promise-item {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.promise-item strong {
  display: block;
  font: 800 2.1rem var(--font-head);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.promise-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 22px;
  transition: border-color 0.2s;
}
.faq details[open] {
  border-color: rgba(79, 140, 255, 0.4);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 30px 20px 0;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent-2);
  transition: transform 0.25s;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq details p {
  color: var(--muted);
  margin: 0 0 20px;
}

/* CTA */
.cta {
  padding: 0 0 96px;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 52px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(34, 211, 238, 0.45), transparent 50%),
    linear-gradient(135deg, #1e3a8a, #2563eb 55%, #0891b2);
}
.cta-inner h2 {
  margin-bottom: 8px;
}
.cta-inner p {
  margin: 0;
  opacity: 0.85;
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Contact */
#contact {
  padding-top: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 18px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-list small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-list a {
  font-weight: 600;
}
.contact-list a:hover {
  color: var(--accent-2);
}
.c-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(79, 140, 255, 0.12);
  border: 1px solid rgba(79, 140, 255, 0.25);
}
.map {
  overflow: hidden;
  min-height: 380px;
  padding: 0;
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.7) brightness(0.95);
}

/* Footer */
.footer {
  background: #070a10;
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-grid > div:first-child .muted {
  margin: 16px 0 20px;
  max-width: 280px;
}
.footer h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer-grid a:not(.btn):not(.logo) {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 0.93rem;
  word-break: break-word;
}
.footer-grid a:not(.btn):not(.logo):hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-block: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom a:hover {
  color: var(--text);
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s;
}
.wa-float:hover {
  transform: scale(1.08);
}
.wa-float svg {
  width: 32px;
  height: 32px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-inner,
  .tab-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .steps,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid {
    gap: 30px 22px;
  }
}
@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(11, 15, 23, 0.97);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav.open {
    display: flex;
  }
  .nav a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-btn {
    margin-top: 16px;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 72px 0;
  }
  .hero {
    padding: 56px 0 72px;
  }
  .hide-sm {
    display: none !important;
  }
  .topbar-cta {
    font-size: 0.8rem;
  }
  .grid-3,
  .steps,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .tab-panel {
    padding: 26px 20px;
    gap: 28px;
  }
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tabs button {
    flex: none;
  }
  .form-actions {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .cta-inner {
    padding: 34px 24px;
  }
  .cta-actions,
  .cta-actions .btn {
    width: 100%;
  }
  .toggle button {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
