@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom CSS Variables */
:root {
  --background: #ffffff;
  --foreground: #252525;
  --primary: #373737;
  --border: #eaeaea;
}

.dark {
  --background: #252525;
  --foreground: #ffffff;
  --primary: #fafafa;
  --border: #454545;
}

/* Optional Global Styling */
body {
  background-color: #ffffff;
  background-color: var(--background);
  color: #252525;
  color: var(--foreground);
}
body{background:#f3f4f6;font-family:Arial,Helvetica,sans-serif;margin:0;padding:20px}
input,textarea{width:100%;padding:8px;margin:6px 0;border:1px solid #ddd;border-radius:4px}
button{padding:8px 12px;border-radius:4px;border:0;background:#2563eb;color:#fff;cursor:pointer}
button[disabled]{opacity:.6}
:root {
  --glow: #6bffa2;
  --time: 10s;
}

/* MAIN SCREEN */
.universe {
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #02030a 5%, #000000 90%);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 1;
  transition: opacity 1.2s ease-in-out;
  -webkit-transition:;
  -moz-transition:;
  -ms-transition:;
  -o-transition:;
}

/* EXIT as BLACK HOLE */
.black-hole {
  animation: suckIn 100s ease-in forwards;
  -webkit-animation: suckIn 100s ease-in forwards;
}

@keyframes suckIn {
  0% { transform: scale(1); filter: blur(0px); -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); }
  100% { transform: scale(0.01); filter: blur(20px); opacity: 0; -webkit-transform:; -moz-transform:; -ms-transform:; -o-transform:; }
}

/* NEBULA CLOUD */
.nebula {
  position: absolute;
  width: 180%;
  height: 180%;
  background:
  url("https://i.ibb.co/NF6mZ8x/nebula.png") no-repeat center;
  opacity: 0.25;
  filter: blur(20px);
  animation: nebulaFlow 35s ease-in-out infinite alternate;
  -webkit-filter: blur(20px);
  -webkit-animation: nebulaFlow 35s ease-in-out infinite alternate;
}

@keyframes nebulaFlow {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(100) rotate(360deg); 
    -webkit-transform: scale(100) rotate(360deg); 
    -moz-transform: scale(100) rotate(360deg); 
    -ms-transform: scale(100) rotate(360deg); 
    -o-transform: scale(100) rotate(360deg); }
}

/* STARFIELD MULTILAYER */
.stars, .stars-2, .stars-3 {
  position: absolute;
  background: url("https://www.transparenttextures.com/patterns/stardust.png") repeat;
}

.stars { width: 400%; height: 400%; opacity: .4; animation: drift1 90s linear infinite; -webkit-animation: drift1 90s linear infinite; }
.stars-2 { width: 300%; height: 300%; opacity: .25; animation: drift2 140s linear infinite reverse; -webkit-animation: drift2 140s linear infinite reverse; }
.stars-3 { width: 500%; height: 500%; opacity: .12; animation: drift3 180s linear infinite; filter: blur(1.2px); -webkit-animation: drift3 180s linear infinite; }

@keyframes drift1 { from { transform: translate(0,0);} to { transform: translate(-500px,-300px); -webkit-transform: translate(-500px,-300px); -moz-transform: translate(-500px,-300px); -ms-transform: translate(-500px,-300px); -o-transform: translate(-500px,-300px); } }
@keyframes drift2 { from { transform: translate(0,0);} to { transform: translate(-300px,-200px); -webkit-transform: translate(-300px,-200px); -moz-transform: translate(-300px,-200px); -ms-transform: translate(-300px,-200px); -o-transform: translate(-300px,-200px); } }
@keyframes drift3 { from { transform: translate(0,0);} to { transform: translate(-700px,-400px); -webkit-transform: translate(-700px,-400px); -moz-transform: translate(-700px,-400px); -ms-transform: translate(-700px,-400px); -o-transform: translate(-700px,-400px); } }

/* COMET */
.comet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 20%;
  left: -10%;
  box-shadow: 0 0 20px #57ff9c;
  animation: cometFly 6s ease-in-out infinite;
}

