/* Surface Concept Token Subscription Portal
   Aligned with surface-concept.com design language (Avada/WordPress) */

/* ============================================
   CSS Custom Properties — SC Brand
   ============================================ */
:root {
  /* Brand colors from surface-concept.com */
  --sc-purple: #42247d;
  --sc-purple-light: #5a3a9a;
  --sc-purple-dark: #331a63;
  --sc-burgundy: #8b131f;
  --sc-burgundy-light: #9c2527;
  --sc-green: #65bc7b;
  --sc-green-dark: #28a745;
  --sc-info: #2CA8FF;
  --sc-warning: #FFB236;
  --sc-danger: #ff5062;

  /* Backgrounds — purple-tinted darks instead of gray/black */
  --bg-white: #ffffff;
  --bg-offwhite: #f7f5fb;
  --bg-light: #eeeaf5;
  --bg-dark: #2a1650;
  --bg-darker: #221245;
  --bg-darkest: #1a0e38;
  --bg-card: #ffffff;
  --bg-purple-section: rgba(66, 36, 125, 0.85);

  /* Text — purple-tinted instead of black */
  --text-body: #4a3f5c;
  --text-heading: var(--sc-purple);
  --text-muted: #7b6f90;
  --text-light: #ffffff;
  --text-on-dark: rgba(200, 205, 215, 1);

  /* Borders */
  --border-color: rgba(226, 226, 226, 1);
  --border-radius: 4px;
  --border-radius-pill: 9999px;

  /* Shadows — purple-tinted */
  --shadow-natural: 6px 6px 9px rgba(66, 36, 125, 0.15);
  --shadow-sm: 0 2px 6px rgba(66, 36, 125, 0.08);
  --shadow-md: 0 4px 12px rgba(66, 36, 125, 0.12);
  --shadow-deep: 12px 12px 50px rgba(66, 36, 125, 0.3);

  /* Typography — SC uses system font stack */
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

  /* Spacing scale (1.5x factor from SC) */
  --sp-20: 0.44rem;
  --sp-30: 0.67rem;
  --sp-40: 1rem;
  --sp-50: 1.5rem;
  --sp-60: 2.25rem;
  --sp-70: 3.38rem;
  --sp-80: 5.06rem;

  /* Layout */
  --container-width: 1240px;
  --nav-height: 70px;

  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--sc-burgundy);
}

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

/* ============================================
   Container & Layout
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--sp-60);
}

section {
  padding: var(--sp-80) 0;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--sc-purple);
  margin-bottom: var(--sp-40);
  text-align: center;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-body);
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--sp-70);
  line-height: 1.6;
}

/* ============================================
   Navigation — SC style
   ============================================ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  background: var(--sc-purple-dark);
}

#main-nav.scrolled {
  background: var(--sc-purple);
  box-shadow: var(--shadow-md);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-light);
  font-weight: 700;
  font-size: 15px;
}

.nav-brand img {
  height: 42px;
}

.nav-brand-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
}

.nav-brand span {
  opacity: 0.85;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.3px;
}

#nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 14px;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 400;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

#menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: all var(--transition);
}

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

/* ============================================
   Hero Section — SC style fullwidth
   ============================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--sc-purple-dark) 0%, var(--sc-purple) 50%, var(--sc-purple-light) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Diagonal rotated rectangle overlay — SC hero style */
#hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: rgba(139, 19, 31, 0.18);
  transform: rotate(-15deg) skewY(5deg);
  pointer-events: none;
}

/* Second diagonal shape — white accent */
#hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 45%;
  height: 120%;
  background: rgba(255, 255, 255, 0.04);
  transform: rotate(20deg);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
  font-size: 13px;
  margin-bottom: var(--sp-60);
}

.hero-badge a {
  color: rgba(255, 255, 255, 0.8);
}

.hero-badge a:hover {
  color: #fff;
}

.hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--sp-50);
  color: #fff;
}

.hero-title .highlight {
  color: #fff;
  text-shadow: 2px 2px 0 var(--sc-burgundy);
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--sp-60);
  max-width: 580px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--sp-40);
  flex-wrap: wrap;
}

