/* ============================================
   HostMafiya — Sales Page Styles
   ============================================ */

:root{
  --red:#DA2128;
  --red-dark:#B5171D;
  --red-light:#FDEBEC;
  --ink:#1B1B1F;
  --ink-soft:#54545C;
  --muted:#7C7C86;
  --line:#EDEDF0;
  --bg:#FFFFFF;
  --bg-soft:#FAF9FA;
  --footer-bg:#141417;
  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:22px;
  --shadow-card:0 20px 40px -18px rgba(27,27,31,.16);
  --font-display:'Sora', sans-serif;
  --font-body:'Manrope', sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:var(--font-display); margin:0; line-height:1.15;}
p{margin:0; color:var(--ink-soft); line-height:1.6;}
a{text-decoration:none; color:inherit;}
ul{list-style:none; margin:0; padding:0;}
button{font-family:inherit; cursor:pointer; background:none; border:none;}
svg{width:1em; height:1em; fill:currentColor; stroke:none;}
img{max-width:100%; display:block;}

.container{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:0 24px;
}

.section-title{
  text-align:center;
  font-size:clamp(1.6rem, 2.4vw, 2.1rem);
  margin-bottom:8px;
  position:relative;
}
.section-title::after{
  content:"";
  display:block;
  width:56px;
  height:3px;
  background:var(--red);
  margin:14px auto 0;
  border-radius:2px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 26px;
  border-radius:999px;
  font-weight:700;
  font-size:.95rem;
  white-space:nowrap;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn svg{width:16px; height:16px;}
.btn:hover{transform:translateY(-2px);}
.icon-sm{width:16px; height:16px;}

.btn-outline-dark{
  border:1.5px solid var(--ink);
  color:var(--ink);
  padding:10px 20px;
}
.btn-outline-dark:hover{background:var(--ink); color:#fff;}

.btn-outline-red{
  border:1.5px solid var(--red);
  color:var(--red);
  width:100%;
  justify-content:center;
}
.btn-outline-red:hover{background:var(--red); color:#fff;}

.btn-white{
  background:#fff;
  color:var(--red);
  width:100%;
  justify-content:center;
  box-shadow:0 12px 24px -10px rgba(0,0,0,.35);
}
.btn-white:hover{background:var(--ink); color:#fff;}

.cta-banner .btn-white{width:auto;}

/* ============ HEADER ============ */
.site-header{
  position:sticky; top:0; z-index:100;
  background:#fff;
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:78px;
  gap:24px;
}
.logo{display:flex; align-items:center; gap:10px;}
.logo-mark{
  width:40px; height:40px;
  border-radius:10px;
  background:linear-gradient(145deg,var(--red),var(--red-dark));
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display);
  font-weight:800;
  font-size:1.1rem;
  flex-shrink:0;
}
.logo-text{display:flex; flex-direction:column; line-height:1.15;}
.logo-text strong{font-family:var(--font-display); font-size:1.05rem; letter-spacing:.2px;}
.logo-text small{font-size:.6rem; letter-spacing:1.5px; color:var(--muted); font-weight:700;}

.main-nav{display:flex; align-items:center; gap:30px;}
.main-nav a{
  display:inline-flex; align-items:center; gap:5px;
  font-size:.92rem; font-weight:600; color:var(--ink);
  position:relative;
}
.main-nav a:hover{color:var(--red);}
.main-nav .chev{width:9px; height:9px; opacity:.6;}
.main-nav .chev path{fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round;}
.badge-hot{
  background:var(--red); color:#fff;
  font-size:.58rem; font-weight:800;
  padding:2px 6px; border-radius:5px;
  letter-spacing:.5px;
}

.header-actions{display:flex; align-items:center; gap:14px;}
.nav-toggle{display:none; flex-direction:column; gap:5px; width:24px;}
.nav-toggle span{height:2px; background:var(--ink); border-radius:2px;}

/* ============ HERO ============ */
.hero{
  position:relative;
  background:radial-gradient(120% 140% at 78% 20%, #ff3b3b 0%, var(--red-dark) 46%, #7c0f13 100%);
  overflow:hidden;
  padding:64px 0 0;
}
.hero-glow{
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 82% 30%, rgba(255,255,255,.18), transparent 45%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px);
  pointer-events:none;
}
.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:40px;
  padding-bottom:60px;
}
.eyebrow{
  display:inline-block;
  background:rgba(255,255,255,.16);
  color:#fff;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:1.4px;
  padding:7px 16px;
  border-radius:999px;
  margin-bottom:20px;
  backdrop-filter:blur(4px);
}
.hero-copy h1{
  color:#fff;
  font-size:clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight:800;
  margin-bottom:18px;
}
.hero-copy p{
  color:rgba(255,255,255,.88);
  font-size:1.05rem;
  max-width:460px;
  margin-bottom:34px;
}
.hero-stats{
  display:flex;
  flex-wrap:wrap;
  gap:28px;
}
.hero-stats li{display:flex; align-items:center; gap:10px;}
.hero-stats svg{width:26px; height:26px; fill:#fff; flex-shrink:0;}
.hero-stats strong{display:block; color:#fff; font-size:.88rem; font-weight:700;}
.hero-stats span{display:block; color:rgba(255,255,255,.75); font-size:.74rem;}

.hero-art{display:flex; justify-content:center; align-items:center;}
.server-illustration{width:100%; max-width:400px; filter:drop-shadow(0 30px 40px rgba(0,0,0,.35));}

/* Billing tabs */
.billing-tabs{
  position:relative;
  transform:translateY(50%);
  background:#fff;
  border-radius:16px;
  box-shadow:var(--shadow-card);
  display:grid;
  grid-template-columns:repeat(6,1fr);
  overflow:hidden;
}
.billing-tabs .tab{
  padding:20px 10px;
  text-align:center;
  font-weight:700;
  font-size:.85rem;
  color:var(--ink-soft);
  border-right:1px solid var(--line);
  display:flex; flex-direction:column; gap:6px; align-items:center;
  transition:background .18s ease, color .18s ease;
}
.billing-tabs .tab:last-child{border-right:none;}
.billing-tabs .tab span{
  font-size:.68rem;
  font-weight:700;
  color:var(--muted);
}
.billing-tabs .tab.active{background:var(--red); color:#fff;}
.billing-tabs .tab.active span{color:rgba(255,255,255,.85);}
.billing-tabs .tab:not(.active):hover{background:var(--bg-soft); color:var(--ink);}

/* ============ PRICING ============ */
.pricing{
  padding:120px 0 70px;
  background:var(--bg-soft);
}
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
  align-items:stretch;
}
.plan-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:36px 30px 34px;
  text-align:center;
  box-shadow:var(--shadow-card);
  position:relative;
  display:flex;
  flex-direction:column;
}
.plan-icon{
  width:56px; height:56px;
  margin:0 auto 16px;
  border-radius:50%;
  background:var(--red-light);
  color:var(--red);
  display:flex; align-items:center; justify-content:center;
}
.plan-icon svg{width:26px; height:26px;}
.plan-card h3{font-size:1.4rem; margin-bottom:4px;}
.plan-tag{font-size:.85rem; color:var(--muted); margin-bottom:18px; min-height:40px;}
.plan-price{margin-bottom:22px;}
.strike{
  display:block;
  color:var(--muted);
  text-decoration:line-through;
  font-size:.85rem;
  margin-bottom:2px;
}
.price-row{display:flex; align-items:baseline; justify-content:center; gap:3px;}
.currency{font-size:1.3rem; font-weight:800; color:var(--red);}
.amount{font-family:var(--font-display); font-size:2.6rem; font-weight:800; color:var(--red); line-height:1;}
.period{font-size:.85rem; color:var(--muted); font-weight:700; align-self:flex-end; margin-bottom:4px;}
.save-pill{
  display:inline-block;
  margin-top:10px;
  background:var(--red-light);
  color:var(--red);
  font-size:.72rem;
  font-weight:800;
  padding:4px 12px;
  border-radius:999px;
}
.plan-features{
  text-align:left;
  margin-bottom:28px;
  flex-grow:1;
}
.plan-features li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:.9rem;
  color:var(--ink-soft);
  padding:8px 0;
  border-bottom:1px dashed var(--line);
}
.plan-features li:last-child{border-bottom:none;}
.plan-features li::before{
  content:"";
  flex-shrink:0;
  width:16px; height:16px;
  margin-top:2px;
  border-radius:50%;
  background:var(--red);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.plan-popular{
  background:linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%);
  color:#fff;
  transform:scale(1.045);
  z-index:2;
  border:none;
}
.plan-popular h3, .plan-popular .plan-tag{color:#fff;}
.plan-popular .plan-tag{color:rgba(255,255,255,.82);}
.plan-popular .strike{color:rgba(255,255,255,.65);}
.plan-popular .currency, .plan-popular .amount{color:#fff;}
.plan-popular .period{color:rgba(255,255,255,.75);}
.plan-icon-light{background:rgba(255,255,255,.18); color:#fff;}
.save-pill-light{background:rgba(255,255,255,.18); color:#fff;}
.plan-popular .plan-features li{color:rgba(255,255,255,.92); border-bottom-color:rgba(255,255,255,.22);}
.plan-popular .plan-features li::before{background:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23DA2128' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23DA2128' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.popular-flag{
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background:#fff; color:var(--red);
  font-size:.72rem; font-weight:800;
  padding:6px 18px; border-radius:999px;
  box-shadow:0 8px 16px -6px rgba(0,0,0,.3);
}

/* ============ FEATURES STRIP ============ */
.features-strip{
  background:#fff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:36px 0;
}
.features-strip-inner{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
}
.fs-item{display:flex; align-items:center; gap:12px;}
.fs-item svg{width:30px; height:30px; fill:var(--red); flex-shrink:0;}
.fs-item strong{display:block; font-size:.88rem;}
.fs-item span{display:block; font-size:.74rem; color:var(--muted); margin-top:2px;}

/* ============ SPEED / WHY CHOOSE ============ */
.speed{padding:90px 0; background:var(--bg-soft);}
.speed-inner{
  display:grid;
  grid-template-columns:1fr .8fr 1fr;
  gap:36px;
  align-items:center;
}
.eyebrow-dark{
  display:inline-block;
  background:var(--red-light);
  color:var(--red);
  font-size:.72rem; font-weight:800;
  letter-spacing:1px;
  padding:6px 14px;
  border-radius:999px;
  margin-bottom:16px;
}
.speed-copy h2{font-size:clamp(1.6rem,2.6vw,2.2rem); margin-bottom:14px;}
.speed-copy p{margin-bottom:20px; max-width:340px;}
.check-list li{
  display:flex; align-items:center; gap:10px;
  font-size:.9rem; font-weight:600;
  padding:6px 0;
}
.check-list li::before{
  content:"";
  width:18px; height:18px;
  border-radius:50%;
  background:var(--red);
  flex-shrink:0;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.speed-gauge{
  background:#fff;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  padding:30px 20px;
  text-align:center;
}
.gauge-svg{width:180px;}
.gauge-value{font-family:var(--font-display); font-size:1.6rem; font-weight:800; color:var(--red); margin-top:6px;}
.gauge-label{font-size:.68rem; font-weight:800; letter-spacing:1px; color:var(--muted);}

.why-panel{
  background:var(--red-light);
  border-radius:var(--radius-lg);
  padding:30px;
}
.why-panel h3{font-size:1.25rem; margin-bottom:20px;}
.why-panel h3 span{color:var(--red);}
.why-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.why-box{
  background:#fff;
  border-radius:var(--radius-sm);
  padding:16px 14px;
}
.why-box svg{width:22px; height:22px; fill:var(--red); margin-bottom:8px;}
.why-box strong{display:block; font-size:.82rem; margin-bottom:2px;}
.why-box span{display:block; font-size:.7rem; color:var(--muted);}

/* ============ TESTIMONIALS ============ */
.testimonials{padding:90px 0; background:#fff;}
.testi-wrap{
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:40px;
}
.testi-arrow{
  width:42px; height:42px;
  border-radius:50%;
  background:var(--red);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  transition:background .18s ease;
}
.testi-arrow svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.testi-arrow:hover{background:var(--red-dark);}
.testi-track{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  flex-grow:1;
}
.testi-card{
  background:var(--bg-soft);
  border-radius:var(--radius-md);
  padding:26px 24px;
  position:relative;
}
.quote-mark{
  font-family:Georgia, serif;
  font-size:2.6rem;
  color:var(--red);
  opacity:.35;
  line-height:1;
}
.testi-card p{font-size:.92rem; margin:8px 0 20px;}
.testi-person{display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
.avatar{
  width:40px; height:40px;
  border-radius:50%;
  background:linear-gradient(145deg,var(--red),var(--red-dark));
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:.8rem;
  flex-shrink:0;
}
.testi-person strong{display:block; font-size:.86rem;}
.testi-person span{display:block; font-size:.74rem; color:var(--muted);}
.stars{margin-left:auto; color:#F5A623; font-size:.85rem;}

/* ============ FAQ ============ */
.faq{padding:90px 0; background:var(--bg-soft);}
.faq-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:40px;
}
.faq-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  padding:18px 20px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  text-align:left;
  font-weight:700;
  font-size:.92rem;
  gap:10px;
}
.faq-item svg{
  width:16px; height:16px;
  fill:none; stroke:var(--red); stroke-width:2; stroke-linecap:round;
  transition:transform .2s ease;
  flex-shrink:0;
}
.faq-item.active svg{transform:rotate(45deg);}
.faq-answer{
  flex-basis:100%;
  max-height:0;
  overflow:hidden;
  font-weight:400;
  font-size:.86rem;
  color:var(--ink-soft);
  transition:max-height .25s ease, margin-top .25s ease;
}
.faq-item.active .faq-answer{max-height:200px; margin-top:12px;}

/* ============ CTA BANNER ============ */
.cta-banner{padding:0 0 90px;}
.cta-inner{
  background:linear-gradient(120deg,var(--red),var(--red-dark));
  border-radius:var(--radius-lg);
  padding:34px 40px;
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
}
.cta-icon{font-size:2.2rem;}
.cta-text{flex-grow:1;}
.cta-text strong{display:block; color:#fff; font-size:1.3rem; font-family:var(--font-display);}
.cta-text span{display:block; color:rgba(255,255,255,.85); font-size:.9rem; margin-top:4px;}

/* ============ FOOTER ============ */
.site-footer{background:var(--footer-bg); color:#B9B9C2; padding-top:64px;}
.footer-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;
  gap:30px;
  padding-bottom:50px;
}
.footer-brand p{color:#8E8E98; font-size:.86rem; margin:16px 0 20px;}
.logo-footer .logo-text small{color:#8E8E98;}
.socials{display:flex; gap:10px;}
.socials a{
  width:34px; height:34px;
  border-radius:50%;
  background:#212126;
  display:flex; align-items:center; justify-content:center;
  transition:background .18s ease;
}
.socials svg{width:15px; height:15px; fill:#C9C9D2;}
.socials a:hover{background:var(--red);}
.footer-col h4{color:#fff; font-size:.92rem; margin-bottom:16px;}
.footer-col a{display:block; font-size:.85rem; color:#9C9CA6; padding:6px 0;}
.footer-col a:hover{color:var(--red);}

.footer-bottom{border-top:1px solid #232328;}
.footer-bottom-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  padding:20px 24px;
  font-size:.8rem;
  color:#77777f;
}
.footer-links{display:flex; gap:18px;}
.footer-links a{color:#9C9CA6;}
.footer-links a:hover{color:var(--red);}

.chat-fab{
  position:fixed;
  right:26px; bottom:26px;
  width:54px; height:54px;
  border-radius:50%;
  background:var(--red);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 26px -10px rgba(218,33,40,.6);
  z-index:80;
}
.chat-fab svg{width:22px; height:22px; fill:none; stroke:#fff; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px){
  .hero-inner{grid-template-columns:1fr; text-align:center;}
  .hero-copy p{margin-left:auto; margin-right:auto;}
  .hero-stats{justify-content:center;}
  .hero-art{order:-1; max-width:280px; margin:0 auto;}
  .billing-tabs{grid-template-columns:repeat(3,1fr);}
  .billing-tabs .tab:nth-child(3){border-right:none;}
  .speed-inner{grid-template-columns:1fr; text-align:center;}
  .check-list li{justify-content:center;}
  .speed-gauge{max-width:280px; margin:0 auto;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}

@media (max-width: 860px){
  .main-nav{
    position:absolute; top:78px; left:0; right:0;
    background:#fff;
    flex-direction:column;
    align-items:flex-start;
    padding:16px 24px 24px;
    border-bottom:1px solid var(--line);
    display:none;
    gap:16px;
  }
  .main-nav.open{display:flex;}
  .nav-toggle{display:flex;}
  .pricing-grid{grid-template-columns:1fr; max-width:400px; margin:0 auto;}
  .plan-popular{transform:none;}
  .features-strip-inner{grid-template-columns:repeat(2,1fr);}
  .testi-track{grid-template-columns:1fr;}
  .testi-arrow{display:none;}
  .faq-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr; text-align:left;}
}

@media (max-width: 520px){
  .billing-tabs{grid-template-columns:repeat(2,1fr);}
  .billing-tabs .tab:nth-child(2n){border-right:none;}
  .features-strip-inner{grid-template-columns:1fr;}
  .why-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .cta-inner{text-align:center; justify-content:center;}
  .header-actions .btn-outline-dark span, .header-actions .btn-outline-dark{padding:8px 12px;}
}