/* ==============================================
   CSS VARIABLES & RESET
   ============================================== */
:root {
  /* App colors */
  --yellow-primary: #FFC900;
  --yellow-bg: #FFC900;
  --yellow-deep: #E6B500;
  --yellow-pale: #FFF9E6;
  --dark: #333333;
  --dark-deep: #2a2a2a;
  --white: #FFFFFF;
  --grey: #757575;
  --grey-light: #f5f5f5;

  /* Feature colors */
  --journal-blue: #3498DB;
  --sos-red: #E74C3C;
  --resources-green: #7DBD26;
  --community-orange: #F39C12;
  --pro-blue: #5B9BD5;

  /* Typography */
  --font-display: 'Nunito', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container: 1140px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Nav height */
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 800;
}

/* ==============================================
   REVEAL ANIMATIONS
   ============================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in hero */
.hero__content .reveal:nth-child(2) { transition-delay: 0.1s; }
.hero__content .reveal:nth-child(3) { transition-delay: 0.2s; }
.hero__content .reveal:nth-child(4) { transition-delay: 0.3s; }
.hero__content .reveal:nth-child(5) { transition-delay: 0.4s; }
.hero__content .reveal:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__logo-img {
    animation: none !important;
  }
  .hero__logo-glow {
    animation: none !important;
  }
}

/* ==============================================
   NAVIGATION
   ============================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255, 201, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav--scrolled {
  background: rgba(255, 201, 0, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark);
  flex-shrink: 0;
}

.nav__logo {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.nav__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  position: relative;
  padding: 0.25rem 0;
  transition: opacity 0.2s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  background: var(--dark);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 700;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==============================================
   HERO
   ============================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: #FFC900;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Grain texture removed to match logo background exactly */

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero__badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--dark);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--dark);
  opacity: 0.85;
}

.hero__description {
  font-size: 1.05rem;
  color: var(--dark);
  opacity: 0.75;
  max-width: 500px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--dark);
  color: var(--white);
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.store-btn__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn__text {
  text-align: left;
  line-height: 1.2;
}

.store-btn__label {
  font-size: 0.6rem;
  opacity: 0.8;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.store-btn__name {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.store-btn--large {
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.store-btn--large .store-btn__icon {
  width: 32px;
  height: 32px;
}

.store-btn--large .store-btn__name {
  font-size: 1.15rem;
}

.store-btn--pro {
  background: var(--pro-blue);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  opacity: 0.7;
  margin-top: 0.5rem;
}

.hero__trust-sep {
  width: 4px;
  height: 4px;
  background: var(--dark);
  border-radius: 50%;
  opacity: 0.5;
}

/* Hero visual / logo */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo-glow {
  display: none;
}

.hero__logo-img {
  position: relative;
  width: 100%;
  max-width: 420px;
  animation: float 6s ease-in-out infinite;
}

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

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

/* Hero wave separator */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero__wave svg {
  width: 100%;
  height: 60px;
}

/* ==============================================
   STATS BAR
   ============================================== */
.stats {
  background: var(--dark);
  color: var(--white);
  padding: 3.5rem 1.5rem;
}

.stats__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--yellow-primary);
  line-height: 1;
}

.stat__number--percent::after {
  content: '\2009%';
}

.stat__label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.35rem;
  font-weight: 500;
}

.stat__label--big {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--yellow-primary);
  line-height: 1;
}

/* ==============================================
   FEATURES
   ============================================== */
.features {
  background: var(--white);
  padding: var(--section-pad) 1.5rem;
}

.features__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-align: center;
  color: var(--dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  text-align: center;
  color: var(--grey);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 3.5rem;
  line-height: 1.6;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out);
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--card-color, var(--yellow-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--card-color, var(--yellow-primary)) 35%, transparent);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.feature-card__desc {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ==============================================
   APP PREVIEW (PHONE MOCKUPS)
   ============================================== */
.preview {
  background: var(--yellow-pale);
  padding: var(--section-pad) 1.5rem;
  overflow: hidden;
}

.preview__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.preview__phones {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  perspective: 1000px;
}

.preview__phone {
  width: 200px;
  height: 400px;
  background: var(--dark-deep);
  border-radius: 28px;
  padding: 8px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}

.preview__phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: var(--dark-deep);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.preview__phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  overflow: hidden;
}