/* SC pill buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--sc-purple);
  padding: calc(.667em + 2px) calc(1.333em + 2px);
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  font-size: 1.125em;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary:hover {
  background: var(--sc-burgundy);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-light);
  padding: calc(.667em + 2px) calc(1.333em + 2px);
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  font-size: 1.125em;
  border: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: #fff;
  background: var(--sc-burgundy);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: var(--sp-70);
  margin-top: var(--sp-70);
  padding-top: var(--sp-60);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.35);
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ============================================
   Education Section
   ============================================ */
#education {
  background: var(--bg-offwhite);
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-60);
  margin-bottom: var(--sp-70);
}

.edu-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: var(--sp-60);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--sc-purple);
  transition: transform var(--transition), box-shadow var(--transition);
}

.edu-card:nth-child(2) {
  border-top-color: var(--sc-burgundy);
}

.edu-card:nth-child(3) {
  border-top-color: var(--sc-purple-light);
}

.edu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-natural);
}

.edu-icon {
  font-size: 2.2rem;
  margin-bottom: var(--sp-40);
}

.edu-card h3 {
  color: var(--text-heading);
  margin-bottom: var(--sp-30);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.edu-card p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.6;
}

.edu-card a {
  color: var(--sc-purple);
}

.edu-card a:hover {
  color: var(--sc-burgundy);
}

.benefits-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-40);
  padding: var(--sp-40) 0;
  border-bottom: 1px solid var(--border-color);
}

.benefits-list li:last-child {
  border-bottom: none;
}

.benefit-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--sc-purple);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.benefit-text strong {
  color: var(--text-heading);
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.benefit-text span {
  color: var(--text-body);
  font-size: 15px;
}

/* ============================================
   Product Plans Section
   ============================================ */
#plans {
  background: var(--bg-white);
}

.category-section {
  margin-bottom: var(--sp-70);
}

.category-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--sp-50);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: var(--sp-30);
  border-bottom: 2px solid var(--sc-purple);
}

.category-icon {
  font-size: 1.4rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: var(--sp-60);
}

.plan-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: var(--sp-60);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--sc-purple);
  transition: box-shadow var(--transition);
  position: relative;
}

.plan-card:hover {
  box-shadow: var(--shadow-natural);
  border-left-color: var(--sc-burgundy);
}

.plan-card-header {
  display: flex;
  align-items: center;
  gap: var(--sp-40);
  margin-bottom: var(--sp-40);
}

.token-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--bg-light);
  padding: 4px;
}

.plan-product-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}

.plan-product-name a {
  color: var(--text-heading);
}

.plan-product-name a:hover {
  color: var(--sc-purple);
}

.token-badge {
  display: inline-block;
  background: var(--sc-purple);
  color: #fff;
  padding: 2px 12px;
  border-radius: var(--border-radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.plan-description {
  color: var(--text-body);
  font-size: 14px;
  margin-bottom: var(--sp-50);
  line-height: 1.6;
}

/* Billing toggle */
.billing-toggle {
  display: flex;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 3px;
  margin-bottom: var(--sp-50);
}

.toggle-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
  font-family: var(--font-main);
}

.toggle-btn.active {
  background: var(--sc-purple);
  color: #fff;
}

.save-badge {
  display: inline-block;
  background: var(--sc-green-dark);
  color: #fff;
  padding: 1px 8px;
  border-radius: var(--border-radius-pill);
  font-size: 10px;
  margin-left: 6px;
  font-weight: 700;
}

/* Plan tiers */
.tiers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--sp-40);
  transition: border-color var(--transition), background var(--transition);
}

.tier:hover {
  border-color: var(--sc-purple);
}

.tier[data-tier="professional"] {
  border-color: var(--sc-burgundy);
  background: rgba(139, 19, 31, 0.03);
  position: relative;
  border-left: 3px solid var(--sc-burgundy);
}

.tier[data-tier="professional"]::before {
  content: 'Recommended';
  position: absolute;
  top: -1px;
  right: 12px;
  background: var(--sc-burgundy);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 0 0 4px 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.tier-name {
  font-weight: 700;
  color: var(--text-heading);
  font-size: 15px;
}

.tier-price {
  text-align: right;
}

.price-amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
}

.price-period {
  font-size: 13px;
  color: var(--text-muted);
}

.tier-tokens {
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: var(--sp-40);
}

