
:root{
  --p:        #6b21a8;
  --p-dark:   #4a1572;
  --p-deep:   #2d0a5e;
  --p-mid:    #8b5cf6;
  --p-light:  #ede9fe;
  --p-pale:   #f5f3ff;
  --gold:     #f59e0b;
  --gold-l:   #fef3c7;
  --teal:     #0d9488;
  --teal-l:   #ccfbf1;
  --red:      #dc2626;
  --red-l:    #fee2e2;
  --white:    #ffffff;
  --bg:       #F2F8FD;
  --border:   #dde8f5;
  --ink:      #1a0f2e;
  --muted:    #5a6a80;
  --subtle:   #94a3b8;
}

html{scroll-behavior:smooth}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero{
  background: var(--color-grad);
  padding:68px 60px 0;
  position:relative;
  overflow:hidden
}
.hero::before{
  content:'';position:absolute;top:-120px;right:-80px;
  width:600px;height:600px;border-radius:50%;
  background:radial-gradient(circle,rgba(196,181,253,.18) 0%,transparent 65%);
  pointer-events:none
}
.hero::after{
  content:'';position:absolute;bottom:0;left:0;width:100%;height:160px;
  background:radial-gradient(ellipse 80% 60% at 50% 120%,rgba(196,181,253,.12) 0%,transparent 70%);
  pointer-events:none
}
.g{position:absolute;pointer-events:none}
.g1{top:22px;left:5%;width:18px;height:18px;border:2px solid rgba(255,255,255,.2);border-radius:4px;transform:rotate(20deg)}
.g2{top:70px;left:18%;width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.18)}
.g3{top:38px;right:34%;width:14px;height:14px;border:2px solid rgba(255,255,255,.14);transform:rotate(45deg)}
.g4{top:130px;left:4%;width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.12)}
.g5{top:50px;right:13%;width:12px;height:12px;border:2px solid rgba(255,255,255,.16);transform:rotate(15deg)}
.g6{bottom:110px;right:6%;width:15px;height:15px;border:2px solid rgba(255,255,255,.12);border-radius:4px;transform:rotate(30deg)}
.g7{top:100px;right:27%;width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.12)}
.g8{bottom:140px;left:28%;width:10px;height:10px;border:2px solid rgba(255,255,255,.1);transform:rotate(25deg)}

