:root {
  --background: #eef3fb;
  --surface: rgba(255, 255, 255, 0.92);
  --accent: #6366f1;
  --shadow: 0 22px 48px rgba(16, 32, 59, 0.16);
  --radius: 28px;
  --pillar-hover: rgba(0, 89, 200, 0.05);
  --section-divider: rgba(16, 32, 59, 0.08);
  --family-bg: linear-gradient(135deg, rgba(255, 107, 69, 0.15), rgba(255, 107, 69, 0.08));
  --career-bg: linear-gradient(135deg, rgba(0, 89, 200, 0.15), rgba(0, 89, 200, 0.08));
  --investment-bg: linear-gradient(135deg, rgba(46, 204, 113, 0.15), rgba(46, 204, 113, 0.08));
}

* {
  box-sizing: border-box;
}

html {
  direction: rtl;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 89, 200, 0.18), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(255, 107, 69, 0.12), transparent 45%),
    var(--background);
  color: #10203b;
  font-family: 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HERO SECTION LAYOUT */
.hero {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.hero__mascot {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__mascot img {
  width: 100%;
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(16, 32, 59, 0.16));
}

.hero__tweet {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 24px;
}

.hero__title {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: #10203b;
  opacity: 0.9;
  margin: 0;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* CATEGORIES SECTION */
.categories {
  padding: 48px;
}

.categories__title {
  margin: 0 0 40px 0;
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
  text-align: center;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.category__card {
  background: var(--surface);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(16, 32, 59, 0.12);
}

.category__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.4;
  z-index: 0;
}

.category__card:nth-child(1)::before {
  background: var(--family-bg);
}

.category__card:nth-child(2)::before {
  background: var(--career-bg);
}

.category__card:nth-child(3)::before {
  background: var(--investment-bg);
}

.category__card:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.category__card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.category__content {
  position: relative;
  z-index: 1;
}

.category__icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(16, 32, 59, 0.1);
  border: 3px solid rgba(255, 255, 255, 0.6);
}

.category__icon img {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(16, 32, 59, 0.12));
}

#family-img {
    margin-left: 2px;
    margin-bottom: 4px;
}

#laptop-img {
    margin-right: 10px;
}

#profits-img {
    margin-top: 4px;
}

.category__title {
  margin: 0 0 12px 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #10203b;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.category__description {
  margin: 0;
  font-size: 0.95rem;
  color: #10203b;
  opacity: 0.8;
  line-height: 1.6;
  font-weight: 400;
}

.twitter-tweet {
  margin: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .categories__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  body {
    padding: 24px 16px;
  }

  .hero {
    margin-bottom: 40px;
  }

  .hero__tweet {
    padding: 24px;
  }

  .categories {
    padding: 32px 24px;
  }

  .categories__title {
    font-size: 1.6rem;
    margin-bottom: 32px;
  }

  .category__card {
    padding: 24px 20px;
  }

  .category__icon {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
  }

  .category__icon img {
    width: 70px;
  }

  .category__title {
    font-size: 1.2rem;
  }
}

