:root {
  --bg: #070b16;
  --bg-soft: #10182d;
  --panel: rgba(14, 23, 43, 0.75);
  --line: rgba(65, 184, 213, 0.3);
  --text: #e6eeff;
  --muted: #9fb0d2;
  --primary: #6b8dff;
  --primary-2: #3f6bff;
  --secondary-1: #41B8D5;
  --secondary-2: #6CE5E8;
  --wa: #25d366;
  --wa-dark: #16b357;
  --radius: 18px;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(63, 107, 255, 0.24), transparent 38%),
    radial-gradient(circle at 85% 10%, rgba(108, 229, 232, 0.16), transparent 30%),
    var(--bg);
  color: var(--text);
}

.site-header {
  backdrop-filter: blur(12px);
  background: rgba(7, 11, 22, 0.65);
  border-bottom: 1px solid rgba(134, 172, 255, 0.2);
}

.navbar {
  padding: 0.85rem 0;
}

.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  color: var(--text);
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-desktop .navbar-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.2rem;
}

.nav-link,
.navbar-nav .nav-link {
  color: var(--muted) !important;
  font-weight: 600;
  margin-right: 0.6rem;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.nav-link:hover,
.navbar-nav .nav-link:hover {
  color: #dce6ff !important;
}

.nav-link:focus,
.nav-link:active,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:active {
  color: #ffffff !important;
  background: transparent;
}

.nav-link.active,
.navbar-nav .nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.nav-cta {
  margin-left: 0.8rem;
  padding: 0.65rem 1.2rem;
  font-size: 0.88rem;
}

.nav-cta-login {
  margin-left: 0.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: var(--text) !important;
}

.nav-cta-login:hover {
  border-color: var(--secondary-2) !important;
  color: var(--secondary-2) !important;
  background: rgba(108, 229, 232, 0.08) !important;
}

/* ── Hamburger ── */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1102;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 6px 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, background 0.3s ease;
  transform-origin: center;
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--secondary-2);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--secondary-2);
}

/* ── Mobile Menu Overlay ── */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(63, 107, 255, 0.18), transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(108, 229, 232, 0.12), transparent 55%),
    rgba(7, 11, 22, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.mobile-menu-link {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  padding: 0.6rem 0;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu.open .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu-link:nth-child(2) { transition-delay: 0.18s; }
.mobile-menu.open .mobile-menu-link:nth-child(3) { transition-delay: 0.26s; }
.mobile-menu.open .mobile-menu-link:nth-child(4) { transition-delay: 0.34s; }

.mobile-menu-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-2), var(--secondary-1));
  transition: width 0.3s ease, left 0.3s ease;
}

.mobile-menu-link:hover {
  color: var(--secondary-2);
}

.mobile-menu-link:focus,
.mobile-menu-link:active {
  color: #ffffff;
  background: transparent;
}

.mobile-menu-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.5rem 1.4rem;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
}

.mobile-menu-link:hover::after {
  width: 100%;
  left: 0;
}

.mobile-menu-cta {
  margin-top: 2rem;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.4s ease 0.42s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.42s;
}

.mobile-menu.open .mobile-menu-cta {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 991px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

.btn-primary-tech,
.btn-outline-tech {
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.25s ease;
}


.hero-section {
  position: relative;
  min-height: 100svh;
  padding-top: 5.7rem;
  padding-bottom: 3rem;
  display: flex;
  align-items: center;
  overflow: visible;
}

.hero-section .row {
  min-height: calc(100svh - 5.7rem);
}

.hero-section::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 120px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(108, 229, 232, 0.22) 0%, transparent 68%);
  filter: blur(30px);
  pointer-events: none;
  animation: orbPulse 6s ease-in-out infinite;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.hero-orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(63, 107, 255, 0.18);
  top: 10%;
  left: -5%;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(108, 229, 232, 0.15);
  top: 60%;
  right: 5%;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 160px;
  height: 160px;
  background: rgba(107, 141, 255, 0.12);
  bottom: 15%;
  left: 40%;
  animation: orbFloat 14s ease-in-out infinite 2s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(130, 169, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 169, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 55% 40%, black 35%, transparent 88%);
  pointer-events: none;
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  0% { background-position: 0 0; }
  100% { background-position: 38px 38px; }
}

