/* Fonts are imported in main.css, but ensuring they are available */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* --- Reset & Base --- */
:root {
  --primary-gradient: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  --text-gradient: linear-gradient(90deg, #1a1a1a 0%, #4a4a4a 100%);
}

[data-theme="dark"] {
  --glass-bg: rgba(30, 30, 30, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-gradient: linear-gradient(90deg, #ffffff 0%, #cccccc 100%);
}

/* --- Hero Section --- */
.about-hero {
  position: relative;
  padding: 120px 20px 100px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(255, 87, 34, 0.15) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 87, 34, 0.1);
  color: var(--brand);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 87, 34, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--text-main);
  /* Fallback */
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Background Glow Animation */
.hero-background-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(80px);
  z-index: 1;
  animation: pulseGlow 8s infinite alternate;
}

@keyframes pulseGlow {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

/* --- Stats Section --- */
.stats-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: -40px auto 60px;
  position: relative;
  z-index: 3;
  flex-wrap: wrap;
  padding: 0 20px;
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 30px 50px;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  text-align: center;
  min-width: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand);
}

.stat-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 500;
}

/* --- Values Section --- */
.values-section {
  padding: 80px 0;
  background: var(--bg-body);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card:hover {
  border-color: var(--brand);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(255, 87, 34, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 24px;
  margin-bottom: 24px;
  transition: background 0.3s ease, color 0.3s ease;
}

.value-card:hover .icon-box {
  background: var(--brand);
  color: white;
}

.value-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 600;
}

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

/* --- Vision Section (Split Layout) --- */
.vision-section {
  padding: 100px 0;
  overflow: hidden;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.text-content h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(255, 87, 34, 0.2);
}

.cta-button:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 87, 34, 0.3);
  color: white;
}

.visual-content {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abstract-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: #FF5722;
  top: 0;
  right: 0;
  animation: float 6s infinite ease-in-out;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: #FF9800;
  bottom: 0;
  left: 20px;
  animation: float 8s infinite ease-in-out reverse;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.glass-panel {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  text-align: center;
}

.glass-panel span {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  font-style: italic;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-title {
    font-size: 3rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .text-content {
    order: 2;
  }

  .visual-content {
    order: 1;
    height: 300px;
    margin-bottom: 20px;
  }

  .glass-panel {
    margin: 0 auto;
  }

  .stats-container {
    gap: 20px;
  }

  .stat-card {
    padding: 20px 30px;
    min-width: 150px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .stat-card {
    width: 100%;
  }


  /* --- Embedded/Settings View Overrides --- */
}

@media (max-width: 600px) {
  /* correction: actually just closing the previous one */
}

/* --- Embedded/Settings View Overrides --- */
.settings-content .about-hero {
  padding: 40px 0 60px;
  background: none;
  /* geometric shape handling might need adj */
}

.settings-content .hero-background-glow {
  width: 300px;
  height: 300px;
  filter: blur(60px);
}

.settings-content .hero-title {
  font-size: 2.8rem;
}

.settings-content .stats-container {
  margin: -20px auto 40px;
  gap: 20px;
}

.settings-content .stat-card {
  padding: 20px;
  min-width: 120px;
}

.settings-content .stat-number {
  font-size: 2rem;
}

.settings-content .values-section {
  padding: 40px 0;
  background: transparent;
}

.settings-content .section-header {
  margin-bottom: 40px;
  border-bottom: none;
  /* Remove settings default border if we prefer this look */
  text-align: center;
}

.settings-content .values-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.settings-content .value-card {
  padding: 25px;
}

/* Hide some complex elements in settings view if needed */
.settings-content .vision-section {
  display: none;
  /* Too large for settings panel usually */
}