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

:root {
  --background: #ffffff;
  --foreground: #171717;
  --deep-blue: #0D1B3E;
  --dark-pink: #D81B60;
  --orange-red: #FF5722;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100%;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur-md;
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--dark-pink), var(--orange-red));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon span {
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
}

.logo-text {
  font-weight: 700;
  font-size: 20px;
  color: var(--deep-blue);
  display: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(13, 27, 62, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-badge span {
  font-size: 10px;
  font-weight: 700;
  color: var(--deep-blue);
}

/* Hamburger button */
.menu-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--orange-red);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
}

.menu-btn .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-btn.active .bar:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.menu-btn.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-btn.active .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* Mobile nav */
.mobile-nav {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  background: var(--white);
  border-top: 1px solid #e5e7eb;
}

.mobile-nav.open {
  max-height: 400px;
  opacity: 1;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
  gap: 12px;
}

.mobile-nav-inner a {
  color: var(--deep-blue);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.2s;
}

.mobile-nav-inner a:hover {
  background: var(--light-gray);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-tagline {
  color: rgba(13, 27, 62, 0.5);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

.hero-title {
  color: var(--deep-blue);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease 0.1s forwards;
}

.hero-subtitle {
  color: #9ca3af;
  max-width: 560px;
  margin-bottom: 40px;
  font-size: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease 0.2s forwards;
}

/* PIN Checker form */
.pin-checker {
  width: 100%;
  max-width: 672px;
  margin: 0 auto 64px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease 0.4s forwards;
}

.pin-checker-card {
  background: var(--light-gray);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pin-checker-card h3 {
  color: var(--deep-blue);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pin-checker-card .hint {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 24px;
}

.pin-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pin-form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pin-input {
  flex: 1;
  width: 100%;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  color: var(--deep-blue);
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pin-input::placeholder {
  color: #d1d5db;
}

.pin-input:focus {
  border-color: var(--dark-pink);
  box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.15);
}

.btn-primary {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--dark-pink), var(--orange-red));
  color: var(--white);
  font-weight: 700;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(216, 27, 96, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-primary:hover:not(:disabled) {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(216, 27, 96, 0.3);
}

.btn-primary:active:not(:disabled) {
  transform: scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pin-msg {
  font-size: 14px;
  margin-top: 12px;
}

.pin-msg.error {
  color: #ef4444;
}

.pin-msg.success {
  color: #16a34a;
}

.pin-footer {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 16px;
}

/* Hero stats row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 64px;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.5s forwards;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--deep-blue);
}

.stat-label {
  color: #9ca3af;
  font-size: 12px;
  margin-top: 4px;
}

/* ===== BANNER ===== */
.banner {
  padding: 48px 0;
  background: var(--white);
}

.banner-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}

.banner-card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--orange-red), var(--dark-pink));
  overflow: visible;
}

.banner-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 24px;
  z-index: 1;
}

.banner-text {
  text-align: center;
}

.banner-text h3 {
  color: var(--white);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
}

.banner-text p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  max-width: 420px;
  font-size: clamp(13px, 1.1vw, 15px);
}

.btn-white {
  display: inline-block;
  padding: 12px 28px;
  background: var(--white);
  color: var(--orange-red);
  font-weight: 700;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-size: clamp(13px, 1.1vw, 15px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-white:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-white:active {
  transform: scale(0.98);
}

.banner-img-wrap {
  width: clamp(160px, 22vw, 320px);
  height: clamp(240px, 34vw, 460px);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-top: clamp(-24px, -4vw, -80px);
  align-self: center;
}

.banner-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

/* ===== STATISTICS ===== */
.statistics {
  padding: 64px 0;
  background: var(--deep-blue);
}

.statistics-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.statistics-header {
  text-align: center;
  margin-bottom: 48px;
}

.statistics-header p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.stat-card .bg-circle-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 128px;
  height: 128px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.stat-card .bg-circle-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 96px;
  height: 96px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translate(-50%, 50%);
}

.stat-card-inner {
  position: relative;
}

.stat-card-value {
  font-weight: 700;
  color: var(--white);
  font-size: 28px;
  margin-bottom: 8px;
}

.stat-card-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
}

/* ===== CONTACT ===== */
.contact {
  padding: 64px 0;
  background: var(--light-gray);
}

