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

:root {
  /* Premium color palette */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: rgba(18, 18, 28, 0.85);
  --bg-card-hover: rgba(28, 28, 42, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.04);
  
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #606078;
  
  --accent-1: #6366f1; /* Indigo */
  --accent-2: #8b5cf6; /* Purple */
  --accent-3: #06b6d4; /* Cyan */
  --accent-4: #f59e0b; /* Amber */
  --accent-5: #10b981; /* Emerald */
  --accent-6: #ef4444; /* Red */
  
  --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --gradient-hero: linear-gradient(135deg, #6366f1 0%, #8b5cf6 30%, #06b6d4 70%, #10b981 100%);
  --gradient-card: linear-gradient(145deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.04));
  
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(99, 102, 241, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--accent-3);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-1);
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.bg-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-1);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.bg-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-2);
  bottom: 10%;
  left: -10%;
  animation-delay: -7s;
}

.bg-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-3);
  top: 40%;
  right: 30%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(30px, 40px) scale(1.02); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.nav-link-cta {
  background: var(--gradient-primary);
  color: white !important;
  padding: 8px 18px;
}

.nav-link-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent-1);
  font-weight: 500;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-5);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.stat-card {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.8s both;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
  color: white;
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-email {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-5);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.btn-email:hover {
  background: rgba(16, 185, 129, 0.25);
  color: var(--accent-5);
}

.btn-apply {
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-1);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.btn-apply:hover {
  background: rgba(99, 102, 241, 0.25);
  color: var(--accent-1);
}

.btn-save {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ===== FILTERS BAR ===== */
.filters-bar {
  position: sticky;
  top: 60px;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.filters-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 8px 18px;
  min-width: 220px;
}

.search-box svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-box input {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  width: 100%;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: rgba(17, 17, 24, 0.6);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-1);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== COMPANY CARDS ===== */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

.company-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.5s ease both;
}

.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition);
}

