/* ============================================
   VARIABLES & RESET
============================================ */
:root {
  --y:     #F5C400;
  --black: #050505;
  --d1:    #111111;
  --white: #FFFFFF;
  --ow:    #F5F5F7;
  --g1:    #888888;
  --g2:    #555555;
  --font:  'Poppins', sans-serif;
  --mwc:   1280px;
  --sp-y:  120px;
  --r:     32px;
}

.fx-wrapper * { box-sizing: border-box; margin: 0; padding: 0; }
.fx-wrapper {
  font-family: var(--font);
  background: var(--ow);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin-top: -140px !important;
}
.fx-wrapper img { display: block; max-width: 100%; height: auto; object-fit: cover; }
.fx-wrapper a   { text-decoration: none; color: inherit; }

/* REVEAL */
.fx-reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.98);
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.fx-reveal.fx-active { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.fx-delay-1 { transition-delay: 0.15s; }
.fx-delay-2 { transition-delay: 0.3s; }

.fx-container { max-width: var(--mwc); margin: 0 auto; padding: 0 24px; width: 100%; position: relative; z-index: 2; }

/* PILL */
.fx-pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--black); color: var(--white);
  padding: 10px 24px; border-radius: 100px;
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 24px;
}
.fx-pill.y    { background: var(--y); color: var(--black); }
.fx-pill.dark { background: rgba(255,255,255,0.05); color: var(--white); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(12px); }

/* TYPOGRAPHY */
.fx-h2 { font-size: clamp(1.8rem,3.2vw,2.8rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 24px; font-family: var(--font); }
.fx-h3 { font-size: clamp(1.2rem,2vw,1.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; font-family: var(--font); }
.fx-h2.light, .fx-h3.light { color: var(--white); }
.fx-h2.dark,  .fx-h3.dark  { color: var(--black); }
.fx-p { font-size: 18px; font-weight: 400; line-height: 1.6; color: var(--g2); max-width: 650px; }
.fx-p.light { color: rgba(255,255,255,0.7); }
.fx-text-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.fx-text-center .fx-p { margin-inline: auto; }

/* BUTTON */
.fx-wrapper .fx-btn { display: inline-block; text-align: center; padding: 20px 48px; border-radius: 100px; font-size: 15px; font-weight: 700; letter-spacing: 0.5px; border: none; cursor: pointer; font-family: var(--font); transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease; will-change: transform; text-transform: none !important; background-image: none !important; }
.fx-wrapper .fx-btn:active { transform: scale(0.97); }
.fx-wrapper .fx-btn-b { background-color: var(--black) !important; color: var(--white) !important; }
.fx-wrapper .fx-btn-b:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.2); transform: translate3d(0,-4px,0); }

/* ── HERO ── */
.fx-hero {
  position: relative; width: 100%; min-height: 70vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--black); overflow: hidden;
  padding-top: calc(140px + 4rem); padding-bottom: 4rem;
}
.fx-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; opacity: .4; z-index: 0;
}
.fx-hero-glow {
  position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%);
  width: 80vw; height: 50vw;
  background: radial-gradient(circle, rgba(245,196,0,0.12) 0%, rgba(0,0,0,0) 60%);
  filter: blur(80px); z-index: 0; pointer-events: none;
}
.fx-hero-content { position: relative; z-index: 2; width: 100%; max-width: 800px; padding: 0 24px; }
.fx-hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .6rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,214,0,.7); border: 1px solid rgba(255,214,0,.15); border-radius: 50px;
  padding: .5rem 1.25rem; margin-bottom: 1.5rem;
  position: relative; z-index: 1; backdrop-filter: blur(8px); background: rgba(255,214,0,.04);
  animation: fxHeroUp .8s cubic-bezier(.16,1,.3,1) both;
}
.fx-hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; background: #FFD600; border-radius: 50%;
  animation: fxHeroPulse 2s infinite;
}
@keyframes fxHeroPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
@keyframes fxHeroUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.fx-hero h1 {
  font-size: clamp(2.4rem,5.5vw,4.5rem); font-weight: 900; line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: 20px; color: var(--white);
  position: relative; z-index: 2; font-family: var(--font);
}
.fx-hero h1 span { color: var(--y); display: block; line-height: 1.2em; }