.eyebrow {
  color: var(--secondary-2);
  letter-spacing: 2px;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.hero-title {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.5rem, 3.5vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
  animation: heroTitleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(30px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-title span {
  color: #9cb4ff;
}

.gradient-shift {
  background: linear-gradient(130deg, #9cb4ff, var(--secondary-2), #9cb4ff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 4s ease-in-out infinite;
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle,
.lead-copy {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 760px;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-primary-tech {
  background: linear-gradient(130deg, var(--primary), var(--primary-2));
  color: #ffffff;
  border: 1px solid transparent;
  padding: 0.9rem 1.4rem;
  position: relative;
  overflow: hidden;
}

.btn-primary-tech:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(63, 107, 255, 0.35);
}

.btn-shimmer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--secondary-1), var(--secondary-2));
  transition: width 0.05s linear;
  z-index: 10;
}

.btn-outline-tech {
  background: transparent;
  color: #d5e0ff;
  border: 1px solid var(--line);
  padding: 0.9rem 1.4rem;
}

.btn-outline-tech:hover {
  color: #ffffff;
  border-color: #8da9ff;
}

.hero-microcopy {
  margin-top: 1rem;
  color: #8f9dbc;
  font-size: 0.94rem;
}

.ai-presence {
  margin-top: 1.1rem;
}

.ai-presence-full {
  margin-top: 0;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(108, 229, 232, 0.28);
  border-radius: var(--radius);
  background: rgba(8, 17, 33, 0.75);
}

.ai-presence-hero {
  margin-top: -1.2rem;
  margin-bottom: 1.5rem;
}

.ai-logo-strip {
  margin-top: 1rem;
  margin-bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  padding: 0.2rem 0 0;
}

.ai-logo-unit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e8f1ff;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.36rem 0.7rem 0.36rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(108, 229, 232, 0.35);
  background: linear-gradient(140deg, rgba(8, 17, 33, 0.88), rgba(15, 28, 52, 0.88));
  box-shadow: inset 0 0 0 1px rgba(65, 184, 213, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-logo-unit:hover {
  transform: translateY(-1px);
  border-color: rgba(108, 229, 232, 0.75);
  box-shadow: 0 8px 18px rgba(65, 184, 213, 0.2);
}

.ai-logo-strip-left {
  max-width: 100%;
}

.ai-logo-strip img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(108, 229, 232, 0.25);
  background: rgba(9, 18, 36, 0.95);
  padding: 0.22rem;
}

.ai-presence p {
  margin: 0 0 0.65rem;
  color: #c2d4f8;
  font-size: 0.9rem;
  font-weight: 700;
}

.ai-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  width: 100%;
}

.ai-logo-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.68rem;
  border: 1px solid rgba(108, 229, 232, 0.3);
  border-radius: 999px;
  background: rgba(8, 17, 33, 0.82);
  box-shadow: inset 0 0 0 1px rgba(65, 184, 213, 0.12);
  transition: all 0.25s ease;
}

.ai-logo-item:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 229, 232, 0.8);
  box-shadow: 0 8px 22px rgba(65, 184, 213, 0.28);
}

.ai-logo-item img {
  width: 18px;
  height: 18px;
  display: block;
  border-radius: 4px;
}

.ai-logo-item span {
  color: #eaf1ff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2px;
}

.status-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.1rem;
  box-shadow: var(--shadow);
}

.status-card h3 {
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.status-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
}

.status-card li {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-bottom: 1px dashed rgba(133, 171, 255, 0.23);
  padding: 0.65rem 0;
  font-size: 0.9rem;
}

