/* Modern Restructuring Theme - Premium Dark/Light Hybrid */
:root {
  /* Palette - Deep Blue & Gold */
  --color-bg: #0f172a;
  --color-surface: #1e293b;
  --color-surface-highlight: #334155;
  --color-text: #f8fafc;
  --color-text-muted: #94a3b8;
  
  --color-primary: #fbbf24; /* Amber 400 */
  --color-primary-hover: #f59e0b; /* Amber 500 */
  --color-accent: #38bdf8; /* Sky 400 */
  
  --font-sans: "Manrope", system-ui, -apple-system, sans-serif;
  --font-display: "Manrope", system-ui, -apple-system, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(251, 191, 36, 0.15);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem 0;
  color: #fff;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1.5rem; color: var(--color-text-muted); max-width: 65ch; }
a { color: inherit; text-decoration: none; }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6rem 0; position: relative; overflow: hidden; }
.section-sm { padding: 4rem 0; }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { display: flex; flex-direction: column; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

/* Components */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-primary);
  color: #0f172a;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

/* Cards */
.card {
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
}

/* Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s ease;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #0f172a;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--color-primary); }

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px; /* nav offset */
  background: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.15), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(251, 191, 36, 0.08), transparent 40%);
}
.hero-content {
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: var(--color-primary);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Features / Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  grid-auto-rows: minmax(200px, auto);
}
.bento-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.05);
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.bento-item.large { grid-column: span 8; } /* Spans 2/3 width */
.bento-item.tall { grid-row: span 2; }

.bento-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  margin-bottom: auto;
}

/* Footer */
.site-footer {
  background: #020617;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 0;
  margin-top: 4rem;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--color-text-muted); }
.footer-links a:hover { color: #fff; }

/* Utilities */
.text-highlight { color: var(--color-primary); }
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; } /* Hide nav on mobile for now */
  .bento-item { grid-column: span 12 !important; }
  h1 { font-size: 2.5rem; }
}