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

:root{
  --bg:#faf9f6;
  --surface:#fff;
  --text:#1a1a1a;
  --text2:#5a5a5a;
  --accent:#d35400;
  --accent-light:#fef0e6;
  --accent-dark:#b54700;
  --teal:#1a5c4e;
  --teal-light:#e8f5f0;
  --border:#e4e1db;
  --shadow:0 2px 20px rgba(0,0,0,.06);
  --radius:12px;
}

html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

/* ---- HERO ---- */
.hero{
  min-height:90vh;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4rem;
  padding:3rem 2rem;
  max-width:1200px;
  margin:0 auto;
}
.hero-content{max-width:520px}
.hero-tag{
  font-size:.8rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--accent);
  margin-bottom:1.2rem;
}
.hero h1{
  font-family:'Playfair Display',serif;
  font-size:clamp(2.4rem,5vw,3.8rem);
  font-weight:800;
  line-height:1.1;
  margin-bottom:1.4rem;
  letter-spacing:-.02em;
}
.accent{
  color:var(--accent);
  position:relative;
}
.hero-sub{
  font-size:1.15rem;
  color:var(--text2);
  margin-bottom:2rem;
  max-width:440px;
}
.cta-btn{
  display:inline-block;
  background:var(--accent);
  color:#fff;
  padding:.9rem 2rem;
  border-radius:60px;
  text-decoration:none;
  font-weight:600;
  font-size:1rem;
  transition:transform .2s,background .2s;
}
.cta-btn:hover{
  background:var(--accent-dark);
  transform:translateY(-2px);
}