.status-card li strong {
  color: #e7eeff;
}

.status-card p {
  margin: 0;
  color: #8fa3cf;
  font-size: 0.9rem;
}

.status-image {
  margin-top: 0.9rem;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(147, 182, 255, 0.33);
}

.hero-side-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(147, 182, 255, 0.33);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(108, 229, 232, 0.08);
  display: block;
  transform: perspective(1200px) rotateY(-6deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: heroImgFloat 6s ease-in-out infinite;
}

@keyframes heroImgFloat {
  0%, 100% { transform: perspective(1200px) rotateY(-6deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-4deg) translateY(-12px); }
}

.hero-side-image:hover {
  transform: perspective(1200px) rotateY(-2deg) translateY(-6px);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.5), 0 0 100px rgba(108, 229, 232, 0.12);
  animation-play-state: paused;
}

@media (min-width: 993px) {
  .hero-section .row > .col-lg-6:first-child {
    flex: 0 0 60%;
    max-width: 60%;
  }

  .hero-section .row > .col-lg-6:last-child {
    flex: 0 0 40%;
    max-width: 40%;
  }
}

@media (min-width: 993px) and (max-width: 1366px) {
  .hero-title {
    font-size: clamp(2.15rem, 3.2vw, 3rem);
    line-height: 1.14;
  }

  .hero-subtitle {
    font-size: 1.04rem;
    line-height: 1.57;
    max-width: 640px;
  }

  .hero-actions .btn-primary-tech,
  .hero-actions .btn-outline-tech {
    font-size: 0.9rem;
    padding: 0.78rem 1.08rem;
  }

  .hero-side-image {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .ai-logo-strip {
    gap: 0.55rem 0.7rem;
  }

  .ai-logo-unit {
    font-size: 0.78rem;
    padding: 0.32rem 0.62rem 0.32rem 0.38rem;
  }
}

@media (min-width: 993px) and (max-height: 860px) {
  .hero-section {
    min-height: auto;
    padding-top: 5.5rem;
    padding-bottom: 2.2rem;
    align-items: flex-start;
  }

  .hero-section .row {
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(1.95rem, 3vw, 2.6rem);
    margin-bottom: 0.7rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.48;
  }

  .hero-actions {
    margin-top: 1.1rem;
  }

  .hero-microcopy {
    margin-top: 0.7rem;
    font-size: 0.82rem;
  }

  .hero-side-image {
    max-width: 500px;
  }
}

.proof-strip {
  padding: 3rem 0 2.6rem;
}

.proof-strip .section-head {
  margin-bottom: 2rem;
}

/* ── Proof Showcase (Fatti capire / scegliere / misura) ── */

.proof-showcase {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(10, 18, 34, 0.85);
  box-shadow: var(--shadow);
}

.proof-triggers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-trigger {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.6rem 1.4rem 1.8rem;
  border: none;
  border-right: 1px solid rgba(65, 184, 213, 0.12);
  border-bottom: 1px solid rgba(65, 184, 213, 0.12);
  background: rgba(7, 11, 22, 0.65);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: background 0.35s ease, color 0.35s ease;
}

.proof-trigger:last-child {
  border-right: none;
}

.proof-trigger:hover {
  background: rgba(65, 184, 213, 0.06);
  color: var(--text);
}

.proof-trigger.active {
  background: rgba(65, 184, 213, 0.1);
  color: #ffffff;
  border-bottom-color: transparent;
}

.proof-trigger-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: 1px solid rgba(108, 229, 232, 0.25);
  color: var(--secondary-2);
  background: rgba(108, 229, 232, 0.06);
  transition: all 0.35s ease;
}

.proof-trigger.active .proof-trigger-icon {
  background: linear-gradient(140deg, var(--secondary-2), var(--secondary-1));
  color: #03151d;
  border-color: transparent;
  box-shadow: 0 0 22px rgba(108, 229, 232, 0.4);
}

