/* awayyy — landing V3 emozionale */
@import url('https://fonts.googleapis.com/css2?family=Anek+Tamil:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --canvas: #FBFAF6;
  --raised: #FFFFFF;
  --sunken: #F1EEE3;
  --ink: #1A1A1A;
  --ink-soft: #5A5A5A;
  --ink-faint: #A0A0A0;
  --line: #E8E4D8;
  --line-subtle: #F1EEE3;
  --accent: #CAFF00;
  --accent-soft: #EAFFB6;
  --accent-dark: #6B8B00;
  --display: 'Anek Tamil', sans-serif;
  --body: 'Plus Jakarta Sans', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: opacity 0.15s ease; }
a:hover { opacity: 0.7; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ─── Reveal animations ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ─── Header ─── */
.site-header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(251, 250, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid transparent;
}
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-img { height: 26px; width: auto; display: block; }
.header-nav { display: flex; align-items: center; gap: 24px; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  display: none;
}
@media (min-width: 720px) { .nav-link { display: inline; } }
.nav-cta {
  background: var(--ink);
  color: var(--canvas);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
}
.nav-cta:hover { opacity: 1; transform: scale(0.97); }

/* ═════════════ HERO ═════════════ */
.hero {
  padding: 48px 0 80px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .hero { padding: 64px 0 100px; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-copy h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 80px);
  line-height: 1.0;
  letter-spacing: -2px;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero-copy h1 .hl {
  background: linear-gradient(180deg, transparent 60%, var(--accent) 60%);
  padding: 0 4px;
}

.hero-copy .lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 36px;
}
.hero-copy .lead strong { color: var(--ink); font-weight: 600; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.2px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.cta-primary { background: var(--accent); color: var(--ink); }
.cta-primary:hover { transform: translateY(-2px); opacity: 1; box-shadow: var(--shadow-md); }
.cta-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.cta-ghost:hover { background: var(--sunken); opacity: 1; }
.cta-large { padding: 18px 36px; font-size: 17px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-faint);
  font-weight: 500;
}

/* Phone mockup CSS-pure */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}
.phone {
  width: 280px;
  height: 580px;
  background: #1A1A1A;
  border-radius: 44px;
  padding: 12px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
  transition: transform 0.5s ease;
}
@media (min-width: 900px) { .phone:hover { transform: rotate(0deg) scale(1.02); } }
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1A1A1A;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--canvas);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  padding: 12px 6px 6px;
}
.phone-card {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(135deg, #D4A574 0%, #B8860B 50%, #8B4513 100%);
  position: relative;
  overflow: hidden;
}
.phone-card-img {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 100%),
    radial-gradient(circle at 30% 40%, #FFB37D 0%, #C97D4A 40%, #6B3818 100%);
}
.phone-card-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  background: var(--canvas);
  border: 1px solid var(--line-subtle);
  border-radius: 999px;
  padding: 4px 8px 4px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.phone-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB37D, #B85A2A);
  flex-shrink: 0;
}
.phone-pill-text { flex: 1; min-width: 0; line-height: 1.1; }
.phone-pill-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  color: var(--ink);
}
.phone-pill-sub {
  font-size: 9px;
  color: var(--ink-soft);
  margin-top: 1px;
}
.phone-follow {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 3px 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 10px;
  color: var(--ink);
}
.phone-card-bottom {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: var(--canvas);
  border: 1px solid var(--line-subtle);
  border-radius: 18px;
  padding: 10px 11px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.phone-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  color: var(--ink);
}
.phone-action { display: inline-flex; gap: 2px; align-items: center; }
.phone-pill-accent {
  margin-left: auto;
  background: var(--accent);
  color: var(--ink);
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 10px;
  white-space: nowrap;
}
.phone-caption {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 8px;
}
.phone-tag { color: var(--accent-dark); font-weight: 700; }
.phone-cta-row { display: flex; align-items: center; justify-content: space-between; }
.phone-time {
  font-family: var(--display);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.5px;
  color: var(--ink-faint);
}
.phone-cta {
  background: var(--accent);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
}
.phone-shadow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 30px;
  background: rgba(0,0,0,0.18);
  filter: blur(20px);
  border-radius: 50%;
  z-index: -1;
}

/* Social proof bar */
.social-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 64px;
  padding: 24px 32px;
  background: var(--raised);
  border: 1px solid var(--line-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 16px;
}
.social-item { text-align: center; flex: 1; min-width: 100px; }
.social-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -1px;
  color: var(--ink);
}
.social-label {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.social-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
  display: none;
}
@media (min-width: 720px) { .social-divider { display: block; } }

/* ═════════════ Sections base ═════════════ */
section { padding: 80px 0; }
@media (min-width: 768px) { section { padding: 100px 0; } }

.label {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--sunken);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h2.big {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 24px;
  color: var(--ink);
}
h2.big .muted { color: var(--ink-faint); }

.section-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 0 56px;
}

/* ═════════════ PROBLEM ═════════════ */
.section-problem { background: var(--sunken); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 720px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }
.problem-card {
  background: var(--raised);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem-emoji { font-size: 36px; margin-bottom: 16px; }
.problem-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--ink);
}
.problem-card p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* ═════════════ HOW IT WORKS ═════════════ */
.section-how { background: var(--canvas); }
.steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 48px;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-subtle);
}
.step:last-child { border-bottom: none; }
@media (min-width: 768px) {
  .step { grid-template-columns: 80px 1fr 280px; gap: 32px; align-items: center; }
}
.step-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--accent);
  -webkit-text-stroke: 1px var(--ink);
}
.step-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  color: var(--ink);
}
.step-body p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* Step illustrations CSS-pure */
.step-illu {
  width: 100%;
  height: 180px;
  border-radius: 18px;
  background: var(--sunken);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 767px) { .step-illu { grid-column: 1 / -1; margin-top: 16px; } }

