/* ============================================
   CO Affiliate — Main Stylesheet
   Light blue theme, responsive design
   ============================================ */

/* ----- CSS Variables ----- */
:root {
  --primary: #4A90D9;
  --primary-dark: #357ABD;
  --primary-light: #6BA5E7;
  --primary-lighter: #A8CCF0;
  --primary-lightest: #E8F1FA;
  --primary-glow: rgba(74, 144, 217, 0.15);

  --secondary: #5BC0DE;
  --secondary-light: #7ED3F0;
  --accent: #4ECDC4;
  --accent-warm: #F7C948;

  --text-dark: #1a2332;
  --text-main: #2c3e50;
  --text-muted: #6c7a89;
  --text-light: #95a5a6;
  --text-white: #ffffff;

  --bg-body: #f0f5fb;
  --bg-card: #ffffff;
  --bg-section-alt: #e3edf7;
  --bg-gradient: linear-gradient(135deg, #4A90D9 0%, #5BC0DE 50%, #4ECDC4 100%);
  --bg-gradient-soft: linear-gradient(135deg, #e8f1fa 0%, #d4e6f7 50%, #c8e6f0 100%);
  --bg-hero: linear-gradient(135deg, #1a2332 0%, #2c3e50 50%, #357ABD 100%);

  --border: #dce6ef;
  --border-light: #e8f0f8;
  --shadow-sm: 0 2px 8px rgba(74, 144, 217, 0.08);
  --shadow-md: 0 4px 20px rgba(74, 144, 217, 0.12);
  --shadow-lg: 0 8px 40px rgba(74, 144, 217, 0.15);
  --shadow-hover: 0 12px 48px rgba(74, 144, 217, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --success: #27ae60;
  --warning: #f39c12;
  --danger: #e74c3c;
  --info: #3498db;

  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;

  --sidebar-width: 260px;
  --sidebar-collapsed: 0px;
  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--bg-gradient);
  color: var(--text-white);
  border: none;
  box-shadow: 0 4px 15px rgba(74, 144, 217, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74, 144, 217, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-white);
}

.btn-light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ----- Header/Navbar ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: var(--primary-lightest);
}

.nav .btn {
  margin-left: 8px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 8px;
  padding: 4px;
  background: var(--bg-body);
  border-radius: 50px;
}

.lang-btn {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  transition: all var(--transition);
  cursor: pointer;
  background: transparent;
}

.lang-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(74, 144, 217, 0.3);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: transparent;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(74, 144, 217, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(74, 144, 217, 0.15);
  border: 1px solid rgba(74, 144, 217, 0.3);
  border-radius: 50px;
  color: var(--primary-lighter);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 24px 0 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.hero-stat-number span {
  color: var(--accent);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-card-levels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card-level {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.hero-card-level:hover {
  background: rgba(74, 144, 217, 0.1);
  border-color: rgba(74, 144, 217, 0.3);
  transform: translateX(4px);
}

.hero-card-level-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-card-level-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
}

.level-icon-starter { background: linear-gradient(135deg, #6c7a89, #95a5a6); }
.level-icon-pro { background: linear-gradient(135deg, #4A90D9, #5BC0DE); }
.level-icon-enterprise { background: linear-gradient(135deg, #f39c12, #e74c3c); }

.hero-card-level-name {
  font-weight: 600;
  color: var(--text-white);
  font-size: 0.95rem;
}

.hero-card-level-rate {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-title {
  font-weight: 600;
  color: var(--text-white);
  font-size: 1rem;
  opacity: 0.7;
}

.hero-card-value {
  color: var(--accent-warm);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
  background: var(--bg-card);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-lighter);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-lightest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   LEVELS / PRICING SECTION
   ============================================ */
.levels {
  background: var(--bg-section-alt);
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.level-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 2px solid var(--border-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.level-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lighter);
}

.level-card.popular {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(74, 144, 217, 0.2);
  transform: scale(1.03);
}

.level-card.popular:hover {
  transform: scale(1.03) translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 16px;
  background: var(--bg-gradient);
  color: white;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.level-card-header {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 28px;
}

.level-card-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.level-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.level-card-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.level-card-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.level-card-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.level-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.level-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-lightest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.8rem;
}

.level-feature .feature-value {
  font-weight: 700;
  color: var(--primary);
  margin-right: 4px;
}

.level-card .btn {
  width: 100%;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
  background: var(--bg-card);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.step-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 4px 15px rgba(74, 144, 217, 0.3);
}

.step-connector {
  display: none;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.how-note {
  text-align: center;
  padding: 24px 32px;
  background: var(--primary-lightest);
  border-radius: var(--radius-md);
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 48px;
  border: 1px solid rgba(74, 144, 217, 0.2);
}

/* Example earnings */
.example-box {
  background: var(--bg-hero);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: white;
}

.example-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.example-box > p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
  line-height: 1.7;
}

.example-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.example-line {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-light);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.example-line.total {
  border-left-color: var(--accent-warm);
  background: rgba(247, 201, 72, 0.1);
  font-weight: 700;
  color: var(--accent-warm);
  font-size: 1.1rem;
}

/* ============================================
   PAYMENTS SECTION
   ============================================ */
.payments {
  background: var(--bg-section-alt);
}

.payments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.payment-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.payment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-lighter);
}

.payment-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.payment-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.payment-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.payment-icon.cards {
  background: linear-gradient(135deg, #e8f1fa, #d4e6f7);
  color: var(--primary);
}
.payment-icon.crypto {
  background: linear-gradient(135deg, #e8faf0, #d4f0e6);
  color: var(--accent);
}
.payment-icon.wallets {
  background: linear-gradient(135deg, #fef8e8, #faecc8);
  color: var(--accent-warm);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

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

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   AUTH PAGES (Login, Register, Forgot)
   ============================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient-soft);
  padding: 20px;
  padding-top: calc(var(--header-height) + 20px);
}

.auth-container {
  width: 100%;
  max-width: 460px;
}

.auth-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.auth-header {
  text-align: center;
  margin-bottom: 36px;
}

.auth-header .logo {
  display: inline-flex;
  margin-bottom: 20px;
}

.auth-header h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-body);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-main);
  transition: all var(--transition);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
  background: white;
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-input.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.form-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 6px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.forgot-link {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
}

.forgot-link:hover {
  text-decoration: underline;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-footer a {
  color: var(--primary);
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Social login */
.social-login {
  margin-top: 24px;
}

.social-login-divider {
  text-align: center;
  position: relative;
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 0.85rem;
}

.social-login-divider::before,
.social-login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 30px);
  height: 1px;
  background: var(--border);
}

.social-login-divider::before { left: 0; }
.social-login-divider::after { right: 0; }

.social-buttons {
  display: flex;
  gap: 12px;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: all var(--transition);
  background: white;
}

.social-btn:hover {
  border-color: var(--primary-lighter);
  background: var(--primary-lightest);
}

/* Success state */
.auth-success {
  text-align: center;
  padding: 20px 0;
}

.auth-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 30px rgba(39, 174, 96, 0.3);
}

.auth-success h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.auth-success p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-page {
  display: flex;
  min-height: 100vh;
  background: var(--bg-body);
  padding-top: var(--header-height);
}

/* Sidebar */
.dashboard-sidebar {
  width: var(--sidebar-width);
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform var(--transition);
  overflow-y: auto;
}

.sidebar-user {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 14px;
}

.sidebar-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

#sidebar-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-affid {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-light);
  cursor: pointer;
  user-select: none;
  transition: color var(--transition);
}
.sidebar-affid:hover {
  color: var(--primary);
}
.sidebar-affid:active {
  opacity: 0.6;
}
.sidebar-affid #sidebar-affid-value {
  font-weight: 600;
  font-family: var(--font-mono, monospace);
}
.affid-copied {
  display: none;
  font-weight: 600;
  color: var(--success, #27ae60);
}
.sidebar-affid.copied #sidebar-affid-value {
  display: none;
}
.sidebar-affid.copied .affid-copied {
  display: inline;
}

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

.sidebar-nav-item:hover {
  background: var(--primary-lightest);
  color: var(--primary);
}

.sidebar-nav-item.active {
  background: var(--primary-lightest);
  color: var(--primary);
  font-weight: 600;
}

.sidebar-nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.sidebar-nav-item.logout-item {
  margin-top: auto;
  color: var(--danger);
}

.sidebar-nav-item.logout-item:hover {
  background: rgba(231, 76, 60, 0.08);
  color: var(--danger);
}

/* Dashboard Main */
.dashboard-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 32px;
  min-height: calc(100vh - var(--header-height));
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-header-left h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
}

.dashboard-header-left p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

.dashboard-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-lighter);
}

.stat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.stat-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stat-card-icon.blue {
  background: var(--primary-lightest);
  color: var(--primary);
}
.stat-card-icon.green {
  background: #e8faf0;
  color: var(--success);
}
.stat-card-icon.orange {
  background: #fef8e8;
  color: var(--warning);
}
.stat-card-icon.purple {
  background: #f0e8ff;
  color: #8e44ad;
}

.stat-card-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.stat-card-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-card-change {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
}

.stat-card-change.up {
  color: var(--success);
}

.stat-card-change.down {
  color: var(--danger);
}

/* Dashboard Sections */
.dashboard-section {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 28px;
  margin-bottom: 24px;
}

.dashboard-section.hidden {
  display: none;
}

.dashboard-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

/* Balances */
.balances-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.balance-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-body);
  border: 1px solid var(--border-light);
}

.balance-card-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.balance-card-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
}