.proof-trigger h3 {
  font-size: 1.1rem;
  margin: 0.2rem 0 0;
}

.proof-trigger p {
  display: none;
}

.proof-trigger-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--secondary-2), var(--secondary-1));
}

.proof-trigger.active .proof-trigger-bar {
  animation: proofProgress 7s linear forwards;
}

@keyframes proofProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.proof-terminal {
  display: flex;
  flex-direction: column;
  background: #050a14;
}

.proof-terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1.2rem;
  border-bottom: 1px solid rgba(65, 184, 213, 0.12);
  background: rgba(7, 11, 22, 0.8);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(108, 229, 232, 0.25);
}

.terminal-dot:first-child { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.terminal-label {
  margin-left: 0.6rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: rgba(108, 229, 232, 0.5);
  text-transform: uppercase;
}

.proof-terminal-body {
  padding: 2.8rem 3rem 3.2rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(108, 229, 232, 0.04), transparent 60%),
    transparent;
}

.proof-typed-text {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  max-width: 680px;
  min-height: 3em;
}

.typed-cursor {
  display: inline-block;
  color: var(--secondary-2);
  font-weight: 300;
  animation: cursorBlink 0.7s steps(1) infinite;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.funziona-side-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius);
  border: 1px solid rgba(108, 229, 232, 0.35);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-6deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.funziona-side-image:hover {
  transform: perspective(1200px) rotateY(-2deg) translateY(-3px);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.42);
}

/* ── Showcase Image ── */

.showcase-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.showcase-frame {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.showcase-glow {
  position: absolute;
  inset: -30px;
  border-radius: 30px;
  background: radial-gradient(ellipse at 50% 50%, rgba(108, 229, 232, 0.12), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  animation: showcasePulse 5s ease-in-out infinite;
}

@keyframes showcasePulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.showcase-img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid rgba(108, 229, 232, 0.3);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(108, 229, 232, 0.06);
  transform: perspective(1000px) rotateX(3deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.showcase-img:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-8px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(108, 229, 232, 0.1);
}

/* ── Flow Interactive (Come funziona) ── */

.flow-interactive {
  margin-top: 2.4rem;
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(10, 18, 34, 0.85);
  box-shadow: var(--shadow);
  min-height: 380px;
}

.flow-tabs {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: rgba(7, 11, 22, 0.65);
}

.flow-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem 1.3rem;
  border: none;
  border-bottom: 1px solid rgba(65, 184, 213, 0.12);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  text-align: left;
  flex: 1;
}

.flow-tab:last-child {
  border-bottom: none;
}

.flow-tab:hover {
  background: rgba(65, 184, 213, 0.06);
  color: var(--text);
}

.flow-tab.active {
  background: rgba(65, 184, 213, 0.1);
  color: #ffffff;
}

.flow-tab-num {
  font-family: "Orbitron", sans-serif;
  font-size: 0.75rem;
  color: var(--secondary-2);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(108, 229, 232, 0.3);
  transition: all 0.3s ease;
}

.flow-tab.active .flow-tab-num {
  background: linear-gradient(140deg, var(--secondary-2), var(--secondary-1));
  color: #03151d;
  border-color: transparent;
  box-shadow: 0 0 18px rgba(108, 229, 232, 0.4);
}

.flow-tab-label {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2px;
}

.flow-tab-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--secondary-2), var(--secondary-1));
  transition: none;
}

.flow-tab.active .flow-tab-bar {
  animation: flowProgress 6s linear forwards;
}

