/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0e1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2235;
  --bg-dark: #060810;
  --border: rgba(255,255,255,0.08);
  --border-active: rgba(99,179,237,0.4);
  --text: #e2e8f0;
  --text-muted: #718096;
  --text-faint: #4a5568;
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-glow: rgba(59,130,246,0.2);
  --green: #10b981;
  --green-light: #d1fae5;
  --red: #ef4444;
  --red-light: #fee2e2;
  --orange: #f59e0b;
  --purple: #8b5cf6;
  --teal: #14b8a6;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10,14,26,0.85);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.logo-icon { font-size: 22px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  flex: 1;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 10px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 0 30px rgba(59,130,246,0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 100%);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.3);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 60px;
  padding: 24px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: fit-content;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

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

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* App Mockup */
.mockup-window {
  border-radius: var(--radius-lg);
  background: #1a1f2e;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(59,130,246,0.1);
  overflow: hidden;
  max-width: 820px;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: #0f1319;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }

.window-title {
  margin-left: 12px;
  font-size: 13px;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
}

.window-body {
  display: flex;
  height: 320px;
}

.sidebar {
  width: 140px;
  background: #0d1017;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-item.active,
.sidebar-item:hover {
  background: rgba(59,130,246,0.15);
  color: var(--text);
}

.sidebar-item.active {
  color: #60a5fa;
}

.main-content {
  flex: 1;
  padding: 20px;
  overflow: hidden;
}

.account-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.account-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}

.card-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.card-value {
  font-size: 15px;
  font-weight: 600;
}

.account-card.profit .card-value { color: var(--green); }
.pct { font-size: 12px; opacity: 0.8; }

.holdings-table {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 12px;
}

.table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr 1fr;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr 1fr;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: center;
}
.table-row:last-child { border-bottom: none; }

.stock-name { font-weight: 500; }
.profit-cell { color: var(--green); font-weight: 600; }
.loss-cell { color: var(--red); font-weight: 600; }

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  color: #60a5fa;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.section-tag--dark {
  background: rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.3);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 17px;
}

/* =============================================
   FEATURES GRID
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.feature-card--large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* Score bars in feature card */
.score-bars {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.score-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.score-label {
  width: 50px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.score-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}

.score-blue { background: #3b82f6; }
.score-green { background: #10b981; }
.score-orange { background: #f59e0b; }
.score-purple { background: #8b5cf6; }
.score-teal { background: #14b8a6; }

.score-pct {
  width: 30px;
  text-align: right;
  color: var(--text-muted);
}

/* =============================================
   TIMELINE
   ============================================= */
.timeline {
  display: flex;
  justify-content: center;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border), var(--primary), var(--border), transparent);
}

.timeline-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 220px;
  text-align: center;
}

.timeline-time {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg-dark);
  position: relative;
  z-index: 1;
}

.timeline-dot--active {
  background: var(--primary);
  box-shadow: 0 0 16px var(--primary-glow);
  width: 16px;
  height: 16px;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  width: 100%;
}

.timeline-card--active {
  border-color: rgba(59,130,246,0.4);
  background: rgba(59,130,246,0.08);
}

.timeline-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.timeline-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(59,130,246,0.2);
  color: #93c5fd;
  font-size: 11px;
  font-weight: 600;
}

/* =============================================
   STRATEGY
   ============================================= */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.strategy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: all 0.3s;
}

.strategy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.strategy-score {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.score-blue { background: rgba(59,130,246,0.15); color: #60a5fa; }
.score-green { background: rgba(16,185,129,0.15); color: #34d399; }
.score-orange { background: rgba(245,158,11,0.15); color: #fbbf24; }
.score-purple { background: rgba(139,92,246,0.15); color: #a78bfa; }
.score-teal { background: rgba(20,184,166,0.15); color: #2dd4bf; }

.strategy-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.strategy-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.filter-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.filter-box h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

.filter-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.filter-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================
   TELEGRAM SECTION
   ============================================= */
.telegram-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.telegram-text .section-tag { text-align: left; }

.telegram-text h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.25;
}

.telegram-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.telegram-mockup {
  background: #17212b;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
}

.telegram-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #1c2936;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tg-avatar {
  font-size: 28px;
}

.tg-name {
  font-size: 14px;
  font-weight: 600;
}

.tg-status {
  font-size: 12px;
  color: var(--green);
}

.tg-messages {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tg-msg {
  padding: 14px 16px;
  border-radius: 12px;
  border-radius: 4px 12px 12px 12px;
  font-size: 13px;
  line-height: 1.6;
}

.tg-msg--buy {
  background: rgba(59,130,246,0.15);
  border-left: 3px solid var(--primary);
}

.tg-msg--profit {
  background: rgba(16,185,129,0.12);
  border-left: 3px solid var(--green);
}

.tg-msg--loss {
  background: rgba(239,68,68,0.1);
  border-left: 3px solid var(--red);
}

.tg-msg-title {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 14px;
}

.tg-msg-body {
  color: var(--text-muted);
  font-size: 13px;
}

.tg-msg-time {
  font-size: 11px;
  color: var(--text-faint);
  text-align: right;
  margin-top: 6px;
}

/* =============================================
   DOWNLOAD
   ============================================= */
.download-cards {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
}

.download-card--main {
  border-color: rgba(59,130,246,0.35);
  background: rgba(59,130,246,0.05);
  position: relative;
  overflow: hidden;
}

.download-card--main::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: 20px;
  right: -28px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
  letter-spacing: 0.08em;
}

.download-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.download-version {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.download-req {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 24px;
  line-height: 1.5;
}

.requirements h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.req-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.req-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.req-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.req-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.req-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =============================================
   DISCLAIMER
   ============================================= */
.disclaimer {
  padding: 20px 0;
  background: rgba(245,158,11,0.05);
  border-top: 1px solid rgba(245,158,11,0.15);
}

.disclaimer p {
  font-size: 12px;
  color: #92400e;
  color: rgba(245,158,11,0.6);
  text-align: center;
  line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge,
.hero-title,
.hero-desc,
.hero-actions,
.hero-stats {
  animation: fadeInUp 0.6s ease both;
}

.hero-title { animation-delay: 0.1s; }
.hero-desc { animation-delay: 0.2s; }
.hero-actions { animation-delay: 0.3s; }
.hero-stats { animation-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card--large {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .strategy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .telegram-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .download-cards {
    grid-template-columns: 1fr;
  }
  .timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .timeline::before { display: none; }
  .timeline-item {
    flex-direction: row;
    max-width: 100%;
    text-align: left;
    padding: 0 0 24px 0;
  }
  .timeline-time { width: 60px; flex-shrink: 0; font-size: 12px; }
  .timeline-card { flex: 1; }
  .account-cards { grid-template-columns: 1fr; }
  .window-body { height: auto; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 100px 0 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: 1; }
  .strategy-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  .stat-divider { display: none; }
}
