/* ==========================================================================
   STOIC ROOM — Landing standalone
   Palette e font replicati 1:1 da stoicoweb (tailwind.config.ts / globals.css)
   per restare visivamente identici al sito principale, pur essendo un
   progetto statico separato (Netlify, dominio proprio).
   ========================================================================== */

:root {
  --gold: #D4AF37;
  --gold-light: #F1D999;
  --gold-dark: #9C7A1E;
  --bronze: #9C7A52;
  --bronze-light: #C9A876;
  --bronze-dark: #6B4F32;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

::selection { background: rgba(212, 175, 55, 0.3); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d4af37, #9c7a1e);
  border-radius: 9999px;
  border: 2px solid #000;
}

/* ---------- layout helpers ---------- */

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .container { padding: 0 2.5rem; }
}

.section { position: relative; background: #000; padding: 8rem 0; overflow: hidden; }
.section--tight { padding: 7rem 0; }
@media (min-width: 768px) {
  .section { padding: 10rem 0; }
  .section--tight { padding: 8rem 0; }
}

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

/* ---------- typography ---------- */

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}

/* Più respiro tra l'occhiello "Stoic Room — Metodo Greca" e il titolo
   grande sotto, in aggiunta allo spazio navbar/contenuto già sistemato. */
.hero__copy .eyebrow { margin-bottom: 0.75rem; }

.heading {
  font-family: var(--font-serif);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.12;
  color: #fff;
  margin: 0;
}

.heading--hero { font-size: clamp(2.25rem, 6vw, 3.4rem); }
.heading--lg { font-size: clamp(2rem, 5vw, 3.25rem); }
.heading--section { font-size: clamp(2.25rem, 5vw, 4.5rem); text-align: center; }

.text-body { font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, 0.6); }
@media (min-width: 768px) { .text-body { font-size: 1.125rem; } }

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.microcopy {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
}

.highlight-gold {
  display: inline-block;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}
@media (min-width: 768px) { .highlight-gold { font-size: 1rem; } }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: 9999px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s, color 0.3s, transform 0.2s ease-out, border-color 0.3s;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 40px -8px rgba(212, 175, 55, 0.45);
}
.btn--primary:hover { background: var(--gold-light); }

.btn--md { padding: 0.875rem 1.75rem; font-size: 0.875rem; }
.btn--lg { padding: 1.25rem 2.25rem; font-size: 1rem; }
@media (min-width: 768px) {
  .btn--lg { padding: 1.5rem 2.75rem; font-size: 1.125rem; }
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

/* ---------- navbar ---------- */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 0.5s, border-color 0.5s, backdrop-filter 0.5s;
}
.navbar.is-scrolled {
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.navbar__inner {
  display: flex;
  align-items: center;
  height: 5rem;
}
@media (min-width: 768px) { .navbar__inner { height: 6rem; } }

.logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}
.logo img { height: 2.75rem; width: auto; object-fit: contain; }
@media (min-width: 768px) { .logo img { height: 3.5rem; } }
.logo span {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  color: #fff;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  padding: 3rem 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer__social { display: flex; align-items: center; gap: 1rem; }
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.footer__social a:hover { background: #fbbf24; color: #000; border-color: #fbbf24; }
.footer__copy { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }

/* ---------- hero ---------- */

.hero { padding: 0; }
.hero__inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 9rem 0 4rem;
}
@media (min-width: 768px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    padding: 11rem 0 5rem;
    min-height: 100svh;
  }
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
  text-align: left;
}
@media (min-width: 768px) { .hero__copy { max-width: 32rem; } }

.hero__glow {
  top: 33%;
  left: -10%;
  width: 50vw;
  height: 50vh;
  transform: translateY(-50%);
  background: rgba(212, 175, 55, 0.06);
}

.hero__image-mobile {
  position: relative;
  display: block;
  width: 100%;
  height: 48vh;
  overflow: hidden;
  border-radius: 2rem;
}
.hero__image-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.82) contrast(1.12) saturate(0.85);
}
.hero__image-mobile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1) 60%, transparent);
}
@media (min-width: 768px) {
  .hero__image-mobile { display: none; }
}

.hero__image-desktop {
  display: none;
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 46vw;
}
.hero__image-desktop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 85% center;
  filter: brightness(0.85) contrast(1.12) saturate(0.85);
  -webkit-mask-image: radial-gradient(ellipse 64% 70% at 60% 40%, #000 52%, rgba(0,0,0,0.7) 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 64% 70% at 60% 40%, #000 52%, rgba(0,0,0,0.7) 72%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
@media (min-width: 768px) {
  .hero__image-desktop { display: block; }
}

/* ---------- problem ---------- */

.problem__silhouette {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 60vw;
  opacity: 0.06;
  filter: grayscale(1);
}
.problem__silhouette img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right;
}
.problem__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}
.problem__title { max-width: 48rem; }
.problem__text { max-width: 36rem; }

/* ---------- transition ---------- */

.transition__glow {
  top: 50%; left: 50%;
  width: 36vw; height: 36vw;
  transform: translate(-50%, -50%);
  background: rgba(212, 175, 55, 0.05);
}
.transition__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
.transition__title { max-width: 40rem; }
.transition__text { max-width: 28rem; }
.transition__scroll {
  margin-top: 1rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}
.transition__scroll:hover { color: var(--gold); }
.transition__scroll svg { width: 1rem; height: 1rem; }

/* ---------- include ---------- */

.include__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 4rem;
}
@media (min-width: 640px) {
  .include__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 4rem; }
}
.include__item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}
.include__number {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: rgba(212, 175, 55, 0.7);
}

.include__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.include__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.1) brightness(0.82) saturate(0.9);
  transition: transform 0.6s var(--ease-luxury);
}
.include__item:hover .include__photo img { transform: scale(1.04); }
.include__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 55%);
}
.include__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--gold);
}
.include__item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}
@media (min-width: 768px) { .include__item h3 { font-size: 1.125rem; } }
.include__item p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }
@media (min-width: 768px) { .include__item p { font-size: 1rem; } }

/* ---------- bonus ---------- */

.bonus__glow {
  top: 0; left: 50%;
  width: 50vw; height: 40vh;
  transform: translateX(-50%);
  background: rgba(212, 175, 55, 0.05);
}
.bonus__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.bonus__title { max-width: 34rem; }
.bonus__text { max-width: 30rem; }

/* ---------- offer ---------- */

.offer__glow {
  top: 50%; left: 50%;
  width: 40vw; height: 40vw;
  transform: translate(-50%, -50%);
  background: rgba(212, 175, 55, 0.06);
}
.offer__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
.offer__price {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 12vw, 6rem);
  line-height: 1;
  margin: 0;
}
.offer__text { max-width: 24rem; }