/* ── PIANO BASE ── */
.fx-base-sec {
  padding: 80px 0; background: var(--ow);
  margin-top: -40px; border-radius: 40px 40px 0 0; position: relative; z-index: 10;
}
.fx-base-box { display: flex; justify-content: space-between; align-items: center; gap: 40px; background: var(--white); padding: 56px; border-radius: var(--r); box-shadow: 0 24px 48px rgba(0,0,0,0.03); }
.fx-base-left { max-width: 500px; }
.fx-price-tag-big { display: flex; align-items: flex-start; justify-content: flex-end; color: var(--black); }
.fx-price-tag-big .curr { font-size: 32px; font-weight: 800; margin-top: 8px; margin-right: 4px; }
.fx-price-tag-big .main { font-size: 96px; font-weight: 900; line-height: 0.8; letter-spacing: -5px; }
.fx-price-tag-big .right-col { display: flex; flex-direction: column; align-items: flex-start; margin-left: 6px; margin-top: 4px; }
.fx-price-tag-big .dec { font-size: 24px; font-weight: 900; line-height: 1; letter-spacing: -1px; }
.fx-price-tag-big .lbl { font-size: 14px; font-weight: 600; color: var(--g1); margin-top: 4px; }

/* ── BENTO ── */
.fx-bento-sec { background: var(--black); padding: var(--sp-y) 0; }
.fx-bento-grid { display: grid; grid-template-columns: repeat(12,1fr); grid-template-rows: 420px 360px; gap: 14px; margin-top: 56px; }
.fx-bc { border-radius: var(--r); overflow: hidden; position: relative; display: flex; flex-direction: column; transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.fx-bc:hover { transform: translateY(-3px); }
.fx-bc .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.fx-bc:hover .bg { transform: scale(1.05); }
.fx-bc .overlay { position: absolute; inset: 0; z-index: 1; }
.fx-bc .content { position: relative; z-index: 2; }
.fx-bc-title { font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; margin-bottom: 10px; font-family: var(--font); color: var(--white); }
.fx-bc-p { font-size: 16px; font-weight: 400; line-height: 1.65; font-family: var(--font); color: rgba(255,255,255,0.75); }
.fx-bc-pill { display: inline-flex; align-items: center; background: rgba(255,255,255,0.1); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 20px; width: fit-content; }
.fx-bc-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(16px); color: rgba(255,255,255,0.8); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 20px; width: fit-content; }
.fx-bc-1 { grid-column: 1/span 7; grid-row: 1; justify-content: flex-end; padding: 36px 40px; }
.fx-bc-1 .overlay { background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.2) 100%); }
.fx-bc-1 .fx-bc-title { font-size: 32px; letter-spacing: -1px; color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.fx-bc-1 .fx-bc-p { font-size: 16px; color: rgba(255,255,255,0.85); text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.fx-bc-2 { grid-column: 8/span 5; grid-row: 1; background: var(--y); justify-content: flex-end; padding: 36px 40px; overflow: hidden; }
.fx-bc-2::after { content: ''; position: absolute; top: -80px; right: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,0.15); pointer-events: none; z-index: 0; }
.fx-bc-2 .huge { font-size: 88px; font-weight: 900; line-height: 0.85; letter-spacing: -5px; color: rgba(0,0,0,0.85); margin-bottom: 10px; display: block; position: relative; z-index: 1; font-family: var(--font); }
.fx-bc-2 .fx-bc-title { font-size: 20px; color: rgba(0,0,0,0.85); position: relative; z-index: 1; }
.fx-bc-2 .fx-bc-p { color: rgba(0,0,0,0.65); font-weight: 500; font-size: 16px; position: relative; z-index: 1; }
.fx-bc-3 { grid-column: 1/span 4; grid-row: 2; background: #0c0c0c; border: 1px solid rgba(255,255,255,0.07); justify-content: flex-end; padding: 32px 36px; }
.fx-bc-3 .price { font-size: 64px; font-weight: 900; color: var(--y); line-height: 0.85; letter-spacing: -3px; display: flex; align-items: baseline; margin-bottom: 12px; }
.fx-bc-3 .price sup { font-size: 24px; margin-right: 1px; font-weight: 700; }
.fx-bc-3 .price sub { font-size: 24px; font-weight: 700; }
.fx-bc-3 .fx-bc-title { color: var(--white); font-size: 18px; margin-bottom: 6px; }
.fx-bc-3 .fx-bc-p { color: rgba(255,255,255,0.65); font-size: 16px; }
.fx-bc-4 { grid-column: 5/span 4; grid-row: 2; justify-content: flex-end; padding: 32px 36px; }
.fx-bc-4 .overlay { background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3) 100%); }
.fx-bc-4 .fx-bc-title { color: var(--white); font-size: 20px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.fx-bc-4 .fx-bc-p { font-size: 16px; color: rgba(255,255,255,0.85); text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.fx-bc-5 { grid-column: 9/span 4; grid-row: 2; justify-content: flex-end; padding: 32px 36px; }
.fx-bc-5 .overlay { background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3) 100%); }
.fx-bc-5 .fx-bc-title { color: var(--white); font-size: 20px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.fx-bc-5 .fx-bc-p { font-size: 16px; color: rgba(255,255,255,0.85); text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.fx-bento-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 52px; }
.fx-bento-cta a { display: inline-block; padding: 20px 64px; border-radius: 100px; background: var(--y); color: var(--black); font-size: 16px; font-weight: 700; letter-spacing: 0.3px; text-decoration: none; font-family: var(--font); transition: transform 0.3s, box-shadow 0.3s; }
.fx-bento-cta a:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(245,196,0,0.35); }
.fx-bento-cta p { font-size: 13px; color: rgba(255,255,255,0.3); letter-spacing: 0.5px; margin: 0; }