.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-header h2 {
  color: var(--deep-blue);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-header p {
  color: #9ca3af;
  max-width: 560px;
  margin: 0 auto;
}

.contact-form-wrap {
  max-width: 672px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--deep-blue);
  font-size: 14px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  background: var(--light-gray);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  color: var(--deep-blue);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #d1d5db;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--dark-pink);
  box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-msg {
  font-size: 14px;
  text-align: center;
}

.contact-msg.success {
  color: #16a34a;
}

.contact-msg.error {
  color: #ef4444;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--deep-blue);
  color: var(--white);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-brand .logo-icon span {
  font-size: 14px;
}

.footer-brand .logo-text {
  color: var(--white);
  display: inline;
  font-size: 18px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links a {
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll-delay-1 { transition-delay: 0s; }
.animate-on-scroll-delay-2 { transition-delay: 0.1s; }
.animate-on-scroll-delay-3 { transition-delay: 0.2s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ===== VERIFICATION PAGE ===== */
.verify-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  display: flex;
  flex-direction: column;
}

.verify-header {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.verify-header-inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.verify-header-inner .logo-icon {
  width: 40px;
  height: 40px;
}

.verify-header-inner .logo-text {
  display: inline;
  font-size: 20px;
}

.verify-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.verify-box {
  width: 100%;
  max-width: 448px;
}

.verify-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 32px;
}

.verify-card-header {
  text-align: center;
  margin-bottom: 32px;
}

.verify-card-header .logo-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 16px;
}

.verify-card-header .logo-icon span {
  font-size: 24px;
}

.verify-card-header h1 {
  color: var(--deep-blue);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.verify-card-header p {
  color: #9ca3af;
  font-size: 14px;
}

.verify-success {
  text-align: center;
}

.check-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.check-circle svg {
  width: 40px;
  height: 40px;
  color: #16a34a;
}

.verify-success h2 {
  color: var(--deep-blue);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.verify-success p {
  color: #6b7280;
  margin-bottom: 24px;
}

.verify-success .balance {
  color: #16a34a;
  font-weight: 700;
  font-size: 24px;
}

.verify-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.verify-form .form-group label {
  font-size: 14px;
}

.verify-pin-input {
  width: 100%;
  padding: 16px 20px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  color: var(--deep-blue);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.verify-pin-input::placeholder {
  color: #d1d5db;
  font-weight: 400;
  font-size: 16px;
}

.verify-pin-input:focus {
  border-color: var(--dark-pink);
  box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.15);
}

.captcha-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
}

.captcha-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.captcha-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--dark-pink);
}

.captcha-label span {
  font-size: 14px;
  color: var(--deep-blue);
}

.captcha-brand {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 8px;
  margin-left: 32px;
}

.verify-footer {
  margin-top: 24px;
  text-align: center;
}

.verify-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  color: #9ca3af;
  flex-wrap: wrap;
}

.verify-footer-links a {
  transition: color 0.2s;
}

.verify-footer-links a:hover {
  color: var(--deep-blue);
}

.verify-footer-links .lang {
  cursor: default;
}

.verify-copy {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 12px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 576px) {
  .pin-form-row {
    flex-direction: row;
  }

  .btn-primary {
    width: auto;
  }

  .banner-content {
    flex-direction: row;
    padding: 32px 40px;
  }

  .banner-img-wrap {
    align-self: flex-end;
  }

  .banner-text {
    text-align: left;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 48px;
  }

  .stat-value {
    font-size: 30px;
  }

  .stat-label {
    font-size: 14px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .stat-card-value {
    font-size: 36px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .logo-text {
    display: inline;
  }

  .hero-inner {
    padding: 112px 24px;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 60px;
  }

  .hero-inner {
    padding-top: 112px;
    padding-bottom: 112px;
  }

  .hero-stats {
    gap: 64px;
  }

  .stat-value {
    font-size: 36px;
  }

  .statistics,
  .contact {
    padding: 80px 0;
  }

  .contact-header h2 {
    font-size: 36px;
  }

  .contact-form {
    padding: 32px;
  }

  .stat-card-value {
    font-size: 36px;
  }

  .stat-card {
    padding: 32px;
  }

}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 72px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .banner-text h3 {
    font-size: 30px;
  }

  .stat-card-value {
    font-size: 36px;
  }
}
