/* ═══════════════════════════════════════════════════════════
   SCAMSHELL — Main Stylesheet
   Font: Plus Jakarta Sans (Google Fonts)
═══════════════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────────────── */
:root {
  --navy:       #0C1929;
  --navy-mid:   #162236;
  --teal:       #3DD9B4;
  --teal-dark:  #2AB89B;
  --coral:      #E84040;
  --cream:      #FFF9E3;
  --white:      #FFFFFF;
  --grey-100:   #F7F9FC;
  --grey-200:   #E8EAED;
  --grey-500:   #6B7280;
  --grey-700:   #374151;

  --font: 'Plus Jakarta Sans', sans-serif;

  --radius-btn:  50px;
  --radius-card: 16px;
  --radius-icon: 12px;

  --container:   1160px;
  --section-py:  88px;
  --section-px:  24px;

  --shadow-card: 0 2px 16px rgba(12, 25, 41, 0.08);
  --shadow-btn:  0 4px 14px rgba(61, 217, 180, 0.35);
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
}

/* ── Utility ────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.text-teal  { color: var(--teal-dark); }
.text-coral { color: var(--coral); }

.section-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-heading em {
  font-style: italic;
  color: var(--navy);
}

.section-sub {
  font-size: 1rem;
  color: var(--grey-500);
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  padding: 11px 24px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  text-align: center;
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
  display: block;
}

.btn--teal {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
}
.btn--teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  box-shadow: var(--shadow-btn);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-mid);
  box-shadow: 0 4px 14px rgba(12, 25, 41, 0.3);
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
.nav {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  border-bottom: 1px solid var(--grey-200);
  box-shadow: 0 1px 8px rgba(12, 25, 41, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav__logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav__logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, #1E82BC 0%, #0F5E96 100%);
  overflow: hidden;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 80px;
  min-height: 82vh;
}

.hero__content {
  flex: 1;
  max-width: 520px;
}

.hero__headline {
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

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

.hero__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 520px;
}

.hero__phone {
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.4));
}

.hero__shelly {
  position: absolute;
  width: 110px;
  bottom: 20px;
  left: -10px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ═══════════════════════════════════════════════════════════
   STATS — Fraud is Exploding
═══════════════════════════════════════════════════════════ */
.stats {
  background: var(--cream);
  padding: var(--section-py) 0;
  text-align: center;
}

.stats__headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
}

.stats__sub {
  font-size: 1rem;
  color: var(--grey-500);
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.stats__grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 56px;
  flex: 1;
  max-width: 280px;
}

.stat--divider {
  border-left: 2px solid rgba(12, 25, 41, 0.1);
  border-right: 2px solid rgba(12, 25, 41, 0.1);
}

.stat__value {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-500);
}

/* ═══════════════════════════════════════════════════════════
   INTRODUCING SCAMSHELL
═══════════════════════════════════════════════════════════ */
.introducing {
  background: var(--white);
  padding: var(--section-py) 0;
}

.introducing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 0;
}

