/* 🎨 VisaGuide Global - Professional Design System V2 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors - Sophisticated Palette */
  --primary: #6366f1; /* Indigo 500 */
  --primary-glow: rgba(99, 102, 241, 0.4);
  --secondary: #10b981; /* Emerald 500 */
  --surface: #0f172a; /* Slate 900 */
  --surface-header: rgba(15, 23, 42, 0.8);
  --card: rgba(30, 41, 59, 0.5);
  --card-border: rgba(148, 163, 184, 0.1);
  --text-main: #f8fafc;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --white: #ffffff;
  
  /* Glassmorphism Refined */
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(16px);
  
  /* Utils */
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.4s var(--ease);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--surface);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  background: radial-gradient(circle at 0% 0%, #1e1b4b 0%, #0f172a 100%);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { color: var(--text-dim); }

/* Disclaimer Premium */
.disclaimer-bar {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.05), rgba(245, 158, 11, 0.1));
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  padding: 0.75rem 0;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  backdrop-filter: var(--glass-blur);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Premium Navbar */
nav {
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
  background: var(--surface-header);
  backdrop-filter: var(--glass-blur);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.header-search {
  position: relative;
  flex: 1;
  max-width: 500px;
  display: flex;
  align-items: center;
}

.header-search .search-input {
  padding: 0.75rem 1rem 0.75rem 3rem;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: none;
}

.header-search .search-icon {
  left: 1rem;
  font-size: 1rem;
}

.nav-logo, .nav-actions {
  flex: 0 0 auto;
  min-width: 200px;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.btn-glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--white);
  backdrop-filter: var(--glass-blur);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  gap: 0.5rem;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: var(--white);
}

@media (max-width: 768px) {
  .header-search {
    display: none; /* Hide on mobile to avoid clutter, or we could make it expand */
  }
  .nav-logo, .nav-actions {
    min-width: auto;
  }
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dim);
  transition: var(--transition);
  font-size: 0.9rem;
}

.nav-link:hover { color: var(--white); }

/* Buttons Refined */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
  filter: brightness(1.1);
}

.fade-in {
  animation: fadeIn 0.8s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
