/* ==========================================================================
   PawyGo — Premium SaaS landing page
   ========================================================================== */

:root{
  --accent: #1f9d6c;
  --accent-dark: #157a53;
  --accent-light: #e8f5ee;
  --accent-light-2: #f2f9f5;

  --btn-accent: #122b62;
  --btn-accent-dark: #0c1e46;

  --ink: #0b1220;
  --ink-soft: #34405a;
  --muted: #64748b;

  --bg: #ffffff;
  --bg-alt: #f6f8f7;
  --border: #e6ebe8;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .05);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);
  --shadow-chip: 0 18px 40px rgba(15, 23, 42, .16);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --container: 1240px;
  --font-heading: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

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

html{
  scroll-behavior: smooth;
}

body{
  font-family: var(--font-body);
  color: var(--ink-soft);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

ul{ list-style: none; }
a{ text-decoration: none; color: inherit; }
img{ display: block; max-width: 100%; }
button{ font-family: inherit; }

h1, h2, h3{
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.icon{
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

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

.section{
  padding: 76px 0;
  border-top: 1px solid var(--border);
}

.alt-bg{
  background-color: var(--bg-alt);
}

.section-head{
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--accent-light);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.section-head h2{
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-head p{
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.accent-underline{
  position: relative;
  color: var(--accent);
}

.accent-underline::after{
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 6px;
  height: 10px;
  background-color: var(--accent-light);
  border-radius: 6px;
  z-index: -1;
}

/* Buttons */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  background-color: var(--btn-accent);
  color: #fff;
  font-weight: 700;
  font-size: 15.5px;
  min-height: 54px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.btn:hover{
  background-color: var(--btn-accent-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.btn:active{
  transform: translateY(-1px) scale(0.98);
  box-shadow: var(--shadow-sm);
}

.btn-ghost{
  background-color: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 1.5px solid var(--border);
}

.btn-ghost:hover{
  background-color: var(--bg-alt);
  border-color: var(--ink);
  box-shadow: none;
  transform: translateY(-3px);
}

.btn-sm{
  padding: 11px 24px;
  min-height: 42px;
  font-size: 14px;
  box-shadow: none;
}

.btn-block{ width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease, border-color .25s ease;
}

.site-header.scrolled{
  box-shadow: var(--shadow-sm);
}

.navbar{
  max-width: var(--container);
  margin: 0 auto;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo img{
  height: 54px;
  width: auto;
}

@media (min-width: 981px){
  .logo img{
    height: 60px;
  }
}

.nav-toggle{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background-color: transparent;
  border: 2px solid var(--btn-accent);
  cursor: pointer;
}

.nav-toggle-icon{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 14px;
}

.nav-toggle-icon span{
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--btn-accent);
  border-radius: 2px;
  transition: all .25s ease-in-out;
}

.nav-toggle.open .nav-toggle-icon span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-toggle.open .nav-toggle-icon span:nth-child(2){ opacity: 0; }
.nav-toggle.open .nav-toggle-icon span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

.nav-panel{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 0 20px;
  flex-direction: column;
}

.nav-panel.open{ display: flex; }

.nav-links{
  display: flex;
  flex-direction: column;
}

.nav-links a{
  display: block;
  color: var(--ink);
  padding: 14px 24px;
  font-weight: 500;
  transition: background-color .2s ease, color .2s ease;
}

.nav-links a:hover{
  background-color: var(--bg-alt);
  color: var(--accent-dark);
}

.nav-actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

@media (min-width: 981px){
  .nav-toggle{ display: none; }

  .nav-panel{
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    width: auto;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 36px;
  }

  .nav-links{ flex-direction: row; gap: 8px; }

  .nav-links a{
    padding: 8px 14px;
    border-radius: var(--radius-pill);
  }

  .nav-actions{
    flex-direction: row;
    align-items: center;
    padding: 0;
    border-top: none;
    margin-top: 0;
    gap: 20px;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero{
  padding: 75px 0 90px;
  background-color: var(--bg);
  overflow: hidden;
}

.hero-inner{
  max-width: var(--container);
  margin: 0 auto;
  margin-top: 56px;
  width: 90%;
  display: flex;
  flex-direction: column;
}

.hero-content{
  text-align: center;
}

.hero-content h1{
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 800;
}

.hero-lead{
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.trust-row{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
}

.trust-item{
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.trust-item .icon{
  color: var(--accent);
  width: 22px;
  height: 22px;
}

.hero-media{
  position: relative;
  width: 100%;
}

.hero-media-blob{
  position: absolute;
  top: -8%;
  right: -12%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, var(--accent-light) 0%, rgba(232,245,238,0) 72%);
  z-index: 0;
  border-radius: 50%;
}

.hero-frame{
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-frame img{
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% center;
}

.hero-chip{
  position: absolute;
  right: 20px;
  bottom: -22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #fff;
  color: var(--ink);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: var(--shadow-chip);
}

.hero-chip .icon{
  color: var(--accent);
  width: 26px;
  height: 26px;
}

@media (min-width: 981px){
  .hero{ padding: 140px 0 120px; }

  .hero-inner{ margin-top: 60px; }

  .hero-lead{
    max-width: 768px;
    font-size: 20px;
  }

  .hero-media{
    max-width: 1152px;
    margin: 0 auto;
  }

  .hero-frame{
    max-height: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }

  .hero-chip{
    right: 16px;
    bottom: 16px;
  }
}

/* ==========================================================================
   ICON PANEL (WHY PAWYGO)
   ========================================================================== */

.panel-section{
  padding: 24px 0 76px;
  border-top: 1px solid var(--border);
}

.panel{
  max-width: var(--container);
  margin: 0 auto;
  width: 90%;
  background-color: var(--accent-light-2);
  border-radius: var(--radius-lg);
  padding: 56px 28px;
}

.icon-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
}

.icon-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  transition: border-color .25s ease, transform .25s ease;
}

.icon-card:hover{
  border-color: var(--accent);
  transform: translateY(-4px);
}

.icon-circle{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.icon-card h3{
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.icon-card p{
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

@media (min-width: 641px){
  .icon-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 981px){
  .panel{ padding: 68px 60px; }
  .icon-grid{ grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .icon-card p{ max-width: 220px; }
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */

.steps-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
}

.step-card{
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-icon-wrap{
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
}

.step-icon-circle{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform .25s ease, background-color .25s ease;
}

.step-icon-circle .icon{ width: 30px; height: 30px; }

.step-number{
  position: absolute;
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.step-card:hover .step-icon-circle{
  background-color: var(--accent-light);
  transform: translateY(-4px);
}

.step-card h3{
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p{
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

@media (min-width: 641px){
  .steps-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 981px){
  .steps-grid{ grid-template-columns: repeat(4, 1fr); gap: 32px; }

  .steps-grid::before{
    content: "";
    position: absolute;
    top: 42px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed var(--border);
    z-index: 0;
  }
}

/* ==========================================================================
   FOR WALKERS (split section)
   ========================================================================== */

.split-section{
  padding: 76px 0;
}

.split-inner{
  max-width: var(--container);
  margin: 0 auto;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.split-media{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-media img{
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-content h2{
  font-size: 28px;
  font-weight: 800;
  margin: 16px 0 18px;
}

.split-content p{
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 460px;
}

@media (min-width: 981px){
  .split-inner{
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .split-media{ flex: 1; }
  .split-content{ flex: 1; }

  .split-content h2{ font-size: 34px; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
  width: 90%;
}

.service-card{
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.service-card .icon-circle{
  margin: 0 auto 20px;
  background-color: var(--accent-light);
}

.service-card h3{
  font-size: 16px;
  font-weight: 700;
}

.services-note{
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  margin: 40px auto 0;
}

@media (min-width: 641px){
  .services-grid{ grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ==========================================================================
   WAITLIST
   ========================================================================== */

.waitlist-card{
  max-width: var(--container);
  margin: 0 auto;
  width: 90%;
  background-color: var(--accent-light-2);
  border-radius: var(--radius-lg);
  padding: 44px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.waitlist-form-col h2{
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.waitlist-form-col > p{
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 30px;
}

#waitlistFormArea{
  overflow: hidden;
  max-height: 720px;
  opacity: 1;
  transition: opacity .3s ease, max-height .4s ease;
}

#waitlistFormArea.is-hiding{
  opacity: 0;
  max-height: 0;
}

.waitlist-form{
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.form-field{
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 0 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field .icon{
  color: var(--muted);
  width: 19px;
  height: 19px;
}

.form-field:focus-within{
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
}

.form-field:focus-within .icon{ color: var(--accent); }

.form-field input,
.form-field select{
  width: 100%;
  border: none;
  background: none;
  outline: none;
  padding: 15px 0;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
}

.city-field-wrap{
  position: relative;
}

.city-suggestions{
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  list-style: none;
  max-height: 240px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 6px;
}

.city-suggestion{
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}

.city-suggestion:hover,
.city-suggestion.is-active{
  background-color: var(--accent-light);
}

.waitlist-note{
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.waitlist-status{
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}

.waitlist-status:empty{
  display: none;
}

.waitlist-status.is-error{
  color: #c0392b;
}

.waitlist-success{
  text-align: center;
  padding: 12px 8px 4px;
}

.waitlist-success-icon{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.waitlist-success-icon .icon{
  width: 30px;
  height: 30px;
}

.waitlist-success h3{
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.waitlist-success p{
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 340px;
  margin: 0 auto;
}

.waitlist-success{
  overflow: hidden;
  max-height: 300px;
  opacity: 1;
  transition: opacity .35s ease, max-height .4s ease;
}

.waitlist-success.is-hiding{
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

@media (prefers-reduced-motion: reduce){
  #waitlistFormArea,
  .waitlist-success{ transition: none; }
}

.waitlist-media-col img{
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

@media (min-width: 981px){
  .waitlist-card{
    padding: 60px;
    flex-direction: row;
    align-items: center;
  }

  .waitlist-form-col{ flex: 1.3; }
  .waitlist-media-col{ flex: 1; }
  .waitlist-form-col h2{ font-size: 32px; }
  .waitlist-form{ padding: 34px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list{
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item{
  background-color: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.faq-item[open]{
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-question{
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::-webkit-details-marker{ display: none; }

.faq-question .icon{
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .25s ease, color .25s ease;
}

.faq-item[open] .faq-question .icon{
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer{
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer{
  background-color: var(--ink);
  color: rgba(255, 255, 255, .7);
  padding: 64px 0 32px;
  margin-top: 40px;
}

.footer-inner{
  max-width: var(--container);
  margin: 0 auto;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.footer-brand h3{
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand p{
  max-width: 340px;
  line-height: 1.7;
  font-size: 14.5px;
}

.footer-cols{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-col h4{
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.footer-col ul{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a{
  font-size: 14.5px;
  transition: color .2s ease;
}

.footer-col a:hover{ color: #fff; }

.footer-mail-status{
  display: inline-block;
  margin-left: 8px;
  font-size: 12.5px;
  color: #7cd396;
}

.footer-bottom{
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

@media (min-width: 761px){
  .footer-inner{
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-cols{
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }

  .footer-bottom{
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

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

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}
