/* ============ RESET & BASE ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #14121c;
  --ink-soft: #4a4658;
  --bg: #faf9fc;
  --bg-alt: #f2effa;
  --line: #e6e2f0;
  --white: #ffffff;
  --accent-1: #e8407a;
  --accent-2: #8b4fe0;
  --accent-3: #3d5ce0;
  --grad: linear-gradient(120deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3));
  --navy: #171633;
  --tint-1: #f5ecff;
  --tint-2: #ffeef6;
  --tint-3: #eaf0ff;
  --surface-tint: linear-gradient(135deg, var(--tint-1) 0%, var(--tint-2) 52%, var(--tint-3) 100%);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 45px -20px rgba(30, 20, 60, 0.18);
  --shadow-card: 0 12px 30px -14px rgba(30, 20, 60, 0.15);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

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

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow { max-width: 820px; }

.section { padding: 110px 0; }

@media (max-width: 768px) {
  .section { padding: 72px 0; }
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ EYEBROW / LABELS ============ */
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.eyebrow-dark { color: var(--accent-1); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 560px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(139, 79, 224, 0.55);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(139, 79, 224, 0.65); }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-small { padding: 10px 20px; font-size: 0.9rem; }
.btn-large { padding: 17px 34px; font-size: 1.02rem; }
.btn-full { width: 100%; margin-top: 8px; }

.text-link {
  font-weight: 600;
  color: var(--accent-2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.text-link:hover { border-color: var(--accent-2); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 252, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand { display: flex; align-items: center; }
.brand-logo { height: 26px; width: auto; }
.footer-logo { height: 28px; width: auto; margin-bottom: 4px; }

/* ============ HERO ============ */
.hero {
  padding: 88px 0 96px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle at center, rgba(139, 79, 224, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--tint-1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.hero-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 460px;
}
.hero-guarantee svg { color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.hero-guarantee strong { color: var(--ink); }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  animation: floatCard 6s ease-in-out infinite;
}

.hero-card-2 { animation-delay: 0.6s; margin-left: 28px; }
.hero-card-3 { animation-delay: 1.2s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hc-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.hc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.92rem;
  padding: 6px 0;
  color: var(--ink-soft);
}

.hc-row.hc-after strong { color: var(--accent-2); }
.hc-row strong { font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--ink); }

/* ============ PROBLEMA ============ */
.problem {
  position: relative;
  background: var(--surface-tint);
  color: var(--ink);
  overflow: hidden;
}

.problem::before,
.problem::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: driftBlob 14s ease-in-out infinite;
}

.problem::before {
  width: 320px;
  height: 320px;
  background: rgba(232, 64, 122, 0.25);
  top: -80px;
  left: -80px;
}

.problem::after {
  width: 280px;
  height: 280px;
  background: rgba(61, 92, 224, 0.22);
  bottom: -90px;
  right: -60px;
  animation-delay: 3s;
}

@keyframes driftBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -18px) scale(1.08); }
}

.problem-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; gap: 28px; }
}

.problem-heading h2 {
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.problem-body p { margin-bottom: 20px; color: var(--ink-soft); font-size: 1.05rem; }

.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.pain-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.pain-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-1);
}

.problem-highlight {
  color: var(--ink) !important;
  font-weight: 600;
  border-left: 3px solid;
  border-image: var(--grad) 1;
  padding-left: 18px;
}

/* ============ METODO ============ */
.method-list {
  list-style: none;
  display: grid;
  gap: 2px;
  background: var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}

.method-item {
  background: var(--white);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 34px 32px;
}

@media (max-width: 640px) {
  .method-item { grid-template-columns: 1fr; gap: 10px; padding: 26px 22px; }
}