.step-illu-feed { padding: 16px; gap: 8px; flex-direction: row; }
.step-illu-feed .illu-card {
  width: 60px;
  height: 100px;
  background: linear-gradient(135deg, #D4A574, #8B4513);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.step-illu-feed .illu-card:nth-child(2) { background: linear-gradient(135deg, #87CEEB, #4682B4); transform: translateY(-8px); }
.step-illu-feed .illu-card:nth-child(3) { background: linear-gradient(135deg, #98D8A1, #2D8047); }

.step-illu-magic { gap: 12px; padding: 12px; }
.magic-pill {
  background: var(--accent);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
}
.magic-arrow { font-size: 24px; color: var(--ink-faint); }
.magic-result {
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  color: var(--ink);
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  line-height: 1.4;
}

.step-illu-map { background: linear-gradient(135deg, #E8F4E8, #C8E6C9); }
.illu-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
}
.illu-line {
  position: absolute;
  top: 35%;
  left: 28%;
  width: 50%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--ink) 0 4px, transparent 4px 8px);
  transform: rotate(8deg);
}

/* ═════════════ DIARIES SHOWCASE ═════════════ */
.section-diaries { background: var(--ink); color: var(--canvas); }
.section-diaries .label {
  background: rgba(255,255,255,0.1);
  color: var(--accent);
}
.section-diaries h2.big { color: var(--canvas); }
.section-diaries .section-intro { color: rgba(255,255,255,0.7); }

.diaries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 720px) { .diaries-grid { grid-template-columns: repeat(3, 1fr); } }

.diary-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.2s ease, background 0.2s ease;
}
.diary-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.08); }
.diary-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.diary-img-1 { background: linear-gradient(135deg, #D4A574, #8B4513); }
.diary-img-2 { background: linear-gradient(135deg, #FFE5B4, #D2691E); }
.diary-img-3 { background: linear-gradient(135deg, #87CEEB, #4682B4); }
.diary-meta {
  padding: 16px 20px 6px;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.diary-card h3 {
  padding: 0 20px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  color: var(--canvas);
}
.diary-card p {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.diaries-cta { text-align: center; margin-top: 48px; }

/* ═════════════ WHY ═════════════ */
.section-why { background: var(--canvas); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 600px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card {
  background: var(--raised);
  border: 1px solid var(--line-subtle);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon { font-size: 32px; margin-bottom: 16px; }
.why-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
  color: var(--ink);
}
.why-card p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* ═════════════ COMPARISON ═════════════ */
.section-vs { background: var(--sunken); }
.vs-table-wrap { margin-top: 48px; overflow-x: auto; }
.vs-table {
  width: 100%;
  min-width: 600px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--raised);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.vs-table th, .vs-table td {
  padding: 18px 20px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--line-subtle);
}
.vs-table th {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--sunken);
}
.vs-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--ink);
}
.vs-table th.vs-us, .vs-table td.vs-us {
  background: linear-gradient(180deg, var(--accent-soft), rgba(202,255,0,0.15));
  color: var(--ink);
  font-weight: 700;
}
.vs-table th.vs-us {
  font-family: var(--display);
  font-weight: 800;
  background: var(--accent);
  color: var(--ink);
}
.vs-table tr:last-child td { border-bottom: none; }
.dot-yes { color: var(--accent-dark); font-size: 22px; line-height: 1; }
.dot-no { color: var(--ink-faint); font-size: 16px; }

/* ═════════════ FAQ ═════════════ */
.section-faq { background: var(--canvas); }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
  max-width: 760px;
}
.faq-item {
  background: var(--raised);
  border: 1px solid var(--line-subtle);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  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-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  color: var(--ink-soft);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ═════════════ FINAL CTA ═════════════ */
.section-cta-final { background: var(--ink); color: var(--canvas); }
.cta-final-box {
  text-align: center;
  max-width: 680px;
}
.section-cta-final h2.big { color: var(--canvas); margin-bottom: 16px; }
.section-cta-final p {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  margin: 0 0 36px;
}
.cta-fineprint {
  font-size: 13px !important;
  color: rgba(255,255,255,0.45) !important;
  margin-top: 18px !important;
}

/* ═════════════ Footer ═════════════ */
.site-footer {
  padding: 64px 0 48px;
  background: var(--canvas);
  border-top: 1px solid var(--line-subtle);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.logo-img-footer { height: 24px; width: auto; display: block; }
.footer-claim {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 14px;
  margin: 4px 0 0;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-h {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink);
  margin-bottom: 4px;
}
.footer-col a { color: var(--ink-soft); font-size: 14px; }
.footer-col a:hover { color: var(--ink); opacity: 1; }
.footer-meta { font-size: 12px; color: var(--ink-faint); }

/* ═════════════ Privacy page (preserva stili) ═════════════ */
.privacy h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.8px;
  margin: 24px 0 8px;
}
.privacy h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.3px;
  margin: 36px 0 12px;
}
.privacy p,
.privacy li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}
.privacy ul { padding-left: 20px; }
.privacy .meta {
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

/* Riduci motion per accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}