.balance-card-value.crypto {
  color: var(--accent);
}

/* Referral Link */
.referral-link-box {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--bg-body);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.referral-link-box input {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.referral-link-box .btn {
  flex-shrink: 0;
}

/* Table */
.table-wrapper {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border-light);
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

.data-table tr:hover td {
  background: var(--bg-body);
}

/* Mobile: table → card layout */
@media (max-width: 768px) {
  .data-table thead {
    display: none;
  }
  .data-table tr {
    display: flex;
    flex-direction: column;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }
  .data-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border: none;
    font-size: 0.87rem;
  }
  .data-table td:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
  }
  .data-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 12px;
    white-space: nowrap;
  }
  .data-table tr:hover td {
    background: transparent;
  }
}

.status-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.completed, .status-badge.success {
  background: #e8faf0;
  color: var(--success);
}

.status-badge.pending, .status-badge.warning {
  background: #fef8e8;
  color: var(--warning);
}

.status-badge.failed, .status-badge.error {
  background: #fde8e8;
  color: var(--danger);
}

/* Account Selector */
.account-selector {
  margin-bottom: 24px;
}
.account-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.account-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.account-card:hover:not(.disabled) {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.account-card.active {
  border-color: var(--primary);
  background: var(--primary-lightest);
}
.account-card.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.account-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--bg-secondary);
  flex-shrink: 0;
}
.account-card-info {
  flex: 1;
  min-width: 0;
}
.account-card-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.account-card-balance {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.account-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  flex-shrink: 0;
}
.account-card-badge.selected {
  background: var(--primary);
  color: #fff;
}
.account-card-badge.coming {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

/* Withdraw Form */
.withdraw-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.withdraw-form .btn {
  grid-column: 1 / -1;
}

/* Settings Form */
.settings-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.settings-form .form-group.full-width {
  grid-column: 1 / -1;
}

/* Analytics */
.analytics-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

.analytics-empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* Plan selector tabs (referrals) */
.referral-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.referral-tab {
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 2px solid var(--border);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.referral-tab.active {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-lightest);
}

.referral-tab:hover:not(.active) {
  border-color: var(--primary-lighter);
}

/* Referral tabs: wrap on small screens */
@media (max-width: 480px) {
  .referral-tabs {
    flex-direction: column;
    gap: 6px;
  }
  .referral-tab {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
  }
}

/* Commission rates bar in referrals section */
.commission-rates-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface-lighter, #f8f9ff);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.rate-badge {
  background: var(--primary-lightest, #eef0ff);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
}
.rate-badge strong {
  font-weight: 700;
}

.referrals-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.referrals-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* ============================================
   MOBILE SIDEBAR OVERLAY
   ============================================ */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero p { margin: 24px auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-card { max-width: 400px; margin: 0 auto; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .levels-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .level-card.popular { transform: none; }
  .level-card.popular:hover { transform: translateY(-6px); }
  .steps-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto 40px; }

  .payments-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-sidebar {
    transform: translateX(-100%);
  }
  .dashboard-sidebar.open {
    transform: translateX(0);
  }
  .sidebar-overlay { display: block; }
  .sidebar-overlay.active { display: block; }
  .dashboard-main {
    margin-left: 0;
    padding: 24px 16px;
  }
  .menu-toggle { display: flex; }

  .settings-form {
    grid-template-columns: 1fr;
  }
  .account-selector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
  .section-title { font-size: 1.8rem; }
  .section-subtitle { font-size: 1rem; margin-bottom: 40px; }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 18px; width: 100%; }
  .nav .btn { margin-left: 0; width: 100%; justify-content: center; }

  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-stat-number { font-size: 1.6rem; }

  .benefits-grid { grid-template-columns: 1fr; }
  .example-box { padding: 28px 20px; }
  .example-box h3 { font-size: 1.2rem; }
  .example-line { font-size: 0.85rem; padding: 10px 14px; }

  .payments-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .auth-card { padding: 32px 24px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-header { flex-direction: column; align-items: flex-start; }
  .balances-grid { grid-template-columns: 1fr; }
  .withdraw-form { grid-template-columns: 1fr; }

  .referral-link-box {
    flex-direction: column;
    gap: 8px;
  }
  .referral-link-box input {
    width: 100%;
    text-align: center;
  }
  .referral-link-box .btn {
    width: 100%;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card-value { font-size: 1.4rem; }
  .account-selector-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-gradient {
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* Smooth page transitions */
.page-transition {
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  z-index: 9999;
  transform: translateY(120px);
  opacity: 0;
  transition: all var(--transition);
  box-shadow: var(--shadow-lg);
  max-width: 360px;
}

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

.toast.success {
  background: var(--success);
  color: white;
}

.toast.error {
  background: var(--danger);
  color: white;
}

.toast.info {
  background: var(--primary);
  color: white;
}

/* ============================================
   Empty State
   ============================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  text-align: center;
  background: var(--bg-body);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-lightest);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.empty-state-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px 0;
}

.empty-state-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.6;
  margin: 0;
}

/* Currency column headers in referral tables */
.th-currency {
  text-align: center;
  font-size: 0.8rem;
  width: 72px;
}

.data-table td:nth-child(4),
.data-table td:nth-child(5),
.data-table td:nth-child(6),
.data-table td:nth-child(7) {
  text-align: center;
  font-size: 0.85rem;
}

/* ============================================
   Materials & Links
   ============================================ */
.material-block {
  margin-bottom: 32px;
}

.material-block h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-main);
}

.material-block h3:first-child {
  margin-top: 0;
}

.materials-link-input {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.materials-copy-btn {
  flex-shrink: 0;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.material-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.material-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px var(--primary-glow);
}

.material-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.material-card-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.material-card-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.material-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.material-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

@media (max-width: 768px) {
  .materials-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== LANDING PAGE CARDS (Materials) ===== */
.landing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.landing-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px var(--primary-glow);
}

.landing-card-preview {
  width: 100%;
  height: 140px;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.landing-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.landing-card-preview .preview-placeholder {
  font-size: 2rem;
  opacity: 0.25;
  user-select: none;
}

.landing-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.landing-card-header .theme-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.landing-card-header .theme-badge.classic {
  background: rgba(124,58,237,0.12);
  color: #7C3AED;
}
.landing-card-header .theme-badge.pro {
  background: rgba(59,130,246,0.12);
  color: #3B82F6;
}
.landing-card-header .theme-badge.light {
  background: rgba(107,114,128,0.12);
  color: #6B7280;
}
.landing-card-header .theme-badge.bold {
  background: rgba(236,72,153,0.12);
  color: #EC4899;
}

.landing-card-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.landing-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.landing-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.landing-card-actions .btn {
  flex: 1;
  justify-content: center;
}
