/* ============================
   POSTASPOT — Landing Page Theme
   Warm editorial Italian food magazine aesthetic
   ============================ */

:root {
  --cream: #F5EDE3;
  --cream-dark: #EDE3D8;
  --terracotta: #C44536;
  --terracotta-light: #E05D4F;
  --olive: #2D3A2E;
  --olive-light: #4A5A4D;
  --brown: #8B7355;
  --brown-light: #A8937A;
  --light-cream: #E8D5C4;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--olive);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  color: var(--olive);
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 237, 227, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 115, 85, 0.15);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-mark {
  font-size: 20px;
  color: var(--terracotta);
}

.nav__logo-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--olive);
  letter-spacing: -0.01em;
}

.nav__tagline {
  font-size: 13px;
  color: var(--brown);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 48px 80px;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(196, 69, 54, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(139, 115, 85, 0.12) 0%, transparent 60%),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.hero__headline {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero__headline em {
  font-style: italic;
  color: var(--terracotta);
}

.hero__lede {
  font-size: 18px;
  color: var(--olive-light);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero__noise {
  font-size: 13px;
  color: var(--brown-light);
  font-weight: 400;
  letter-spacing: 0.01em;
  padding-left: 20px;
  border-left: 2px solid var(--terracotta);
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === PHONE MOCKUP === */
.hero__phone-mockup {
  width: 260px;
  background: #1a1a1a;
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.22),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  padding-bottom: 12px;
}

.ig-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 10px;
}

.ig-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), #E8887A);
}

.ig-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--olive);
}

.ig-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(
    135deg,
    #F5E6D3 0%,
    #E8D5C4 30%,
    #D4B896 60%,
    #C8A878 100%
  );
  position: relative;
  overflow: hidden;
}

.ig-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 40%, rgba(196,69,54,0.3) 0%, transparent 70%),
    linear-gradient(180deg, transparent 50%, rgba(139,115,85,0.2) 100%);
}

.ig-image::after {
  content: '🍝';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  opacity: 0.4;
}

.ig-actions {
  display: flex;
  gap: 14px;
  padding: 12px 14px 8px;
}

.ig-heart, .ig-bubble, .ig-send {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--olive);
  opacity: 0.7;
}

.ig-likes {
  font-size: 12px;
  font-weight: 600;
  color: var(--olive);
  padding: 0 14px 6px;
}

.ig-caption {
  padding: 0 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--olive);
}

.ig-caption-user {
  font-weight: 600;
}

.ig-caption-text {
  color: var(--olive-light);
}

.ig-caption-meta {
  font-size: 10px;
  color: var(--brown-light);
  padding: 6px 14px 0;
  font-style: italic;
}

/* === PROBLEMA === */
.problema {
  background: var(--olive);
  padding: 100px 48px;
}

.problema__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.problema__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 24px;
}

.problema__heading {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 64px;
  max-width: 600px;
  line-height: 1.2;
}

.problema__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.problema__stat {
  border-left: 2px solid var(--terracotta);
  padding-left: 24px;
}

.problema__number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 12px;
}

.problema__desc {
  font-size: 15px;
  color: var(--brown-light);
  line-height: 1.5;
}

.problema__quote {
  border-top: 1px solid rgba(139,115,85,0.2);
  padding-top: 40px;
}

.problema__quote p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 16px;
}

.problema__quote cite {
  font-size: 13px;
  color: var(--brown);
  font-style: normal;
}

/* === COME FUNZIONA === */
.comefunziona {
  padding: 100px 48px;
  background: var(--cream);
}

.comefunziona__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.comefunziona__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 24px;
}

.comefunziona__heading {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  margin-bottom: 72px;
  max-width: 560px;
  line-height: 1.2;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 32px;
  background: var(--light-cream);
  border-radius: 16px;
  position: relative;
}

.step__connector {
  width: 40px;
  height: 2px;
  background: var(--terracotta);
  opacity: 0.3;
  margin-top: 60px;
  flex-shrink: 0;
}

.step__number {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 20px;
  -webkit-text-stroke: 1px var(--brown-light);
}

.step__content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step__content p {
  font-size: 15px;
  color: var(--olive-light);
  line-height: 1.6;
}

/* === PILASTRI === */
.pilastri {
  padding: 100px 48px;
  background: var(--cream-dark);
}

.pilastri__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pilastri__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 24px;
}

.pilastri__heading {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  margin-bottom: 64px;
  max-width: 480px;
  line-height: 1.2;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.pillar {
  padding: 40px;
  background: var(--cream);
  border-radius: 16px;
  border: 1px solid rgba(139,115,85,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(45,58,46,0.08);
}

.pillar__icon {
  margin-bottom: 20px;
}

.pillar h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar p {
  font-size: 15px;
  color: var(--olive-light);
  line-height: 1.65;
}

/* === MANIFESTO === */
.manifesto {
  padding: 120px 48px;
  background: var(--olive);
  text-align: center;
}

.manifesto__inner {
  max-width: 760px;
  margin: 0 auto;
}

.manifesto__quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.5vw, 42px);
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 48px;
}

.manifesto__body {
  font-size: 17px;
  color: var(--brown-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* === FOOTER === */
.footer {
  padding: 48px;
  background: var(--olive);
  border-top: 1px solid rgba(139,115,85,0.15);
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer__logo-mark {
  font-size: 18px;
  color: var(--terracotta);
}

.footer__logo-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--cream);
}

.footer__desc {
  font-size: 14px;
  color: var(--brown);
}

.footer__copy {
  font-size: 13px;
  color: var(--brown);
  margin-bottom: 4px;
}

.footer__tagline {
  font-size: 12px;
  color: var(--olive-light);
  font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav__tagline { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    min-height: auto;
    gap: 40px;
  }

  .hero__content { max-width: 100%; }

  .hero__visual { order: -1; }

  .hero__phone-mockup { width: 200px; }

  .phone-screen { border-radius: 20px; }
  .ig-image { height: 160px; }

  .problema { padding: 72px 24px; }

  .problema__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .comefunziona { padding: 72px 24px; }

  .steps {
    flex-direction: column;
    gap: 16px;
  }

  .step__connector {
    width: 2px;
    height: 24px;
    margin: 0 auto;
  }

  .step { padding: 24px; }

  .pilastri { padding: 72px 24px; }

  .pillars {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pillar { padding: 28px; }

  .manifesto { padding: 80px 24px; }

  .footer { padding: 36px 24px; }

  .footer__inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}