.preview__phone-icon {
  width: 36px;
  height: 36px;
}

.preview__phone-app-icon {
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.preview__phone-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
}

/* Fake UI lines */
.preview__phone-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 80%;
}

.preview__phone-lines span {
  display: block;
  height: 6px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
}

/* Fake UI grid */
.preview__phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 80%;
}

.preview__phone-grid span {
  aspect-ratio: 1;
  border-radius: 12px;
  opacity: 0.85;
}

/* Fake bars chart */
.preview__phone-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  width: 80%;
}

.preview__phone-bars span {
  flex: 1;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px 4px 0 0;
}

/* Phone positions */
.preview__phone--left {
  transform: rotate(-5deg) scale(0.88);
}

.preview__phone--center {
  width: 220px;
  height: 440px;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.preview__phone--right {
  transform: rotate(5deg) scale(0.88);
}

/* ==============================================
   COMMITMENTS
   ============================================== */
.commitments {
  background: var(--white);
  padding: var(--section-pad) 1.5rem;
}

.commitments__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.commitments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.commitment-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  background: var(--grey-light);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.commitment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.commitment-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: var(--yellow-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(255, 201, 0, 0.3);
}

.commitment-card__icon svg {
  width: 26px;
  height: 26px;
}

.commitment-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.commitment-card__desc {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.6;
}

.commitments__disclaimer {
  text-align: center;
  font-size: 0.88rem;
  color: var(--grey);
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  background: #FFF9E6;
  border-radius: 12px;
  border-left: 4px solid var(--yellow-primary);
  line-height: 1.6;
}

/* ==============================================
   CTA SECTION
   ============================================== */
.cta {
  background: #FFC900;
  padding: var(--section-pad) 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Grain texture removed to match logo background */

.cta__inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.cta__subtitle {
  font-size: 1.1rem;
  color: var(--dark);
  opacity: 0.75;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta__offline {
  font-size: 0.9rem;
  color: var(--dark);
  opacity: 0.6;
  font-weight: 500;
}

/* ==============================================
   PRO SECTION
   ============================================== */
.pro-section {
  background: var(--grey-light);
  padding: var(--section-pad) 1.5rem;
}

.pro-section__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pro-section__card {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  margin-top: 2rem;
}

.pro-section__logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.pro-section__badge {
  display: inline-block;
  background: var(--pro-blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pro-section__desc {
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.pro-section__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pro-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}

.pro-section__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 155, 213, 0.35);
}

.pro-section__btn svg {
  width: 20px;
  height: 20px;
}

/* ==============================================
   FOOTER
   ============================================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 3.5rem 1.5rem 1.5rem;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.footer__logo {
  border-radius: 8px;
}

.footer__legal {
  font-size: 0.88rem;
  opacity: 0.6;
  line-height: 1.6;
}

.footer__heading {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--yellow-primary);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

.footer__list a {
  transition: opacity 0.2s;
}

.footer__list a:hover {
  opacity: 1;
  color: var(--yellow-primary);
}

.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.5;
}

/* ==============================================
   RESPONSIVE — TABLET (768px)
   ============================================== */
@media (max-width: 992px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding-bottom: 8rem;
  }

  .hero__content {
    align-items: center;
  }

  .hero__description {
    margin: 0 auto;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

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

  .hero__logo-glow {
    width: 240px;
    height: 240px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .commitments__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__col:first-child {
    grid-column: 1 / -1;
  }

  /* Pro page tablet */
  .pro-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding-bottom: 8rem;
  }

  .pro-hero__content {
    align-items: center;
  }

  .pro-hero__subtitle {
    margin: 0 auto;
  }

  .pro-hero__buttons {
    justify-content: center;
  }

  .pro-hero__trust {
    justify-content: center;
  }

  .pro-hero__badge {
    align-self: center;
  }

  .pro-value__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .pro-features__grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================================
   RESPONSIVE — MOBILE (576px)
   ============================================== */
@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  /* Mobile nav */
  .nav__hamburger {
    display: flex;
  }

  .nav__name {
    max-width: 160px;
    font-size: 0.85rem;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--yellow-bg);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1.2rem;
  }

  .nav__link--cta {
    text-align: center;
    width: 100%;
    padding: 0.75rem 1.5rem;
  }

  /* Stats */
  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Features */
  .features__grid {
    grid-template-columns: 1fr;
  }

  /* Preview phones */
  .preview__phones {
    gap: 0.75rem;
  }

  .preview__phone {
    width: 140px;
    height: 280px;
    border-radius: 20px;
    padding: 6px;
  }

  .preview__phone--center {
    width: 160px;
    height: 320px;
  }

  .preview__phone-notch {
    width: 60px;
    height: 18px;
  }

  .preview__phone-screen {
    border-radius: 14px;
    padding: 1.5rem 0.75rem;
  }

  .preview__phone-icon {
    width: 28px;
    height: 28px;
  }

  .preview__phone-app-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .preview__phone-label {
    font-size: 0.8rem;
  }

  /* Commitments */
  .commitments__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__col:first-child {
    grid-column: auto;
  }

  /* Pro page mobile */
  .pro-value__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pro-steps__grid {
    flex-direction: column;
    gap: 0;
  }

  .pro-step__connector {
    transform: rotate(90deg);
    margin: -0.5rem 0;
  }

  .pro-step {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .hero__title {
    font-size: 1.9rem;
  }

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

  .hero__trust {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero__trust-sep {
    display: none;
  }

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

  .preview__phone--left,
  .preview__phone--right {
    display: none;
  }

  .preview__phone--center {
    width: 220px;
    height: 440px;
  }

  /* Pro page small mobile */
  .pro-hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .pro-hero__trust {
    flex-direction: column;
    gap: 0.5rem;
  }

  .pro-hero__trust-sep {
    display: none;
  }
}

/* ==============================================
   OVERLAY for mobile nav
   ============================================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==============================================
   PRO PAGE — NAV VARIANT
   ============================================== */
.nav--pro {
  background: rgba(91, 155, 213, 0.85);
}

.nav--pro.nav--scrolled {
  background: rgba(91, 155, 213, 0.95);
}

.nav--pro .nav__link {
  color: var(--white);
}

.nav--pro .nav__link::after {
  background: var(--white);
}

.nav--pro .nav__brand {
  color: var(--white);
}

.nav__link--cta-pro {
  background: var(--white) !important;
  color: var(--pro-blue) !important;
}

.nav__link--cta-pro:hover {
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .nav--pro .nav__links {
    background: var(--pro-blue);
  }

  .nav--pro .nav__hamburger span {
    background: var(--white);
  }

  .nav--pro .nav__name {
    color: var(--white);
  }
}

/* ==============================================
   PRO PAGE — HERO
   ============================================== */
.pro-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #4A8BC2 0%, #5B9BD5 40%, #6DA8DB 100%);
  padding-top: var(--nav-h);
  overflow: hidden;
}

.pro-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.pro-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pro-hero__badge {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.pro-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.pro-hero__subtitle {
  font-size: 1.1rem;
  color: var(--white);
  opacity: 0.9;
  max-width: 500px;
  line-height: 1.7;
}

.pro-hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.pro-hero__trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.8;
  margin-top: 0.5rem;
}

.pro-hero__trust-sep {
  width: 4px;
  height: 4px;
  background: var(--white);
  border-radius: 50%;
  opacity: 0.5;
}

.pro-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.pro-hero__wave svg {
  width: 100%;
  height: 60px;
}

/* Pro hero dashboard mockup */
.pro-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-hero__dashboard {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.pro-hero__dashboard-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--grey-light);
  border-bottom: 1px solid #eee;
}

.pro-hero__dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pro-hero__dashboard-title {
  margin-left: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--grey);
}

.pro-hero__dashboard-body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pro-hero__dashboard-stat {
  text-align: center;
  padding: 0.75rem;
  background: var(--grey-light);
  border-radius: 10px;
}

.pro-hero__dashboard-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--pro-blue);
}

