/* ============================================================
   CONTROL SELL — style.css
   ============================================================ */

/* ── Variables ── */
:root {
  --orange:   #F15A24;
  --orange-d: #d94a1b;
  --dark:     #1A1A1A;
  --darker:   #111111;
  --light:    #ECECEC;
  --white:    #ffffff;
  --muted:    #64748b;
  --border-w: rgba(255,255,255,0.1);
  --border-d: rgba(0,0,0,0.08);
  --radius:   2rem;
  --radius-sm:1rem;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Utilities ── */
.container      { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 2; }
.container-narrow { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 2; }
.text-center    { text-align: center; }
.text-orange    { color: var(--orange); }
.text-white     { color: var(--white); }
.white-60       { color: rgba(255,255,255,0.6); }
.hidden         { display: none !important; }
.bg-dark        { background: var(--dark); }
.bg-darker      { background: var(--darker); }
.bg-light       { background: var(--light); }
.upper          { text-transform: uppercase; }
.mb-16          { margin-bottom: 4rem; }

.label-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 1rem;
}
.label-dot  { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.label-icon { font-size: 1rem; }

.section-h2 {
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.section-h2.dark  { color: var(--dark); }
.section-h2.white { color: var(--white); }

.section-sub {
  font-size: 0.95rem; line-height: 1.75; max-width: 60ch;
  margin: 0 auto 3rem;
}
.section-sub.muted    { color: var(--muted); }
.section-sub.white-60 { color: rgba(255,255,255,0.6); }

.section-center { text-align: center; margin-bottom: 5rem; }
.section-header { margin-bottom: 4rem; }

.body-text { font-size: 1rem; line-height: 1.75; }
.body-text.muted    { color: var(--muted); }
.body-text.white-60 { color: rgba(255,255,255,0.6); }

.icon-orange { color: var(--orange); }
.icon-sm  { font-size: 1.25rem; }
.icon-lg  { font-size: 2rem; }
.icon-xl  { font-size: 2.5rem; }

/* ── Reveal animations ── */
.reveal, .reveal-step, .reveal-left, .reveal-right {
  opacity: 0; transform: translateY(3rem); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--rd, 0s);
}
.reveal-left  { transform: translateX(-3rem); }
.reveal-right { transform: translateX(3rem); }
.reveal.in, .reveal-step.in, .reveal-left.in, .reveal-right.in {
  opacity: 1; transform: translate(0);
}

/* ── Curtain Reveal ── */
.curtain {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; display: flex; overflow: hidden;
}
.curtain-left, .curtain-right {
  width: 50%; height: 100%; background: #0a0a0a;
  animation: curtainOpen 1.4s cubic-bezier(0.76,0,0.24,1) 0.8s forwards;
}
.curtain-right { animation-name: curtainOpenRight; }
@keyframes curtainOpen      { to { transform: translateX(-100%); } }
@keyframes curtainOpenRight { to { transform: translateX(100%); } }
.curtain-laser {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2px; height: 100%;
  background: var(--orange);
  box-shadow: 0 0 20px 2px rgba(241,90,36,0.5);
  transform-origin: top;
  animation: laserReveal 0.8s cubic-bezier(0.76,0,0.24,1) forwards;
}
@keyframes laserReveal {
  0%   { transform: translateX(-50%) scaleY(0); opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(-50%) scaleY(1); opacity: 0; }
}

/* ── Floating Dock ── */
.floating-dock {
  position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 1rem;
  height: 4rem; padding: 0 1rem;
  background: rgba(0,0,0,0.2); backdrop-filter: blur(24px);
  border: 1px solid var(--border-w); border-radius: 999px;
  z-index: 50; box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  opacity: 0; animation: dockIn 1s cubic-bezier(0.16,1,0.3,1) 2s forwards;
}
@keyframes dockIn { to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.dock-logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; }
.dock-sep { width: 1px; height: 2rem; background: var(--border-w); margin: 0 0.5rem; }
.dock-items { display: flex; align-items: center; gap: 0.5rem; }
.dock-item {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-w);
  color: var(--white); font-size: 1.25rem; transition: background 0.3s, transform 0.15s;
  overflow: visible;
}
.dock-item:hover { background: var(--orange); }
.dock-tooltip {
  position: absolute; top: calc(100% + 0.5rem);
  left: 50%; transform: translateX(-50%) translateY(-4px);
  padding: 0.25rem 0.75rem;
  background: var(--dark); border: 1px solid var(--border-w);
  font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 999px; white-space: nowrap; color: var(--white);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.dock-item:hover .dock-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 1024px) { .floating-dock { display: none; } }

