*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #0ea5e9;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1100px, calc(100% - 32px));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

.bonus-bar,
.header,
.hero,
.trust-strip,
.section,
.cta-section,
.footer {
  max-width: 100%;
  overflow-x: clip;
}

/* Bonus bar */
.bonus-bar {
  background: linear-gradient(90deg, #f59e0b, #ea580c);
  color: #fff;
  padding: 8px 0;
  font-size: 0.875rem;
  text-align: center;
}

.bonus-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.35;
}

.bonus-bar-short {
  display: none;
}

.bonus-bar-icon {
  font-size: 1rem;
}

.bonus-bar-tag {
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.trust-strip {
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  color: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
  text-align: center;
}

.trust-strip p {
  margin: 0;
  font-size: 0.88rem;
}

.trust-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
}

.logo-icon {
  font-size: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-sm {
  background: var(--primary-light);
  color: var(--primary);
}

.btn-sm:hover {
  background: #bfdbfe;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 1.0625rem;
}

/* Hero */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-width: 0;
}

.hero-grid > *,
.hero-content,
.hero-card {
  min-width: 0;
  max-width: 100%;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.badge-light {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bonus-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fcd34d;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 24px;
  min-width: 0;
  max-width: 100%;
}

.bonus-card-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.bonus-card strong {
  display: block;
  font-size: 0.9375rem;
  color: #92400e;
  margin-bottom: 4px;
}

.bonus-card p {
  font-size: 0.8125rem;
  color: #b45309;
  line-height: 1.5;
  margin: 0;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-points {
  list-style: none;
  margin-bottom: 32px;
}

.hero-points li {
  padding: 6px 0;
  font-size: 0.9375rem;
  color: var(--text);
}

.hero-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.countdown-item {
  text-align: center;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 16px 8px;
}

.countdown-item span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.countdown-item small {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-bonus-highlight {
  text-align: center;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px dashed #f59e0b;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  color: #92400e;
}

.hero-bonus-highlight strong {
  color: #b45309;
  font-size: 1.125rem;
}

.card-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.card-stats strong {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text);
}

.card-stats span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Learn grid */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.learn-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.learn-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.learn-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.learn-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* GKD */
.gkd-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.gkd-step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.gkd-letter {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
}

.gkd-step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.gkd-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.gkd-arrow {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--border);
}

.testimonial-user {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

.testimonial-tag {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.testimonial-highlight {
  margin: 0 0 8px;
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 0.92rem;
}

.testimonial-likes {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ef4444;
}

.testimonial-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-header strong {
  display: block;
  font-size: 0.9375rem;
}

.testimonial-header span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.testimonial p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

/* FAQ */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* CTA */
.cta-section {
  padding-bottom: 100px;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #1e40af, #0369a1);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  min-width: 0;
  max-width: 100%;
}

.cta-box > * {
  min-width: 0;
}

.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-content p {
  opacity: 0.9;
  margin-bottom: 24px;
  font-size: 1rem;
}

.cta-checklist {
  list-style: none;
}

.cta-checklist li {
  padding: 4px 0;
  font-size: 0.9375rem;
  opacity: 0.95;
}

.register-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--text);
}

.form-bonus {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center;
  font-size: 0.9375rem;
  color: #92400e;
  margin-bottom: 20px;
}

.form-bonus strong {
  color: #b45309;
}

.form-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.form-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-privacy {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.btn-loading[hidden] {
  display: none;
}

.btn-text[hidden] {
  display: none;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 16px;
}

.footer-disclaimer {
  font-size: 0.8125rem;
  max-width: 560px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 48px 0 64px;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .cta-box {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .learn-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .gkd-arrow {
    display: none;
  }

  .gkd-grid {
    flex-direction: column;
  }

  .gkd-step {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }

  .hero-desc {
    max-width: none;
  }

  .cta-section {
    padding-bottom: 72px;
  }
}

@media (max-width: 640px) {
  .bonus-bar-full {
    display: none;
  }

  .bonus-bar-short {
    display: inline;
  }

  .bonus-bar {
    padding: 7px 0;
    font-size: 0.8rem;
  }

  .section {
    padding: 48px 0;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .header-inner {
    height: auto;
    min-height: 56px;
    padding: 10px 0;
    min-width: 0;
    gap: 12px;
  }

  .trust-strip-inner {
    padding: 10px 0;
    gap: 8px;
  }

  .trust-strip p {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .hero-desc {
    font-size: 0.98rem;
  }

  .hero-points li {
    font-size: 0.875rem;
  }

  .hero-card {
    padding: 24px 20px;
  }

  .countdown {
    gap: 8px;
  }

  .countdown-item {
    padding: 12px 6px;
  }

  .countdown-item span {
    font-size: 1.5rem;
  }

  .card-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .card-stats strong {
    font-size: 1.125rem;
  }

  .learn-item {
    flex-direction: column;
    padding: 20px;
    gap: 14px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-avatar {
    width: 46px;
    height: 46px;
  }

  .faq-item summary {
    padding: 16px 18px;
    font-size: 0.9375rem;
  }

  .faq-item p {
    padding: 0 18px 16px;
    font-size: 0.875rem;
  }

  .register-form {
    padding: 24px 20px;
  }

  .btn-lg,
  .btn-full {
    width: 100%;
    justify-content: center;
  }

  .footer {
    padding: 40px 0 max(40px, env(safe-area-inset-bottom, 40px));
  }
}

@media (max-width: 560px) {
  .bonus-bar-inner {
    font-size: 0.8125rem;
    padding: 0 4px;
  }

  .bonus-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 28px 20px;
    gap: 28px;
  }

  .cta-content p {
    font-size: 0.9375rem;
  }

  .header-inner .btn-sm {
    padding: 8px 12px;
    font-size: 0.8125rem;
    flex-shrink: 0;
  }

  .logo {
    min-width: 0;
    flex-shrink: 1;
    font-size: 1.1rem;
  }

  .section-sub {
    margin-bottom: 32px;
    font-size: 0.9375rem;
  }
}

@media (max-width: 380px) {
  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bonus-bar-tag {
    display: none;
  }
}
