/* ===========================================================
   ICEFAME ABOUT PAGE STYLING — Premium Dual Theme
   With Smooth Light/Dark Mode Support
   =========================================================== */

/* ===== Base Variables (Dark Mode Default) ===== */
:root {
  --bg: #0b0b0d;
  --card: #0f1114;
  --muted: #9aa4b2;
  --accent: #1DA1f2;
  --accent-2: #ff6b00;
  --glass: rgba(255, 255, 255, 0.04);
  --gold: #ffd166;
  --text: #ffffff;
  --line: rgba(255,255,255,0.08);
  --max-width: 1200px;
  color-scheme: dark;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  transition: all 0.4s ease;
}

/* ===== Light Mode Variables ===== */
[data-theme="light"] {
  --bg: #fbfcfe;
  --card: #ffffff;
  --muted: #555;
  --accent: #1DA1f2;
  --accent-2: #ff6b00;
  --glass: rgba(0, 0, 0, 0.04);
  --gold: #b8860b;
  --text: #0b0b0d;
  --line: rgba(0,0,0,0.08);
  color-scheme: light;
}

/* ===== Global ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  transition: background 0.4s ease, color 0.4s ease;
}

main {
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  transition: color 0.4s ease;
}

p {
  color: var(--muted);
  transition: color 0.4s ease;
}

/* ===== HERO ===== */
.about-hero {
  background: var(--bg);
  color: var(--text);
  text-align: center;
  padding: 8rem 1rem 6rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(29,161,242,0.15), transparent 70%);
  z-index: 0;
  transition: background 0.4s ease;
}

[data-theme="light"] .about-hero::before {
  background: radial-gradient(circle at 50% 30%, rgba(11,103,255,0.12), transparent 70%);
}

.about-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
}

.about-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
}

/* ===== STORY ===== */
.about-story {
  background: var(--card);
  padding: 6rem 0;
  transition: background 0.4s ease;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.story-text h2 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

[data-theme="dark"] .story-text h2 {
  color: var(--accent-2);
}

.story-text p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.story-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.story-image img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* ===== MISSION ===== */
.about-mission {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
  transition: background 0.4s ease, color 0.4s ease;
}

.about-mission h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.about-mission p {
  font-size: 1.1rem;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0.95;
}

/* ===== STATS ===== */
.about-stats {
  background: var(--bg);
  padding: 5rem 0;
  text-align: center;
  border-top: 1px solid var(--line);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.stat h3 {
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

[data-theme="dark"] .stat h3 {
  color: var(--accent-2);
}

.stat p {
  color: var(--muted);
  font-size: 1rem;
}

/* ===== FOUNDER ===== */
.about-founder {
  background: var(--card);
  padding: 6rem 0;
  transition: background 0.4s ease, color 0.4s ease;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.founder-photo img {
  width: 100%;
  border-radius: 1.2rem;
  border: 2px solid var(--accent);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.founder-photo img:hover {
  transform: scale(1.03);
  border-color: var(--accent-2);
}

.founder-text h2 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

[data-theme="dark"] .founder-text h2 {
  color: var(--accent-2);
}

.founder-text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.founder-text .signature {
  color: var(--accent);
  margin-top: 1.5rem;
  font-weight: 600;
}

[data-theme="dark"] .founder-text .signature {
  color: var(--accent-2);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .story-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 6rem 0 4rem;
  }

  .about-hero h1 {
    font-size: 2.2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

  .stat h3 {
    font-size: 2rem;
  }
}