.token-amount {
  font-weight: 700;
  color: var(--sc-purple);
}

.bonus-surco {
  color: var(--sc-green-dark);
  font-size: 12px;
  margin-left: 8px;
}

.tier-features {
  list-style: none;
  margin-bottom: var(--sp-40);
}

.tier-features li {
  padding: 3px 0;
  font-size: 13px;
  color: var(--text-body);
}

.tier-features li::before {
  content: '\2713';
  color: var(--sc-green-dark);
  font-weight: 700;
  margin-right: 8px;
}

.subscribe-btn {
  width: 100%;
  padding: 10px;
  background: var(--sc-purple);
  color: #fff;
  border: none;
  border-radius: var(--border-radius-pill);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-main);
}

.subscribe-btn:hover {
  background: var(--sc-burgundy);
  transform: translateY(-1px);
}

/* ============================================
   Wallet Section — deep purple theme
   ============================================ */
#wallet {
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

/* Diagonal burgundy accent shape */
#wallet::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 50%;
  height: 200%;
  background: rgba(139, 19, 31, 0.12);
  transform: rotate(25deg);
  pointer-events: none;
}

#wallet .section-title {
  color: var(--text-light);
}

#wallet .section-subtitle {
  color: var(--text-on-dark);
}

.wallet-options {
  display: flex;
  gap: var(--sp-50);
  justify-content: center;
  margin-bottom: var(--sp-60);
  flex-wrap: wrap;
}

.wallet-option-btn {
  padding: calc(.667em + 2px) calc(1.333em + 2px);
  border-radius: var(--border-radius-pill);
  font-size: 1.125em;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid;
  font-family: var(--font-main);
}

#btn-create-wallet {
  background: var(--sc-purple);
  color: #fff;
  border-color: var(--sc-purple);
}

#btn-create-wallet:hover {
  background: var(--sc-purple-light);
  border-color: var(--sc-purple-light);
  transform: translateY(-1px);
}

#btn-connect-wallet {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.2);
}

#btn-connect-wallet:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

#connect-wallet-form {
  max-width: 600px;
  margin: 0 auto var(--sp-60);
  display: none;
}

.connect-input-group {
  display: flex;
  gap: var(--sp-30);
}

#connect-wallet-input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
}

#connect-wallet-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

#connect-wallet-input:focus {
  outline: none;
  border-color: var(--sc-purple-light);
}

#btn-connect-submit {
  padding: 14px 24px;
  background: var(--sc-purple);
  color: #fff;
  border: none;
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-main);
}

#btn-connect-submit:hover {
  background: var(--sc-purple-light);
}

/* Wallet result */
#wallet-result {
  display: none;
  max-width: 700px;
  margin: 0 auto;
}

.wallet-created,
.wallet-connected {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  padding: var(--sp-60);
}

.wallet-success-icon {
  width: 52px;
  height: 52px;
  background: var(--sc-green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto var(--sp-40);
  color: #fff;
}

.wallet-created h3,
.wallet-connected h3 {
  text-align: center;
  margin-bottom: var(--sp-50);
  font-size: 20px;
}

.key-display {
  margin-bottom: var(--sp-50);
}

.key-display label {
  display: block;
  font-size: 12px;
  color: var(--text-on-dark);
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.key-value {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 14, 56, 0.4);
  padding: 12px 16px;
  border-radius: var(--border-radius);
  font-family: var(--font-mono);
  font-size: 12px;
  word-break: break-all;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.copy-btn, .reveal-btn {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
  font-family: var(--font-main);
  font-weight: 700;
}

.copy-btn:hover, .reveal-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.copy-btn.copied {
  background: var(--sc-green-dark);
  border-color: var(--sc-green-dark);
}

.key-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
}

.secret-key-display {
  background: rgba(139, 19, 31, 0.06);
  border: 1px solid rgba(139, 19, 31, 0.2);
  border-radius: var(--border-radius);
  padding: var(--sp-50);
}

.secret-warning {
  margin-top: 12px;
  padding: var(--sp-40);
  background: rgba(139, 19, 31, 0.1);
  border: 1px solid rgba(139, 19, 31, 0.25);
  border-radius: var(--border-radius);
  font-size: 13px;
}

.secret-warning ul {
  margin-top: 8px;
  padding-left: 20px;
}

.secret-warning li {
  margin-bottom: 4px;
  color: #ffb3b3;
}

.wallet-actions {
  text-align: center;
  margin-top: var(--sp-50);
}

/* Wallet balances */
#wallet-balances {
  max-width: 900px;
  margin: var(--sp-60) auto 0;
}

