/* Tarafam Website Theme CSS */
/* Spiritual Network for Starseeds & Lightworkers */

/* Optional font faces using project-bundled fonts */
@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('./assets/fonts/Poppins/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('./assets/fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('./assets/fonts/Poppins/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #6E44FF;
  --color-secondary: #7879C6;
  --color-background: #1a1a3f;
  --color-cyan: #0EA5E9;
  --color-pink: #ff6584;
  --color-green: #10B981;
  --color-yellow: #F59E0B;
  --color-orange: #F97316;
  --color-red: #EF4444;
  --color-purple-light: #a78bfa;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.95);
  --text-dim: rgba(255, 255, 255, 0.72);
  --border: rgba(255, 255, 255, 0.15);
  --border-light: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(110, 68, 255, 0.3);
}

/* Global Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 16px;
  line-height: 1.6;
  background: linear-gradient(135deg, #1e1b4b 0%, #3b0764 50%, #2e1065 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: rgba(0, 0, 0, 0.15); }

/* Section Headers */
.section-header { margin-bottom: 48px; }
.section-header h2 { 
  font-family: Poppins, Inter, sans-serif; 
  font-size: 36px; 
  font-weight: 700;
  margin: 0 0 16px; 
  line-height: 1.2;
}
.section-subtitle { 
  color: var(--text-dim); 
  font-size: 18px; 
  max-width: 640px; 
  margin: 0 auto; 
  line-height: 1.6;
}

/* Kicker / Label */
.kicker {
  display: inline-block;
  color: var(--color-cyan);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 10px rgba(110, 68, 255, 0.5);
}
.scroll-progress.visible {
  opacity: 1;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 27, 75, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}
.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  height: 68px; 
}
.brand { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  text-decoration: none; 
  color: white; 
}
.brand-logo { width: 32px; height: 32px; }
.brand-name { 
  font-family: Poppins, Inter, sans-serif; 
  font-weight: 700; 
  font-size: 18px;
  letter-spacing: 0.3px; 
}

.nav { display: none; gap: 24px; }
.nav a { 
  color: var(--text-dim); 
  text-decoration: none; 
  font-size: 14px; 
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--text); }

@media (min-width: 1024px) { .nav { display: flex; } }

/* Hero Section */
.hero { 
  position: relative;
  padding: 100px 0 80px; 
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('./assets/images/chamuel_portrait_cropped.jpg') center center / cover no-repeat;
  transform: scale(1.1); /* Prevent blur edge artifacts */
  z-index: -2;
  /* Animation: starts clear, then blurs */
  animation: heroImageBlur 0.5s ease-out 0.5s forwards;
  filter: blur(0);
  opacity: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 27, 75, 0.7) 0%,
    rgba(59, 7, 100, 0.6) 50%,
    rgba(46, 16, 101, 0.8) 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: -1;
}
.hero > .container {
  position: relative;
  z-index: 1;
  /* Animation: text fades in after blur starts */
  animation: heroContentFadeIn 0.5s ease-out 0.6s forwards;
  opacity: 0;
  transform: translateY(20px);
}

/* Hero Animations */
@keyframes heroImageBlur {
  0% {
    filter: blur(0);
    opacity: 1;
  }
  100% {
    filter: blur(4px);
    opacity: 0.75;
  }
}

@keyframes heroContentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(110, 68, 255, 0.2), rgba(14, 165, 233, 0.2));
  border: 1px solid rgba(110, 68, 255, 0.4);
  color: var(--color-purple-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero-badge i,
.hero-badge svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-purple-light);
  stroke-width: 2;
}
.hero h1 { 
  font-family: Poppins, Inter, sans-serif; 
  font-size: 48px; 
  font-weight: 700;
  line-height: 1.1; 
  margin: 0 0 20px; 
  background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { 
  color: var(--text); 
  margin: 0 auto 32px; 
  max-width: 720px; 
  font-size: 18px; 
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
}

/* Buttons */
.btn {
  appearance: none; 
  border: none; 
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white; 
  padding: 14px 24px; 
  border-radius: 12px; 
  font-weight: 600; 
  font-size: 15px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
  box-shadow: var(--shadow), 0 0 20px rgba(110, 68, 255, 0.25);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow), 0 0 30px rgba(110, 68, 255, 0.4);
}
.btn:link, .btn:visited { text-decoration: none; color: white; }
.btn.secondary { background: linear-gradient(135deg, var(--color-pink), var(--color-yellow)); }
.btn.ghost { 
  background: transparent; 
  border: 1px solid var(--border); 
  box-shadow: none;
}
.btn.ghost:hover {
  background: var(--glass);
  box-shadow: none;
}

/* Cards */
.cards { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 20px; 
}
.card { 
  background: rgba(0, 0, 0, 0.25); 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  border-radius: 16px; 
  padding: 24px; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.15);
}
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(110, 68, 255, 0.15), rgba(14, 165, 233, 0.15));
  border-radius: 12px;
}
.card-icon i,
.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-cyan);
  stroke-width: 2;
}
.card h3 { 
  margin: 0 0 12px; 
  font-family: Poppins, Inter, sans-serif; 
  font-size: 18px;
  font-weight: 600;
}
.card p { 
  margin: 0; 
  color: var(--text-dim); 
  font-size: 15px;
  line-height: 1.6;
}