.method-call-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  background: var(--tint-1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.method-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.method-item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.method-item p { color: var(--ink-soft); max-width: 60ch; }

/* ============ ABOUT / CHI SIAMO ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-side { order: -1; }
  .founder-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    text-align: left;
    padding: 20px;
  }
  .founder-photo-img { width: 72px; height: 72px; aspect-ratio: 1 / 1; flex-shrink: 0; margin-bottom: 0; }
  .founder-info { display: flex; flex-direction: column; }
  .founder-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
  .founder-role { margin-bottom: 0; font-size: 0.85rem; }
  .founder-bio { flex-basis: 100%; margin-top: 4px; font-size: 0.88rem; }
}

.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 22px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.03rem; }
.about-copy strong { color: var(--ink); }

.quote-card {
  position: relative;
  background: var(--surface-tint);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  margin: 26px 0;
  border-left: 3px solid var(--accent-2);
}

.quote-card p {
  color: var(--ink) !important;
  font-size: 1.02rem !important;
  font-weight: 500;
  margin-bottom: 0 !important;
}

.maia { margin-top: 40px; }
.maia-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--ink);
}

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

@media (max-width: 640px) {
  .maia-grid { grid-template-columns: 1fr; }
}

.maia-item {
  border-top: 2px solid var(--accent-2);
  padding-top: 16px;
}

.maia-letter {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.maia-item h4 { font-size: 1rem; margin-bottom: 6px; }
.maia-item p { font-size: 0.9rem; color: var(--ink-soft); }

.about-side { display: flex; flex-direction: column; gap: 24px; }

.founder-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.founder-photo-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}

.founder-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.founder-role { font-size: 0.92rem; font-weight: 600; color: var(--accent-2); margin-bottom: 12px; }
.founder-bio { font-size: 0.95rem; color: var(--ink-soft); }

/* ============ VIDEO SECTION ============ */
.videos { background: var(--bg-alt); }

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

@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; }
}

.video-card { display: flex; flex-direction: column; gap: 12px; }

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-tint);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-cta { text-align: center; }

/* ============ LOGHI ============ */
.logos { padding: 70px 0; }

.logos-intro {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 34px;
}

.logos-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);
}

.logos-strip {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.logos-strip:hover { animation-play-state: paused; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logos-strip img {
  height: 76px;
  width: auto;
  object-fit: contain;
  opacity: 0.92;
  flex-shrink: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.logos-strip img:hover { opacity: 1; transform: translateY(-2px); }

/* ============ CASE STUDY ============ */
.case-study { background: var(--white); }

.case-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.case-logo-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--grad);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.case-header h3 { font-size: 1.3rem; }
.case-tag { font-size: 0.85rem; color: var(--ink-soft); }

.case-block { max-width: 780px; margin-bottom: 30px; }
.case-block h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  margin-bottom: 10px;
}
.case-block p { color: var(--ink-soft); font-size: 1.02rem; }

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .case-metrics { grid-template-columns: 1fr; }
}

.case-metric {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--bg-alt);
}

.cm-title { font-weight: 700; font-family: 'Outfit', sans-serif; margin-bottom: 8px; }
.cm-detail { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 14px; }
.cm-cost {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-1);
}

.case-result {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 36px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  flex-wrap: wrap;
}

.result-before { color: var(--ink-soft); font-size: 0.95rem; }
.result-arrow { color: var(--accent-1); font-weight: 700; }
.result-after {
  color: var(--ink);
  font-size: 1.05rem;
  background: var(--white);
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}

.case-closing {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 780px;
  font-style: italic;
}

/* ============ OFFERTA ============ */
.offer {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.offer-grid { display: flex; justify-content: center; }

.offer-copy {
  max-width: 640px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 640px) {
  .offer-copy { padding: 30px 24px; }
}

.offer-copy h2 { font-size: 1.7rem; margin-bottom: 30px; }

.value-stack { list-style: none; margin-bottom: 32px; }

.value-stack li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.value-stack li:first-child { padding-top: 0; }

.vs-text strong { display: block; font-family: 'Outfit', sans-serif; font-size: 1rem; margin-bottom: 4px; }
.vs-text span { font-size: 0.88rem; color: var(--ink-soft); }

.vs-value {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-2);
  background: var(--bg-alt);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-box {
  background: var(--surface-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  margin-bottom: 26px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.price-strike { text-decoration: line-through; }
.price-strike-big { font-size: 1.2rem; font-weight: 700; color: var(--ink); text-decoration-color: var(--accent-1); }

.price-note {
  text-align: right;
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 4px;
  font-style: italic;
}

.price-row-final {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
}

.price-final {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.offer-guarantee {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 18px;
  font-weight: 500;
}
.offer-guarantee svg { color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }

.offer-scarcity {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 14px;
  opacity: 0.85;
}

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 2px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
}

.faq-item + .faq-item { margin-top: 10px; }

.faq-item summary {
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent-2);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ============ CTA FINALE ============ */
.final-cta {
  position: relative;
  background: var(--surface-tint);
  text-align: center;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(139, 79, 224, 0.18);
  filter: blur(80px);
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  animation: driftBlob 12s ease-in-out infinite;
  pointer-events: none;
}

.final-cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }

.final-cta h2 { color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.final-cta p { color: var(--ink-soft); margin-bottom: 34px; font-size: 1.05rem; }

/* ============ FOOTER ============ */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer-brand { font-size: 0.95rem; }
.site-footer p { font-size: 0.78rem; color: var(--ink-soft); }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