.balances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.balance-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  padding: var(--sp-40);
  text-align: center;
}

.balance-item.has-trustline {
  border-color: rgba(66, 36, 125, 0.35);
}

.balance-item.no-trustline {
  opacity: 0.45;
}

.balance-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-bottom: 8px;
}

.balance-token {
  font-weight: 700;
  font-size: 14px;
}

.balance-name {
  font-size: 10px;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}

.balance-amount {
  font-size: 16px;
  font-weight: 700;
  color: var(--sc-green);
}

.balance-no-trustline {
  font-size: 11px;
  color: var(--text-muted);
}

.trustline-status {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

.trustline-info {
  margin-top: var(--sp-50);
  padding: var(--sp-50);
  background: rgba(66, 36, 125, 0.06);
  border: 1px solid rgba(66, 36, 125, 0.15);
  border-radius: var(--border-radius);
}

.trustline-info h4 {
  margin-bottom: 8px;
  font-size: 16px;
}

.trustline-info p {
  font-size: 14px;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}

.trustline-info a {
  color: var(--sc-purple-light);
}

.missing-list {
  font-family: var(--font-mono);
  font-size: 13px;
}

.wallet-notice {
  padding: var(--sp-60);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius);
  text-align: center;
}

.wallet-notice h4 {
  margin-bottom: 8px;
  font-size: 18px;
}

.wallet-notice p {
  font-size: 14px;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}

.wallet-notice .learn-link {
  color: var(--sc-purple-light);
  font-weight: 700;
}

.loading-spinner {
  text-align: center;
  color: var(--text-muted);
  padding: var(--sp-60);
}

/* ============================================
   Benefits / Incentives Section
   ============================================ */
#benefits {
  background: var(--bg-offwhite);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-60);
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  border-top: 3px solid var(--sc-purple);
  padding: var(--sp-60);
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:nth-child(even) {
  border-top-color: var(--sc-burgundy);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-natural);
}

.benefit-card-icon {
  width: 50px;
  height: 50px;
  background: var(--sc-purple);
  color: #fff;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--sp-40);
}

.benefit-card:nth-child(even) .benefit-card-icon {
  background: var(--sc-burgundy);
}

.benefit-card h3 {
  color: var(--text-heading);
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
}

.benefit-card p {
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.6;
}

.benefit-card ul {
  margin-top: var(--sp-30);
  padding-left: 18px;
}

.benefit-card li {
  color: var(--text-body);
  font-size: 13px;
  padding: 3px 0;
}

/* ============================================
   How It Works Section
   ============================================ */
#how-it-works {
  background: var(--bg-white);
}

.steps-container {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--sc-purple), var(--sc-burgundy));
}

.step {
  display: flex;
  gap: var(--sp-50);
  margin-bottom: var(--sp-60);
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--sc-purple);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  z-index: 1;
}

.step:nth-child(even) .step-number {
  background: var(--sc-burgundy);
}

.step-content {
  padding-top: 6px;
}

.step-content h3 {
  color: var(--text-heading);
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 700;
}

.step-content p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================
   FAQ Section
   ============================================ */
#faq {
  background: var(--bg-offwhite);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg-white);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: var(--bg-white);
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-main);
  line-height: 1.4;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--sc-purple);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
  font-weight: 400;
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

.faq-item.open .faq-question {
  color: var(--sc-purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   Footer — matching SC dark footer
   ============================================ */
#footer {
  background: var(--bg-darkest);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--sp-70) 0 var(--sp-50);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-70);
  margin-bottom: var(--sp-60);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: var(--sp-40);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
}

.footer-column h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: var(--sp-40);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 6px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  transition: color var(--transition);
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--sp-50);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-40);
  font-size: 11px;
  line-height: 1.2;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

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

