/* ======================================
   AlphaTrade Pro - Landing Page Styles
   ====================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #2962ff;
  --primary-dark: #0039cb;
  --primary-light: #768fff;
  --accent: #00c853;
  --accent-dark: #009624;
  --danger: #ff1744;
  --bg: #0a0e17;
  --bg-card: #111827;
  --bg-dark: #060a12;
  --bg-highlight: #1a2332;
  --text: #e8eaed;
  --text-muted: #9aa0a6;
  --text-dim: #5f6368;
  --border: #1e2a3a;
  --border-light: #2a3a4a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.4);
  --transition: 0.3s ease;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover {
  color: #fff;
}

.btn-nav {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.btn-nav:hover {
  background: var(--primary-dark) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 16px 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .btn-nav {
    text-align: center;
    width: 100%;
    display: block;
  }
}

/* --- Language Selector --- */
.nav-lang {
  position: relative;
}
.nav-lang select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  padding: 7px 32px 7px 12px;
  cursor: pointer;
  outline: none;
  transition: all var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%239aa0a6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.nav-lang select:hover {
  border-color: var(--primary);
  color: #fff;
  background-color: rgba(41, 98, 255, 0.1);
}
.nav-lang select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(41, 98, 255, 0.15);
}
.nav-lang select option {
  background: var(--bg-card);
  color: var(--text);
  padding: 8px;
}

@media (max-width: 768px) {
  .nav-lang {
    position: absolute;
    top: 16px;
    right: 56px;
  }
  .nav-lang select {
    font-size: 12px;
    padding: 5px 26px 5px 8px;
  }
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(41, 98, 255, 0.4);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
  border-radius: var(--radius);
}

.btn-full {
  width: 100%;
  display: block;
}

/* --- Hero Section --- */
.hero {
  padding: 120px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(41, 98, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-cashback-badge {
  margin-bottom: 24px;
}

.hero-cashback-tag {
  display: inline-block;
  padding: 10px 28px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1b8a4a 0%, #22a85a 100%);
  border-radius: 50px;
  letter-spacing: 0.5px;
  animation: badge-glow 2.5s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(27, 138, 74, 0.25); }
  50% { box-shadow: 0 0 20px rgba(27, 138, 74, 0.45); }
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-transparency {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

.hero-exchanges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.exchange-badge {
  background: var(--bg-highlight);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.exchange-badge:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

/* --- Stats Counter Bar --- */
.stats-bar {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(41, 98, 255, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(0, 200, 83, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.stat-item:hover {
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.stat-item:hover::before {
  opacity: 1;
}
.stat-number {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Stats scroll-triggered animation */
.stat-item {
  opacity: 0;
  transform: translateY(24px);
}
.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (max-width: 768px) {
  .stats-bar {
    padding: 36px 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-item {
    padding: 20px 12px;
  }
  .stat-number {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 40px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero-sub {
    font-size: 15px;
  }
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--bg-dark);
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
  .section-title {
    font-size: 24px;
  }
  .section-desc {
    font-size: 14px;
    margin-bottom: 32px;
  }
}


/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Screenshots --- */
.screenshot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 32px;
  align-items: start;
}

.screenshot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}
.screenshot-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.screenshot-img-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.screenshot-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-img-mobile {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.screenshot-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.screenshot-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
  }
  .screenshot-img-mobile {
    max-width: 280px;
  }
}

/* --- Steps (How It Works) --- */
.steps {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 320px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    align-items: center;
  }
  .step {
    max-width: 100%;
  }
}

/* --- VPS Grid --- */
.vps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.vps-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
}

.vps-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.vps-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
}

.vps-card ul {
  margin-bottom: 20px;
}

.vps-card li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.vps-card li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}

.vps-steps {
  background: var(--bg-highlight);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
}

.vps-steps p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.vps-steps strong {
  color: var(--text);
}

@media (max-width: 768px) {
  .vps-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Fee Cashback Section --- */

/* 가로 3단계 플로우 */
.cashback-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 16px;
}

.cashback-step {
  flex: 1;
  max-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}

.cashback-step-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.cashback-step-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.cashback-step-highlight {
  background: rgba(0, 200, 83, 0.08);
  border-color: rgba(0, 200, 83, 0.35);
}

.cashback-step-highlight .cashback-step-text {
  color: var(--accent);
  font-weight: 600;
}

.cashback-step-arrow {
  font-size: 24px;
  color: var(--text-dim);
  padding: 0 12px;
  flex-shrink: 0;
}

.cashback-note {
  text-align: center;
  margin-bottom: 40px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* 셀퍼럴 비교 테이블 */
.cashback-compare {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.cashback-compare h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}

.cashback-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.cashback-compare-table th {
  padding: 10px 12px;
  border-bottom: 2px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}

.cashback-compare-table th:first-child {
  text-align: left;
}

.cashback-compare-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
}

.cashback-compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text);
}

.cb-highlight-col {
  background: rgba(41, 98, 255, 0.06);
}

.cb-green {
  color: var(--accent) !important;
  font-weight: 600;
}

.cb-red {
  color: var(--danger) !important;
}

@media (max-width: 768px) {
  .cashback-steps {
    flex-direction: column;
    gap: 0;
  }
  .cashback-step {
    max-width: 100%;
    width: 100%;
    padding: 20px 16px;
  }
  .cashback-step-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
  .cashback-compare {
    padding: 24px 16px;
  }
  .cashback-compare-table {
    font-size: 13px;
  }
  .cashback-compare-table th,
  .cashback-compare-table td {
    padding: 8px 8px;
  }
}

/* --- Pricing / Win-Win --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.pricing-card li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}
.pricing-card li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-highlight {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(41, 98, 255, 0.08) 0%, var(--bg-card) 100%);
}

.pricing-highlight p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Registration Section --- */
.exchange-select {
  max-width: 700px;
  margin: 0 auto 40px;
}

.exchange-select h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  text-align: center;
}