.pro-hero__dashboard-stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--grey);
  font-weight: 600;
  margin-top: 2px;
}

.pro-hero__dashboard-chart {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  padding: 0.75rem;
  background: var(--grey-light);
  border-radius: 10px;
}

.pro-hero__dashboard-bar {
  flex: 1;
  background: linear-gradient(to top, #5B9BD5, #7DB8E8);
  border-radius: 4px 4px 0 0;
  min-height: 8px;
}

/* ==============================================
   PRO BUTTONS
   ============================================== */
.pro-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
  text-decoration: none;
  cursor: pointer;
}

.pro-btn:hover {
  transform: translateY(-2px);
}

.pro-btn svg {
  width: 20px;
  height: 20px;
}

.pro-btn--primary {
  background: var(--white);
  color: var(--pro-blue);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.pro-btn--primary:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.pro-btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.pro-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

.pro-btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.pro-btn--large svg {
  width: 22px;
  height: 22px;
}

/* ==============================================
   PRO VALUE PROPOSITION
   ============================================== */
.pro-value {
  background: var(--white);
  padding: var(--section-pad) 1.5rem;
}

.pro-value__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.pro-value__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pro-value__card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  background: var(--grey-light);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.pro-value__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.pro-value__card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: var(--card-color, var(--pro-blue));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--card-color, var(--pro-blue)) 35%, transparent);
}

