/* ==========================================================================
   Satyabrat "Sanu" Ratho — Executive Portfolio Design System
   High-Legibility, Perfectly Balanced Luxury Light Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Canvas Backgrounds */
  --bg-primary: #FAF9F6;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #FFFFFF;
  --bg-subtle: #E2E8F0;

  /* Card Surfaces */
  --bg-card: #FFFFFF;
  --bg-card-solid: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  
  /* Brand Luxury Bronze Gold & Amber */
  --gold-950: #451A03;
  --gold-900: #78350F;
  --gold-800: #92400E;
  --gold-700: #B45309;
  --gold-600: #D97706;
  --gold-500: #F59E0B;
  --gold-200: #FDE68A;
  --gold-100: #FEF3C7;
  --gold-50: #FFFBEB;

  /* Deep Oceanic Sapphire / Cyan Accents */
  --cyan-900: #0C4A6E;
  --cyan-800: #075985;
  --cyan-700: #0369A1;
  --cyan-600: #0284C7;
  --cyan-100: #E0F2FE;
  --cyan-50: #F0F9FF;

  /* Emerald Impact Tokens */
  --emerald-900: #064E3B;
  --emerald-800: #065F46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-100: #D1FAE5;
  --emerald-50: #ECFDF5;

  /* Crisp Typography */
  --text-primary: #090D16;     /* Deep Jet Obsidian */
  --text-secondary: #1E293B;   /* Slate 800 */
  --text-body: #334155;        /* Slate 700 - Deep & Highly Readable */
  --text-muted: #64748B;       /* Slate 500 */

  /* Borders & Dividers */
  --border-light: rgba(226, 232, 240, 0.95);
  --border-card: #CBD5E1;
  --border-gold: rgba(180, 83, 9, 0.35);
  --border-gold-hover: rgba(180, 83, 9, 0.7);

  /* Multi-layer Soft Shadows */
  --shadow-subtle: 0 2px 10px -2px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 22px 45px -8px rgba(15, 23, 42, 0.14), 0 6px 16px -2px rgba(180, 83, 9, 0.12);
  --shadow-gold: 0 8px 24px -4px rgba(180, 83, 9, 0.32);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Smooth Scroll */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.25;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
  border: 2px solid #F1F5F9;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-700);
}

/* Background Ambient Lighting */
.ambient-glow-1 {
  position: absolute;
  top: 2%;
  left: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(250, 249, 246, 0) 70%);
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  top: 38%;
  right: 3%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, rgba(250, 249, 246, 0) 70%);
  pointer-events: none;
  filter: blur(100px);
  z-index: 0;
}

/* High-Visibility Distinct Venture & Media Card Surfaces */
.venture-card, .media-card {
  border-radius: 1.75rem !important;
  box-shadow: 0 8px 25px -4px rgba(15, 23, 42, 0.08), 0 3px 8px -2px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.venture-card:hover, .media-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 22px 45px -8px rgba(15, 23, 42, 0.14), 0 6px 18px -2px rgba(180, 83, 9, 0.12) !important;
}

/* Floating Capsule Navbar */
.navbar-capsule-container {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  padding: 0.6rem 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Text Gradients */
.gradient-text-gold {
  background: linear-gradient(135deg, #78350F 0%, #B45309 35%, #D97706 70%, #92400E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 900;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #0C4A6E 0%, #0369A1 40%, #0284C7 80%, #075985 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 900;
}

/* Badges */
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%);
  color: var(--gold-900);
  border: 1.5px solid rgba(180, 83, 9, 0.3);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 2px 6px -2px rgba(180, 83, 9, 0.1);
}

.badge-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #E0F2FE 0%, #F0F9FF 100%);
  color: var(--cyan-900);
  border: 1.5px solid rgba(3, 105, 161, 0.3);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 2px 6px -2px rgba(3, 105, 161, 0.1);
}

.badge-neutral {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #F1F5F9;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}

/* Luxury Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #B45309 0%, #78350F 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #D97706 0%, #92400E 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(180, 83, 9, 0.4);
  color: #FFFFFF !important;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #FFFFFF;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  border: 1.5px solid #CBD5E1;
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline:hover {
  background: #FFFFFF;
  border-color: var(--gold-700);
  color: var(--gold-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-outline:active {
  transform: translateY(0);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #B45309 0%, #78350F 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  border: none;
  box-shadow: 0 6px 20px -3px rgba(180, 83, 9, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #D97706 0%, #92400E 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(180, 83, 9, 0.4);
  color: #FFFFFF !important;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: var(--gold-900);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  border: 1.5px solid var(--border-gold);
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline-gold:hover {
  background: var(--gold-50);
  border-color: var(--gold-700);
  color: var(--gold-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

/* Floating Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.5deg); }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-fadeIn {
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Form Controls */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 0.95rem !important;
  color: #090D16 !important;
  font-weight: 500;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--gold-700) !important;
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.14) !important;
}
