/* ====== Base ====== */
:root{
  --bg-light: #ffffff;
  --text: #1a1d29;
  --muted: #6b7280;
  --brand: #22c55e;
  --maxw: 1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background: var(--bg-light);
}

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

.container{
  width:min(100% - 2rem, var(--maxw));
  margin-inline:auto;
}

.narrow{max-width:760px}

h1,h2,h3{line-height:1.1;margin:0 0 .6rem}
p{line-height:1.7;color:var(--muted);margin:.5rem 0 0}

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

/* ====== Header ====== */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.header-nav .beta-link{
  padding: 0.5rem 1rem;
  background: linear-gradient(to bottom, #5AB070, #57B19A);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
  box-shadow: 0 4px 12px rgba(90, 176, 112, 0.3);
  text-decoration: none;
}
.header-nav .beta-link:hover{
  opacity: 0.9;
}
.header-nav .beta-link:focus{
  outline: none;
  opacity: 0.9;
}
.brand{
  display:flex;
  align-items:center;
  gap:.6rem;
  font-weight:800;
  letter-spacing:.1em;
  color:var(--text);
  font-size: 1rem;
}
.brand img{
  width: 28px;
  height: 28px;
  border-radius:.5rem;
}

/* ====== Hero ====== */
.hero{
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 4rem);
  position:relative;
  overflow:hidden;
  min-height:70vh;
  display:flex;
  align-items:center;
  background: linear-gradient(180deg,
    #ffffff 0%,
    rgba(30, 177, 122, 0.22) 45%,
    rgba(30, 177, 122, 0.35) 100%);
}
.hero-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items:center;
  gap: clamp(2rem, 5vw, 3.5rem);
}
.hero-logo{
  margin-bottom: 1.25rem;
}
.hero-logo img{
  width: 64px;
  height: 64px;
  border-radius: 1rem;
}
.hero-copy h1{
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight:900;
  letter-spacing:-.02em;
  line-height: 1.0;
  margin: 0 0 0.5rem 0;
  color: var(--text);
}
.hero-copy h1 span{
  display: block;
  line-height: 0.95;
}
.hero-copy .sub{
  font-weight:800;
  opacity:.9;
}
.hero-kicker{
  font-size: clamp(1.1rem, 2.6vw, 1.3rem);
  font-weight: 700;
  color: var(--text);
  margin: 0.6rem 0 0.5rem 0;
}
.hero-body{
  margin: 0 0 1.25rem 0;
  color: var(--muted);
  max-width: 520px;
}
.hero-actions{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}
.eyebrow{
  margin: 0;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.5rem 1rem;
  border:none;
  border-radius:999px;
  font-size:.9rem;
  font-family: inherit;
  font-weight: 600;
  color:#ffffff;
  background: linear-gradient(to bottom, #5AB070, #57B19A);
  box-shadow: 0 4px 12px rgba(90, 176, 112, 0.3);
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.eyebrow:hover{
  opacity: 0.9;
}
.store-badges{
  display:flex;
  gap:0.75rem;
  flex-wrap:wrap;
  align-items:center;
}
.store-badges img{
  height:43px;
  width:auto;
  border-radius:.4rem;
}
.badge-divider{
  width: 1px;
  height: 40px;
  background-color: rgba(0,0,0,0.1);
  align-self: stretch;
}

.hero-visual{
  position:relative;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  isolation: isolate;
}
.hero-visual::before{
  content:"";
  position:absolute;
  inset:10% 10% 5% 10%;
  background: radial-gradient(60% 60% at 60% 55%, rgba(67, 142, 109, 0.4), rgba(30, 177, 122, 0.35), rgba(30, 177, 122, 0));
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.phone{
  width: 100%;
  max-width: 620px;
  height: auto;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.32)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

/* ====== Summary ====== */
.summary{
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}
.summary h2{
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight:800;
  text-align:center;
}
.summary p{text-align:center;margin-top:.75rem}

/* ====== How It Works ====== */
.how-it-works{
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(to bottom, rgba(90, 176, 112, 0.06), rgba(87, 177, 154, 0.06));
  position: relative;
  overflow: hidden;
}
.how-it-works::before{
  content:"";
  position:absolute;
  inset: 6% 30% 6% 30%;
  background: linear-gradient(180deg, rgba(30, 177, 122, 0.08), rgba(255, 171, 64, 0.08));
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.section-overline{
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem 0;
}
.how-header h2{
  margin: 0 0 1.5rem 0;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
}
.how-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
  position: relative;
  z-index: 1;
}
.how-card{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}
.how-card h3{
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.how-card p{
  margin: 0;
  color: var(--text);
}
.how-card p + p{
  margin-top: 0.35rem;
}
.how-eyebrow{
  margin: 0 0 0.5rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
}

/* ====== Contact Section ====== */
.contact{
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
  background: linear-gradient(to bottom, rgba(90, 176, 112, 0.1), rgba(87, 177, 154, 0.1));
  margin-bottom: 0;
}
.contact h2{
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight:800;
  margin-bottom: 1rem;
}
.contact p{
  margin-bottom: 2rem;
}
.contact-btn{
  display: inline-block;
  padding: 0.75rem 2rem;
  background: linear-gradient(to bottom, #5AB070, #57B19A);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 4px 12px rgba(90, 176, 112, 0.3);
}
.contact-btn:hover{
  opacity: 0.9;
}

.contact-form-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  margin-top: 0;
}

.contact-form-container.active {
  max-height: 600px;
  padding-top: 2rem;
}

.contact-form-container form {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: left;
}

.contact-form-container textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.2s ease;
}

.contact-form-container textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* ====== Footer ====== */
.site-footer{
  padding: 0 0 3rem;
  color:var(--muted);
}
.footer-inner{
  display:flex;
  align-items:center;
  gap:1rem;
  justify-content:space-between;
  flex-wrap:wrap;
  border-top:1px solid rgba(0,0,0,.1);
  padding-top:1.2rem;
}
.footer-nav{
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-nav a{
  color:var(--text);
  opacity:.85;
}
.footer-nav a:hover{opacity:1}
.footer-separator{
  color: var(--muted);
  opacity: 0.5;
}
.instagram-link{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  opacity: 0.85;
}
.instagram-link:hover{
  opacity: 1;
}
.instagram-link svg{
  display: block;
}

/* ====== Privacy Policy ====== */
.privacy-content{
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.privacy-header{
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
#faq .privacy-header{
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1.5rem;
}
.privacy-header h1{
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.privacy-company{
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0.5rem 0;
}
.privacy-date{
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.5rem 0 0;
}
.privacy-intro{
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(34, 197, 94, 0.05);
  border-radius: 0.75rem;
  border-left: 4px solid var(--brand);
}
.privacy-section{
  margin-bottom: 2.5rem;
}
.privacy-section h2{
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--brand);
}
.privacy-section h3{
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.75rem;
}
.privacy-section p{
  line-height: 1.7;
  margin-bottom: 1rem;
}
.privacy-section ul{
  margin: 1rem 0;
  padding-left: 1.5rem;
}
.privacy-section li{
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.privacy-section a{
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.privacy-section a:hover{
  text-decoration-thickness: 2px;
}
.definition-list{
  margin: 1rem 0;
}
.definition-item{
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: rgba(0,0,0,0.02);
  border-radius: 0.5rem;
  border-left: 3px solid var(--brand);
}
.definition-item strong{
  color: var(--brand);
  font-weight: 600;
}

/* ====== FAQ Accordion ====== */
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: rgba(0,0,0,0.02);
}

.faq-icon {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: linear-gradient(to bottom, rgba(90, 176, 112, 0.08), rgba(87, 177, 154, 0.08));
  padding: 0 1.25rem;
}

.faq-answer.active {
  max-height: 1200px;
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  padding: 1rem 0 0;
  margin: 0;
  color: var(--text);
}
.faq-answer ol,
.faq-answer ul{
  margin: 0.5rem 0 0 1.25rem;
  padding: 0 0 0 1rem;
}
.faq-answer li{
  color: var(--text);
  margin-bottom: 0.35rem;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

/* ====== Beta Popup Modal ====== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 400px;
  width: 90%;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
}

.modal h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.modal p {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(to bottom, #5AB070, #57B19A);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
  box-shadow: 0 4px 12px rgba(90, 176, 112, 0.3);
}

.submit-btn:hover {
  opacity: 0.9;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.success-message {
  text-align: center;
  color: var(--brand);
  font-weight: 600;
  margin-top: 1rem;
  display: none;
}

.error-message {
  color: #dc2626;
  font-weight: 600;
  margin-top: 1rem;
  display: none;
}

/* ====== Responsive ====== */
@media (max-width: 980px){
  .hero-grid{
    gap: 2rem;
  }
  .hero-copy{
    text-align: left;
  }
}
@media (max-width: 640px){
  .brand span{font-size:.95rem}
  .hero-copy h1{font-size: clamp(2rem, 9vw, 3.2rem)}
  .store-badges img{height:37px}
  .hero-visual{
    padding: 1.5rem 0 0 0;
    justify-content: center;
  }
  .how-grid{
    grid-template-columns: 1fr;
  }
  .privacy-content{
    padding: 2rem 0;
  }
  .privacy-header{
    margin-bottom: 2rem;
  }
  .privacy-intro{
    padding: 1rem;
    font-size: 1rem;
  }
}