/* ── Buttons ── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  overflow: hidden; clip-path: inset(0); transition: color 0.3s;
}
.btn-primary  { background: var(--orange); color: var(--white); border: 1px solid var(--orange); }
.btn-secondary{ background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.6); }
.btn-text, .btn > span:not(.btn-fill) { position: relative; z-index: 1; pointer-events: none; }
.btn-fill {
  position: absolute; border-radius: 50%;
  width: 0; height: 0;
  transform: translate(-50%, -50%);
  transition: width 0.5s cubic-bezier(0.16,1,0.3,1), height 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.5s;
  opacity: 0; pointer-events: none;
}
.btn-primary  .btn-fill { background: var(--orange-d); }
.btn-secondary .btn-fill { background: rgba(255,255,255,0.12); }
.btn:hover .btn-fill { width: 400px; height: 400px; opacity: 1; }

/* ── Liquid glass ── */
.liquid-glass {
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-w);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ── DATA FLOW SVG ── */
main { position: relative; }
.data-flow-wrap {
  position: absolute; left: 0; width: 100%;
  pointer-events: none; z-index: 1; overflow: hidden; opacity: 0.5;
}
.data-flow-wrap svg { width: 100%; height: 100%; }
.df-track { fill: none; stroke: rgba(241,90,36,0.15); stroke-width: 1; vector-effect: non-scaling-stroke; }
.df-line  { fill: none; stroke: var(--orange); stroke-width: 2; vector-effect: non-scaling-stroke; }
.data-flow-top    { top: 0; }
.data-flow-bottom { }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100dvh; overflow: hidden;
  background: var(--dark); display: flex; align-items: center;
}
#constellationCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.noise-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.03;
  background-image: url('https://grainy-gradients.vercel.app/noise.svg');
}
.hero-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 3rem; align-items: center;
  position: relative; z-index: 10; width: 100%; padding-top: 2rem;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; } }

.hero-anim {
  opacity: 0; transform: translateY(2rem);
  animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) both;
  animation-delay: calc(1.5s + var(--ai, 0) * 0.1s);
}
@keyframes heroFadeUp { to { opacity: 1; transform: none; } }

.hero-left { display: flex; flex-direction: column; align-items: flex-start; padding-top: 5rem; }

.badge {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 2rem;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

.hero-h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.03em;
  text-transform: uppercase; color: var(--white); margin-bottom: 1.5rem;
}
.hero-br { display: inline; }
.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,0.6);
  max-width: 50ch; line-height: 1.7; margin-bottom: 3rem;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* Hero right */
.hero-right {
  display: none; position: relative; height: 500px;
  opacity: 0; transform: scale(0.95);
  animation: heroRight 1.2s cubic-bezier(0.16,1,0.3,1) 1.5s both;
}
@keyframes heroRight { to { opacity:1; transform:scale(1); } }
@media (min-width: 1024px) { .hero-right { display: block; } }