@keyframes flowProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.flow-panels {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.flow-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.flow-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.flow-panel-inner {
  padding: 2.8rem 3rem;
  max-width: 520px;
}

.flow-panel-num {
  font-family: "Orbitron", sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  background: linear-gradient(140deg, var(--secondary-2), rgba(108, 229, 232, 0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}

.flow-panel h3 {
  font-size: 1.55rem;
  margin: 0 0 0.7rem;
  color: #ffffff;
}

.flow-panel p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.4rem;
}

.flow-panel-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.flow-panel-detail span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary-2);
  border: 1px solid rgba(108, 229, 232, 0.25);
  background: rgba(108, 229, 232, 0.06);
}

.flow-panel-detail i {
  font-size: 0.78rem;
}

.section-space {
  padding: 5.4rem 0;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  margin-top: 0.45rem;
}

.bg-panel {
  background: linear-gradient(180deg, transparent, rgba(31, 47, 83, 0.22));
}

.step-card,
.feature-card,
.lead-form,
.faq-grid article {
  background: rgba(12, 21, 39, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-card {
  padding: 1.3rem;
  min-height: 210px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.offerta-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.offerta-card i {
  font-size: 1.6rem;
  color: var(--secondary-2);
  margin-bottom: 0.9rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(108, 229, 232, 0.2);
  background: rgba(108, 229, 232, 0.06);
  transition: all 0.35s ease;
}

.offerta-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 229, 232, 0.45);
  box-shadow: 0 16px 40px rgba(65, 184, 213, 0.15);
}

.offerta-card:hover i {
  background: linear-gradient(140deg, var(--secondary-2), var(--secondary-1));
  color: #03151d;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(108, 229, 232, 0.35);
}

.step-number {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: #abc0ff;
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
}

.step-card h3 {
  font-size: 1.2rem;
}

.step-card p,
.feature-card p {
  color: var(--muted);
  margin: 0;
}

.feature-card {
  padding: 1.35rem;
  height: 100%;
}

.feature-card i {
  font-size: 1.4rem;
  color: var(--secondary-1);
  margin-bottom: 0.65rem;
}

/* ── Differentiators Grid (Perché funziona) ── */

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.diff-card {
  position: relative;
  border-radius: var(--radius);
  padding: 2px;
  background: rgba(12, 21, 39, 0.8);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.diff-card-border {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 30%,
    var(--secondary-2) 50%,
    transparent 70%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderSpin 4s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.diff-card:hover .diff-card-border {
  opacity: 1;
}

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderSpin {
  to { --border-angle: 360deg; }
}

.diff-card-content {
  position: relative;
  padding: 2.2rem 1.8rem;
  border-radius: calc(var(--radius) - 2px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(108, 229, 232, 0.04), transparent 60%),
    rgba(12, 21, 39, 0.95);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: background 0.4s ease;
}

.diff-card:hover .diff-card-content {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(108, 229, 232, 0.12), transparent 60%),
    rgba(12, 21, 39, 0.95);
}

.diff-card:hover {
  transform: translateY(-6px);
}

.diff-grid:hover .diff-card:not(:hover) {
  opacity: 0.5;
  filter: blur(1px);
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

.diff-num {
  font-family: "Orbitron", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(140deg, var(--secondary-2), rgba(108, 229, 232, 0.12));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.diff-card-content i {
  font-size: 1.3rem;
  color: var(--secondary-2);
  margin-bottom: 0.8rem;
}

.diff-card-content h3 {
  font-size: 1.25rem;
  margin: 0 0 0.55rem;
}

.diff-card-content p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.lead-section {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(108, 229, 232, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(63, 107, 255, 0.08), transparent 50%),
    rgba(10, 18, 34, 0.6);
  border-top: 1px solid rgba(108, 229, 232, 0.15);
  border-bottom: 1px solid rgba(108, 229, 232, 0.15);
}

.lead-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary-2), transparent);
}

.lead-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary-1), transparent);
}

.lead-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.demo-includes {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.demo-include-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(108, 229, 232, 0.15);
  background: rgba(10, 18, 34, 0.6);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-include-item:hover {
  border-color: rgba(108, 229, 232, 0.45);
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(65, 184, 213, 0.12);
}

.demo-include-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--secondary-2);
  border: 1px solid rgba(108, 229, 232, 0.25);
  background: rgba(108, 229, 232, 0.06);
}

