/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #1f2a44;
  background: #eef5ff;

  /* Calm reading rhythm */
  line-height: 1.65;
}

/* Background */
.bg{
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 50% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.2) 60%, rgba(200,220,255,0.12) 100%),
    radial-gradient(900px 400px at 20% 60%, rgba(120,170,255,0.15), rgba(255,255,255,0) 70%),
    radial-gradient(900px 400px at 80% 65%, rgba(80,220,220,0.12), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #f6fbff, #eaf2ff);
  z-index: -1;
}

/* Honeypot (anti-bot): hidden from humans */
.hp-wrap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Layout */
.page{
  max-width: 760px;
  margin: 0 auto;

  /* Slightly more top/bottom air */
  padding: 64px 18px 52px;
}

/* Brand */
.brand{
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.logo{
  width: min(420px, 92%);
  height: auto;
  display: block;
}

/* Hero */
.hero{
  text-align: center;

  /* Calm separation from downloads */
  margin-bottom: 28px;
}
.hero h1{
  margin: 10px 0 16px;
  font-size: clamp(26px, 3.6vw, 36px);
  letter-spacing: 0.2px;
}
.subhead{
  margin: 0 0 22px;
  font-size: clamp(16px, 2.2vw, 20px);
  color: #4b5c7d;
}

.launching{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(31,42,68,0.08);
  color: #4b5c7d;
  font-weight: 600;
}

/* Product section */
.product{
  text-align: center;
}

/* Gentle “reset” before downloads */
.product-top{
  margin-top: 36px;
  margin-bottom: 42px;
}

.product-title{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}
.product-title h3{
  margin: 0;
  font-size: 22px;
}

.serve-line{
  margin: 0 auto 18px;
  max-width: 620px;

  /* Down-weighted slightly */
  color: #6a7a97;
  font-size: 13.5px;
  line-height: 1.7;
}

.muted{
  margin: 0 0 26px;
  text-align: center;
  color: #5b6a86;
  line-height: 1.7;
}

.center{ text-align: center; }

/* Quick downloads (mobile-friendly) */
.quick-downloads{
  display: none;
  max-width: 520px;
  margin: 22px auto 16px;
  gap: 14px;
}

.quick-btn{
  display: block;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid rgba(31,42,68,0.12);
  background: rgba(255,255,255,0.9);
  color: #1f2a44;
  box-shadow: 0 10px 18px rgba(18,34,66,0.07);
}
.quick-btn:hover{ background: rgba(255,255,255,0.96); }

/* Dropdown */
.dropdown{
  max-width: 420px;
  margin: 26px auto 14px;

  /* Ensures dropdown panel layers correctly */
  position: relative;
}

.dropdown-btn{
  width: 100%;
  border: 1px solid rgba(31,42,68,0.12);
  background: rgba(255,255,255,0.88);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(18,34,66,0.07);
}

.dropdown-panel{
  display: none;
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(31,42,68,0.12);
  background: rgba(255,255,255,0.95);

  /* Makes sure it appears above nearby sections */
  position: relative;
  z-index: 50;
}
.dropdown-panel.open{ display: block; }

.dropdown-item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  text-decoration: none;
  color: #1f2a44;
  font-weight: 600;
  border-top: 1px solid rgba(31,42,68,0.06);
}
.dropdown-item:first-child{ border-top: none; }

.filetype{
  color: #6b7a95;
  font-weight: 500;
}

.fineprint{
  margin: 18px auto 0;
  max-width: 520px;
  font-size: 12.5px;
  color: #7a88a4;
  line-height: 1.6;
}

/* Notify card */
.card{
  margin: 0 auto 42px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(31,42,68,0.08);
  border-radius: 20px;
  padding: 36px 26px 30px;
  box-shadow: 0 14px 34px rgba(18,34,66,0.09);
}

.card h2{
  text-align: center;
  margin: 0 0 14px;
  font-size: 26px;
}