@keyframes cometFly {
  0% { transform: translateX(0) translateY(0) scale(1); opacity: 1; }
  70% { opacity: 1; filter: blur(0px); }
  100% { transform: translateX(180vw) translateY(50vh) scale(0.8); opacity: 0; filter: blur(6px); }
}

/* CENTER LOGO */
.loader-logo {
  width: 170px;
  filter: drop-shadow(0 0 25px #6bffa2);
  filter: drop-shadow(0 0 25px var(--glow));
  opacity: 0;
  animation: logoReveal 4s ease forwards 2s;
  -webkit-filter:;
}

@keyframes logoReveal {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

/* PLANET ORBIT */
.orbit {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  position: absolute;
  animation: orbitSpin 10s linear infinite;
}

@keyframes orbitSpin { 
  to { transform: rotate(360deg); }
}

/* PLANET (changing resume icons) */
.planet {
  width: 85px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  animation: breathe 2.5s ease-in-out infinite;
  filter: drop-shadow(0 0 15px #6bffa2);
  filter: drop-shadow(0 0 15px var(--glow));
}

@keyframes breathe {
  0%,100% { transform: translateX(-50%) scale(0.95); }
  50% { transform: translateX(-50%) scale(1.2); }
}
/* ==================== NAVBAR CONTAINER ==================== */
.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==================== BRAND SECTION ==================== */
.navbar-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: -moz-fit-content;
  min-width: fit-content;
}

.logo-Name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #1a1a1a !important;
  -webkit-text-decoration: none;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-Name:hover {
  transform: translateY(-2px);
  letter-spacing: 3px;
}

.brand-subtitle {
  font-size: 0.75rem !important;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 !important;
  opacity: 0.85;
}

/* ==================== HAMBURGER MENU ==================== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger-icon {
  font-size: 1.8rem;
  color: #1a1a1a;
  transition: all 0.3s ease;
  display: block;
  line-height: 1;
}

.hamburger:hover .hamburger-icon {
  transform: scale(1.1);
  color: #667eea;
}

/* ==================== NAVBAR LINKS ==================== */
.navbar-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navbar-link {
  font-size: 0.95rem;
  font-weight: 600;
  -webkit-text-decoration: none;
  text-decoration: none;
  color: #333;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  white-space: nowrap;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Underline animation effect */
.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.navbar-link:hover {
  color: #667eea;
  transform: translateY(-2px);
}

.navbar-link:hover::after {
  width: 100%;
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 768px) {
  .navbar-content {
    padding: 1rem 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .logo-Name {
    font-size: 1.4rem;
  }

  .brand-subtitle {
    font-size: 0.65rem !important;
  }

  /* Mobile Menu */
  .navbar-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .navbar-links.open {
    max-height: 500px;
    padding: 1rem 0;
  }

  .navbar-link {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f5f5f5;
    width: 100%;
    display: block;
    margin: 0;
  }

  .navbar-link::after {
    bottom: 0;
    height: 3px;
    width: 0;
  }

  .navbar-link:active {
    background: #f8f9fa;
  }

  .navbar-link:active::after {
    width: 3px;
    left: 0;
    bottom: 0;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .navbar-content {
    padding: 0.8rem 1rem;
  }

  .logo-Name {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .brand-subtitle {
    font-size: 0.6rem !important;
    letter-spacing: 0.5px;
  }

  .hamburger-icon {
    font-size: 1.5rem;
  }

  .navbar-link {
    font-size: 0.9rem;
  }
}

/* ==================== DARK BACKGROUND DETECTION ==================== */
/* When navbar is over dark background */
.navbar-content.dark-bg {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-content.dark-bg .navbar-link {
  color: #ffffff;
}

.navbar-content.dark-bg .hamburger-icon {
  color: #ffffff;
}

.navbar-content.dark-bg .logo-Name {
  color: #ffffff !important;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ==================== ANIMATION & TRANSITIONS ==================== */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-links.open {
  animation: slideDown 0.3s ease;
}

/* Smooth transitions for theme changes */
.navbar-content,
.navbar-link,
.hamburger-icon {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
  .navbar-content,
  .navbar-link,
  .hamburger-icon,
  .navbar-links {
    transition: none;
  }
}

/* Focus states for keyboard navigation */
.navbar-link:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
  border-radius: 4px;
}

.hamburger:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==================== HOVER EFFECTS ==================== */
.navbar-content:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}/* Modern Home CSS - Lightning Fast & SEO Optimized */

/* ===== CRITICAL CSS (LCP Optimization) ===== */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary-color: #64748b;
  --accent-color: #f59e0b;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  color: var(--text-primary);
  background-color: #ffffff;
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2563eb;
  color: var(--primary-color);
  -webkit-text-decoration: none;
  text-decoration: none;
  transition: color 150ms ease-in-out;
  transition: color var(--transition-fast);
}

a:hover {
  color: #1d4ed8;
  color: var(--primary-dark);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  border: none;
  border-radius: 0.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  -webkit-text-decoration: none;
  text-decoration: none;
  transition: all 150ms ease-in-out;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn:focus {
  outline: 2px solid #2563eb;
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: #f8fafc;
  background: var(--bg-secondary);
  color: #1e293b;
  color: var(--text-primary);
  border: 2px solid #e2e8f0;
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background: #f1f5f9;
  background: var(--bg-tertiary);
  border-color: #2563eb;
  border-color: var(--primary-color);
  color: #2563eb;
  color: var(--primary-color);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.btn-icon {
  font-size: 1.25rem;
  transition: transform 150ms ease-in-out;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ===== HERO SECTION (LCP Critical) ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, (blue) 0%, #f8fafc 100%);
  background: linear-gradient(145deg, (blue) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 4rem;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: max(2.5rem, min(5vw, 4rem));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-title-line {
  color: #000000;
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 0.1s; }
.hero-title-line:nth-child(2) { animation-delay: 0.2s; }
.hero-title-line:nth-child(3) { animation-delay: 0.3s; }

.hero-title-line.highlight {
  background: linear-gradient(135deg, #2563eb, #f59e0b);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content.hero-description {
  font-size: 1.25rem;
  color: #000000;
  margin-bottom: 2rem;
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s ease 0.4s forwards;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s ease 0.5s forwards;
}

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

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #2563eb;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: #64748b;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s ease 0.6s forwards;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 1s ease 0.7s forwards;
}

.hero-card {
  position: relative;
  width: 300px;
  height: 400px;
  background: white;
  border-radius: 1rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-15deg);
  transition: transform 500ms ease-in-out;
  transition: transform var(--transition-slow);
}

.hero-card:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.card-preview {
  width: 100%;
  height: 100%;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.preview-header {
  height: 60px;
  background: #2563eb;
  background: var(--primary-color);
  border-radius: 0.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.preview-content {
  height: 200px;
  background: white;
  border-radius: 0.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.preview-footer {
  height: 40px;
  background: #f1f5f9;
  background: var(--bg-tertiary);
  border-radius: 0.5rem;
  border-radius: var(--radius-md);
}
.stats-box{
  display: flex;
  gap: 1rem;
  margin-top: 2rem; 
  font-size: 0.9rem;
  color: #64748b;
  color: var(--text-secondary);
}
/* ===== SECTIONS ===== */
.features-section,
.how-it-works-section,
.templates-section,
.technical-section,
.benefits-section,
.cover-letter-section,
.biodata-section,
.faq-section,
.cta-section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: max(2rem, min(4vw, 3rem));
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1e293b;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}
.keywords-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}
.testimonials-section {
  background: #f8fafc;
  background: var(--bg-secondary);
  padding: 4rem 0;
  border-left: 3px solid blueviolet;
  border-right: 3px solid blueviolet;
  border-radius: 0.75rem;
  border-radius: var(--radius-lg);
  margin: 4rem 0;
}
.testimonials-section h2 {
  text-align: center;
  font-size: max(2rem, min(4vw, 3rem));
  font-weight: 800;
  margin-bottom: 1rem;
  color: #1e293b;
  color: var(--text-primary);
}
.keywords-section span{
   align-items: center;
   border: 1px solid #e2e8f0;
   border: 1px solid var(--border-color);
   borderradius: 24px;
   font-size: 0.875rem;
   background: #FFF1DE;
   color: #64748b;
   color: var(--text-secondary);
   padding: 0.5rem 1rem;
   border-radius: 0.5rem;
   border-radius: var(--radius-md);
}
/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: #ffffff;
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 1rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  border: 1px solid var(--border-color);
  transition: all 300ms ease-in-out;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #f59e0b);
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease-in-out;
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 0.75rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
  color: var(--text-primary);
}

.feature-description {
  color: #64748b;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== STEPS ===== */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 3rem;
  gap: 3rem;
  margin-top: 3rem;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
}

.step-image {
  width: 200px;
  height: 150px;
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  box-shadow: var(--shadow-md);
}

.step-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 300ms ease-in-out;
  transition: transform var(--transition-normal);
}

.step-image:hover img {
  transform: scale(1.05);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
  color: var(--text-primary);
}

.step-description {
  color: #64748b;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== BENEFITS ===== */
.benefits-section {
  background: #f8fafc;
  background: var(--bg-secondary);
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 4rem;
  gap: 4rem;
  align-items: center;
}

.benefits-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #1e293b;
  color: var(--text-primary);
}

.benefits-list {
  list-style: none;
  margin-bottom: 2rem;
}

.benefits-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: #64748b;
  color: var(--text-secondary);
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2563eb;
  color: var(--primary-color);
  font-weight: 800;
}

.benefits-image {
  display: flex;
  justify-content: center;
}

.benefits-image img {
  max-width: 400px;
  border-radius: 1rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  box-shadow: var(--shadow-xl);
}

/* ===== CAROUSEL SECTIONS ===== */
.templates-section,
.technical-section,
.cover-letter-section,
.biodata-section {
  background: #ffffff;
  background: var(--bg-primary);
}

.loading-spinner {
  text-align: center;
  padding: 2rem;
  color: #64748b;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}


:root {
  --hub-bg: #f8fbff;
  --hub-surface: #ffffff;
  --hub-surface-2: #f1f4fb;
  --hub-border: #dce6f5;
  --hub-text: #152033;
  --hub-muted: #5c6b84;
  --hub-faint: #98a8bf;
  --hub-primary: #0b6bcb;
  --hub-primary-dark: #084f97;
  --hub-primary-bg: #e8f1fb;
  --hub-dot: #0b6bcb;
  --hub-shadow-sm: 0 2px 8px rgba(11, 107, 203, 0.06);
  --hub-shadow-md: 0 8px 24px rgba(11, 107, 203, 0.10);
  --hub-shadow-hover: 0 12px 32px rgba(11, 107, 203, 0.14);
  --hub-radius: 18px;
  --hub-radius-sm: 12px;
  --hub-container: 1240px;
  --hub-gap: 20px;
  --hub-transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Reset for hub section === */
.home-link-hub *,
.home-link-hub *::before,
.home-link-hub *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === Main Section Wrapper === */
.home-link-hub {
  background: linear-gradient(160deg, #f0f6ff 0%, #f8fbff 60%, #f5f7fc 100%);
  padding: 64px 20px;
  width: 100%;
}

/* === Header Block === */
.hub-header {
  max-width: 1240px;
  max-width: var(--hub-container);
  margin: 0 auto 36px auto;
}

.hub-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0b6bcb;
  color: var(--hub-primary);
  background: #e8f1fb;
  background: var(--hub-primary-bg);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.hub-header h2 {
  font-size: max(24px, min(3.5vw, 40px));
  line-height: 1.2;
  color: #152033;
  color: var(--hub-text);
  font-weight: 700;
  max-width: 780px;
  margin-bottom: 12px;
  text-wrap: balance;
}

.hub-intro {
  font-size: max(15px, min(1.5vw, 17px));
  line-height: 1.75;
  color: #5c6b84;
  color: var(--hub-muted);
  max-width: 700px;
}

/* === Grid Layout === */
.hub-grid {
  max-width: 1240px;
  max-width: var(--hub-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 20px;
  grid-gap: var(--hub-gap);
  gap: 20px;
  gap: var(--hub-gap);
}

/* === Individual Card === */
.hub-card {
  background: #ffffff;
  background: var(--hub-surface);
  border: 1px solid #dce6f5;
  border: 1px solid var(--hub-border);
  border-radius: 18px;
  border-radius: var(--hub-radius);
  padding: 24px 22px;
  box-shadow: 0 2px 8px rgba(11, 107, 203, 0.06);
  box-shadow: var(--hub-shadow-sm);
  transition: box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1), transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: box-shadow var(--hub-transition), transform var(--hub-transition);
  min-width: 0;
}

.hub-card:hover {
  box-shadow: 0 12px 32px rgba(11, 107, 203, 0.14);
  box-shadow: var(--hub-shadow-hover);
  transform: translateY(-3px);
}

/* === Card Heading === */
.hub-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #152033;
  color: var(--hub-text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #dce6f5;
  border-bottom: 1.5px solid var(--hub-border);
}

/* === Link List === */
.hub-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hub-card li {
  position: relative;
  padding-left: 15px;
  line-height: 1.6;
}

.hub-card li + li {
  margin-top: 9px;
}

.hub-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0b6bcb;
  background: var(--hub-dot);
  flex-shrink: 0;
}

/* === Links === */
.hub-card a {
  font-size: 14px;
  color: #084f97;
  color: var(--hub-primary-dark);
  -webkit-text-decoration: none;
  text-decoration: none;
  line-height: 1.6;
  transition: color 200ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: color var(--hub-transition);
  display: inline;
}

.hub-card a:hover,
.hub-card a:focus-visible {
  color: #0b6bcb;
  color: var(--hub-primary);
  -webkit-text-decoration: underline;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hub-card a:focus-visible {
  outline: 2px solid #0b6bcb;
  outline: 2px solid var(--hub-primary);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .home-link-hub {
    padding: 52px 18px;
  }

  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .hub-header {
    margin-bottom: 28px;
  }
}

/* Large Mobile: 2 columns still */
@media (max-width: 720px) {
  .home-link-hub {
    padding: 40px 14px;
  }

  .hub-header {
    margin-bottom: 22px;
  }

  .hub-header h2 {
    font-size: 24px;
  }

  .hub-intro {
    font-size: 15px;
  }

  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hub-card {
    padding: 18px 16px;
    border-radius: 12px;
    border-radius: var(--hub-radius-sm);
  }

  .hub-card h3 {
    font-size: 15px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .hub-card a {
    font-size: 13px;
  }
}

/* Small Mobile: 1 column */
@media (max-width: 480px) {
  .home-link-hub {
    padding: 32px 12px;
  }

  .hub-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hub-card {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .hub-card:hover {
    transform: none;
  }

  .hub-card h3 {
    font-size: 15px;
  }

  .hub-card li + li {
    margin-top: 8px;
  }

  .hub-card a {
    font-size: 14px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .hub-card {
    transition: none;
  }

  .hub-card:hover {
    transform: none;
  }
}

/* ===== FAQ SECTION ===== */
.faq-section {
  /* background: var(--bg-secondary); */
}
.faq-section .container {
  display: flex;
  padding: 64px 16px 48px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-cta {
  background: white;
  color: #2563eb;
  color: var(--primary-color);
  font-size: 1.25rem;
  padding: 1.25rem 2.5rem;
}

.btn-cta:hover {
  background: #f8fafc;
  background: var(--bg-secondary);
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  box-shadow: var(--shadow-xl);
}

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 500ms ease-in-out;
  transition: all var(--transition-slow);
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: max(2rem, min(6vw, 3rem));
  }
  
  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-card {
    width: 250px;
    height: 350px;
  }
  
  .benefits-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .benefits-title {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .section-title {
    font-size: max(1.5rem, min(5vw, 2rem));
  }
  
  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .hero-title{
    font-size: small;
  }
  .modern-home-container h2{

  }
  .hero-content {
    padding: 0 1rem;
  }
  
  .btn-large {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .feature-card,
  .step-item {
    padding: 1.5rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .features-section,
  .how-it-works-section,
  .templates-section,
  .technical-section,
  .benefits-section,
  .cover-letter-section,
  .biodata-section,
  .faq-section,
  .cta-section {
    padding: 3rem 0;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* GPU acceleration for animations */
.hero-card,
.feature-card,
.btn {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Contain paint for better performance */
.hero-section,
.feature-card,
.step-image {
  contain: layout paint;
}

/* Optimize images */
img {
  content-visibility: auto;
}

/* Reduce reflows */
.hero-content,
.features-grid,
.steps-container {
  contain: layout;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles */
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid #2563eb;
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #333333;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --border-color: #475569;
  }
}