.hero-ring {
  position: absolute; inset: 0; margin: auto;
  width: 450px; height: 450px; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.1);
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; z-index: 20;
  animation: floatY var(--fd, 7s) ease-in-out infinite;
  animation-delay: var(--fdelay, 0s);
}
.float-card-1 { top: 3%;  left: 2%;  width: 15rem; }
.float-card-2 { top: 40%; right: 2%; width: 16rem; z-index: 30; animation-duration: 5s; animation-delay: 1s; }
.float-card-3 { top: 72%; left: 5%;  width: 16rem; animation-duration: 8s; animation-delay: 2s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.tilt-card {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2rem; padding: 1.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  transform-style: preserve-3d; transition: transform 0.15s ease-out;
}

.card-icon-orange { font-size: 1.5rem; color: var(--orange); margin-bottom: 0.5rem; }

.counter {
  font-size: 3.75rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.card-desc { color: rgba(255,255,255,0.7); font-size: 0.6875rem; margin-top: 0.5rem; line-height: 1.4; }

.hero-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16rem; height: 16rem;
  background: var(--orange); border-radius: 50%; filter: blur(100px); opacity: 0.1;
}

.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 1rem; z-index: 10;
}
.scroll-hint span {
  font-size: 0.5625rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); font-weight: 700;
}
.scroll-line-hint {
  width: 1px; height: 3rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

/* ── PARTNERS ── */
.partners { padding: 6rem 0; border-bottom: 1px solid var(--border-d); }
.partners-h3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.02em;
  color: rgba(0,0,0,0.5); margin-bottom: 3rem;
}
.marquee-wrap { position: relative; width: 100%; overflow: hidden; z-index: 2; }
.marquee-fade-l, .marquee-fade-r {
  position: absolute; top: 0; bottom: 0; width: 8rem; z-index: 10; pointer-events: none;
}
.marquee-fade-l { left: 0;  background: linear-gradient(to right, var(--light), transparent); }
.marquee-fade-r { right: 0; background: linear-gradient(to left,  var(--light), transparent); }
.marquee-viewport { overflow: hidden; }
.marquee-inner { display: flex; width: max-content; }
.marquee-set   { display: flex; gap: 4rem; padding: 0 2rem; align-items: center; flex-shrink: 0; }
.partner-logo {
  width: 8rem; height: 4rem; display: flex; align-items: center; justify-content: center;
  filter: grayscale(1); opacity: 0.6; transition: filter 0.3s, opacity 0.3s; flex-shrink: 0;
}
.partner-logo:hover { filter: grayscale(0); opacity: 1; }
.partner-logo img { max-width: 80%; max-height: 80%; object-fit: contain; }

/* ── ABOUT ── */
.about { padding: 8rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 8fr 4fr; } }
.about-main {
  background: #f9fafb; border-radius: 2.5rem; padding: 2.5rem;
  border: 1px solid rgba(148,163,184,0.3);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05);
}
@media (min-width: 768px) { .about-main { padding: 4rem; } }
.about-stat {
  background: var(--dark); border-radius: 2.5rem; padding: 2.5rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
}
.shimmer-bar {
  position: absolute; inset: 0; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
  transform: skewX(12deg);
  animation: shimmer 3s linear 2s infinite;
}
@keyframes shimmer { 0% { transform: skewX(12deg) translateX(-100%); } 100% { transform: skewX(12deg) translateX(300%); } }
.stat-num  { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 900; letter-spacing: -0.04em; color: var(--white); margin-bottom: 1rem; }
.stat-label { color: rgba(255,255,255,0.6); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.5; }
.stat-hover-glow {
  position: absolute; inset: 0; background: var(--orange); opacity: 0; border-radius: 2.5rem;
  transition: opacity 0.5s;
}
.about-stat:hover .stat-hover-glow { opacity: 0.1; }

