:root {
  --background: #fdf6f0;
  --foreground: #121212;
  --card: #ffffff;
  --muted-foreground: #6b7280;

  --brand-orange: #ff7a00;
  --brand-orange-light: #ffb347;
  --brand-green: #22c55e;
  --brand-purple: #8b5cf6;
  --brand-red: #ef4444;
  --brand-blue: #2563eb;

  --border: #ecd9be;
  --shadow-card: 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Poppins", sans-serif;
}

.page {
  margin: 0 auto;
  min-height: 100vh;
  width: 100%;
  max-width: 390px;
  background: var(--background);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-wave {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: -1;
  height: 120px;
  overflow: hidden;
}

.header-wave svg {
  width: 100%;
  height: 100%;
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 16px;
}

.logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.header-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.academy-name {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.academy-meta {
  font-size: 10px;
  font-weight: 500;
  color: #000;
}

.header-spacer {
  width: 24px;
}

.hero {
  position: relative;
  padding: 12px 16px 20px;
  text-align: center;
  background-image: url("candlestick-bg.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(253, 246, 240, 0.8);
}

.hero-wave {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 60px;
  overflow: hidden;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-subtitle {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.premium-pill {
  margin-top: 8px;
  border: 2px solid var(--brand-orange);
  border-radius: 999px;
  background: #fff8ef;
  padding: 8px 20px;
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.25);
}

.premium-pill span {
  font-size: 16px;
  font-weight: 600;
}

.premium-pill strong {
  color: var(--brand-orange);
}

.trust-note {
  margin: 6px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted-foreground);
}

.trust-note strong {
  color: var(--foreground);
}

@keyframes blink-cta {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.02);
  }
}

.blink-cta {
  animation: blink-cta 1s ease-in-out infinite;
}

.telegram-cta-wrap,
.why-join-wrap,
.offer-wrap,
.contact-wrap {
  padding-left: 16px;
  padding-right: 16px;
}

.telegram-cta-wrap,
.offer-wrap,
.contact-wrap {
  padding-bottom: 10px;
}

.telegram-cta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  background: linear-gradient(to right, #0284c7, #3b82f6);
  color: #fff;
  text-decoration: none;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.telegram-cta svg {
  width: 20px;
  height: 20px;
}

.telegram-cta .arrow {
  font-size: 16px;
}

.why-join-wrap {
  padding-top: 12px;
  padding-bottom: 12px;
}

.why-join-card {
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  padding: 12px;
}

.section-title-row {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title-row .line {
  height: 1px;
  flex: 1;
  background: #efe5d6;
}

.section-title-row h2 {
  margin: 0;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.secondary-grid {
  margin-top: 8px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #fff;
  box-shadow: var(--shadow-card);
  padding: 8px;
}

.feature-card .title {
  margin: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.15;
}

.feature-card .title.compact {
  font-size: 10px;
}

.feature-card .sub {
  margin: 2px 0 0;
  font-size: 10px;
  color: var(--muted-foreground);
}

.icon-badge {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

.icon-badge svg {
  width: 28px;
  height: 28px;
}

.icon-orange {
  background: rgba(255, 122, 0, 0.15);
  color: var(--brand-orange);
}

.icon-green {
  background: rgba(34, 197, 94, 0.15);
  color: var(--brand-green);
}

.icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--brand-purple);
}

.icon-red {
  background: rgba(239, 68, 68, 0.15);
  color: var(--brand-red);
}

.border-orange {
  border-color: rgba(255, 122, 0, 0.3);
}

.border-green {
  border-color: rgba(34, 197, 94, 0.3);
}

.border-purple {
  border-color: rgba(139, 92, 246, 0.3);
}

.border-red {
  border-color: rgba(239, 68, 68, 0.3);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}

.offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 16px;
  background: linear-gradient(135deg, #121212, #1f1f1f);
  padding: 8px 12px;
}

.offer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.clock {
  width: 20px;
  height: 20px;
  color: var(--brand-orange);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.8;
  }
}

.offer-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-orange);
}

.offer-subtitle {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.timer-boxes {
  display: flex;
  gap: 6px;
}

.timer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-value {
  display: inline-block;
  min-width: 34px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 2px 8px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.timer-label {
  margin-top: 2px;
  font-size: 8px;
  color: #9ca3af;
}

.join-now {
  border-radius: 999px;
  border: 1px solid #2f4e73;
  background: #fff;
  color: #1f3550;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.contact-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff7e9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 12px;
}

.contact-heading {
  margin: 0 0 6px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #000;
}

.contact-inner {
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.09);
  padding: 10px;
}

.contact-row {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #000;
}

.contact-row + .contact-row {
  margin-top: 6px;
}

.contact-row svg {
  width: 14px;
  height: 14px;
  color: var(--brand-orange);
  flex-shrink: 0;
}

.contact-row a {
  color: var(--brand-orange);
  text-underline-offset: 2px;
}

.site-footer {
  padding: 0 16px 12px;
}

.site-footer p {
  margin: 0;
  text-align: center;
  font-size: 11px;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .page {
    max-width: 100%;
  }

  .academy-name {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .premium-pill span {
    font-size: 18px;
  }

  .trust-note {
    font-size: 12px;
  }

  .section-title-row h2 {
    font-size: 16px;
  }

  .icon-badge {
    width: 40px;
    height: 40px;
  }
}
