/* ============================================================
   AKS RESEARCH ANALYSIS — GLOBAL DESIGN SYSTEM
   Color Palette: Deep Navy + Warm Gold + Ivory
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Primary Colors */
  --navy-950: #06111f;
  --navy-900: #0b1d30;
  --navy-800: #0f2540;
  --navy-700: #14305a;
  --navy-600: #1a3d6e;
  --navy-200: #c8d8ec;
  --navy-100: #e4edf8;
  --navy-50:  #f2f6fc;

  /* Gold Palette */
  --gold-700: #8a6520;
  --gold-600: #b07d2a;
  --gold-500: #c9963a;
  --gold-400: #dba84e;
  --gold-300: #e8c270;
  --gold-200: #f2d99a;
  --gold-100: #faf0d8;

  /* Text */
  --text-primary: #0b1d30;
  --text-secondary: #3a5470;
  --text-muted: #6b87a8;
  --text-light: #ffffff;

  /* Surfaces */
  --surface-white: #ffffff;
  --surface-cream: #faf8f4;
  --surface-light: #f4f7fb;

  /* Brand gradients */
  --grad-navy: linear-gradient(135deg, #06111f 0%, #0f2540 50%, #14305a 100%);
  --grad-gold: linear-gradient(135deg, #b07d2a 0%, #e8c270 50%, #dba84e 100%);
  --grad-hero: linear-gradient(135deg, #06111f 0%, #0b1d30 40%, #14305a 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(6,17,31,0.08);
  --shadow-md: 0 8px 28px rgba(6,17,31,0.12);
  --shadow-lg: 0 20px 50px rgba(6,17,31,0.16);
  --shadow-gold: 0 8px 24px rgba(176,125,42,0.3);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--surface-light);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.main-content { flex: 1; }

/* ===== CONTAINERS ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-100);
  color: var(--gold-600);
  border: 1px solid var(--gold-300);
  padding: 0.4rem 1.2rem;
  border-radius: 60px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.section-header h2 span {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
}

/* ===== PAGE TITLE BANNER ===== */
.page-banner {
  background: var(--grad-hero);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-gold);
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--surface-light);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: white;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.page-banner h1 span { color: var(--gold-300); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--gold-200); font-size: 0.95rem; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb span { color: var(--navy-200); font-size: 0.85rem; }
.breadcrumb .sep { color: var(--navy-200); }

/* ===== GOLD DIVIDER ===== */
.gold-divider {
  width: 60px;
  height: 4px;
  background: var(--grad-gold);
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.85rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.98rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-gold);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(176,125,42,0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--gold-300);
  color: var(--gold-300);
  transform: translateY(-3px);
}

.btn-navy {
  background: var(--navy-800);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-navy:hover {
  background: var(--navy-700);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ===== CARDS ===== */
.card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ===== ICON BOX ===== */
.icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.icon-box-gold {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
  color: var(--gold-600);
}

.icon-box-navy {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: white;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* ===== FORM ELEMENTS ===== */
.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid var(--navy-100);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text-primary);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(201,150,58,0.12);
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-800);
  margin-bottom: 0.5rem;
}

/* ===== TABLE ===== */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.styled-table th {
  background: var(--navy-800);
  color: white;
  padding: 1rem 1.4rem;
  text-align: left;
  font-weight: 600;
}

.styled-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.styled-table th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }

.styled-table td {
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid var(--navy-100);
  color: var(--text-secondary);
  vertical-align: top;
}

.styled-table tr:last-child td { border-bottom: none; }
.styled-table tr:nth-child(even) td { background: var(--surface-cream); }
.styled-table tr:hover td { background: var(--gold-100); }

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
  .container { padding: 0 1.2rem; }
  .section-header { margin-bottom: 2.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
}