.demo-include-item h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
  color: #ffffff;
}

.demo-include-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.lead-points {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.lead-points li {
  color: #cbd8ff;
  font-weight: 600;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.lead-points i {
  color: var(--wa);
}

.lead-form {
  padding: 1.3rem;
  box-shadow: var(--shadow);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
}

.form-feedback.error {
  display: block;
  background: rgba(255, 95, 87, 0.12);
  border: 1px solid rgba(255, 95, 87, 0.35);
  color: #ff5f57;
}

.lead-form-glow:focus-within {
  border-color: rgba(108, 229, 232, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(108, 229, 232, 0.1);
}

.form-label {
  color: #d7e2ff;
  font-weight: 600;
}

.form-control {
  background: #091225;
  border: 1px solid rgba(140, 176, 255, 0.35);
  color: #e7efff;
  border-radius: 12px;
  padding: 0.72rem 0.84rem;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.88);
  opacity: 1;
}

.form-control::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.88);
}

.form-control::-moz-placeholder {
  color: rgba(255, 255, 255, 0.88);
  opacity: 1;
}

.form-control:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.88);
}

.form-control:focus {
  background: #091225;
  color: #ffffff;
  border-color: #8eabff;
  box-shadow: 0 0 0 0.25rem rgba(77, 124, 255, 0.22);
}

.form-control[type="date"],
.form-control[type="time"] {
  color-scheme: dark;
  cursor: pointer;
}