.exchange-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.exchange-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 8px;
  text-decoration: none;
  transition: all var(--transition);
}
.exchange-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.exchange-btn.selected {
  border-color: var(--accent);
  background: rgba(0, 200, 83, 0.08);
}
.exchange-btn-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.exchange-btn strong {
  color: #fff;
  font-size: 14px;
}

.exchange-btn span {
  font-size: 11px;
  color: var(--text-dim);
}

.exchange-note {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-dim);
}
.exchange-note a {
  color: var(--primary-light);
}

@media (max-width: 600px) {
  .exchange-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 400px) {
  .exchange-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Register Form --- */
.register-form-wrap {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.register-form-wrap h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  transition: border-color var(--transition);
  outline: none;
  font-family: inherit;
}
.form-group select:focus,
.form-group input:focus {
  border-color: var(--primary);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239aa0a6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text);
}

.form-group small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-dim);
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--text-muted) !important;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.checkbox-label .link {
  color: var(--primary-light);
  text-decoration: underline;
}

.register-result {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
.register-result.success {
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid var(--accent-dark);
  color: var(--accent);
}
.register-result.error {
  background: rgba(255, 23, 68, 0.1);
  border: 1px solid var(--danger);
  color: var(--danger);
}

/* --- Referral Guide --- */
.referral-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.referral-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.referral-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.referral-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.referral-card li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.referral-card li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}

.referral-card li strong {
  color: var(--text);
}

.referral-note {
  font-size: 12px !important;
  color: var(--text-dim) !important;
  font-style: italic;
}

@media (max-width: 768px) {
  .referral-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FAQ --- */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--transition);
}
.faq-q:hover {
  color: var(--primary-light);
}

.faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-dim);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-q::after {
  content: '-';
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-a {
  max-height: 300px;
  padding-bottom: 18px;
}

.faq-a p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Disclaimer --- */
.disclaimer-content {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.disclaimer-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-top: 24px;
  margin-bottom: 8px;
}
.disclaimer-content h3:first-child {
  margin-top: 0;
}

.disclaimer-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-info p {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.footer-info p strong {
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
}
.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-links {
    justify-content: center;
  }
}

/* --- Floating CTA (Mobile) --- */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 12px 20px;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  display: none;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.floating-cta.visible {
  transform: translateY(0);
}

.floating-cta .btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .floating-cta {
    display: block;
  }
  /* Add bottom padding for floating CTA */
  .footer {
    padding-bottom: 80px;
  }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease;
}

.hero-exchanges {
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Intersection Observer animation targets */
.feature-card,
.screenshot-card,
.step,
.vps-card,
.cashback-steps,
.cashback-compare,
.pricing-card,
.faq-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card.visible,
.screenshot-card.visible,
.step.visible,
.vps-card.visible,
.cashback-steps.visible,
.cashback-compare.visible,
.pricing-card.visible,
.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: if JS IntersectionObserver not running, still show content */
@media (prefers-reduced-motion: reduce) {
  .feature-card, .screenshot-card, .step, .vps-card, .cashback-steps, .cashback-compare, .pricing-card, .faq-item {
    opacity: 1;
    transform: none;
  }
}
