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

body {
  background: #141A25;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── SECTION 1: HEADER ── */
.section-header {
  background: linear-gradient(to bottom, #ffffff 0%, #EFF6FF 100%);
  position: relative;
}

/* Navigation */
.nav-wrapper {
  max-width: 1258px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 32px;
  border: 2px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
}

.nav-links a {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  color: #3D475B;
  text-decoration: none;
  transition: color 200ms ease-out;
}

.nav-links a:hover {
  color: #4599FF;
}

/* Two-column hero */
.hero-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-col-left {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-width: 0;
  overflow: visible;
}

.hero-col-left img {
  max-width: none;
  flex-shrink: 0;
  display: block;
}

.hero-col-right {
  padding: 96px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-title {
  font-family: 'new-spirit', serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 106%;
  color: #181F2B;
  text-align: center;
}

.hero-subtitle {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 130%;
  color: #838790;
  text-align: center;
}

/* Email form */
.email-form {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.email-input {
  flex: 1;
  min-width: 320px;
  background: #ffffff;
  border: 2px solid #E5E5E5;
  border-radius: 16px;
  box-shadow: 0 2px 0 #E5E5E5;
  padding: 24px 32px;
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  color: #181F2B;
  outline: none;
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
}

.email-input::placeholder {
  color: #A0A3AC;
}

.email-input:hover,
.email-input:focus {
  border-color: #EF531A;
  box-shadow: 0 2px 0 #EF531A;
}

.email-button {
  flex-shrink: 0;
  background: #EF531A;
  border: 2px solid #FC6D3A;
  border-radius: 16px;
  box-shadow: 0 2px 0 #FC6D3A;
  padding: 0 32px;
  font-family: 'new-spirit', serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.play-button {
  height: 76px;
  padding: 0 48px;
  text-decoration: none;
}

/* Info row */
.info-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-text {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  color: #9AA1AC;
}

.mobile-hero-illus {
  display: none;
}

.mobile-soon-btn {
  display: none;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(15px); }
}

.scroll-icon {
  animation: scroll-bounce 3s ease-in-out infinite;
}

/* ── SECTION 2: FEATURES ── */
.section-features {
  padding: 128px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 96px;
}

.features-intro {
  max-width: 533px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.features-title {
  font-family: 'new-spirit', serif;
  font-weight: 600;
  font-size: 54px;
  line-height: 120%;
  color: #ffffff;
}

.features-desc {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 130%;
  letter-spacing: 0.02em;
  color: #838790;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 1440px;
}

.feature-card {
  height: 500px;
  padding: 24px 12px 10px;
  background: #ffffff;
  border: 2px solid #E5E5E5;
  border-radius: 20px;
  box-shadow: 0 2px 0 #E5E5E5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-family: 'new-spirit', serif;
  font-weight: 600;
  font-size: 38px;
  line-height: 100%;
  text-align: center;
  padding-top: 24px;
}

.card-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.card-number {
  font-family: 'new-spirit', serif;
  font-weight: 600;
  font-size: 38px;
  line-height: 100%;
}

.card-desc {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0.02em;
  color: #838790;
  text-align: center;
}

.card-bottom img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

/* CTA section */
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 720px;
}

.email-button--purple {
  background: #CD85F7;
  border-color: #C372F2;
  box-shadow: 0 2px 0 #C372F2;
}

.cta-section .email-input:hover,
.cta-section .email-input:focus,
.footer-form-block .email-input:hover,
.footer-form-block .email-input:focus {
  border-color: #CD85F7;
  box-shadow: 0 2px 0 #CD85F7;
}

.safety-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.safety-text {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 130%;
  color: #838790;
}

/* ── FOOTER ── */
.footer-top-wrapper {
  width: 100%;
  overflow: hidden;
}

.footer-top {
  display: block;
  width: 100%;
}

.footer {
  padding: 64px 0 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  text-align: center;
}

.footer-heading-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-heading {
  font-family: 'new-spirit', serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 110%;
  color: #ffffff;
}

.footer-subheading {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 130%;
  color: #838790;
}

.footer-form-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-info-text {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  color: #9AA1AC;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.footer-links a {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  color: #838790;
  text-decoration: none;
}

.footer-copy {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 130%;
  color: #838790;
}

.footer-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.footer-right img {
  max-width: 100%;
}

/* ── SECTION 4: SCREENS ── */
.section-screens {
  padding: 96px 24px;
}

.screens-container {
  max-width: 1255px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.screen-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
}

.screen-item img.screen-img {
  max-width: 210px;
  width: 100%;
  height: auto;
}

.screen-text {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  color: #838790;
  text-align: center;
}

/* Wave */
.wave-wrapper {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  overflow: hidden;
}

.wave-bottom {
  display: block;
  width: 100%;
}

/* ── SECTION 3: POVESTE ── */
.section-story {
  position: relative;
  padding: 48px 24px;
  overflow: hidden;
}

.story-tentacle {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.story-content {
  max-width: 550px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.story-title {
  font-family: 'new-spirit', serif;
  font-weight: 600;
  font-size: 54px;
  line-height: 120%;
  color: #ffffff;
}

.story-desc {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 130%;
  letter-spacing: 0.02em;
  color: #838790;
}

.story-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 32px;
  background: #2A72CC;
  border: 2px solid #4A87D4;
  border-radius: 16px;
  box-shadow: 0 2px 0 #4A87D4;
  font-family: 'new-spirit', serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
}

/* ── MODAL POVESTE ── */
.story-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 18, 28, 0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.story-modal-overlay.open {
  display: flex;
}

.story-modal {
  background: #141A25;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  max-width: 780px;
  max-height: 630px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.story-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 0 0 rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.08s, box-shadow 0.08s;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.story-modal-close:active {
  transform: translateY(2px);
  box-shadow: none;
}

.story-modal-scroll {
  max-height: 630px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 74px 128px 0;
  gap: 64px;
  text-align: center;
  scrollbar-color: rgba(255, 255, 255, 0.15) #141A25;
}

.story-modal-scroll::-webkit-scrollbar {
  width: 6px;
}

.story-modal-scroll::-webkit-scrollbar-track {
  background: #141A25;
}

.story-modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.story-modal-para {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.story-modal-para--muted {
  color: #838790;
}

.story-modal-illus {
  max-width: 100%;
}

/* Progress bars */
.story-progress {
  align-self: stretch;
  padding: 0 0 128px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.progress-item {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.progress-item--small {
  flex: 1;
}

.progress-track {
  width: 100%;
  height: 28px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 6px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.progress-fill {
  height: 100%;
  background: #30907C;
  border-radius: 999px;
}

.progress-dot {
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  flex-shrink: 0;
}

.progress-label {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  color: #ffffff;
  text-align: center;
}

.progress-label--muted {
  color: #838790;
}

/* ── FORM STATES ── */
.email-form-msg {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  min-height: 1em;
}
.email-form-msg--error { color: #FF6B6B; }
.email-form-msg--success { color: #30907C; font-size: 18px; }
.email-input:disabled, .email-button:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── TABLET (≤ 960px) ── */
@media (max-width: 960px) {
  .nav-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 32px 24px;
  }

  .nav-links {
    display: flex;
    width: auto;
    justify-content: center;
    gap: 24px;
    padding: 24px;
  }

  .nav-links a { font-size: 18px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-col-left { display: none; }
  .hero-col-right { padding: 64px 40px 80px; }
  .hero-title { font-size: 48px; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { height: auto; min-height: 400px; }

  .screens-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 64px 24px 0;
  }
  .footer-right { display: none; }

  .story-modal-scroll { padding: 80px 64px 0; }
  .story-modal-scroll { max-height: 80vh; }
  .story-modal { max-height: 80vh; }
}

/* ── MOBILE (≤ 600px) ── */
@media (max-width: 600px) {
  .hero-col-right { padding: 12px 0 64px; gap: 20px; }
  .hero-title { font-size: 34px; }
  .hero-subtitle { font-size: 18px; }

  .hero-col-right > img:first-child { width: 180px; }

  .nav-wrapper > img:last-child { display: none; }

  .mobile-soon-btn { display: block; }

  .mobile-hero-illus {
    display: block;
    width: calc(100% + 48px);
    height: auto;
    padding: 32px 0 0;
    margin: 0 -24px;
  }

  .mobile-soon-btn { padding: 0 0 32px; }

  .email-form { flex-direction: column; }
  .email-input { min-width: 0; width: 100%; padding: 19px 24px; }
  .email-button { width: 100%; height: 66px; justify-content: center; }
  .play-button { height: 66px; }

  .info-row { flex-direction: column; align-items: center; text-align: center; }

  .wave-bottom { min-width: 1660px; position: relative; left: 50%; transform: translateX(-50%); }
  .footer-top { min-width: 1660px; position: relative; left: 50%; transform: translateX(-50%); }
  .scroll-icon { display: none; }

  .section-features { padding: 64px 20px; gap: 48px; }
  .features-title { font-size: 34px; }
  .features-desc { font-size: 18px; }
  .features-intro { max-width: 100%; }
  .cards-grid { grid-template-columns: 1fr; }
  .feature-card { height: 420px; }
  .card-title { font-size: 30px; }
  .card-number { font-size: 30px; }
  .cta-section { max-width: 100%; }

  .section-story { padding: 40px 20px; }
  .story-tentacle { display: none; }
  .story-title { font-size: 34px; }
  .story-desc { font-size: 18px; }
  .story-btn { font-size: 18px; padding: 16px 24px; }

  .story-modal-scroll { padding: 56px 24px 0; max-height: 82vh; }
  .story-modal { max-height: 82vh; }
  .story-progress { padding-bottom: 64px; }

  .section-screens { padding: 64px 20px; }
  .screens-container { gap: 24px 32px; }
  .screen-item { gap: 24px; }

  .footer { padding: 48px 20px; }
  .footer-left { gap: 40px; }
  .footer-heading { font-size: 26px; }
  .footer-subheading { font-size: 18px; }
  .footer-form-block { align-items: stretch; width: 100%; }
  .footer-info-row { flex-direction: column; align-items: center; }
}

/* ── PAGINI LEGALE ── */
.legal-hero {
  padding: 72px 24px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.legal-title {
  font-family: 'new-spirit', serif;
  font-weight: 600;
  font-size: 54px;
  line-height: 110%;
  color: #181F2B;
}

.legal-updated {
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  color: #3D475B;
}

.legal-hero .scroll-icon {
  margin-top: 28px;
}

.legal-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 128px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  font-family: 'din-2014-rounded-variable', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 150%;
  color: #ffffff;
}

.legal-content strong {
  color: #CD85F7;
}

.legal-content a {
  color: #4599FF;
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .legal-hero { padding: 40px 20px 96px; }
  .legal-title { font-size: 34px; }
  .legal-content { padding: 72px 20px; font-size: 17px; }
}
