/* ============================================
   ISLOMBEK PRELANDING — DARK ORANGE & WHITE
   Mobile-first | Lightweight | Fast
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg-primary:    #0b0c10;
  --bg-card:       #13151c;
  --bg-card-hover: #191c26;
  --orange:        #d96514;
  --orange-light:  rgba(217, 101, 20, 0.12);
  --orange-border: rgba(217, 101, 20, 0.3);
  --orange-hover:  #f27218;
  --text-primary:  #ffffff;
  --text-secondary:#a0a6b5;
  --text-muted:    #5c6270;
  --border-soft:   rgba(255, 255, 255, 0.05);
  --radius-xl:     16px;
  --radius-lg:     12px;
  --radius-md:     8px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Container ---- */
.container {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 90svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 16px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(217, 101, 20, 0.08) 0%, transparent 70%),
              linear-gradient(180deg, var(--bg-primary) 0%, rgba(11,12,16,0.9) 80%, var(--bg-primary) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

/* Avatar */
.avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--orange);
  z-index: 0;
}

.avatar-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  border: 4px solid var(--bg-primary);
  display: block;
}

.live-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  border: 2px solid var(--bg-primary);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* Hero text */
.hero-greeting {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  opacity: 0;
  animation: fade-up 0.6s ease 0.2s forwards;
}

.hero-title {
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  opacity: 0;
  animation: fade-up 0.6s ease 0.4s forwards;
}

.hero-title .highlight {
  color: var(--orange);
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fade-up 0.6s ease 0.6s forwards;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fade-up 0.6s ease 0.8s forwards;
}

.stat-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 0px;
  padding: 16px 8px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Corner Needles/Spikes */
.needle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-color: var(--orange);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
}

.needle.tl {
  top: -2px;
  left: -2px;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
}

.needle.tr {
  top: -2px;
  right: -2px;
  border-top-width: 1.5px;
  border-right-width: 1.5px;
}

.needle.bl {
  bottom: -2px;
  left: -2px;
  border-bottom-width: 1.5px;
  border-left-width: 1.5px;
}

.needle.br {
  bottom: -2px;
  right: -2px;
  border-bottom-width: 1.5px;
  border-right-width: 1.5px;
}

.stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.stat-label {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Scroll hint */
.scroll-hint {
  opacity: 0;
  animation: fade-up 0.6s ease 1s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
}

.scroll-arrow {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

/* ============================================
   CONTENT SECTION
   ============================================ */
.content-section {
  padding: 20px 0 0;
}

/* Story cards */
.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.story-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.card-icon-svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  color: var(--orange);
  flex-shrink: 0;
  display: block;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.card-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Blank square card styling */
.square-card {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at 50% 60%, rgba(217, 101, 20, 0.18) 0%, transparent 65%), var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  margin-bottom: 16px;
}

.card-img-centered {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(217, 101, 20, 0.15));
}

/* Chat bubble overlay styling */
.chat-bubble {
  position: absolute;
  background: rgba(19, 21, 28, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--orange-border);
  padding: 8px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.8) translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
  pointer-events: none;
}

.cb-1 {
  top: 24px;
  left: 24px;
  border-radius: 14px 14px 14px 2px;
  transition-delay: 0.5s;
}

.cb-2 {
  bottom: 24px;
  right: 24px;
  border-radius: 14px 14px 2px 14px;
  transition-delay: 1.1s;
}

.visible .chat-bubble {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.chat-bubble-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

/* Journey timeline */
.timeline {
  position: relative;
  padding-left: 20px;
  margin-top: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--border-soft);
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.timeline-year {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* Income display */
.income-display {
  background: var(--bg-card);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 16px;
}

.income-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.income-range {
  font-size: clamp(30px, 8vw, 44px);
  font-weight: 800;
  color: #22c55e;
  line-height: 1.1;
  margin-bottom: 6px;
}

.income-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* Benefits list */
.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-icon-svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 3px;
  display: block;
}

.benefit-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.benefit-text strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 2px;
}

/* Warning / Note card */
.note-card {
  background: var(--orange-light);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-xl);
  padding: 18px;
  margin: 16px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.note-icon-svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
  display: block;
}

.note-text {
  font-size: 13.5px;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Divider */
.section-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 28px 0;
}

/* ============================================
   TRUST INDICATORS
   ============================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}

.trust-icon-svg {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  color: var(--orange);
  display: block;
}

.trust-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-desc {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 0 0 60px;
  text-align: center;
}

.cta-title {
  font-size: clamp(18px, 5.5vw, 24px);
  font-weight: 800;
  margin-top: 50px;
  margin-bottom: 66px;
  line-height: 1.4;
}

.cta-subtitle {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* Read progress indicator */
.read-progress-wrap {
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}

.read-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.read-progress-label span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.read-progress-label .progress-pct {
  font-size: 12px;
  color: var(--orange);
  font-weight: 700;
}

.read-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
}

.read-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--orange);
  border-radius: 4px;
  transition: width 0.2s ease;
}

/* Confirmation Checklist styles */
.cta-checklist {
  margin-bottom: 24px;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 20px;
  border-radius: var(--radius-lg);
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-secondary);
  user-select: none;
  position: relative;
}

.check-item:last-child {
  margin-bottom: 0;
}

.check-item input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.check-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--text-muted);
  border-radius: 5px;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
}

.check-item:hover input:not([disabled]) ~ .check-box {
  border-color: var(--orange-hover);
}

.check-item input:checked ~ .check-box {
  background: var(--orange);
  border-color: var(--orange);
}

.check-item input:checked ~ .check-box::after {
  content: "";
  display: block;
  width: 4px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.check-item input[disabled] ~ .check-box {
  opacity: 0.3;
  border-color: var(--text-muted);
  cursor: not-allowed;
}

.check-item input[disabled] ~ .check-label {
  opacity: 0.4;
  cursor: not-allowed;
}

.check-item input:checked ~ .check-label {
  color: var(--text-primary);
}

.check-label {
  transition: color 0.2s;
}

/* CTA Button */
#cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

#cta-btn.locked {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
}

#cta-btn.locked .btn-icon-svg {
  color: var(--text-muted);
}

#cta-btn.unlocked {
  background: var(--orange);
  color: #ffffff;
}

#cta-btn.unlocked:hover {
  background: var(--orange-hover);
}

#cta-btn.unlocked:active {
  transform: scale(0.98);
}

.btn-icon-svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  color: #ffffff;
  flex-shrink: 0;
  display: block;
}

.btn-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.btn-main-text {
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.btn-sub-text {
  font-size: 11px;
  opacity: 0.7;
  font-weight: 400;
}

.lock-message {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  transition: opacity 0.25s;
}

.lock-message.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 24px 0;
  text-align: center;
  border-top: 1px solid var(--border-soft);
}

.footer-text {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   ANIMATIONS & REVEAL
   ============================================ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */
@media (max-width: 480px) {
  .stats-row {
    gap: 8px;
  }

  .stat-card {
    padding: 12px 4px;
  }

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

  .story-card {
    padding: 20px 16px;
  }

  .trust-grid {
    gap: 8px;
  }

  .income-range {
    font-size: 32px;
  }

  #cta-btn {
    padding: 16px 20px;
    border-radius: 10px;
  }
}