/* ── SERVICES ── */
.services { position: relative; padding: 8rem 0; overflow: hidden; }
.services-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.5; z-index: 0;
}
.services-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--dark), rgba(26,26,26,0.5), var(--dark));
  z-index: 1;
}
.services-glow {
  position: absolute; top: 0; right: 0; width: 50vw; height: 50vw;
  background: rgba(241,90,36,0.1); filter: blur(120px); border-radius: 50%;
  pointer-events: none; z-index: 2;
}
.services .container { position: relative; z-index: 10; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(12, 1fr); } }
.service-card {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-w);
  border-radius: var(--radius); padding: 2rem 3rem;
  cursor: pointer; position: relative; overflow: hidden;
  transition: background 0.5s;
}
.service-card:hover { background: rgba(255,255,255,0.1); }
.col-8 { grid-column: span 1; }
.col-4 { grid-column: span 1; }
@media (min-width: 768px) { .col-8 { grid-column: span 8; } .col-4 { grid-column: span 4; } }
.service-spotlight {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
  opacity: 0; transition: opacity 0.5s;
}
.service-card:hover .service-spotlight { opacity: 1; }
.service-icon-wrap {
  width: 4rem; height: 4rem; border-radius: 1rem;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-w);
  display: flex; align-items: center; justify-content: center; margin-bottom: 2rem;
  transition: transform 0.5s;
}
.service-card:hover .service-icon-wrap { transform: scale(1.1); }
.service-title { font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.service-desc  { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; max-width: 40ch; }

/* ── PROCESS ── */
.process { padding: 8rem 0; }
.process-timeline { position: relative; margin-top: 4rem; }
.process-steps { display: flex; flex-direction: column; gap: 4rem; position: relative; z-index: 10; }
.timeline-track, .timeline-progress {
  position: absolute; left: 2rem; top: 0; bottom: 0; width: 2px;
}
.timeline-track    { background: rgba(0,0,0,0.05); }
.timeline-progress { background: var(--orange); transform-origin: top; height: 0%; transition: height 0.1s; }
@media (min-width: 768px) {
  .timeline-track, .timeline-progress { left: 50%; transform: translateX(-50%); }
}
.process-step {
  display: flex; align-items: center; gap: 2rem 4rem; position: relative;
}
.step-content  { flex: 1; padding-left: 4rem; }
.step-spacer   { flex: 1; display: none; }
.step-node {
  position: absolute; left: 2rem; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--light); border: 4px solid var(--white); box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 20; display: flex; align-items: center; justify-content: center;
  transform: translateX(-50%);
}
.step-dot {
  width: 1rem; height: 1rem; border-radius: 50%; background: var(--orange);
  transform: scale(0); transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.3s;
}
.reveal-step.in .step-dot { transform: scale(1); }
.step-num   { font-size: 0.625rem; font-weight: 700; color: var(--orange); letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.75rem; }
.step-title { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; }
.step-desc  { color: var(--muted); font-size: 0.875rem; line-height: 1.7; }

@media (min-width: 768px) {
  .step-spacer { display: block; }
  .step-node   { left: auto; transform: none; position: relative; flex-shrink: 0; }
  .step-content { padding-left: 0; }
  .step-even .step-content { text-align: right; }
  .step-odd  .step-content { text-align: left; }
  @media (min-width: 768px) {
    .process-step { gap: 4rem; }
  }
}

/* ── TERMINAL ── */
.terminal { padding: 8rem 0 0; position: relative; overflow: hidden; }
.terminal-mesh1, .terminal-mesh2 {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(120px);
}
.terminal-mesh1 { top: 20%; right: -5%; width: 45%; padding-top: 45%; background: rgba(241,90,36,0.05); opacity: 0.3; }
.terminal-mesh2 { bottom: 10%; left: -5%; width: 45%; padding-top: 45%; background: rgba(0,0,0,0.05); opacity: 0.3; }
.terminal .container { display: flex; flex-direction: column; align-items: center; gap: 4rem; }
.terminal-header { max-width: 56rem; text-align: center; position: relative; z-index: 20; }
.terminal-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; text-align: center; }
.terminal-feature {
  background: #ffffff; padding: 2rem; border-radius: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05); 
  box-shadow: 0 4px 20px rgba(0,0,0,0.02), inset 0 2px 0 rgba(255,255,255,1);
  display: flex; flex-direction: column; align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.terminal-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.05), inset 0 2px 0 rgba(255,255,255,1);
}
.terminal-feature h4 { font-size: 0.875rem; font-weight: 700; color: var(--dark); margin: 0.5rem 0; }
.terminal-feature p  { font-size: 0.75rem; color: var(--muted); line-height: 1.5; }
.terminal-img-wrap { position: relative; z-index: 20; width: 100%; display: flex; justify-content: center; }
.pos-stack { position: relative; width: 100%; max-width: 80rem; }
.pos-off, .pos-on { width: 100%; object-fit: contain; }
.pos-on {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.2s ease-out;
}
.pos-on.visible { opacity: 1; }