.stellar-verify {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

/* ============================================
   Notifications
   ============================================ */
.notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 22px;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 500;
  z-index: 10000;
  transform: translateY(16px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 400px;
  box-shadow: var(--shadow-md);
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

.notification-success {
  background: var(--sc-green-dark);
  color: #fff;
}

.notification-error {
  background: var(--sc-burgundy);
  color: #fff;
}

.notification-info {
  background: var(--sc-purple);
  color: #fff;
}

/* ============================================
   Triangle Section Separators — SC Avada style
   ============================================ */
.section-separator {
  position: relative;
  height: 0;
  width: 100%;
  z-index: 10;
}

/* Downward-pointing triangle (CSS border trick) */
.section-separator .triangle-arrow {
  position: absolute;
  left: 50%;
  margin-left: -29px;
  height: 0;
  width: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 29px 29px 0 29px;
  z-index: 2;
}

/* Diamond accent below triangle (rotated square) */
.section-separator .triangle-diamond {
  position: absolute;
  left: 50%;
  margin-left: -14px;
  width: 28px;
  height: 28px;
  transform: rotate(-45deg);
  z-index: 3;
  top: 8px;
}

/* Separator variants */
.sep-white-on-purple .triangle-arrow { border-top-color: #fff; top: 0; }
.sep-white-on-purple .triangle-diamond { background: #fff; border-bottom: 2px solid var(--sc-purple); border-left: 2px solid var(--sc-purple); }

.sep-purple-on-white .triangle-arrow { border-top-color: var(--sc-purple); top: 0; }
.sep-purple-on-white .triangle-diamond { background: var(--sc-purple); border-bottom: 2px solid #fff; border-left: 2px solid #fff; }

.sep-offwhite-on-white .triangle-arrow { border-top-color: var(--bg-offwhite); top: 0; }
.sep-offwhite-on-white .triangle-diamond { background: var(--bg-offwhite); border-bottom: 2px solid var(--sc-purple); border-left: 2px solid var(--sc-purple); }

.sep-white-on-offwhite .triangle-arrow { border-top-color: #fff; top: 0; }
.sep-white-on-offwhite .triangle-diamond { background: #fff; border-bottom: 2px solid var(--sc-burgundy); border-left: 2px solid var(--sc-burgundy); }

.sep-purple-on-offwhite .triangle-arrow { border-top-color: var(--bg-dark); top: 0; }
.sep-purple-on-offwhite .triangle-diamond { background: var(--bg-dark); border-bottom: 2px solid #fff; border-left: 2px solid #fff; }

.sep-offwhite-on-purple .triangle-arrow { border-top-color: var(--bg-offwhite); top: 0; }
.sep-offwhite-on-purple .triangle-diamond { background: var(--bg-offwhite); border-bottom: 2px solid var(--sc-purple); border-left: 2px solid var(--sc-purple); }

/* Horizontal line through separator */
.section-separator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   Decorative accent triangles (corners)
   ============================================ */
.corner-triangle-tl,
.corner-triangle-br {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.corner-triangle-tl {
  top: 0;
  left: 0;
  border-style: solid;
  border-width: 80px 80px 0 0;
  border-color: rgba(139, 19, 31, 0.12) transparent transparent transparent;
}

.corner-triangle-br {
  bottom: 0;
  right: 0;
  border-style: solid;
  border-width: 0 0 80px 80px;
  border-color: transparent transparent rgba(255, 255, 255, 0.06) transparent;
}

/* ============================================
   Scroll Animations
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive — SC breakpoints
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    gap: var(--sp-60);
  }
}

@media (max-width: 800px) {
  section {
    padding: var(--sp-70) 0;
  }

  .container {
    padding: 0 var(--sp-50);
  }

  .section-title {
    font-size: 24px;
  }

  #menu-toggle {
    display: block;
  }

  #nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--sc-purple-dark);
    flex-direction: column;
    padding: var(--sp-40);
    box-shadow: var(--shadow-md);
  }

  #nav-links.open {
    display: flex;
  }

  .hero-stats {
    gap: var(--sp-50);
    flex-wrap: wrap;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-50);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .connect-input-group {
    flex-direction: column;
  }

  .balances-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .wallet-options {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .container {
    padding: 0 var(--sp-40);
  }

  .plan-card {
    padding: var(--sp-50);
  }

  .tier {
    padding: var(--sp-30);
  }

  .edu-grid {
    grid-template-columns: 1fr;
  }
}
