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

body { font-family: 'Segoe UI', system-ui, sans-serif; color: #1e293b; background: #fff; line-height: 1.6; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.header { background: #fff; border-bottom: 1px solid #e2e8f0; padding: .9rem 0; position: sticky; top: 0; z-index: 100; }
.logo { font-size: 1.1rem; font-weight: 800; color: #1e3a5f; }

/* Hero */
.hero { background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%); color: #fff; padding: 5rem 0 4rem; }
.hero-inner { display: grid; grid-template-columns: 1fr 420px; gap: 3rem; align-items: center; }
.badge { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); padding: .3rem .9rem; border-radius: 99px; font-size: .78rem; font-weight: 600; display: inline-block; margin-bottom: 1rem; }
.hero-content h1 { font-size: 2.2rem; font-weight: 800; line-height: 1.25; margin-bottom: 1rem; }
.hero-desc { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: 1.5rem; }
.features { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; }
.features li { font-size: .92rem; color: rgba(255,255,255,.9); }
.price-box { display: flex; align-items: baseline; gap: .75rem; }
.price { font-size: 2rem; font-weight: 800; color: #fbbf24; }
.price-note { font-size: .85rem; color: rgba(255,255,255,.7); }

/* Form card */
.form-card { background: #fff; border-radius: 1rem; padding: 2rem; box-shadow: 0 20px 60px rgba(0,0,0,.2); color: #1e293b; }
.form-card h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: .25rem; }
.form-sub { color: #64748b; font-size: .88rem; margin-bottom: 1.5rem; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; padding: .75rem 1rem; border-radius: .5rem; font-size: .87rem; margin-bottom: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: #374151; margin-bottom: .4rem; }
.field input { width: 100%; padding: .65rem .9rem; border: 1.5px solid #e2e8f0; border-radius: .5rem; font-size: .95rem; outline: none; transition: border-color .2s; }
.field input:focus { border-color: #2563eb; }
.btn-primary { width: 100%; padding: .8rem; background: #2563eb; color: #fff; border: none; border-radius: .6rem; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background .2s; }
.btn-primary:hover { background: #1d4ed8; }

/* About section */
.about { padding: 5rem 0; background: #f8fafc; }
.section-title { font-size: 1.8rem; font-weight: 800; text-align: center; margin-bottom: 2.5rem; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card { background: #fff; border-radius: .875rem; padding: 1.75rem 1.5rem; border: 1px solid #e2e8f0; }
.card-icon { font-size: 2rem; margin-bottom: .75rem; }
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.card p { font-size: .87rem; color: #64748b; }

/* Footer */
.footer { background: #1e293b; color: rgba(255,255,255,.6); padding: 1.5rem 0; text-align: center; font-size: .85rem; }
.footer strong { color: rgba(255,255,255,.9); }

/* Checkout */
.checkout-wrap { padding: 3rem 0; }
.checkout-grid { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.checkout-info h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.order-summary { border: 1px solid #e2e8f0; border-radius: .75rem; overflow: hidden; margin-bottom: 2rem; }
.order-row { display: flex; justify-content: space-between; padding: .75rem 1rem; font-size: .9rem; border-bottom: 1px solid #f1f5f9; }
.order-row:last-child { border-bottom: none; }
.order-row span:first-child { color: #64748b; }
.order-total { background: #f8fafc; font-weight: 700; }
.order-total span:last-child { color: #2563eb; font-size: 1rem; }

.bank-info { border: 1px solid #e2e8f0; border-radius: .75rem; overflow: hidden; }
.bank-row { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1rem; font-size: .9rem; border-bottom: 1px solid #f1f5f9; }
.bank-row:last-child { border-bottom: none; }
.bank-row span:first-child { color: #64748b; min-width: 120px; }
.bank-row.highlight { background: #eff6ff; }
.bank-row.highlight strong { color: #1d4ed8; }
.copy-btn { background: #e0e7ff; color: #4338ca; border: none; padding: .2rem .6rem; border-radius: .3rem; font-size: .75rem; cursor: pointer; margin-left: .5rem; transition: background .2s; }
.copy-btn:hover { background: #c7d2fe; }

.notice { background: #fefce8; border: 1px solid #fde047; border-radius: .6rem; padding: .9rem 1rem; font-size: .87rem; color: #854d0e; margin-top: 1.5rem; }
.notice code { background: #fef9c3; padding: .1rem .35rem; border-radius: .25rem; font-weight: 700; }

.checking { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; color: #64748b; font-size: .88rem; }
.spinner { width: 18px; height: 18px; border: 2.5px solid #e2e8f0; border-top-color: #2563eb; border-radius: 50%; animation: spin .8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

.checkout-qr { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.75rem; text-align: center; position: sticky; top: 80px; }
.checkout-qr h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.qr-img { width: 100%; max-width: 240px; border-radius: .5rem; }
.qr-note { font-size: .8rem; color: #64748b; margin-top: .75rem; line-height: 1.5; }

/* Success */
.success-box { max-width: 500px; margin: 4rem auto; text-align: center; background: #f0fdf4; border: 1px solid #86efac; border-radius: 1rem; padding: 3rem 2rem; }
.success-icon { width: 64px; height: 64px; background: #22c55e; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; margin: 0 auto 1.5rem; }
.success-box h2 { font-size: 1.5rem; font-weight: 800; color: #15803d; margin-bottom: .75rem; }
.success-box p { color: #374151; font-size: .95rem; margin-bottom: .5rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-wrap { max-width: 480px; width: 100%; }
  .hero-content h1 { font-size: 1.7rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-qr { position: static; }
}
@media (max-width: 480px) {
  .hero { padding: 3rem 0 2.5rem; }
  .cards { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.45rem; }
}
