/* ============================================================
   Thelo Parking — Landing Page Styles
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:        #1A73E8;
  --blue-dark:   #1558B0;
  --blue-light:  #EAF2FF;
  --dark:        #0D1117;
  --dark-2:      #161B22;
  --text:        #1F2937;
  --text-muted:  #6B7280;
  --border:      #E5E7EB;
  --white:       #FFFFFF;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.14);
  --font:        'Inter', system-ui, sans-serif;
  --transition:  .2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Utilities ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--outline {
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: transparent;
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__logo-img {
  height: 32px;
  width: auto;
}

.nav__logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}

.nav__links a:not(.btn):hover {
  color: var(--blue);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 60%);
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(26,115,232,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__text {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero__title em {
  font-style: normal;
  color: var(--blue);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 460px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.store-btn img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform var(--transition), opacity var(--transition);
}

.store-btn:hover img {
  transform: translateY(-2px);
  opacity: .9;
}

/* Disabled store button (Coming Soon) */
.store-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.store-btn-wrap--disabled {
  cursor: not-allowed;
}

.store-btn-wrap--disabled .store-btn__img {
  height: 48px;
  width: auto;
  display: block;
  opacity: .4;
  filter: grayscale(1);
}

.store-btn__coming-soon {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Founding member badge */
.founding-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border: 1px solid #f5c842;
  color: #7a5800;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: .88rem;
  line-height: 1.4;
  margin-top: 4px;
  margin-bottom: 28px;
}

.founding-badge svg {
  width: 16px;
  height: 16px;
  stroke: #f5c842;
  fill: #f5c842;
  flex-shrink: 0;
}

/* Phone mockups */
.hero__mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.phones {
  position: relative;
  width: 300px;
  height: 520px;
}

.phone-frame {
  position: absolute;
  width: 220px;
  border-radius: 36px;
  border: 7px solid #1a1a2e;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: #1a1a2e;
}

.phone-frame--back {
  top: 40px;
  left: 80px;
  transform: rotate(4deg);
  z-index: 1;
}

.phone-frame--front {
  top: 0;
  left: 0;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.phone-frame__img {
  width: 100%;
  display: block;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 96px 0;
  background: var(--white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.feature-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 96px 0;
  background: #f8faff;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
}

.step__number {
  width: 56px;
  height: 56px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(26,115,232,.35);
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.step p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.step__arrow {
  font-size: 1.8rem;
  color: var(--blue);
  opacity: .5;
  margin-top: 14px;
  flex-shrink: 0;
}

/* ============================================================
   DOWNLOAD CTA
   ============================================================ */
.download {
  padding: 96px 0;
  background: var(--white);
}

.download__card {
  background: linear-gradient(135deg, #1A73E8 0%, #0D4BB5 100%);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 20px 60px rgba(26,115,232,.35);
}

.download__card h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.download__card p {
  font-size: 1.05rem;
  opacity: .85;
  margin-bottom: 36px;
}

.download__card .hero__ctas {
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.5);
  padding: 48px 0 28px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand-lg {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.footer__badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer__badges .store-btn img {
  height: 40px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__brand {
  font-size: .85rem;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: .85rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 96px 0;
  background: #f8faff;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.plan-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.plan-card--premium {
  border: 2px solid var(--blue);
  box-shadow: 0 8px 32px rgba(26,115,232,.15);
}

.plan-card--founder {
  border: 2px solid #f5c842;
  background: linear-gradient(145deg, #fffef5, #fff8e1);
}

.plan-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-card__header {
  margin-bottom: 28px;
}

.plan-name {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}

.plan-card--premium .plan-name { color: var(--blue); }
.plan-card--founder .plan-name { color: #9a6e00; }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.plan-price__amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.plan-price__period {
  font-size: .9rem;
  color: var(--text-muted);
}

.plan-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.plan-desc--alt {
  color: var(--blue);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: .9rem;
  color: var(--text);
  line-height: 1.4;
}

.check {
  color: #22c55e;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
  width: 16px;
}

.check--soon { color: var(--blue); }

.tag-soon {
  font-size: .7rem;
  font-weight: 700;
  background: var(--blue-light);
  color: var(--blue);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 4px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}

.plan-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.plan-btn--free {
  background: var(--blue-light);
  color: var(--blue);
}

.plan-btn--premium {
  background: var(--blue);
  color: var(--white);
}

.plan-btn--founder {
  background: #f5c842;
  color: #5a3e00;
}

/* ============================================================
   TWO MODES
   ============================================================ */
.modes {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mode-card {
  flex: 1;
  padding: 40px 36px;
  position: relative;
}

.mode-card--leaving {
  background: linear-gradient(145deg, #1A73E8 0%, #1558B0 100%);
  color: var(--white);
}

.mode-card--looking {
  background: linear-gradient(145deg, #38B2F8 0%, #1A8FD1 100%);
  color: var(--white);
}

.mode-card__tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.mode-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mode-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--white);
}

.mode-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.mode-card p {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
}

.modes__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  flex-shrink: 0;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.modes__divider span {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  writing-mode: vertical-rl;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__mockup {
    order: -1;
  }

  .phones {
    width: 260px;
    height: 440px;
  }

  .phone-frame {
    width: 190px;
  }

  .phone-frame--back {
    left: 70px;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .plan-card--premium {
    order: -1;
  }

  .step__arrow {
    display: none;
  }

  .modes {
    flex-direction: column;
  }

  .modes__divider {
    width: 100%;
    height: 36px;
  }

  .modes__divider span {
    writing-mode: horizontal-tb;
  }

  .nav__links a:not(.btn) {
    display: none;
  }

  .download__card {
    padding: 40px 24px;
  }

  .footer__top {
    flex-direction: column;
    text-align: center;
  }

  .footer__badges {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