/* ── GARANZIA ── */
.garanzia {
  padding: 8rem 0; position: relative; overflow: hidden;
}
.garanzia-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; width: 100%;
}
@media (min-width: 768px) { 
  .garanzia-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } 
  .garanzia-visual { justify-content: flex-end; padding-right: 2rem; }
  .garanzia-content { justify-self: start; max-width: 30rem; }
}
.garanzia-glow1 {
  position: absolute; top: -20%; left: -10%; width: 50vw; height: 50vw;
  background: var(--orange); filter: blur(120px); border-radius: 50%; opacity: 0.15;
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { opacity:0.15; } 50% { opacity:0.08; } }
.garanzia-glow2 {
  position: absolute; bottom: -10%; right: -10%; width: 60vw; height: 60vw;
  background: #1e3a8a; filter: blur(150px); border-radius: 50%; opacity: 0.05;
}
.garanzia-visual {
  display: flex; justify-content: center; position: relative; z-index: 10;
}
.garanzia-img-wrap img { width: 100%; max-width: 28rem; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4)); }
.float-gentle { animation: floatY 8s ease-in-out infinite; }
.garanzia-content {
  display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 10;
}
.feature-list { display: flex; flex-direction: column; gap: 1.5rem; margin: 2rem 0 3rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 1rem; }
.feature-list span { color: rgba(255,255,255,0.8); font-size: 0.875rem; line-height: 1.6; }

/* ── BI ── */
.bi { padding: 8rem 0; }
.bi-header { max-width: 56rem; margin: 0 auto; text-align: center; margin-bottom: 5rem; }
.bi-img-wrap { position: relative; display: flex; justify-content: center; margin-bottom: 6rem; }
.bi-glow {
  position: absolute; inset: 0; max-width: 80rem; margin: 0 auto;
  background: rgba(241,90,36,0.1); filter: blur(120px); border-radius: 50%;
}
.bi-img { position: relative; z-index: 10; max-width: 80rem; filter: drop-shadow(0 0 80px rgba(241,90,36,0.15)); }
.bento-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px)  { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento-grid { grid-template-columns: repeat(4, 1fr); } }
.bento-card {
  background: rgba(255,255,255,0.03); padding: 2rem; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08); 
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 10px 30px rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
}
.bento-card:hover { 
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06); 
}

/* ── SPOTLIGHT HOVER ── */
.spotlight-card {
  position: relative;
  overflow: hidden;
}
.spotlight-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(400px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(255,255,255,0.08), transparent 40%);
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}
.terminal-feature::before {
  background: radial-gradient(400px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(241,90,36,0.06), transparent 40%);
}
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card > * { position: relative; z-index: 1; }
.bento-card h4 { font-size: 1.125rem; font-weight: 700; color: var(--white); margin: 1.5rem 0 0.75rem; }
.bento-card p  { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.6; }