.hero-inner{max-width: 80vw;margin:0 auto;text-align:center;position:relative;z-index:1;/* padding-bottom:60px; */}
.h-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);
  border-radius:100px;padding:5px 18px 5px 10px;
  font-size:11px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;
  color:rgba(255,255,255,.85);margin-bottom:22px
}
.h-badge-dot{width:6px;height:6px;border-radius:50%;background:#c4b5fd;animation:blink 2s infinite}
@keyframes blink{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.25;transform:scale(1.7)}}
.hero h1{
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(36px,5vw,58px);font-weight:800;
  color:#fff;letter-spacing:-2.5px;line-height:1.02;margin-bottom:16px
}
.hero h1 em{font-style:normal;color:#c4b5fd}
.hero-sub{font-size:16px;color:rgba(255,255,255,.55);line-height:1.85;max-width:460px;margin:0 auto 36px}

.hero-pills{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.hp{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:100px;padding:8px 18px;color: white;}
.hp svg{width:13px;height:13px;fill:none;stroke:#c4b5fd;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.hp span{font-size:12.5px;font-weight:600;color:rgba(255,255,255,.82)}
.hp strong{font-family:'Space Grotesk',sans-serif;color:#fff;font-weight:800}

.hero-wave{line-height:0;margin-top:-1px}
.hero-wave svg{display:block;width:100%}

/* ══════════════════════════════════════
   MAIN LAYOUT
══════════════════════════════════════ */
.main{
  max-width:80vw;margin:0 auto;
  padding:48px 0vw 96px;
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:40px;
  align-items:start;
}

/* ══════════════════════════════════════
   COUPON CARD PREVIEW
══════════════════════════════════════ */
.card-col{
  /* position:sticky;top:28px; */
}

.card-wrap{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 8px 40px rgba(82,52,147,.1);
  animation:fadeUp .4s ease both;
}

/* ── Card top gradient band ── */
.card-band{
  background:linear-gradient(135deg,#78439a,#523493);
  padding:20px 22px 16px;
  position:relative;overflow:hidden;
}
.card-band::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse 60% 80% at 90% 20%,rgba(255,255,255,.1),transparent 60%);
  pointer-events:none;
}
.cb-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;position:relative;z-index:1}
.cb-logo{display:flex;align-items:center;gap:7px}
.cb-logo-icon{
  width:28px;height:28px;border-radius:7px;
  background:rgba(255,255,255,.2);
  border:1px solid rgba(255,255,255,.25);
  display:flex;align-items:center;justify-content:center;
}
.cb-logo-icon svg{width:15px;height:15px;color:#fff}
.cb-logo-name{font-size:14px;font-weight:700;color:#fff;letter-spacing:-.01em}
.cb-logo-name span{color:#e2c8f8}
.cb-type{
  font-size: 10px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:rgba(255,255,255,.65);
  background:rgba(0,0,0,.2);
  border:1px solid rgba(255,255,255,.12);
  border-radius:6px;
  padding:3px 8px;
}

.cb-title{
  font-size: 16px;
  font-weight:700;
  color:#fff;
  letter-spacing:-.02em;
  position:relative;
  z-index:1;
}
.cb-subtitle{font-size: 14px;color:rgba(255,255,255,.55);margin-top:2px;position:relative;z-index:1;line-height: 1.4rem;}

/* ── Amount block ── */
.card-amount{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 22px 14px;
  border-bottom:1px solid var(--border);
}
.ca-left{}
.ca-label{font-size: 10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--subtle);margin-bottom:3px}
.ca-value{font-size: 24px;font-weight:700;color:var(--ink);letter-spacing:-.03em}
.ca-max{font-size: 12px;color:var(--muted);margin-top:2px;line-height: 1.4rem;}
.ca-right{}
.validity-pill{
  display:flex;align-items:center;gap:5px;
  background:var(--p-pale);border:1px solid var(--p-light);
  border-radius:8px;padding:6px 12px;
}
.validity-pill svg{width:12px;height:12px;color:var(--p)}
.validity-pill-text{display:flex;flex-direction:column;gap:0}
.vp-label{font-size: 10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--subtle);line-height: 1.6rem;}
.vp-val{font-size: 9px;font-weight:700;color:var(--p);line-height: 1.6rem;}

/* ── Code fields ── */
.card-codes{
  display:grid;grid-template-columns:1fr 1fr;gap:0;
  border-bottom:1px solid var(--border);
}
.code-field{
  padding:14px 22px;
}
.code-field:first-child{border-right:1px solid var(--border)}
.cf-label{font-size: 12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--subtle);margin-bottom:6px}
.cf-box{
  background:var(--bg);
  border:1.5px dashed var(--border);
  border-radius:8px;padding:8px 10px;
  display:flex;align-items:center;justify-content:space-between;gap:8px;
}
.cf-code{
  font-size:.72rem;font-weight:600;color:var(--muted);
  letter-spacing:.12em;font-variant-numeric:tabular-nums;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.cf-lock{width:12px;height:12px;color:var(--subtle);flex-shrink:0}

/* ── QR + Info row ── */
.card-bottom{
  display:flex;align-items:flex-start;gap:16px;
  padding:16px 22px 18px;
}
.card-qr{
  width:80px;height:80px;flex-shrink:0;
  border:1.5px solid var(--border);border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:#fff;padding:6px;
}
.card-qr svg{width:100%;height:100%;display:block}

.card-info-rows{flex:1;display:flex;flex-direction:column;gap:6px}
.ci-row{
  display:flex;
  align-items:flex-start;
  gap:6px;
  font-size: 12px;
  color:var(--muted);
  line-height:1.4;
}
.ci-row svg{width:11px;height:11px;color:var(--p);flex-shrink:0;margin-top:1px}

/* ── Card footer ── */
.card-footer{
  background:var(--p-pale);
  border-top:1px solid var(--p-light);
  padding:12px 22px;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.cf-site{font-size: 12px;font-weight:600;color:var(--p)}
.cf-hotline{font-size: 12px;color:var(--muted)}
.cf-hotline strong{color:var(--ink)}

/* ── Corp badge below card ── */
.corp-notice{
  display:flex;align-items:flex-start;gap:10px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px 16px;
  margin-top:14px;
  animation:fadeUp .4s ease .1s both;
}
.corp-notice-icon{
  width:32px;height:32px;border-radius:9px;
  background:var(--gold-l);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.corp-notice-icon svg{width:15px;height:15px;color:var(--gold)}
.corp-notice-text{}
.cnt-title{font-size:14px;font-weight:700;color:var(--ink);margin-bottom:2px}
.cnt-sub{font-size: 12px;color:var(--muted);line-height:1.45}

/* ══════════════════════════════════════
   T&C PANEL
══════════════════════════════════════ */
.tc-col{animation:fadeUp .4s ease .08s both}

.tc-header{margin-bottom:24px}
.tc-eyebrow{
  font-size: 12px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--p-mid);
  margin-bottom:7px;
  display:flex;
  align-items:center;
  gap:7px;
}
.tc-eyebrow::before{content:'';width:18px;height:2px;background:linear-gradient(90deg,var(--p),var(--p-mid));border-radius:2px}
.tc-title{
  font-size: 32px;
  font-weight:700;
  color:var(--ink);
  letter-spacing:-.03em;
  line-height:1.1;
  margin-bottom:8px;
}
.tc-title em{font-style:normal;color:var(--p)}
.tc-subtitle{font-size: 15px;color:var(--muted);line-height:1.6}

/* ── T&C items ── */
.tc-list{display:flex;flex-direction:column;gap:10px;margin-bottom:28px}

.tc-item{
  display:flex;align-items:flex-start;gap:14px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px 18px;
  transition:border-color .18s,box-shadow .18s;
}
.tc-item:hover{border-color:#c4b0e0;box-shadow:0 4px 16px rgba(107,33,168,.07)}

.tc-num{
  width:28px;
  height:28px;
  min-width:28px;
  border-radius:8px;
  background:var(--p-pale);
  border:1px solid var(--p-light);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 14px;
  font-weight:700;
  color:var(--p);
  flex-shrink:0;
}
.tc-num.highlight{background:var(--red-l);border-color:#fca5a5;color:var(--red)}

.tc-text{
  font-size: 15px;
  color:var(--ink);
  line-height:1.6;
  padding-top:3px;
}
.tc-text strong{color:var(--ink);font-weight:700}
.tc-text a{color:var(--p);text-decoration:none;font-weight:600}
.tc-text a:hover{text-decoration:underline}

/* ── Note block ── */
.tc-note{
  display:flex;
  align-items: center;
  gap:12px;
  background: var(--color-bg);
  border:1px solid var(--p-light);
  border-radius:14px;
  padding:16px 20px;
  margin-bottom:28px;
}
.tc-note-icon{
  width:36px;
  height:36px;
  min-width:36px;
  border-radius:10px;
  background: var(--color-bg-border);
  display:flex;
  align-items:center;
  justify-content:center;
}
.tc-note-icon svg{width:18px;height:18px;color:var(--p)}
.tc-note-body{}
.tnb-label{font-size: 16px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--p);margin-bottom:4px}
.tnb-text{font-size: 15px;color:var(--ink);line-height:1.6}
.tnb-text strong{color:var(--p-dark)}

/* ── CTA block ── */
.tc-cta{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;flex-wrap:wrap;
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:20px 22px;
}
.cta-text{}
.cta-label{font-size: 12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--subtle);margin-bottom:4px}
.cta-title{font-size: 20px;font-weight:700;color:var(--ink)}
.cta-sub{font-size: 16px;color:var(--muted);margin-top:2px}
.cta-btns{display:flex;gap:10px;flex-shrink:0}
.cta-btn{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:10px 20px;
  border-radius:10px;
  font-family:'Space Grotesk',sans-serif;
  font-size: 14px;
  font-weight:700;
  cursor:pointer;
  border:none;
  text-decoration:none;
  transition:all .18s;
  white-space:nowrap;
}
.cta-btn-primary{
  background:linear-gradient(135deg,#78439a,#523493);
  color:#fff;
  box-shadow:0 4px 16px rgba(82,52,147,.3);
}
.cta-btn-primary:hover{color: white;transform:translateY(-1px);box-shadow:0 6px 22px rgba(82,52,147,.4)}
.cta-btn-ghost{
  background:var(--bg);color:var(--muted);
  border:1.5px solid var(--border);
}
.cta-btn-ghost:hover{border-color:var(--p);color:var(--p)}
.cta-btn svg{width:14px;height:14px}

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:translateY(0)}
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* ── Laptop (≤1200px) ── */
@media(max-width:1200px){
  .main{
    max-width:100%;
    grid-template-columns:320px 1fr;
    gap:32px;
    padding:40px 4vw 80px;
  }
}

/* ── Tablet (≤900px) ── */
@media(max-width:900px){
  /* Hero */
  .hero{padding:40px 5vw 80px}
  .hero-title{font-size:clamp(1.6rem,4vw,2.4rem)}
  .hr1{width:340px;height:340px}

  /* Layout: stack vertically */
  .main{
    grid-template-columns:1fr;
    gap:32px;
    padding:36px 5vw 72px;
  }
  .card-col{position:static}

  /* Card: widen to fill */
  .card-wrap{max-width:520px;margin:0 auto}
  .corp-notice{max-width:520px;margin:14px auto 0}

  /* T&C title */
  .tc-title{/* font-size:19px; */}

  /* CTA row: keep inline but allow wrap */
  .tc-cta{gap:12px}
}

/* ── Mobile (≤600px) ── */
@media(max-width:600px){
  /* Hero */
  .hero{padding:32px 5vw 72px}
  .hero-title{font-size:19px;letter-spacing:-.02em}
  .hero-badge{font-size:.58rem;padding:4px 13px}
  .hero-corp-tag{font-size:.7rem}

  /* Rings: hide large one */
  .hr1{display:none}

  /* Main padding */
  .main{padding:28px 4vw 60px;gap:24px}

  /* Card: full-width, reduce internal padding */
  .card-wrap{max-width:100%}
  .card-band{padding:16px 16px 12px}
  .cb-title{font-size:16px}

  .card-amount{padding:14px 16px 12px;flex-wrap:wrap;gap:10px}
  .ca-value{font-size:1.4rem}

  /* Code fields: stack */
  .card-codes{grid-template-columns:1fr}
  .code-field{padding:12px 16px}
  .code-field:first-child{border-right:none;border-bottom:1px solid var(--border)}

  /* QR + Info */
  .card-bottom{padding:14px 16px 16px;gap:12px}
  .card-qr{width:66px;height:66px}

  /* Card footer */
  .card-footer{
    padding:10px 16px;
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
  }

  /* Corp notice */
  .corp-notice{padding:12px 14px}
  .cnt-sub{font-size:.7rem}

  /* T&C */
  .tc-header{margin-bottom:18px}
  .tc-title{/* font-size:1.35rem; */}
  .tc-subtitle{/* font-size:.83rem; */}

  .tc-item{padding:13px 14px;gap:11px;border-radius:12px}
  .tc-text{/* font-size:.82rem; */}

  .tc-note{padding:14px 16px;gap:10px}
  .tnb-text{/* font-size:.82rem; */}

  /* CTA: stack */
  .tc-cta{flex-direction:column;align-items:stretch;padding:16px}
  .cta-btns{width:100%;flex-direction:column}
  .cta-btn{width:100%;justify-content:center;padding:12px 20px}
  .cta-title{font-size:16px}
}

/* ── Small Mobile (≤380px) ── */
/* @media(max-width:380px){
  .hero-title{font-size:1.3rem}
  .card-footer{font-size:.6rem}
  .cf-code{font-size:.65rem;letter-spacing:.08em}
  .tc-title{font-size:1.2rem}
  .cta-title{font-size:.85rem}
  .card-amount{flex-direction:column;align-items:flex-start}
} */