@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* AI Features Grid */
.ai-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .ai-features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Feature Rows */
.feature-row { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 40px; 
  align-items: center; 
}
.feature-row .illustration { 
  background: rgba(0, 0, 0, 0.25); 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  border-radius: 20px; 
  height: 280px; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); 
  overflow: hidden; 
}
.feature-row .illustration img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

/* Transparent illustration (no card styling) */
.feature-row .illustration.illustration-transparent {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.feature-row .illustration.illustration-transparent img {
  object-fit: contain;
}
.feature-row .copy h2 { 
  font-family: Poppins, Inter, sans-serif; 
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px; 
}
.feature-row .copy h3 {
  font-family: Poppins, Inter, sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
}
.feature-row .copy p { 
  color: var(--text-dim); 
  margin: 0 0 20px; 
  font-size: 16px;
  line-height: 1.7;
}
.feature-row .copy ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-dim);
}
.feature-row .copy ul li {
  margin-bottom: 8px;
  line-height: 1.5;
}
.feature-row .copy ul li strong {
  color: var(--text);
}

@media (min-width: 980px) { 
  .feature-row { grid-template-columns: 1fr 1fr; } 
  .feature-row .illustration { height: 380px; }
}

/* Roadmap Timeline */
.roadmap-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}
.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-cyan), rgba(14, 165, 233, 0.2));
}

.roadmap-item {
  position: relative;
  margin-bottom: 48px;
}
.roadmap-item:last-child {
  margin-bottom: 0;
}

.roadmap-marker {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.roadmap-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--glass);
  border: 3px solid var(--color-secondary);
  transition: all 0.3s ease;
}
.roadmap-marker.active .roadmap-dot {
  background: var(--color-primary);
  border-color: var(--color-cyan);
  box-shadow: 0 0 20px rgba(110, 68, 255, 0.5);
}
.roadmap-marker.future .roadmap-dot {
  background: transparent;
  border-color: var(--border);
}

.roadmap-content {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.roadmap-date {
  display: inline-block;
  color: var(--color-cyan);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.roadmap-content h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
}
.roadmap-icon {
  width: 22px;
  height: 22px;
  stroke: var(--color-cyan);
  stroke-width: 2;
  flex-shrink: 0;
}
.roadmap-content p {
  color: var(--text-dim);
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
}
.roadmap-content ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-dim);
  font-size: 14px;
}
.roadmap-content ul li {
  margin-bottom: 6px;
}
.languages-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
}
.languages-icon {
  width: 16px;
  height: 16px;
  stroke: var(--color-cyan);
  stroke-width: 2;
  flex-shrink: 0;
}

/* Footer */
.footer { 
  margin-top: 0; 
  padding: 48px 0 32px; 
  border-top: 1px solid var(--border-light); 
  background: rgba(0, 0, 0, 0.2);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-brand span {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.footer-brand .small {
  color: var(--text-dim);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
}
.footer-links a { 
  color: var(--text-dim); 
  text-decoration: none; 
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--text); }
.footer-legal {
  color: var(--text-dim);
  font-size: 14px;
}
.footer-legal p { margin: 0; }

@media (min-width: 860px) {
  .footer-inner {
    grid-template-columns: 1fr 2fr 1fr;
    text-align: left;
    align-items: start;
  }
  .footer-brand {
    align-items: flex-start;
  }
  .footer-links {
    justify-content: center;
  }
  .footer-legal {
    text-align: right;
  }
}

/* Utility Classes */
.small { font-size: 13px !important; color: var(--text-dim); }
.center { text-align: center; }
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.mt-48 { margin-top: 48px !important; }

.grid-2 { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 32px; 
  align-items: center;
}
.grid-2 ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--text-dim);
}
.grid-2 ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}
.grid-2 ul li strong {
  color: var(--text);
}

@media (min-width: 860px) { 
  .grid-2 { grid-template-columns: repeat(2, 1fr); } 
}

/* Badges */
.badge { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  background: var(--glass); 
  border: 1px solid var(--border); 
  border-radius: 999px; 
  padding: 8px 14px; 
  font-size: 13px;
  font-weight: 500;
}

/* Inline Icons */
.inline-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  stroke: var(--color-cyan);
  stroke-width: 2;
  vertical-align: middle;
  margin: 0 2px;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.about-text {
  max-width: 720px;
}
.about-text h2 {
  font-family: Poppins, Inter, sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 24px;
}
.about-text p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 16px;
}
.about-etymology {
  font-size: 20px !important;
  color: var(--text) !important;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.etymology-note {
  color: var(--color-purple-light);
  font-size: 16px;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.value-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease;
}
.value-card:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.3);
}
.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(110, 68, 255, 0.2), rgba(14, 165, 233, 0.2));
  border-radius: 10px;
}
.value-icon i,
.value-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-cyan);
  stroke-width: 2;
}
.value-card h4 {
  font-family: Poppins, Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}
.value-card p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 720px) {
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
  .about-values {
    grid-template-columns: 1fr;
  }
}

/* Language Badges */
.language-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--text-dim);
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-badge:hover {
  background: var(--glass-hover);
  color: var(--text);
}

.language-support {
  opacity: 0.8;
}


/* Selection */
::selection {
  background: rgba(110, 68, 255, 0.4);
  color: white;
}

/* Scrollbar (Webkit) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}