/* ---- PHONE MOCKUP ---- */
.hero-visual{flex-shrink:0}
.phone-frame{
  width:300px;
  background:#eee;
  border-radius:32px;
  overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.15),0 0 0 1px rgba(0,0,0,.05);
  position:relative;
}
.phone-header{
  background:#075e54;
  color:#fff;
  padding:.8rem 1rem;
  display:flex;
  align-items:center;
  gap:.6rem;
}
.phone-back{font-size:1.4rem;opacity:.8}
.phone-contact{display:flex;align-items:center;gap:.5rem}
.phone-avatar{
  width:36px;height:36px;
  background:rgba(255,255,255,.15);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;
}
.phone-name{font-size:.9rem;font-weight:600}
.phone-status{font-size:.7rem;opacity:.7}
.chat-body{
  background:#e5ddd5;
  padding:1rem .8rem;
  min-height:340px;
  display:flex;
  flex-direction:column;
  gap:.5rem;
  background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000' fill-opacity='.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.chat-bubble{
  max-width:82%;
  padding:.5rem .6rem;
  border-radius:10px;
  font-size:.8rem;
  line-height:1.4;
}
.chat-bubble.sent{
  align-self:flex-end;
  background:#dcf8c6;
  border-bottom-right-radius:2px;
}
.chat-bubble.received{
  align-self:flex-start;
  background:#fff;
  border-bottom-left-radius:2px;
}
.chat-bubble.small{padding:.35rem .6rem}
.chat-photo{
  width:200px;height:130px;
  border-radius:8px;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:.3rem;
  margin-bottom:.3rem;
}
.chat-photo.dull{
  background:linear-gradient(145deg,#8a8a8a,#a5a5a5 40%,#c2c2c2);
}
.chat-photo.enhanced{
  background:linear-gradient(145deg,#4a9bd9,#7ec8e3 30%,#f5d76e 70%,#f7dc6f);
}
.chat-photo span{font-size:2rem}
.photo-label{
  font-size:.65rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(255,255,255,.9);
  text-shadow:0 1px 2px rgba(0,0,0,.3);
}
.chat-text{margin:0;font-size:.8rem}

/* ---- HOW IT WORKS ---- */
.how-it-works{
  padding:5rem 2rem;
  text-align:center;
  background:var(--surface);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.how-it-works h2{
  font-family:'Playfair Display',serif;
  font-size:clamp(1.8rem,3vw,2.6rem);
  margin-bottom:3rem;
}
.steps{
  display:flex;
  gap:2rem;
  max-width:900px;
  margin:0 auto;
  justify-content:center;
}
.step{
  flex:1;
  max-width:260px;
  text-align:center;
}
.step-num{
  width:48px;height:48px;
  border-radius:50%;
  background:var(--accent-light);
  color:var(--accent);
  font-weight:800;
  font-size:1.2rem;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 1rem;
}
.step h3{
  font-size:1.05rem;
  margin-bottom:.4rem;
}
.step p{
  font-size:.9rem;
  color:var(--text2);
}

/* ---- VALUE ---- */
.value{
  padding:4rem 2rem;
  max-width:800px;
  margin:0 auto;
}
.value-card{
  background:var(--surface);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.value-compare{
  display:flex;
  align-items:stretch;
}
.value-before,.value-after{
  flex:1;
  padding:2rem;
}
.value-before{
  background:#fafafa;
}
.value-after{
  background:var(--teal-light);
}
.value-compare h3{
  font-size:1.1rem;
  margin-bottom:1rem;
  font-weight:700;
}
.value-before h3{color:var(--text2)}
.value-after h3{color:var(--teal)}
.value-compare ul{
  list-style:none;
  display:flex;flex-direction:column;gap:.5rem;
}
.value-compare li{font-size:.9rem;color:var(--text2)}
.value-after li{color:var(--teal)}
.value-arrow{
  display:flex;align-items:center;
  font-size:1.5rem;
  color:var(--border);
  padding:0 .5rem;
}

/* ---- FORM ---- */
.form-section{
  max-width:680px;
  margin:0 auto;
  padding:4rem 2rem 5rem;
}
.form-header{text-align:center;margin-bottom:2.5rem}
.form-header h2{
  font-family:'Playfair Display',serif;
  font-size:clamp(1.6rem,3vw,2.2rem);
  margin-bottom:.6rem;
}
.form-header p{color:var(--text2);font-size:1.05rem}

fieldset{
  border:none;
  background:var(--surface);
  border-radius:var(--radius);
  padding:2rem;
  margin-bottom:1.5rem;
  box-shadow:var(--shadow);
}
legend{
  font-family:'Playfair Display',serif;
  font-size:1.3rem;
  font-weight:700;
  margin-bottom:1.2rem;
  color:var(--text);
}
.field{margin-bottom:1.4rem}
.field:last-child{margin-bottom:0}
.field-row{
  display:flex;
  gap:1rem;
}
.field-row .field{flex:1}
.field label{
  display:block;
  font-size:.85rem;
  font-weight:600;
  margin-bottom:.4rem;
  color:var(--text);
}
.req{color:var(--accent)}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea{
  width:100%;
  padding:.7rem .9rem;
  border:1.5px solid var(--border);
  border-radius:8px;
  font-size:.95rem;
  font-family:inherit;
  background:var(--bg);
  transition:border-color .15s;
  appearance:none;
}
select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5a5a' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right .9rem center;
  padding-right:2.4rem;
}
input:focus,select:focus,textarea:focus{
  outline:none;
  border-color:var(--accent);
}
textarea{resize:vertical}

/* Radio & Check */
.radio-group,.checkbox-group{
  display:flex;flex-direction:column;gap:.4rem;
}
.radio-group.inline{flex-direction:row;gap:1.5rem}
.radio-option,.check-option{
  display:flex;align-items:center;gap:.5rem;
  padding:.5rem .7rem;
  border-radius:8px;
  cursor:pointer;
  transition:background .15s;
  font-size:.9rem;
}
.radio-option:hover,.check-option:hover{background:var(--accent-light)}
.radio-option input,.check-option input{
  accent-color:var(--accent);
  width:16px;height:16px;
  flex-shrink:0;
}

/* Rating */
.rating-group{
  display:flex;gap:.6rem;
}
.rating-option{
  flex:1;
  text-align:center;
  cursor:pointer;
  padding:.6rem .3rem;
  border-radius:8px;
  border:1.5px solid var(--border);
  transition:all .15s;
  display:flex;flex-direction:column;align-items:center;gap:.15rem;
}
.rating-option:hover{border-color:var(--accent);background:var(--accent-light)}
.rating-option input{position:absolute;opacity:0;pointer-events:none}
.rating-option:has(input:checked){
  border-color:var(--accent);
  background:var(--accent-light);
}
.rating-option span{font-weight:700;font-size:1.1rem}
.rating-option small{font-size:.65rem;color:var(--text2)}

/* Solution intro */
.solution-intro{
  background:var(--teal-light);
  border-left:3px solid var(--teal);
  padding:1rem 1.2rem;
  border-radius:0 8px 8px 0;
  margin-bottom:1.5rem;
}
.solution-intro p{font-size:.9rem;color:var(--teal);margin:0}

/* Submit */
.submit-btn{
  display:block;
  width:100%;
  padding:1rem;
  background:var(--accent);
  color:#fff;
  border:none;
  border-radius:60px;
  font-size:1.05rem;
  font-weight:700;
  font-family:inherit;
  cursor:pointer;
  transition:background .2s,transform .2s;
}
.submit-btn:hover{background:var(--accent-dark);transform:translateY(-1px)}
.submit-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}

/* Success */
.success-msg{
  text-align:center;
  padding:3rem 2rem;
  background:var(--surface);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.success-icon{
  width:64px;height:64px;
  background:var(--teal-light);
  color:var(--teal);
  border-radius:50%;
  font-size:2rem;
  font-weight:800;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 1rem;
}
.success-msg h3{font-size:1.4rem;margin-bottom:.5rem}
.success-msg p{color:var(--text2);max-width:400px;margin:0 auto}

/* Error */
.field.error input,
.field.error select,
.field.error textarea{
  border-color:#c0392b;
}
.field-error{
  font-size:.75rem;
  color:#c0392b;
  margin-top:.3rem;
}

/* Footer */
footer{
  text-align:center;
  padding:2rem;
  color:var(--text2);
  font-size:.8rem;
  border-top:1px solid var(--border);
}

/* ---- RESPONSIVE ---- */
@media(max-width:768px){
  .hero{
    flex-direction:column;
    text-align:center;
    gap:2.5rem;
    min-height:auto;
    padding:2rem 1.2rem 3rem;
  }
  .hero-sub{margin-left:auto;margin-right:auto}
  .phone-frame{width:260px}
  .chat-photo{width:170px;height:110px}
  .steps{flex-direction:column;align-items:center}
  .value-compare{flex-direction:column}
  .value-arrow{
    transform:rotate(90deg);
    justify-content:center;
    padding:.5rem 0;
  }
  .field-row{flex-direction:column;gap:0}
  fieldset{padding:1.4rem}
  .rating-group{gap:.3rem}
}