/* ── ADA BI ── */
.ada {
  padding: 8rem 0; position: relative; overflow: hidden;
}
.ada-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; width: 100%;
}
@media (min-width: 768px) {
  .ada-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .ada-visual { order: 2; justify-content: flex-start; padding-left: 2rem; }
  .ada-content { order: 1; justify-self: end; max-width: 30rem; }
}
.ada-visual {
  display: flex; justify-content: center; position: relative; z-index: 2;
}
.phone-wrap { position: relative; width: 100%; max-width: 300px; }
.phone-frame { width: 100%; pointer-events: none; z-index: 10; position: relative; filter: drop-shadow(0 0 60px rgba(241,90,36,0.2)); }
.phone-screen {
  position: absolute; left: 6%; right: 6%; top: 18%; bottom: 12.5%;
  display: flex; flex-direction: column; gap: 0.75rem;
  overflow-y: auto; padding: 0.5rem; z-index: 20;
  scrollbar-width: none;
}
.phone-screen::-webkit-scrollbar { display: none; }
.chat-msg {
  opacity: 0; transform: scale(0.95);
  padding: 0.75rem; border-radius: 1rem; font-size: 0.6875rem;
  line-height: 1.6; max-width: 90%;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.chat-msg.visible { opacity: 1; transform: scale(1); }
.chat-user { align-self: flex-end; background: var(--orange); color: var(--white); border-radius: 1rem 1rem 0.25rem 1rem; }
.chat-ada  { align-self: flex-start; background: #242424; color: var(--white); border: 1px solid rgba(255,255,255,0.05); border-radius: 1rem 1rem 1rem 0.25rem; }
.chat-pdf  { display: flex !important; align-items: center; gap: 0.75rem; }
.chat-pdf small { font-size: 0.5625rem; color: rgba(255,255,255,0.4); }

.ada-content {
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.ada-h2 { font-size: clamp(3rem, 7vw, 4.5rem); margin-bottom: 2rem; }
.ada-quote {
  padding: 1rem 1.5rem; margin-bottom: 2.5rem;
  background: rgba(255,255,255,0.05); border-radius: 1rem; border: 1px solid var(--border-w);
}
.ada-quote p { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.7; }
.ada-list { display: flex; flex-direction: column; gap: 1.5rem; }
.ada-list li { display: flex; align-items: center; gap: 0.75rem; }
.ada-icon-wrap {
  flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: rgba(241,90,36,0.15); border: 1px solid rgba(241,90,36,0.3);
  display: flex; align-items: center; justify-content: center;
}
.ada-list span:not(.ada-icon-wrap) { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.6; }

/* ── PRICING ── */
.pricing { padding: 8rem 0; }
.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 5rem;
}
@media (min-width: 768px)  { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }
.pricing-card {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-w);
  padding: 2rem; display: flex; flex-direction: column; align-items: center;
  text-align: center; transition: border-color 0.3s;
}
.pricing-card:hover { border-color: rgba(241,90,36,0.5); }
.pricing-icon { margin-bottom: 1.5rem; transition: transform 0.3s; }
.pricing-card:hover .pricing-icon { transform: translateY(-8px); }
.pricing-i { font-size: 2rem; }
.pricing-img-icon { width: 2rem; height: 2rem; object-fit: contain; }
.pricing-title { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.pricing-desc  { font-size: 0.75rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
.pricing-cta   { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.pricing-sub   { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

/* ── CONTACT ── */
.contact { padding: 8rem 0; }
.contact-grid {
  display: flex; flex-direction: column; gap: 4rem;
}
@media (min-width: 768px) { .contact-grid { flex-direction: row; gap: 6rem; } }
.contact-info { flex: 1; }
.contact-sub  { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--orange); margin-bottom: 3rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2.5rem; }
.contact-icon-wrap {
  width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(241,90,36,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.25rem;
}
.contact-label { font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.5rem; }
.contact-val   { font-size: 0.875rem; color: var(--white); line-height: 1.6; }
.contact-link:hover { color: var(--orange); transition: color 0.3s; }
.contact-divider { display: none; width: 1px; background: var(--border-w); }
@media (min-width: 768px) { .contact-divider { display: block; } }
.contact-form-wrap { flex: 2; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.form-field input,
.form-field textarea {
  background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 0.75rem 0; color: var(--white); font-family: inherit; font-size: 0.875rem;
  outline: none; transition: border-color 0.3s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--orange); }
.form-field textarea { resize: none; }
.form-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 1rem; }
.form-error { font-size: 0.75rem; color: #ef4444; }
.form-success {
  height: 100%; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-w); padding: 3rem;
}
.success-dot { width: 4rem; height: 4rem; border-radius: 50%; background: rgba(34,197,94,0.2); margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; }
.success-dot::after { content:''; width:2rem;height:2rem;border-radius:50%;background:#22c55e; }
.form-success h3 { font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.form-success p  { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 0.875rem; }
.form-reset { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); cursor: pointer; transition: color 0.3s; background: none; border: none; }
.form-reset:hover { color: var(--white); }

/* ── FOOTER ── */
.footer { padding: 5rem 0 2rem; border-top: 1px solid var(--border-w); }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-title { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.5rem; }
.footer-list { display: flex; flex-direction: column; gap: 1rem; color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.footer-list a:hover { color: var(--white); transition: color 0.3s; }
.footer-logo-col { display: flex; justify-content: center; align-items: center; }
.footer-logo { height: 3rem; opacity: 0.8; transition: opacity 0.3s; }
.footer-logo:hover { opacity: 1; }
.footer-addr-col { text-align: right; }
.footer-addr { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; }
.footer-badge-wrap { display: flex; justify-content: center; margin-bottom: 3rem; }
.footer-badge { max-width: 300px; opacity: 0.5; filter: grayscale(1); transition: all 0.5s; }
.footer-badge:hover { opacity: 1; filter: grayscale(0); }
.footer-bottom { border-top: 1px solid var(--border-w); padding-top: 2rem; text-align: center; }
.footer-copy   { font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-links  { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }
.footer-links a { font-size: 0.625rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; }
.footer-links a:hover { color: var(--white); transition: color 0.3s; }
