:root{
  --red:#e30613;
  --text:#111827;
  --muted:#6b7280;
  --card:#ffffff;
  --line:#e5e7eb;
  --bg:#ffffff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
}

/* HERO */
.hero{
  position:relative;
  height:58vh;
  min-height:420px;
  background-image:url("assets/top.jpg");
  background-size:cover;
  background-position:center;
}
.hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.25) 35%, rgba(0,0,0,.35) 100%);
}
.hero__content{
  position:absolute;
  left:50%;
  top:26%;
  transform:translate(-50%,-10%);
  text-align:center;
  width:min(820px, 92vw);
}
.hero__logo{
  width:min(520px, 78vw);
  height:auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}
.hero__tagline{
  margin-top:18px;
  letter-spacing:.18em;
  font-weight:300;
  color:rgba(255,255,255,.92);
  font-size: clamp(18px, 2.6vw, 34px);
  text-transform:uppercase;
}
.hero__price{
  margin-top:16px;
  color:rgba(255,255,255,.92);
  font-size: clamp(16px, 2.1vw, 26px);
}

/* SECTION */
.section{
  padding: 56px 0 70px;
}
.container{
  width:min(980px, 92vw);
  margin:0 auto;
  text-align:center;
}
.h1{
  margin: 0 0 26px;
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight: 650;
}

/* FORM CARD */
.card{
  width:min(760px, 92vw);
  margin: 0 auto;
  background:var(--card);
}
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  align-items:start;
  margin-top: 10px;
}
.field{
  text-align:left;
}
label{
  display:block;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 6px;
}
input{
  width:100%;
  border:1px solid var(--line);
  border-radius: 999px;
  padding: 14px 16px;
  font-size: 16px;
  outline:none;
}
input:focus{
  border-color: rgba(227,6,19,.55);
  box-shadow: 0 0 0 4px rgba(227,6,19,.10);
}
.actions{
  margin-top: 22px;
}
.btn{
  border:0;
  cursor:pointer;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 15px;
}
.btn--primary{
  background: var(--red);
  color:white;
  box-shadow: 0 10px 20px rgba(227,6,19,.20);
}
.btn--primary:hover{filter:brightness(.98)}
.hint{
  margin: 14px 0 0;
  color: var(--muted);
  min-height: 1.2em;
}

/* RESULT CARD (like your screenshot) */
.result{
  width:min(760px, 92vw);
  margin: 0 auto;
  text-align:left;
  padding: 0;
}
.result__emoji{
  font-size: 52px;
  margin-bottom: 14px;
}
.result__title{
  margin: 0 0 14px;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.15;
  font-weight: 800;
}
.result__subtitle{
  margin: 0 0 18px;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--muted);
  line-height: 1.35;
}
.btn--gradient{
  width:100%;
  padding: 18px 20px;
  border-radius: 14px;
  color: white;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 750;
  background: linear-gradient(90deg, #d946ef 0%, #f97316 100%);
  box-shadow: 0 18px 30px rgba(0,0,0,.12);
}
.btn--gradient:hover{filter:brightness(.98)}
.link{
  margin-top: 14px;
  font-size: clamp(15px, 1.4vw, 18px);
}
.link .arrow{
  color: #e11d48;
  font-size: 1.3em;
  vertical-align: -1px;
  margin-left: 10px;
}
.tiny{
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

/* FOOTER */
.footer{
  background:#2b2b2b;
  color:#cfcfcf;
  padding: 26px 0;
  margin-top: 48px;
}
.footer__inner{
  width:min(1100px, 92vw);
  margin:0 auto;
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:space-between;
  font-size: 13px;
}
.footer__links{
  display:flex;
  gap: 26px;
}
.footer a{
  color:#cfcfcf;
  text-decoration:none;
  letter-spacing:.02em;
}
.footer a:hover{color:#ffffff}

/* Responsive */
@media (max-width:720px){
  .grid{grid-template-columns: 1fr}
  .hero{height:52vh}
  .result{padding: 0}
  .footer__inner{flex-direction:column; align-items:flex-start}
}


/* Language toggle */
.lang{
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 50;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 8px 10px;
  color: rgba(255,255,255,.9);
  display: flex;
  gap: 10px;
  align-items: center;
}
.lang__btn{
  background: none;
  border: none;
  color: inherit;
  font-weight: 750;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 10px;
  opacity: .78;
}
.lang__btn.is-active{
  opacity: 1;
  background: rgba(255,255,255,.16);
}
.lang__sep{opacity:.5}

/* TrueFiber red gradient button */
.btn--tf-gradient{
  width:100%;
  padding: 18px 20px;
  border-radius: 14px;
  color: white;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
  background: linear-gradient(90deg, #E30613 0%, #FF2D55 55%, #E30613 100%);
  box-shadow: 0 18px 30px rgba(227,6,19,.18);
}
.btn--tf-gradient:hover{filter:brightness(.98)}

/* Modal */
.modal{ position: fixed; inset: 0; z-index: 60; }
.modal__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
}
.modal__panel{
  position: relative;
  width: min(780px, 92vw);
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.modal__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.modal__title{
  margin:0;
  font-size: 22px;
  font-weight: 800;
}
.modal__close{
  border:none;
  background: #f3f4f6;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
}
.modal__hint{
  margin: 10px 0 16px;
  color: var(--muted);
}
.modal__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.modal__actions{
  margin-top: 16px;
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content:flex-start;
}
.btn--ghost{
  background: #f3f4f6;
  color: #111827;
}
@media (max-width:720px){
  .modal__grid{grid-template-columns: 1fr}
  .modal__panel{margin-top: 6vh}
}
