/* ==========================================================================
   ANIRJAN BRAND DESIGN SYSTEM
   Philosophy: "Not Without People"
   Aesthetic: Cosmic Zen, Obsidian Glass, Luminous Accents & Mindful Micro-interactions
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-primary: #05070c;
  --bg-secondary: #090e17;
  --bg-tertiary: #101624;
  --bg-card: rgba(16, 23, 38, 0.65);
  --bg-card-hover: rgba(22, 32, 53, 0.85);
  --bg-glass: rgba(10, 14, 26, 0.72);

  /* Accents & Glows */
  --gold-primary: #f3c276;
  --gold-light: #fbe6c2;
  --gold-dark: #b8860b;
  --gold-glow: rgba(243, 194, 118, 0.28);
  
  --cyan-primary: #4deeea;
  --cyan-glow: rgba(77, 238, 234, 0.25);
  --indigo-primary: #6366f1;
  --emerald-primary: #10b981;
  
  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #f3c276;
  
  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(243, 194, 118, 0.35);
  --border-glass: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Cinzel', serif;

  /* Shadows & Blurs */
  --blur-glass: blur(18px);
  --shadow-subtle: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px var(--gold-glow);
  --shadow-cyan: 0 0 30px var(--cyan-glow);
  
  /* Spacing */
  --container-max: 1240px;
  --section-pad: 80px 0;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Theme Variables (Toggleable) */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.8);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-active: rgba(184, 134, 11, 0.4);
  --border-glass: rgba(0, 0, 0, 0.1);
  --gold-glow: rgba(217, 119, 6, 0.2);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Global Ambient Cosmic Background */
.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 50% 20%, rgba(30, 41, 69, 0.35) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(243, 194, 118, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(77, 238, 234, 0.04) 0%, transparent 40%);
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.025;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

.font-serif {
  font-family: var(--font-serif);
}

.gradient-text-gold {
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 40%, var(--gold-primary) 80%, #d49a3f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan-primary) 80%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(243, 194, 118, 0.08);
  border: 1px solid rgba(243, 194, 118, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary);
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Links & Buttons Reset */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-smooth);
}

/* Section Wrapper */
section {
  padding: var(--section-pad);
  position: relative;
  z-index: 2;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(243, 194, 118, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(243, 194, 118, 0.5);
}