.pro-value__card-icon svg {
  width: 26px;
  height: 26px;
}

.pro-value__card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.pro-value__card-desc {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ==============================================
   PRO FEATURES LIST
   ============================================== */
.pro-features {
  background: var(--grey-light);
  padding: var(--section-pad) 1.5rem;
}

.pro-features__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.pro-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pro-feature {
  display: flex;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid #eee;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.pro-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.pro-feature__icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: var(--card-color, var(--pro-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--card-color, var(--pro-blue)) 35%, transparent);
}

.pro-feature__icon svg {
  width: 24px;
  height: 24px;
}

.pro-feature__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.pro-feature__desc {
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ==============================================
   PRO STEPS
   ============================================== */
.pro-steps {
  background: var(--white);
  padding: var(--section-pad) 1.5rem;
}

.pro-steps__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.pro-steps__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.pro-step {
  text-align: center;
  padding: 2.5rem 2rem;
  flex: 1;
  max-width: 300px;
}

.pro-step__number {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: var(--pro-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(91, 155, 213, 0.3);
}

.pro-step__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.pro-step__desc {
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.6;
}

.pro-step__connector {
  width: 40px;
  flex-shrink: 0;
}

.pro-step__connector svg {
  width: 40px;
  height: 24px;
}

/* ==============================================
   PRO SPECIALTIES
   ============================================== */
.pro-specialties {
  background: var(--grey-light);
  padding: var(--section-pad) 1.5rem;
}

.pro-specialties__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.pro-specialties__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto;
}

.pro-specialty-tag {
  display: inline-block;
  background: var(--white);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  border: 1px solid #eee;
  transition: transform 0.2s var(--ease-spring), border-color 0.2s, box-shadow 0.2s;
}

.pro-specialty-tag:hover {
  transform: translateY(-2px);
  border-color: var(--pro-blue);
  box-shadow: 0 4px 12px rgba(91, 155, 213, 0.15);
  color: var(--pro-blue);
}

/* ==============================================
   PRO CTA
   ============================================== */
.pro-cta {
  background: linear-gradient(135deg, #4A8BC2 0%, #5B9BD5 40%, #6DA8DB 100%);
  padding: var(--section-pad) 1.5rem;
  text-align: center;
}

.pro-cta__inner {
  max-width: 700px;
  margin: 0 auto;
}

.pro-cta__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.pro-cta__subtitle {
  font-size: 1.1rem;
  color: var(--white);
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.pro-cta__buttons {
  margin-bottom: 1.5rem;
}

.pro-cta .pro-btn--primary {
  background: var(--white);
  color: var(--pro-blue);
}

.pro-cta__note {
  font-size: 0.9rem;
  color: var(--white);
  opacity: 0.7;
  font-weight: 500;
}