/* ---------------------------------------------------------
   GLOBAL THEME
--------------------------------------------------------- */

:root {
  --bg-dark: #0b0e11;
  --bg-light: #f5f7fa;

  --text-dark: #e8ecf2;
  --text-light: #1a1d21;

  --accent: #4cc3ff;
  --accent-strong: #00aaff;

  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);

  --radius: 14px;
  --transition: 0.25s ease;
}

/* DARK MODE */
.theme-dark {
  background: var(--bg-dark);
  color: var(--text-dark);
}

/* LIGHT MODE */
.theme-light {
  background: var(--bg-light);
  color: var(--text-light);
}

/* ---------------------------------------------------------
   LAYOUT SHELL
--------------------------------------------------------- */

.egx-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.egx-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.egx-logo-main {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.egx-logo-sub {
  font-size: 14px;
  opacity: 0.7;
}

.egx-nav {
  display: flex;
  gap: 24px;
}

.egx-nav-link {
  text-decoration: none;
  color: var(--accent);
  font-size: 16px;
  transition: var(--transition);
}

.egx-nav-link:hover {
  color: var(--accent-strong);
}

/* ---------------------------------------------------------
   THEME TOGGLE
--------------------------------------------------------- */

.egx-theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--accent);
  transition: var(--transition);
}

.egx-theme-toggle:hover {
  background: var(--glass-border);
}

/* ---------------------------------------------------------
   HERO SECTION
--------------------------------------------------------- */

.egx-hero {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.egx-hero-left {
  flex: 1;
}

.egx-hero-right {
  flex: 0.8;
}

.egx-hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
}

.egx-hero-subtitle {
  font-size: 20px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.egx-hero-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ---------------------------------------------------------
   CTA BUTTONS
--------------------------------------------------------- */

.egx-cta {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 14px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.egx-cta:hover {
  background: var(--accent-strong);
}

.egx-cta-secondary {
  display: inline-block;
  margin-left: 14px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.egx-cta-secondary:hover {
  background: var(--accent);
  color: #000;
}

/* ---------------------------------------------------------
   GLASS PANEL
--------------------------------------------------------- */

.egx-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 24px;
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.egx-panel-title {
  font-size: 20px;
  margin-bottom: 14px;
}

.egx-panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.egx-panel-list li {
  margin-bottom: 10px;
  font-size: 16px;
  opacity: 0.9;
}

/* ---------------------------------------------------------
   GRID CARDS
--------------------------------------------------------- */

.egx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.egx-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 24px;
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.egx-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.egx-card-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.egx-card-text {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 20px;
}

.egx-card-link {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  transition: var(--transition);
}

.egx-card-link:hover {
  color: var(--accent-strong);
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.egx-footer {
  display: flex;
  justify-content: space-between;
  opacity: 0.7;
  font-size: 14px;
  margin-top: 40px;
}