/* ── VALORI ── */
.fx-values-sec { background: var(--ow); padding: var(--sp-y) 0; }
.fx-values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.fx-val-card { background: var(--white); border-radius: var(--r); padding: 48px 40px; border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 16px 40px rgba(0,0,0,0.03); transition: transform 0.4s ease, box-shadow 0.4s ease; display: flex; flex-direction: column; align-items: flex-start; }
.fx-val-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,0.08); }
.fx-val-card:hover .fx-val-icon-wrap::before { opacity: 1; transform: scale(1.2); }
.fx-val-icon-wrap { position: relative; margin-bottom: 24px; display: inline-block; }
.fx-val-icon-wrap::before { content: ''; position: absolute; inset: -10px; background: var(--y); filter: blur(15px); opacity: 0; transition: 0.4s; z-index: 0; border-radius: 50%; }
.fx-val-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--ow); color: var(--y); display: flex; align-items: center; justify-content: center; font-size: 24px; position: relative; z-index: 1; border: 1px solid rgba(0,0,0,0.05); }
.fx-val-card h4 { font-size: 1.15rem; font-weight: 800; color: var(--black); margin-bottom: 12px; letter-spacing: -0.02em; font-family: var(--font); }
.fx-val-card p { font-size: 16px; color: var(--g2); line-height: 1.6; }

/* ── CTA FINALE ── */
.fx-cta-full {
  width: 100%; max-width: 100%; margin-left: 0;
  background: var(--y); padding: 0 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  position: relative; overflow: hidden;
}
.fx-cta-full .fx-cta-inner { position: relative; z-index: 2; padding: 120px 0; max-width: 700px; margin: 0 auto; }
.fx-cta-full h2 { font-size: clamp(2.4rem,5.5vw,5rem); font-weight: 900; color: var(--black); letter-spacing: -0.045em; line-height: 1.05; margin-bottom: 20px; font-family: var(--font); }
.fx-cta-full h2 span { display: block; }
.fx-cta-full p { font-size: 1rem; font-weight: 400; color: rgba(0,0,0,0.6); max-width: 44ch; margin: 0 auto 40px auto; line-height: 1.75; }
.fx-cta-full .fx-btn-cta { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 2rem; background: var(--black); color: var(--y); font-size: .9rem; font-weight: 700; border-radius: 50px; border: none; cursor: pointer; text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 4px 20px rgba(0,0,0,.2); font-family: var(--font); }
.fx-cta-full .fx-btn-cta:hover { background: #111; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.3); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .fx-bento-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 300px 300px; }
  .fx-bc-1 { grid-column: 1/span 2; grid-row: 1; }
  .fx-bc-2 { grid-column: 1/span 1; grid-row: 2; }
  .fx-bc-3 { grid-column: 2/span 1; grid-row: 2; }
  .fx-bc-4 { grid-column: 1/span 1; grid-row: 3; }
  .fx-bc-5 { grid-column: 2/span 1; grid-row: 3; }
}
@media (max-width: 1024px) {
  .fx-base-box { flex-direction: column; text-align: center; gap: 40px; }
  .fx-base-left { max-width: 100%; }
  .fx-price-tag-big { justify-content: center; }
  .fx-values-grid { grid-template-columns: 1fr; }
  .fx-val-card { align-items: center; text-align: center; }
}
@media (max-width: 768px) {
  :root { --sp-y: 80px; }
  .fx-hero { padding-top: calc(72px + 2.5rem); padding-bottom: 2.5rem; }
  .fx-hero h1 { font-size: clamp(2rem,10vw,2.8rem); }
  .fx-price-tag-big .main { font-size: 80px; }
  .fx-bento-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; gap: 10px; }
  .fx-bc-1,.fx-bc-2,.fx-bc-3,.fx-bc-4,.fx-bc-5 { grid-column: 1; grid-row: auto; }
  .fx-bc-1 { min-height: 320px; } .fx-bc-2 { min-height: 200px; }
  .fx-bc-3 { min-height: 180px; } .fx-bc-4 { min-height: 240px; } .fx-bc-5 { min-height: 180px; }
  .fx-bc-2 .huge { font-size: 64px; }
  .fx-bc-3 .price { font-size: 48px; }
  .fx-cta-full .fx-cta-inner { padding: 80px 0; }
  .fx-cta-full h2 { font-size: clamp(2rem,9vw,2.8rem); }
}
