/* ============================================
   ERUDITEPAY — Global Styles
   Rebuilt: Feb 15, 2026
   Author: Claude (Opus 4.6) for Erudite Intelligence LLC
   Purpose: Clean static rebuild of the EruditePay marketing site
   ============================================ */

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

:root {
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-light: rgba(16, 185, 129, 0.1);
  --dark-bg: #111827;
  --dark-nav: #0d1117;
  --dark-card: #1f2937;
  --dark-border: #374151;
  --light-bg: #f9fafb;
  --white: #ffffff;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --text-on-dark: #e5e7eb;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --transition: 0.2s ease;
}

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
}

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

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--dark-nav);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
}

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

.nav-logo span { color: var(--primary); }

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

.nav-links a {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

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

.btn-login {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  transition: color var(--transition);
}

.btn-login:hover { color: var(--white); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 8px;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all var(--transition);
}

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

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Page Content Offset --- */
.page-content {
  padding-top: var(--nav-height);
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
.section {
  padding: 80px 0;
}

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

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 48px;
}

.section-dark .section-subtitle {
  color: var(--text-light);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-bg);
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(17,24,39,0.7) 0%, rgba(17,24,39,0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(16,185,129,0.15);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(16,185,129,0.3);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

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

.hero-description {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 64px;
  flex-wrap: wrap;
}

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

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

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

/* --- How It Works --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid #e5e7eb;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Features / Chains --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition);
}

.feature-card:hover {
  border-color: var(--primary);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(16,185,129,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.feature-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Fee Comparison Banner --- */
.fee-banner {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-top: 48px;
  border: 1px solid var(--dark-border);
}

.fee-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.fee-banner p {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.fee-highlight {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 16px 0;
}

.fee-subtext {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* --- Roadmap --- */
.roadmap-section {
  margin-bottom: 48px;
}

.roadmap-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.roadmap-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.roadmap-dot.completed { background: var(--primary); }
.roadmap-dot.in-dev { background: #f59e0b; }
.roadmap-dot.planned { background: #3b82f6; }
.roadmap-dot.exploring { background: #8b5cf6; }

.roadmap-label {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 4px 16px;
  border-radius: 100px;
}

.roadmap-label.completed { background: rgba(16,185,129,0.1); color: var(--primary); }
.roadmap-label.in-dev { background: rgba(245,158,11,0.1); color: #f59e0b; }
.roadmap-label.planned { background: rgba(59,130,246,0.1); color: #3b82f6; }
.roadmap-label.exploring { background: rgba(139,92,246,0.1); color: #8b5cf6; }

.roadmap-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.roadmap-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  transition: box-shadow var(--transition);
}

.roadmap-card:hover {
  box-shadow: var(--shadow-md);
}

.roadmap-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.roadmap-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:hover { color: var(--primary); }

.faq-arrow {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--text-secondary);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

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

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

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- About / Contact --- */
.about-section {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.about-section h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background var(--transition);
}

.contact-btn:hover {
  background: var(--primary-hover);
}

/* --- Pricing Table --- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pricing-table th {
  background: var(--dark-bg);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 20px;
  text-align: left;
}

.pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.95rem;
  vertical-align: top;
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table .highlight-row {
  background: rgba(16,185,129,0.05);
}

.pricing-table .highlight-row td:first-child {
  font-weight: 700;
  color: var(--primary);
}

.price-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.check { color: var(--primary); font-weight: 700; }
.cross { color: #ef4444; font-weight: 700; }

/* --- Footer --- */
.footer {
  background: var(--dark-bg);
  padding: 64px 0 32px;
  color: var(--text-light);
}

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  color: var(--text-light);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-dark);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--dark-nav);
    padding: 24px;
    border-bottom: 1px solid var(--dark-border);
    gap: 16px;
  }

  .nav-actions.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(var(--nav-height) + 200px);
    left: 0;
    right: 0;
    background: var(--dark-nav);
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--dark-border);
  }

  .hero-title { font-size: 2.25rem; }
  .hero-stats { gap: 24px; }

  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .section { padding: 48px 0; }
  .section-title { font-size: 1.75rem; }

  .pricing-table { font-size: 0.85rem; }
  .pricing-table th,
  .pricing-table td { padding: 12px; }

  .fee-banner { padding: 32px 20px; }
  .fee-highlight { font-size: 2.25rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }
  .hero-description { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
