/* =====================================================
   TOKENS — Red / Ignite theme
===================================================== */
:root{
  --red: #E31C25;
  --red-dark: #A30E16;
  --red-deep: #5C070C;
  --ink: #1A0607;
  --gold: #FFB020;
  --bg: #FFF7F5;
  --white: #FFFFFF;
  --slate: #6B5450;
  --slate-light: #A98B86;
  --border: #F0DCD9;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 8px 30px rgba(92,7,12,0.10);
  --shadow-strong: 0 24px 60px rgba(92,7,12,0.28);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

.container{ width:100%; max-width:1180px; margin:0 auto; padding:0 24px; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
img{ max-width:100%; display:block; }
h1,h2,h3{ font-family: var(--font-display); font-weight:700; letter-spacing:-0.02em; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* =====================================================
   TOP STRIP
===================================================== */
.top-strip{
  background: linear-gradient(90deg, var(--red-deep), var(--red-dark));
  color: rgba(255,255,255,0.92);
  font-size:0.82rem;
  font-weight:500;
}
.top-strip-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:38px;
}
.top-strip-badge{
  background: rgba(255,255,255,0.14);
  padding:4px 12px;
  border-radius:999px;
  font-weight:600;
  letter-spacing:0.02em;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 22px; border-radius:999px; font-weight:600; font-size:0.95rem;
  cursor:pointer; border:1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space:nowrap;
}
.btn:focus-visible{ outline:3px solid var(--gold); outline-offset:2px; }
.btn-lg{ padding:15px 30px; font-size:1rem; }

.btn-primary{ background: var(--red); color: var(--white); }
.btn-primary:hover{ background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-ghost{ color: var(--ink); }
.btn-ghost:hover{ color: var(--red); }

.btn-outline{ background: transparent; color: var(--ink); border:1px solid var(--border); }
.btn-outline:hover{ border-color: var(--red); color: var(--red); transform: translateY(-2px); }

.btn-outline-light{ background: transparent; color: var(--white); border:1px solid rgba(255,255,255,0.35); }
.btn-outline-light:hover{ border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* =====================================================
   HEADER
===================================================== */
.site-header{
  position: sticky; top:0; z-index:100;
  background: rgba(255,247,245,0.9);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.logo{ display:flex; align-items:center; gap:10px; }
.logo-img{
  height:36px; width:auto;
  max-width:150px;
  object-fit:contain;
}
.logo-img-footer{ height:32px; }
.logo-mark{
  width:34px; height:34px;
  background: var(--red);
  color: var(--white);
  border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700;
}
.logo-text{ font-family: var(--font-display); font-weight:700; font-size:1.15rem; }

.nav{ display:flex; gap:30px; }
.nav a{ font-weight:500; font-size:0.95rem; color: var(--slate); position:relative; padding:6px 0; }
.nav a:hover{ color: var(--ink); }
.nav a::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:2px;
  background: var(--red); transition: width 0.2s ease;
}
.nav a:hover::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:10px; }

.menu-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; }
.menu-toggle span{ width:24px; height:2px; background:var(--ink); }

/* =====================================================
   BANNER CAROUSEL
===================================================== */
.banner-carousel {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 0 24px;
  overflow: hidden;
  box-sizing: border-box;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow-soft, 0 4px 20px rgba(0,0,0,0.1));
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  aspect-ratio: 16 / 5;
  background: linear-gradient(120deg, var(--red-deep, #800000), var(--red, #e60000));
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(26, 6, 7, 0.55);
  color: var(--white, #ffffff);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.carousel-arrow:hover {
  background: rgba(26, 6, 7, 0.8);
}

.carousel-arrow:focus-visible {
  outline: 3px solid var(--gold, #ffd700);
  outline-offset: 2px;
}

.carousel-arrow-left { left: 36px; }
.carousel-arrow-right { right: 36px; }

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}

.carousel-dot.active {
  background: var(--white, #ffffff);
  width: 22px;
  border-radius: 999px;
}

@media (max-width: 720px) {
  .banner-carousel { padding: 0 16px; margin-top: 16px; }
  .carousel-slide { aspect-ratio: 4 / 3; }
  .carousel-arrow { width: 34px; height: 34px; font-size: 1.2rem; }
  .carousel-arrow-left { left: 22px; }
  .carousel-arrow-right { right: 22px; }
}

/* =====================================================
   HERO
===================================================== */
.hero{
  position:relative; overflow:hidden; padding:64px 0 0;
  background:
    radial-gradient(680px 420px at 85% 5%, rgba(227,28,37,0.10), transparent 60%),
    var(--bg);
}
.hero-inner{
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap:48px; align-items:center; padding-bottom:64px;
}

.eyebrow{
  display:inline-block; font-size:0.8rem; font-weight:600; letter-spacing:0.06em;
  text-transform:uppercase; color: var(--red-dark);
  background: rgba(227,28,37,0.10); padding:6px 14px; border-radius:999px; margin-bottom:18px;
}
.eyebrow.center{ display:block; width:fit-content; margin:0 auto 14px; }
.eyebrow-light{ color: var(--gold); background: rgba(255,176,32,0.14); }

.hero-copy h1{ font-size:clamp(2.3rem, 4.6vw, 3.6rem); line-height:1.08; margin-bottom:20px; }
.accent-underline{ position:relative; color: var(--red); }
.accent-underline::after{
  content:''; position:absolute; left:0; right:0; bottom:2px; height:0.3em;
  background: var(--gold); z-index:-1; opacity:0.45;
}

.hero-sub{ font-size:1.08rem; color: var(--slate); max-width:520px; margin-bottom:32px; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:52px; }

.stats{ display:flex; gap:44px; border-top:1px solid var(--border); padding-top:28px; }
.stat{ display:flex; flex-direction:column; }
.stat-num{ font-family: var(--font-display); font-size:1.9rem; font-weight:700; color: var(--red-dark); }
.stat-label{ font-size:0.85rem; color: var(--slate); }

/* Hero visual card */
.hero-visual{ position:relative; display:flex; justify-content:center; align-items:center; min-height:420px; }

.glow-blob{
  position:absolute; width:340px; height:340px;
  background: radial-gradient(circle, rgba(227,28,37,0.28), transparent 70%);
  filter: blur(10px); z-index:0;
}

.phone-card{
  position:relative; z-index:1; width:290px;
  background: linear-gradient(155deg, var(--ink), var(--red-deep));
  color: var(--white); border-radius:22px; padding:26px;
  box-shadow: var(--shadow-strong);
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}
.phone-card:hover{ transform: rotate(0deg); }

.phone-card-top{ display:flex; justify-content:space-between; align-items:center; font-size:0.8rem; color: rgba(255,255,255,0.65); margin-bottom:18px; }
.dot-live{ color: #FF6B6E; font-weight:600; }
.phone-card-balance{ font-family: var(--font-display); font-size:2rem; font-weight:700; margin-bottom:14px; }

.cashback-pill{
  display:inline-block; font-size:0.78rem; font-weight:700;
  background: rgba(255,176,32,0.18); color: var(--gold);
  border:1px solid rgba(255,176,32,0.4);
  padding:6px 12px; border-radius:999px; margin-bottom:20px;
}

.phone-card-row{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{ background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.14); padding:8px 12px; border-radius:999px; font-size:0.78rem; }

/* Cashback badge ring — signature element */
.badge-ring{
  position:absolute; top:6%; right:2%; z-index:2;
  width:104px; height:104px; border-radius:50%;
  background: var(--red);
  color: var(--white);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  box-shadow: var(--shadow-soft);
  transform: rotate(8deg);
  border: 3px dashed rgba(255,255,255,0.5);
  text-align:center;
}
.badge-ring span{ font-size:0.55rem; font-weight:600; letter-spacing:0.05em; }
.badge-ring strong{ font-family: var(--font-display); font-size:1.5rem; line-height:1; margin:2px 0; }

/* Ticker */
.ticker-wrap{
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  background: var(--white); overflow:hidden; padding:14px 0;
}
.ticker-track{
  display:flex; gap:14px; white-space:nowrap; width:max-content;
  animation: scroll-left 26s linear infinite;
  font-family: var(--font-display); font-weight:600; font-size:0.9rem; color: var(--slate);
}
.ticker-track span:nth-child(odd){ color: var(--red); }
@keyframes scroll-left{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* =====================================================
   SERVICES
===================================================== */
.services{ padding:96px 0; }
.section-title{ font-size:clamp(1.8rem,3vw,2.4rem); margin-bottom:10px; }
.section-title.center{ text-align:center; }
.section-sub{ color: var(--slate); max-width:520px; }
.section-sub.center{ text-align:center; margin:0 auto 48px; }
.center{ text-align:center; }

.service-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:20px; }

.service-card{
  position:relative;
  background: var(--white); border:1px solid var(--border); border-radius: var(--radius);
  padding:26px 22px; overflow:hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card::before{
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin:left; transition: transform 0.25s ease;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--red); }
.service-card:hover::before{ transform: scaleX(1); }
.service-icon{
  width:44px; height:44px; border-radius:12px;
  background: rgba(227,28,37,0.10);
  display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:16px;
}
.service-card h3{ font-size:1.02rem; margin-bottom:6px; }
.service-cashback{
  display:inline-block; font-size:0.78rem; font-weight:700; color: var(--gold);
  background: rgba(255,176,32,0.14); padding:4px 10px; border-radius:999px; margin-top:10px;
}

/* =====================================================
   WHY / ABOUT
===================================================== */
.why{ padding:96px 0; background: var(--white); }
.why-inner{ display:grid; grid-template-columns: 0.8fr 1.2fr; gap:60px; align-items:center; }
.why-visual{ display:flex; justify-content:center; }
.shield{ position:relative; width:220px; height:220px; display:flex; align-items:center; justify-content:center; }
.shield-ring{ position:absolute; inset:0; border-radius:50%; border:2px dashed rgba(227,28,37,0.25); animation: spin 18s linear infinite; }
@keyframes spin{ to{ transform: rotate(360deg); } }
.shield-core{
  width:130px; height:130px; border-radius:50%;
  background: linear-gradient(155deg, var(--red), var(--red-deep));
  color: var(--white); display:flex; align-items:center; justify-content:center;
  font-size:2.6rem; box-shadow: var(--shadow-strong);
}

.why-copy h2{ font-size:clamp(1.9rem,3.4vw,2.6rem); margin-bottom:30px; }
.feature-list{ display:grid; grid-template-columns:1fr 1fr; gap:26px 24px; }
.feature{ display:flex; gap:16px; align-items:flex-start; }
.feature-icon{
  flex:0 0 auto; width:46px; height:46px; border-radius:12px;
  background: var(--bg); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; font-size:1.2rem;
}
.feature h3{ font-size:1.05rem; margin-bottom:4px; }
.feature p{ color: var(--slate); font-size:0.92rem; max-width:280px; }

/* =====================================================
   REWARDS / CASHBACK SHOWCASE
===================================================== */
.rewards{
  background: linear-gradient(160deg, var(--ink), var(--red-deep) 75%);
  color: var(--white);
  padding:110px 0;
  position:relative;
  overflow:hidden;
}
.rewards::before{
  content:''; position:absolute; width:640px; height:640px;
  background: radial-gradient(circle, rgba(227,28,37,0.38), transparent 70%);
  top:-280px; right:-180px;
}
.rewards::after{
  content:''; position:absolute; width:420px; height:420px;
  background: radial-gradient(circle, rgba(255,176,32,0.16), transparent 70%);
  bottom:-160px; left:-120px;
}
.rewards-inner{
  position:relative; z-index:1;
  display:grid; grid-template-columns: 0.85fr 1.15fr; gap:64px; align-items:center;
}

.rewards-copy h2{ font-size:clamp(1.9rem,3.4vw,2.5rem); margin:0 0 16px; line-height:1.15; }
.rewards-sub{ color: rgba(255,255,255,0.72); max-width:480px; margin-bottom:34px; }

.reward-points{ display:grid; grid-template-columns:1fr 1fr; gap:26px 22px; margin-bottom:38px; }
.reward-point{ display:flex; gap:14px; align-items:flex-start; }
.reward-point-icon{
  width:40px; height:40px; border-radius:11px; flex:0 0 auto;
  background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.14);
  display:flex; align-items:center; justify-content:center; font-size:1.1rem;
}
.reward-point h4{ font-family: var(--font-display); font-size:0.98rem; margin-bottom:4px; color: var(--white); }
.reward-point p{ color: rgba(255,255,255,0.65); font-size:0.86rem; max-width:220px; }

/* Phone success mockup */
.rewards-visual{ position:relative; display:flex; justify-content:center; }
.glow-blob-rewards{
  background: radial-gradient(circle, rgba(255,176,32,0.30), transparent 70%);
  width:300px; height:300px;
}

.phone-shell{
  position:relative; z-index:1;
  width:280px;
  background: #0D0202;
  border-radius:38px;
  padding:14px;
  box-shadow: var(--shadow-strong), 0 0 0 1px rgba(255,255,255,0.06);
}
.phone-notch{
  width:90px; height:20px; background:#0D0202;
  border-radius:0 0 14px 14px;
  margin:0 auto;
  position:relative; z-index:2;
}
.phone-screen{
  position:relative;
  background: linear-gradient(180deg, #1C0708, #0D0202 70%);
  border-radius:26px;
  padding:20px 22px 30px;
  margin-top:-14px;
  overflow:hidden;
  min-height:400px;
}
.screen-topbar{
  display:flex; justify-content:space-between;
  font-size:0.7rem; color: rgba(255,255,255,0.5);
  margin-bottom:36px;
}

.success-burst{
  width:74px; height:74px; border-radius:50%;
  background: radial-gradient(circle, rgba(34,197,94,0.25), transparent 70%);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 18px;
}
.success-tick{
  width:52px; height:52px; border-radius:50%;
  background: #22C55E; color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; font-weight:700;
  box-shadow: 0 0 0 6px rgba(34,197,94,0.14);
  animation: pop-in 0.5s cubic-bezier(.26,1.6,.5,1) both;
}
@keyframes pop-in{
  0%{ transform:scale(0); opacity:0; }
  100%{ transform:scale(1); opacity:1; }
}

.success-title{
  text-align:center; font-size:1.15rem; color:var(--white); margin-bottom:4px;
}
.success-sub{
  text-align:center; font-size:0.82rem; color: rgba(255,255,255,0.5); margin-bottom:26px;
}

.cashback-toast{
  display:flex; align-items:center; gap:12px;
  background: linear-gradient(90deg, rgba(255,176,32,0.16), rgba(255,176,32,0.06));
  border:1px solid rgba(255,176,32,0.4);
  border-radius:16px;
  padding:14px 16px;
  position:relative; z-index:2;
}
.cashback-toast-icon{ font-size:1.4rem; }
.cashback-toast strong{ display:block; color: var(--gold); font-size:0.9rem; font-family: var(--font-display); }
.cashback-toast span{ display:block; font-size:0.76rem; color: rgba(255,255,255,0.6); margin-top:2px; }

/* Confetti */
.confetti{ position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.confetti span{
  position:absolute; top:-10px; width:6px; height:12px; opacity:0.9;
  background: var(--gold);
  animation: confetti-fall 2.6s ease-in infinite;
}
.confetti span:nth-child(1){ left:8%; background:var(--gold); animation-delay:0s; }
.confetti span:nth-child(2){ left:20%; background:#22C55E; animation-delay:0.3s; }
.confetti span:nth-child(3){ left:34%; background:var(--red); animation-delay:0.6s; }
.confetti span:nth-child(4){ left:48%; background:var(--gold); animation-delay:0.15s; }
.confetti span:nth-child(5){ left:60%; background:#22C55E; animation-delay:0.5s; }
.confetti span:nth-child(6){ left:72%; background:var(--red); animation-delay:0.8s; }
.confetti span:nth-child(7){ left:84%; background:var(--gold); animation-delay:0.35s; }
.confetti span:nth-child(8){ left:15%; background:var(--red); animation-delay:1s; }
.confetti span:nth-child(9){ left:65%; background:#22C55E; animation-delay:1.2s; }
.confetti span:nth-child(10){ left:92%; background:var(--gold); animation-delay:0.9s; }
@keyframes confetti-fall{
  0%{ transform: translateY(-20px) rotate(0deg); opacity:1; }
  100%{ transform: translateY(420px) rotate(340deg); opacity:0; }
}

/* =====================================================
   TRUST STRIP
===================================================== */
.trust-strip{ background: var(--white); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:36px 0; }
.trust-strip-inner{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; text-align:center;
}
.trust-item{ flex:1; min-width:140px; display:flex; flex-direction:column; gap:4px; }
.trust-item strong{ font-family: var(--font-display); font-size:1.6rem; color: var(--red-dark); }
.trust-item span{ font-size:0.82rem; color: var(--slate); }

/* =====================================================
   CTA BANNER
===================================================== */
.cta-banner{
  background: var(--red); color: var(--white); padding:80px 0; text-align:center;
  position:relative; overflow:hidden;
}
.cta-banner::before{
  content:''; position:absolute; width:500px; height:500px;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%);
  top:-200px; left:50%; transform:translateX(-50%);
}
.cta-inner{ position:relative; z-index:1; }
.cta-banner h2{ font-size:clamp(1.8rem,3.4vw,2.4rem); margin-bottom:12px; }
.cta-banner p{ color: rgba(255,255,255,0.85); margin-bottom:28px; }
.cta-banner .btn-primary{ background: var(--ink); color: var(--white); }
.cta-banner .btn-primary:hover{ background: #000; }

/* =====================================================
   FOOTER
===================================================== */
.site-footer{ background: var(--ink); color: rgba(255,255,255,0.75); padding:64px 0 0; }
.footer-inner{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:40px;
  padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text{ color: var(--white); }
.footer-brand p{ margin-top:14px; font-size:0.9rem; max-width:240px; }
.footer-col h4{ color: var(--white); font-family: var(--font-display); font-size:0.95rem; margin-bottom:16px; }
.footer-col a, .footer-col p{ display:block; font-size:0.88rem; margin-bottom:10px; color: rgba(255,255,255,0.65); }
.footer-col a:hover{ color: var(--gold); }
.footer-bottom{ text-align:center; padding:22px 0; font-size:0.82rem; color: rgba(255,255,255,0.4); }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 960px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; min-height:300px; }
  .service-grid{ grid-template-columns: repeat(2,1fr); }
  .why-inner{ grid-template-columns:1fr; text-align:center; }
  .feature{ text-align:left; }
  .feature-list{ grid-template-columns:1fr; }
  .rewards-inner{ grid-template-columns:1fr; }
  .rewards-visual{ order:-1; margin-bottom:20px; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .top-strip-inner span:first-child{ display:none; }
}

@media (max-width: 720px){
  .nav{
    position:absolute; top:114px; left:0; right:0;
    background: var(--white); flex-direction:column; padding:20px 24px; gap:18px;
    border-bottom:1px solid var(--border); display:none;
  }
  .nav.open{ display:flex; }
  .menu-toggle{ display:flex; }
  .header-actions{ display:none; }
  .stats{ gap:26px; flex-wrap:wrap; }
  .service-grid{ grid-template-columns:1fr 1fr; }
  .footer-inner{ grid-template-columns:1fr; text-align:center; }
  .feature{ flex-direction:column; align-items:center; text-align:center; }
  .badge-ring{ width:80px; height:80px; }
  .badge-ring strong{ font-size:1.1rem; }
  .reward-points{ grid-template-columns:1fr; }
  .trust-strip-inner{ justify-content:center; }
}

/* Modal Overlay */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 16px;
}

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

/* Modal Card */
.service-modal {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

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

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #666;
  line-height: 1;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.modal-service-icon {
  font-size: 1.8rem;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #222;
}

/* Form Controls */
.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #e60000;
}

.modal-submit-btn {
  width: 100%;
  padding: 12px;
  background: #e60000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}

.modal-submit-btn:hover {
  background: #cc0000;
}



/* =====================================================
   LOGIN PAGE STYLES (Using Existing Design Tokens)
===================================================== */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: 
    radial-gradient(680px 420px at 85% 5%, rgba(227,28,37,0.12), transparent 60%),
    radial-gradient(500px 380px at 15% 95%, rgba(255,176,32,0.08), transparent 60%),
    var(--bg);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-header .logo {
  justify-content: center;
  margin-bottom: 18px;
}

.auth-header h2 {
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.auth-header p {
  font-size: 0.9rem;
  color: var(--slate);
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 0.85rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate);
  cursor: pointer;
}

.remember-me input {
  accent-color: var(--red);
  cursor: pointer;
}

.forgot-link {
  color: var(--red-dark);
  font-weight: 600;
  transition: color 0.15s ease;
}

.forgot-link:hover {
  color: var(--red);
  text-decoration: underline;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--slate);
}

.auth-footer a {
  color: var(--red-dark);
  font-weight: 700;
}

.auth-footer a:hover {
  color: var(--red);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .auth-card { padding: 30px 20px; }
  .auth-header h2 { font-size: 1.4rem; }
}



/* =====================================================
   REGISTRATION SPECIFIC STYLES
===================================================== */
.auth-card-wide {
  max-width: 520px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.terms-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.4;
}

.terms-wrap input {
  margin-top: 3px;
  accent-color: var(--red);
  cursor: pointer;
}

.terms-wrap a {
  color: var(--red-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* Success Modal Details Card */
.reg-success-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin: 18px 0;
  text-align: left;
}

.reg-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9rem;
}

.reg-info-row:last-child {
  border-bottom: none;
}

.reg-info-label {
  color: var(--slate);
  font-weight: 500;
}

.reg-info-val {
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-mono, monospace);
}

.reg-id-highlight {
  color: var(--red);
  font-size: 1.05rem;
}

@media (max-width: 540px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}