/* Notify form */
.notify{
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.input-wrap{
  display: flex;
  align-items: center;
  border: 1px solid rgba(31,42,68,0.12);
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 15px 16px;
}

.input-icon{
  margin-right: 10px;
}

/* ✅ Required: nicer focus states + prevent layout shift */
.input-wrap:focus-within{
  border-color: rgba(43,110,219,0.55);
  box-shadow: 0 0 0 4px rgba(43,110,219,0.14);
}

.input-wrap input{
  border: none;
  outline: none;
  width: 100%;
  font-size: 16px;
  background: transparent;
}

/* ✅ Optional but helpful: invalid email hint styling (browser uses :invalid) */
input[type="email"]:invalid{
  /* keep subtle—don’t alarm users */
}

/* Primary button hover/active feedback (Notify Me) */
.btn{
  border: none;
  cursor: pointer;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #2b6edb, #39b8c7);
  transition: transform 120ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.btn:hover{
  filter: brightness(1.03);
}

.btn:active{
  transform: translateY(1px);
}

/* ✅ Required: disabled state (if JS disables during submit) */
.btn:disabled{
  cursor: not-allowed;
  opacity: 0.65;
  filter: grayscale(0.15);
  transform: none;
}

/* Secondary button hover/active feedback (WhatsApp) */
.btn-outline{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(31,42,68,0.12);
  background: rgba(255,255,255,0.9);
  color: #1f2a44;
  transition: transform 120ms ease, background 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.btn-outline:hover{
  background: rgba(255,255,255,0.96);
  border-color: rgba(31,42,68,0.16);
  box-shadow: 0 10px 18px rgba(18,34,66,0.08);
}

.btn-outline:active{
  transform: translateY(1px);
}

.privacy{
  margin-top: 10px;
  margin-bottom: 2px;
  text-align: center;
  font-size: 13px;
  color: #6b7a95;
}

/* ✅ Required: message area should not “jump” layout */
.form-msg{
  text-align: center;
  font-size: 14px;
  min-height: 20px; /* prevents card from jumping when message appears */
  margin: 0;
  color: #2c7a2c;
}

.form-msg.is-ok { color: #2c7a2c; }     /* green */
.form-msg.is-warn { color: #8a6d1d; }   /* amber */
.form-msg.is-error { color: #b12a2a; }  /* red */

/* WhatsApp CTA */
.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.phone-icon,
.email-icon {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.contact-separator {
  opacity: 0.4;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}

.whatsapp-btn {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 10px;
  background-color: #f2f4f5;        /* light neutral grey */
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.whatsapp-btn .whatsapp-text {
  font-weight: 500;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
  background-color: #e9f7f1;        /* soft WhatsApp green tint */
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.whatsapp-btn:hover .whatsapp-icon {
  transform: scale(1.06);
}

.whatsapp-icon {
  transition: transform 0.15s ease;
}

.whatsapp-number {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  letter-spacing: 0.4px;
}

.phone-icon {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}
.whatsapp-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.whatsapp-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

/* Footer */
.footer{
  margin-top: 64px;
  text-align: center;
  color: #5b6a86;
}

.footer-text{
  max-width: 620px;
  margin: 0 auto 22px;
  line-height: 1.75;
}

.contact{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-item{
  text-decoration: none;
  color: #1f2a44;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(31,42,68,0.08);
}

/* WhatsApp icon styling (SVG) */
.whatsapp-icon {
  width: 20px;
  height: 20px;
  color: #25D366;
  flex-shrink: 0;
}

/* Align icon nicely with text */
.whatsapp-btn,
.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Mobile */
@media (max-width: 720px){
  .quick-downloads{ display: grid; }
    .dropdown{ display: none; }
}

@media (max-width: 520px){
  .card h2{ font-size: 22px; }
  .page{ padding-top: 54px; } /* slightly tighter on small screens */
}