.introducing__features {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature__icon--blue  { background: #3B82F6; }
.feature__icon--green { background: #22C55E; }
.feature__icon--amber { background: #F59E0B; }

.feature__text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.feature__text p {
  font-size: 0.92rem;
  color: var(--grey-500);
  line-height: 1.65;
}

.introducing__phone {
  display: flex;
  justify-content: center;
}

.introducing__phone img {
  width: 100%;
  max-width: 360px;
  filter: drop-shadow(0 20px 40px rgba(12, 25, 41, 0.12));
}

/* ═══════════════════════════════════════════════════════════
   MEET SHELLY
═══════════════════════════════════════════════════════════ */
.meet-shelly {
  background: #FEF5E4;
  padding: var(--section-py) 0;
}

.meet-shelly__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.meet-shelly__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.meet-shelly__image img {
  width: 100%;
  max-width: 380px;
}

.meet-shelly__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.meet-shelly__content p {
  font-size: 1.08rem;
  color: var(--grey-700);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════
   MASTER THE TIDES
═══════════════════════════════════════════════════════════ */
.tides {
  background: linear-gradient(180deg, #f0f9ff 0%, #d4eeff 55%, #f0f9ff 100%);
  padding: var(--section-py) 0;
  text-align: center;
}

.tides__track {
  position: relative;
  margin-top: 56px;
  padding: 0 40px;
}

.tides__line {
  position: absolute;
  top: 34px;
  left: calc(40px + 34px);
  right: calc(40px + 34px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, #B8DCF0 40%, #B8DCF0 100%);
  z-index: 0;
}

.tides__stages {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.tides__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.tides__node {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(180, 220, 245, 0.4);
  border: 2px solid rgba(100, 170, 210, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.tides__node svg {
  color: #5A9CC0;
}

.tides__stage--active .tides__node {
  background: var(--navy);
  border: 3px solid var(--teal);
  box-shadow: 0 0 0 5px rgba(61, 217, 180, 0.2);
}

.tides__stage--active .tides__node svg {
  color: var(--teal);
}

.tides__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.tides__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.tides__stage:not(.tides__stage--active) .tides__name {
  color: var(--grey-500);
}

.tides__desc {
  font-size: 0.78rem;
  color: var(--grey-500);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   BUILT TO ENGAGE
═══════════════════════════════════════════════════════════ */
.engage {
  background: var(--white);
  padding: var(--section-py) 0;
  text-align: center;
}

.engage .section-heading em {
  color: var(--teal-dark);
}

.engage__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}

.engage__card {
  padding: 28px;
  border-radius: var(--radius-card);
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.engage__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(12, 25, 41, 0.1);
}

.engage__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.engage__icon--blue  { background: #3B82F6; }
.engage__icon--green { background: #22C55E; }
.engage__icon--amber { background: #F59E0B; }

.engage__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.engage__card p {
  font-size: 0.92rem;
  color: var(--grey-500);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   CTA — Ready to secure your pearls?
═══════════════════════════════════════════════════════════ */
.cta {
  background: linear-gradient(135deg, #5DD6CB 0%, #3CBCD8 100%);
  padding: 72px 0 0;
  overflow: hidden;
}

.cta__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.cta__content {
  flex: 1;
  text-align: center;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta__content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta__content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.cta__skip {
  display: block;
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}

.cta__skip:hover {
  color: rgba(255, 255, 255, 0.9);
}

.cta__image {
  flex: 0 0 auto;
  align-self: flex-end;
}

.cta__image img {
  width: 200px;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  padding: 40px 0 32px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer__logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer__logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer__nav {
  display: flex;
  gap: 28px;
}

.footer__nav a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__copy {
  padding-top: 24px;
  text-align: center;
}

.footer__copy p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════════════════════════════════════════════
   MODAL
═══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 25, 41, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 40px 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 64px rgba(12, 25, 41, 0.2);
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--grey-500);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.modal__close:hover {
  background: var(--grey-100);
  color: var(--navy);
}

.modal__shelly {
  width: 72px;
  margin: 0 auto 20px;
}

.modal__shelly--large {
  width: 120px;
  margin-bottom: 24px;
}

.modal__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.modal p {
  font-size: 0.95rem;
  color: var(--grey-500);
  line-height: 1.65;
  margin-bottom: 24px;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal__form input[type="email"] {
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-btn);
  padding: 14px 20px;
  font-size: 1rem;
  font-family: var(--font);
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.modal__form input[type="email"]::placeholder {
  color: var(--grey-500);
  font-weight: 400;
}

.modal__form input[type="email"]:focus {
  border-color: var(--teal);
}

.modal__error {
  font-size: 0.82rem !important;
  color: var(--coral) !important;
  margin: -4px 0 0 !important;
  min-height: 18px;
}

.modal__privacy {
  font-size: 0.78rem !important;
  color: var(--grey-500) !important;
  margin: 4px 0 0 !important;
}

.modal__step--hidden {
  display: none;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root {
    --section-py: 64px;
  }

  .hero__inner {
    flex-direction: column;
    min-height: unset;
    padding-top: 56px;
    padding-bottom: 56px;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__sub {
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    min-height: 380px;
  }

  .hero__phone {
    max-width: 360px;
  }

  .hero__shelly {
    width: 80px;
    bottom: 10px;
    left: 20px;
  }

  .introducing__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .introducing__phone {
    order: -1;
  }

  .introducing__phone img {
    max-width: 280px;
  }

  .meet-shelly__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .meet-shelly__image img {
    max-width: 600px;
    margin: 0 auto;
  }

  .tides__track {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .tides__stages {
    min-width: 600px;
  }

  .engage__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .cta__image img {
    width: 160px;
  }

  .stat {
    padding: 0 28px;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile
═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  :root {
    --section-py: 52px;
    --section-px: 20px;
  }

  .nav__inner {
    gap: 12px;
  }

  .hero__headline {
    font-size: 2.4rem;
  }

  .stats__grid {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .stat--divider {
    border: none;
    border-top: 2px solid rgba(12, 25, 41, 0.1);
    border-bottom: 2px solid rgba(12, 25, 41, 0.1);
    padding: 36px 0;
    width: 100%;
  }

  .modal {
    padding: 40px 28px 32px;
  }

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