:root {
  /* Common variables */
  --bg-color: #050b14;
  --text-primary: #e0e0e0;
  --text-muted: #888;

  /* Brand: Adam OS */
  --adam-bg: #050b14;
  --adam-primary: #00f3ff;
  --adam-accent: #0aff60;

  /* Brand: Market Mayhem */
  --mayhem-bg: #1a1a1a;
  --mayhem-primary: #ff3333;
  --mayhem-accent: #ffcc00;

  /* Brand: Fortress & Hunt */
  --fortress-bg: #f4f6f8;
  --fortress-primary: #003366;
  --fortress-accent: #cda34f;
  --fortress-text: #333333;

  /* Brand: Adam Institutional */
  --inst-bg: #ffffff;
  --inst-primary: #2c3e50;
  --inst-accent: #34495e;
  --inst-text: #2c3e50;

  /* Brand: Adam Research */
  --research-bg: #f9f9f9;
  --research-primary: #5c2d91;
  --research-accent: #8b5a2b;
  --research-text: #222222;

  /* Brand: Adam Governance */
  --gov-bg: #eef2f5;
  --gov-primary: #4a5568;
  --gov-accent: #2b6cb0;
  --gov-text: #2d3748;

  /* Brand: Adam Terminals */
  --term-bg: #000000;
  --term-primary: #00ff00;
  --term-accent: #ff00ff;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* Enhanced Aesthetics */
body {
    background-image: radial-gradient(circle at top right, rgba(0, 243, 255, 0.05), transparent 50%), radial-gradient(circle at bottom left, rgba(10, 255, 96, 0.05), transparent 50%);
    background-attachment: fixed;
}

.card, .panel, .article, .widget {
    backdrop-filter: blur(10px);
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.card:hover, .panel:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.header {
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    backdrop-filter: blur(15px);
    border-bottom-width: 4px !important;
}

h1, h2, h3 {
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.grid > div, .agent-card, .news-item {
    animation: fadeIn 0.6s ease-out forwards;
}

.grid > div:nth-child(1) { animation-delay: 0.1s; }
.grid > div:nth-child(2) { animation-delay: 0.2s; }
.grid > div:nth-child(3) { animation-delay: 0.3s; }
.grid > div:nth-child(4) { animation-delay: 0.4s; }
.grid > div:nth-child(5) { animation-delay: 0.5s; }
.grid > div:nth-child(6) { animation-delay: 0.6s; }
.grid > div:nth-child(7) { animation-delay: 0.7s; }

/* FDOS Enhanced Design System */
body {
    background-image: radial-gradient(circle at top right, rgba(0, 243, 255, 0.05), transparent 50%), radial-gradient(circle at bottom left, rgba(10, 255, 96, 0.05), transparent 50%);
    background-attachment: fixed;
}
.card, .panel, .article, .widget {
    backdrop-filter: blur(10px);
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    overflow: hidden;
}
.card:hover, .panel:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--adam-primary) !important;
}
.header {
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    backdrop-filter: blur(15px);
    border-bottom-width: 4px !important;
    padding: 60px 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
}
.header img {
    max-height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}
.header h1 {
    font-size: 3rem !important;
    text-shadow: 0 0 20px var(--adam-primary);
    margin-bottom: 10px;
}
.header p {
    font-size: 1.2rem;
    opacity: 0.8;
}
.nav-links-global {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.nav-links-global a {
    padding: 10px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}
.nav-links-global a:hover {
    background: var(--adam-primary);
    color: black;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.grid > div, .agent-card, .news-item {
    animation: fadeIn 0.6s ease-out forwards;
}
.grid > div:nth-child(1) { animation-delay: 0.1s; }
.grid > div:nth-child(2) { animation-delay: 0.2s; }
.grid > div:nth-child(3) { animation-delay: 0.3s; }
.grid > div:nth-child(4) { animation-delay: 0.4s; }
.grid > div:nth-child(5) { animation-delay: 0.5s; }
.grid > div:nth-child(6) { animation-delay: 0.6s; }
.grid > div:nth-child(7) { animation-delay: 0.7s; }
.img-placeholder {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}
.agent-card {
    border-left: 4px solid var(--adam-primary) !important;
    background: linear-gradient(90deg, rgba(0, 243, 255, 0.1), transparent) !important;
}