.form-control[type="date"]::-webkit-calendar-picker-indicator,
.form-control[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(2) hue-rotate(180deg);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.form-control[type="date"]::-webkit-calendar-picker-indicator:hover,
.form-control[type="time"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.form-consent {
  margin-top: 0.95rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(140, 176, 255, 0.25);
  background: rgba(9, 18, 37, 0.6);
}

.form-consent .form-check {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.form-consent .form-check-input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.1rem;
  background-color: #091225;
  border: 1px solid rgba(140, 176, 255, 0.55);
  box-shadow: none;
}

.form-consent .form-check-input:checked {
  background-color: var(--secondary-2);
  border-color: var(--secondary-2);
}

.form-consent .form-check-input:focus {
  border-color: #8eabff;
  box-shadow: 0 0 0 0.2rem rgba(77, 124, 255, 0.2);
}

.form-consent .form-check-label {
  color: #d7e2ff;
  font-size: 0.84rem;
  line-height: 1.45;
}

.form-consent .form-check-label a {
  color: var(--secondary-2);
  text-decoration: underline;
}

.form-consent .form-check-label a:hover {
  color: #c5f8ff;
}

.consent-required {
  color: #ffb6b6;
}

.faq-section {
  padding-top: 4.2rem;
}

.visuals-section {
  padding-top: 2rem;
}

.visual-card {
  background: rgba(10, 18, 34, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.visual-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(147, 182, 255, 0.35);
}

.visual-card h3 {
  margin: 0.9rem 0 0.3rem;
  font-size: 1rem;
}

.faq-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-grid article {
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-grid article.open {
  border-color: rgba(108, 229, 232, 0.5);
  box-shadow: 0 8px 24px rgba(65, 184, 213, 0.15);
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.faq-toggle h3 {
  font-size: 1rem;
  margin: 0;
}

.faq-toggle i {
  color: var(--secondary-2);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.4s ease;
  padding: 0 1.2rem;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 1.2rem 1.2rem;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
}


.site-footer {
  border-top: none;
  padding: 1.2rem 0 1.5rem;
  margin-top: 2.4rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary-1), var(--secondary-2), transparent);
}

.site-footer p {
  margin: 0;
  color: #9badcf;
  text-align: center;
  font-size: 0.94rem;
}

.footer-brand {
  margin-bottom: 0.4rem !important;
}

.footer-legal {
  font-size: 0.78rem !important;
  color: #677899 !important;
  letter-spacing: 0.02em;
}

.footer-policy {
  margin-top: 0.5rem !important;
  font-size: 0.78rem !important;
}

.footer-policy a {
  color: #677899 !important;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-policy a:hover {
  color: var(--secondary-2) !important;
}

.footer-policy-sep {
  margin: 0 0.5rem;
  color: #4a5a75;
}

/* ── Mobile Menu Close Button ── */

.mobile-menu-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: 1px solid rgba(108, 229, 232, 0.25);
  border-radius: 50%;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 1103;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease 0.15s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, color 0.25s ease, border-color 0.25s ease;
}

.mobile-menu.open .mobile-menu-close {
  opacity: 1;
  transform: scale(1);
}

.mobile-menu-close:hover {
  color: var(--secondary-2);
  border-color: rgba(108, 229, 232, 0.6);
  background: rgba(108, 229, 232, 0.06);
}

.mobile-menu-login {
  margin-top: 1.2rem;
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.mobile-menu-login:hover {
  color: var(--secondary-2) !important;
}

.mobile-menu-login i {
  margin-left: 0.3rem;
}

@media (max-width: 992px) {
  .navbar {
    padding: 0.7rem 0;
  }

  .brand-logo {
    height: 40px;
  }

  .mobile-menu-inner {
    width: min(100%, 560px);
    padding: 5.2rem 1.2rem 2rem;
    max-height: 100dvh;
    overflow-y: auto;
  }

  .mobile-menu-link {
    font-size: clamp(1.25rem, 4.2vw, 1.7rem);
    text-align: center;
  }

  .mobile-menu-cta {
    width: 100%;
    max-width: 340px;
    text-align: center;
  }

  .hero-orb {
    display: none;
  }

  /* ── Hero: struttura ── */
  .hero-section {
    min-height: auto;
    padding-top: 5.2rem;
    padding-bottom: 3.5rem;
    overflow: visible;
    align-items: flex-start;
  }

  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.14;
    letter-spacing: -0.35px;
    margin-bottom: 0.8rem;
  }

  .hero-subtitle {
    font-size: 1.04rem;
    line-height: 1.55;
  }

  .hero-microcopy {
    font-size: 0.85rem;
  }

  .ai-logo-strip {
    gap: 0.55rem 0.65rem;
  }

  .ai-logo-unit {
    font-size: 0.78rem;
    padding: 0.3rem 0.58rem 0.3rem 0.35rem;
  }

  .ai-logo-strip img {
    width: 20px;
    height: 20px;
  }

  .hero-actions {
    margin-top: 1.2rem;
    gap: 0.6rem;
  }

  .hero-actions .btn-primary-tech,
  .hero-actions .btn-outline-tech {
    font-size: 0.94rem;
    padding: 0.78rem 1.05rem;
  }

  .hero-section .row {
    min-height: auto !important;
  }

  .hero-section::after {
    display: none;
  }

  .hero-side-image {
    transform: none;
    animation: none;
    height: auto;
    margin-top: 2rem;
  }

  .funziona-side-image {
    transform: none;
  }

  /* ── Sezioni ── */
  .proof-triggers {
    grid-template-columns: 1fr;
  }

  .proof-trigger {
    border-right: none;
  }

  .proof-terminal-body {
    padding: 1.35rem 1.1rem 1.6rem;
    min-height: 150px;
  }

  .proof-typed-text {
    font-size: 1.05rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .diff-grid:hover .diff-card:not(:hover) {
    opacity: 1;
    filter: none;
  }

  .flow-interactive {
    flex-direction: column;
    min-height: auto;
  }

  .flow-tabs {
    flex: 0 0 auto;
    flex-direction: row;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: none;
    border-bottom: 1px solid var(--line);
    overflow: visible;
  }

  .flow-tab {
    flex: 1 1 auto;
    padding: 1rem;
    border-bottom: none;
    border-right: 1px solid rgba(65, 184, 213, 0.12);
    justify-content: center;
    gap: 0.5rem;
  }

  .flow-tab:last-child {
    border-right: none;
  }

  .flow-tab:nth-child(2n) {
    border-right: none;
  }

  .flow-tab:nth-child(-n+2) {
    border-bottom: 1px solid rgba(65, 184, 213, 0.12);
  }

  .flow-tab-label {
    font-size: 0.85rem;
  }

  .flow-panels {
    min-height: 420px;
    overflow: visible;
  }

  .flow-panel-inner {
    padding: 1.6rem 1.3rem;
    max-width: 100%;
  }

  .flow-panel-num {
    font-size: 2.4rem;
  }

  .flow-panel h3 {
    font-size: 1.3rem;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .hero-title {
    font-size: 2.35rem !important;
    line-height: 1.14;
  }

  .hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.58;
  }

  .hero-side-image {
    max-width: 640px;
    margin: 1.4rem auto 0;
  }

  .hero-actions .btn-primary-tech,
  .hero-actions .btn-outline-tech {
    font-size: 0.92rem;
    padding: 0.82rem 1.12rem;
  }
}

@media (max-width: 768px) {
  .brand-logo {
    height: 34px;
  }

  .mobile-menu-close {
    top: 0.8rem;
    right: 0.8rem;
    width: 40px;
    height: 40px;
  }

  .hero-title {
    font-size: 2.25rem !important;
    line-height: 1.15;
    letter-spacing: -0.2px;
    margin-top: 0.35rem;
    margin-bottom: 0.65rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-microcopy {
    font-size: 0.8rem;
  }

  .hero-actions .btn-primary-tech,
  .hero-actions .btn-outline-tech {
    width: 100%;
  }

  .ai-logo-strip {
    justify-content: center;
    flex-wrap: wrap;
  }

  .section-space {
    padding: 3.6rem 0;
  }
}

@media (max-width: 576px) {
  .navbar > .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .mobile-menu-link {
    font-size: 1.12rem;
    padding: 0.5rem 0;
  }

  .mobile-menu-cta {
    margin-top: 1.25rem;
    padding: 0.82rem 1rem;
    font-size: 0.9rem;
  }

  .mobile-menu-login {
    margin-top: 0.8rem;
    font-size: 0.9rem !important;
  }

  .hero-title {
    font-size: 1.95rem !important;
    line-height: 1.16;
  }

  .hero-subtitle {
    font-size: 0.93rem;
    line-height: 1.45;
  }

  .hero-actions .btn-primary-tech,
  .hero-actions .btn-outline-tech {
    font-size: 0.84rem;
    padding: 0.72rem 0.95rem;
  }

  .hero-section {
    padding-top: 5.35rem;
    padding-bottom: 2.5rem;
  }

  .hero-side-image {
    margin-top: 1.2rem;
    border-radius: 14px;
  }

  .showcase-section {
    padding: 2.6rem 0;
  }

  .showcase-frame {
    max-width: 100%;
  }

  .showcase-img {
    border-radius: 14px;
    transform: none;
  }

  .proof-typed-text {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .flow-panels {
    min-height: 460px;
  }

  .flow-panel-inner {
    padding: 1.35rem 1.05rem;
  }

  .faq-toggle {
    padding: 1rem;
    gap: 0.75rem;
  }

  .faq-toggle h3 {
    font-size: 0.93rem;
  }

  .demo-include-item {
    padding: 0.85rem 0.9rem;
    gap: 0.75rem;
  }

  .demo-include-item h4 {
    font-size: 0.92rem;
  }

  .demo-include-item p {
    font-size: 0.84rem;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 1.68rem !important;
    line-height: 1.18;
  }

  .hero-section {
    padding-top: 5.2rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
  }
}