.company-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.company-card:hover::before {
  opacity: 1;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.card-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.card-info {
  flex: 1;
  min-width: 0;
}

.card-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.card-industry {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-active {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-5);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-moderate {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-4);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-limited {
  background: rgba(239, 68, 68, 0.12);
  color: var(--accent-6);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-size {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-3);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.card-description {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.card-roles {
  margin-bottom: 14px;
}

.card-roles h4 {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.role-tag {
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--accent-1);
  font-weight: 500;
}

.card-salary {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 0.85rem;
}

.card-salary-label {
  color: var(--text-muted);
}

.card-salary-value {
  color: var(--accent-5);
  font-weight: 600;
}

.card-tip {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--accent-4);
  line-height: 1.5;
}

.card-tip::before {
  content: '💡 ';
}

.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-difficulty {
  position: absolute;
  top: 16px;
  right: 16px;
}

.difficulty-badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.diff-easy {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-5);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.diff-medium {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-4);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.diff-hard {
  background: rgba(239, 68, 68, 0.12);
  color: var(--accent-6);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.diff-very-hard {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-2);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* ===== PLATFORMS GRID ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.platform-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.platform-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.platform-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid var(--border-subtle);
}

.platform-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.platform-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.platform-rating {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.star {
  font-size: 0.9rem;
}

.star.filled {
  color: var(--accent-4);
}

.star.empty {
  color: var(--text-muted);
  opacity: 0.3;
}

.platform-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.platform-tips {
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--accent-3);
  margin-bottom: 16px;
}

.platform-tips::before {
  content: '⚡ ';
}

.platform-action {
  margin-top: auto;
}

/* ===== STRATEGY CARDS ===== */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.strategy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.strategy-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.strategy-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.strategy-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.strategy-card ul {
  list-style: none;
}

.strategy-card li {
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.strategy-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-1);
  font-weight: 600;
}

/* ===== SALARY SECTION ===== */
.salary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.salary-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.salary-card-main h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.salary-range {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.salary-currency {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
}

.salary-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.salary-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.salary-usd {
  color: var(--accent-5);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.salary-inr {
  color: var(--accent-4);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.salary-details {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.detail-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.detail-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.salary-perks {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.salary-perks h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.perk-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.perk-item:last-child {
  border-bottom: none;
}

.perk-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.perk-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.perk-item p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ===== VISA SECTION ===== */
.visa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.visa-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.visa-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.visa-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.visa-icon {
  font-size: 2rem;
}

.visa-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  flex: 1;
}

.visa-badge {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-1);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.visa-badge-recommended {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-5);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.visa-list {
  list-style: none;
}

.visa-list li {
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  line-height: 1.5;
}

.visa-list li:last-child {
  border-bottom: none;
}

.visa-list li strong {
  color: var(--text-primary);
}

/* ===== EMAIL BUILDER ===== */
.email-builder-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
}

.email-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-primary);
  outline: none;
  transition: all var(--transition);
}

.form-group input:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

.email-preview-container {
  display: flex;
  flex-direction: column;
}

.preview-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.email-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  flex: 1;
}

.email-subject {
  padding: 12px 16px;
  background: rgba(99, 102, 241, 0.06);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.email-body {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.email-body p {
  margin-bottom: 12px;
}

.email-body strong {
  color: var(--accent-1);
}

.email-quick-actions h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.quick-email-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-email-btn {
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  color: var(--accent-5);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quick-email-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  transform: translateY(-1px);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 300px;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--accent-1);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  color: var(--accent-5);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.2rem;
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .salary-grid {
    grid-template-columns: 1fr;
  }
  
  .visa-grid {
    grid-template-columns: 1fr;
  }
  
  .email-builder-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-subtle);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .companies-grid,
  .platforms-grid,
  .strategy-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .filters-bar .container {
    flex-direction: column;
  }
  
  .filter-group {
    justify-content: center;
  }
  
  .search-box {
    width: 100%;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

/* ===== NO RESULTS ===== */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.no-results h3 {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* ===== COMPANY CARD HIDDEN STATE ===== */
.company-card.hidden {
  display: none;
}

/* ===== DEFUNCT BADGE ===== */
.badge-defunct {
  background: rgba(239, 68, 68, 0.12);
  color: var(--accent-6);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ===== CV ANALYZER ===== */
.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 30px;
}

.cv-upload-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cv-dropzone {
  background: var(--bg-card);
  border: 2px dashed rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cv-dropzone:hover,
.cv-dropzone.dragover {
  border-color: var(--accent-1);
  background: rgba(99, 102, 241, 0.06);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

.cv-dropzone.dragover {
  transform: scale(1.02);
}

.dropzone-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.dropzone-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.dropzone-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  animation: bobUpDown 2s ease-in-out infinite;
}

@keyframes bobUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.dropzone-hint {
  color: var(--text-muted) !important;
  font-size: 0.78rem !important;
  margin-top: 12px;
}

.dropzone-uploaded {
  text-align: center;
}

.uploaded-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.dropzone-uploaded h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-5);
  margin-bottom: 4px;
}

.dropzone-uploaded p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

/* Toggle Switch */
.cv-attach-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.toggle-label input[type="checkbox"] {
  display: none;
}

.toggle-slider {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  position: relative;
  flex-shrink: 0;
  transition: all var(--transition);
}

.toggle-slider::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--text-muted);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: all var(--transition);
}

.toggle-label input:checked + .toggle-slider {
  background: rgba(16, 185, 129, 0.3);
}

.toggle-label input:checked + .toggle-slider::after {
  left: 23px;
  background: var(--accent-5);
}

.toggle-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.toggle-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
  padding-left: 56px;
}

/* CV Results */
.cv-results-container {
  min-height: 400px;
}

.cv-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.cv-placeholder h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.cv-placeholder p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 300px;
}

.cv-results {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Score Ring */
.score-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.score-ring {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  position: relative;
}

.score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 8;
}

.score-progress {
  fill: none;
  stroke: url(#scoreGradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  line-height: 1;
}

.score-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.score-verdict {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.score-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Category Bars */
.analysis-categories {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-name {
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-score {
  font-size: 0.85rem;
  font-weight: 700;
}

.category-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.category-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}

.bar-green {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.bar-yellow {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.bar-red {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.bar-blue {
  background: linear-gradient(90deg, #6366f1, #818cf8);
}

/* Feedback Cards */
.analysis-feedback {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.feedback-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feedback-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.5;
}

.feedback-pass {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.12);
  color: var(--accent-5);
}

.feedback-warn {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.12);
  color: var(--accent-4);
}

.feedback-fail {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.12);
  color: var(--accent-6);
}

.feedback-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* CV Status Bar in Email Builder */
.cv-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.cv-status-bar.cv-ready {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.15);
}

.cv-status-icon {
  font-size: 1.1rem;
}

.cv-status-text {
  color: var(--text-secondary);
}

.cv-status-text a {
  color: var(--accent-1);
  text-decoration: underline;
}

/* Loading Spinner */
.cv-loading {
  text-align: center;
  padding: 40px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(99, 102, 241, 0.15);
  border-top-color: var(--accent-1);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.cv-loading p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* CV Attachment Reminder Modal */
.cv-reminder-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cv-reminder-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cv-reminder-modal h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cv-reminder-modal p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.cv-reminder-filename {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-1);
  margin: 12px 0 20px;
}

.cv-reminder-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Responsive CV */
@media (max-width: 1024px) {
  .cv-grid {
    grid-template-columns: 1fr;
  }
}

