/*
Theme Name: ATS CV Maker
Theme URI: https://atscvmaker.in
Author: Screamed Out Studios
Author URI: https://screamedout.com
Description: Professional ATS CV Maker Portal - Clean minimal white UI with modern gradient accents
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: atscvmaker
Tags: resume, cv, ats, professional, minimal, clean
*/

/* ============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
  /* Brand Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-success: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --gradient-text: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);

  /* Base Colors */
  --white: #ffffff;
  --off-white: #fafafa;
  --bg-light: #f7f8fc;
  --border-light: #e8eaf0;
  --border-medium: #d1d5e0;

  /* Text Colors */
  --text-dark: #0f0f1a;
  --text-body: #3d3d5c;
  --text-muted: #8892a4;
  --text-light: #b0bac8;

  /* Brand Purple */
  --brand-primary: #667eea;
  --brand-secondary: #764ba2;
  --brand-accent: #4facfe;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(102, 126, 234, 0.08);
  --shadow-md: 0 8px 32px rgba(102, 126, 234, 0.12);
  --shadow-lg: 0 20px 60px rgba(102, 126, 234, 0.18);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 780px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-primary); text-decoration: none; transition: var(--transition-base); }
a:hover { color: var(--brand-secondary); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

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

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--sm {
  padding: var(--space-2xl) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1));
  color: var(--brand-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(102,126,234,0.15);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

/* Flex */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
  color: var(--white);
}

.btn--secondary {
  background: var(--white);
  color: var(--brand-primary);
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--brand-primary);
}

.btn--gradient-2 {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(79, 172, 254, 0.35);
}

.btn--gradient-2:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79, 172, 254, 0.5);
  color: var(--white);
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-md);
}

.btn--ghost {
  background: transparent;
  color: var(--text-body);
  padding: 10px 20px;
}

.btn--ghost:hover {
  background: var(--bg-light);
  color: var(--text-dark);
}

/* ============================================
   NAVBAR
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.site-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.site-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-nav__logo-mark {
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}

.site-nav__logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.site-nav__logo-text span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.site-nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.site-nav__links a:hover {
  color: var(--brand-primary);
  background: rgba(102, 126, 234, 0.06);
}

.site-nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

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

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero__bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.orb--1 {
  width: 600px; height: 600px;
  background: var(--brand-primary);
  top: -200px; right: -200px;
}

.orb--2 {
  width: 400px; height: 400px;
  background: #f093fb;
  bottom: -100px; left: -100px;
}

.orb--3 {
  width: 300px; height: 300px;
  background: var(--brand-accent);
  top: 40%; left: 40%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(102,126,234,0.08), rgba(240,147,251,0.08));
  border: 1px solid rgba(102,126,234,0.2);
  border-radius: var(--radius-full);
  padding: 6px 16px 6px 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-secondary);
  margin-bottom: var(--space-lg);
}

.hero__tag-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

.hero__title {
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-2xl);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-light);
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Visual */
.hero__visual {
  position: relative;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

.hero-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-light);
}

.hero-card__avatar {
  width: 52px; height: 52px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.hero-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.hero-card__title {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ats-score {
  margin-bottom: var(--space-lg);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.ats-score__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.ats-score__num {
  background: var(--gradient-success);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ats-score__bar {
  height: 8px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.ats-score__fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient-success);
  width: 92%;
  animation: fillBar 2s ease-out 0.5s both;
}

@keyframes fillBar {
  from { width: 0; }
}

.hero-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pill {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(102,126,234,0.08), rgba(118,75,162,0.08));
  color: var(--brand-primary);
  border: 1px solid rgba(102,126,234,0.15);
}

.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floatBadge 4s ease-in-out infinite;
}

.hero-badge--top { top: -20px; right: -20px; animation-delay: 0s; }
.hero-badge--bottom { bottom: -20px; left: -20px; animation-delay: 2s; }

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

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  background: var(--bg-light);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--border-light);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(102, 126, 234, 0.2);
}

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

.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-md);
}

.feature-card__icon--1 { background: linear-gradient(135deg, rgba(102,126,234,0.12), rgba(118,75,162,0.12)); }
.feature-card__icon--2 { background: linear-gradient(135deg, rgba(240,147,251,0.12), rgba(245,87,108,0.12)); }
.feature-card__icon--3 { background: linear-gradient(135deg, rgba(79,172,254,0.12), rgba(0,242,254,0.12)); }
.feature-card__icon--4 { background: linear-gradient(135deg, rgba(67,233,123,0.12), rgba(56,249,215,0.12)); }
.feature-card__icon--5 { background: linear-gradient(135deg, rgba(250,112,154,0.12), rgba(254,225,64,0.12)); }
.feature-card__icon--6 { background: linear-gradient(135deg, rgba(102,126,234,0.12), rgba(79,172,254,0.12)); }

.feature-card__title {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.feature-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0.2;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.step-title {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.step-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ============================================
   PRICING / LIMITS SECTION
   ============================================ */
.pricing {
  background: var(--bg-light);
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 2px solid var(--border-light);
  position: relative;
  transition: all var(--transition-slow);
}

.pricing-card--featured {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

.pricing-card--featured h3,
.pricing-card--featured p,
.pricing-card--featured li { color: rgba(255,255,255,0.92); }

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-warm);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin: var(--space-md) 0;
}

.pricing-amount sup { font-size: 1.2rem; vertical-align: super; }

.pricing-list {
  margin: var(--space-lg) 0;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
}

.pricing-card--featured .pricing-list li {
  border-bottom-color: rgba(255,255,255,0.15);
}

.pricing-list li::before {
  content: '✓';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(102,126,234,0.12);
  color: var(--brand-primary);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-card--featured .pricing-list li::before {
  background: rgba(255,255,255,0.2);
  color: white;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-label span { color: #f5576c; }

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: all var(--transition-base);
  outline: none;
  appearance: none;
}

.form-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

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

.form-input--error { border-color: #f5576c; }
.form-error { font-size: 0.82rem; color: #f5576c; margin-top: 4px; }
.form-hint { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

textarea.form-input { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

/* ============================================
   CARDS & PANELS
   ============================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
}

.card--sm { padding: var(--space-lg); border-radius: var(--radius-lg); }
.card--hover { transition: all var(--transition-slow); }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ============================================
   BADGES & PILLS
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.badge--success { background: rgba(67,233,123,0.12); color: #16a34a; }
.badge--warning { background: rgba(254,225,64,0.2); color: #b45309; }
.badge--danger  { background: rgba(245,87,108,0.12); color: #dc2626; }
.badge--info    { background: rgba(79,172,254,0.12); color: #0369a1; }
.badge--purple  { background: rgba(102,126,234,0.12); color: var(--brand-primary); }

/* ============================================
   PROGRESS BARS
   ============================================ */
.progress-bar {
  height: 6px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  transition: width 0.6s ease;
}

/* ============================================
   DASHBOARD LAYOUT
   ============================================ */
.dashboard-wrap {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.dashboard-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--border-light);
  padding: var(--space-xl) 0;
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}

.sidebar-nav {
  padding: 0 var(--space-md);
}

.sidebar-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0 var(--space-md);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: var(--transition-base);
  margin-bottom: 2px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: linear-gradient(135deg, rgba(102,126,234,0.08), rgba(118,75,162,0.08));
  color: var(--brand-primary);
}

.sidebar-nav a .nav-icon {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.dashboard-main {
  flex: 1;
  padding: var(--space-2xl);
  background: var(--bg-light);
  min-width: 0;
}

.dashboard-header {
  margin-bottom: var(--space-xl);
}

.dashboard-title {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

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

/* Stat Cards */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.stat-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.stat-card__limit {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Resume Cards */
.resume-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: all var(--transition-base);
}

.resume-card:hover {
  border-color: rgba(102,126,234,0.3);
  box-shadow: var(--shadow-md);
}

.resume-card__thumb {
  width: 56px; height: 72px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.resume-card__actions {
  margin-left: auto;
  display: flex;
  gap: var(--space-sm);
}

/* ============================================
   FILE UPLOAD ZONE
   ============================================ */
.upload-zone {
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--bg-light);
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--brand-primary);
  background: linear-gradient(135deg, rgba(102,126,234,0.04), rgba(118,75,162,0.04));
}

.upload-zone__icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.upload-zone__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.upload-zone__sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================
   PUBLIC PROFILE PAGE
   ============================================ */
.public-profile {
  background: var(--white);
  min-height: 100vh;
}

.profile-hero {
  background: var(--gradient-primary);
  padding: var(--space-3xl) 0;
  color: white;
  text-align: center;
}

.profile-avatar-wrap {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.4);
  overflow: hidden;
  margin: 0 auto var(--space-lg);
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.profile-name {
  font-size: 2.2rem;
  color: white;
  margin-bottom: var(--space-sm);
}

.profile-designation {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: var(--space-md);
}

.profile-socials {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.profile-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition-base);
}

.profile-socials a:hover { background: rgba(255,255,255,0.3); }

.profile-body {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
}

.profile-section-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-light);
}

.timeline-item {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: -24px;
  width: 2px;
  background: var(--border-light);
}

.timeline-item:last-child::before { display: none; }

.timeline-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.timeline-company { font-size: 0.82rem; color: var(--text-muted); }
.timeline-period  { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.footer-logo-mark {
  width: 36px; height: 36px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: white;
  margin-bottom: var(--space-md);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition-base);
}
.footer-links a:hover { color: white; padding-left: 4px; }

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.footer-dev {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-dev a { color: rgba(255,255,255,0.6); }
.footer-dev a:hover { color: white; }

/* ============================================
   ALERTS & NOTICES
   ============================================ */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.alert--success { background: rgba(67,233,123,0.1); color: #166534; border: 1px solid rgba(67,233,123,0.3); }
.alert--error   { background: rgba(245,87,108,0.1); color: #991b1b; border: 1px solid rgba(245,87,108,0.3); }
.alert--warning { background: rgba(254,225,64,0.15); color: #92400e; border: 1px solid rgba(254,225,64,0.4); }
.alert--info    { background: rgba(79,172,254,0.1); color: #075985; border: 1px solid rgba(79,172,254,0.3); }

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 26, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-2xl);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.modal-close {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
}

.modal-close:hover { background: var(--border-light); color: var(--text-dark); }

/* ============================================
   TABS
   ============================================ */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 4px;
  margin-bottom: var(--space-xl);
  border: 1px solid var(--border-light);
}

.tab-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-base);
  text-align: center;
  cursor: pointer;
  border: none;
  background: none;
}

.tab-btn.active {
  background: var(--white);
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   SUPPORT / FAQ
   ============================================ */
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border: none;
  transition: var(--transition-base);
}

.faq-question:hover { background: var(--bg-light); }

.faq-answer {
  padding: 0 var(--space-lg);
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-slow);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  padding: var(--space-sm) var(--space-lg) var(--space-md);
  max-height: 300px;
}

.faq-chevron {
  transition: transform var(--transition-base);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

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

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

@keyframes pulse-ring {
  0%   { transform: scale(0.9); opacity: 0.4; }
  50%  { transform: scale(1.1); opacity: 0.1; }
  100% { transform: scale(0.9); opacity: 0.4; }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease both;
}

.animate-fade-up--delay-1 { animation-delay: 0.1s; }
.animate-fade-up--delay-2 { animation-delay: 0.2s; }
.animate-fade-up--delay-3 { animation-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 3.5rem;
    --nav-height: 64px;
  }

  .container { padding: 0 var(--space-lg); }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__stats { gap: var(--space-xl); }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .site-nav__links { display: none; }
  .site-nav__cta .btn--secondary { display: none; }
  .nav-hamburger { display: flex; }

  .dashboard-sidebar { display: none; }
  .dashboard-main { padding: var(--space-lg); }

  .profile-body { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }

  .pricing-card { padding: var(--space-xl); }

  .hero-badge { display: none; }

  .modal { padding: var(--space-xl); }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
  .tabs { flex-direction: column; }
  .tab-btn { flex: none; }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner {
  width: 24px; height: 24px;
  border: 3px solid var(--border-light);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.btn .spinner { width: 16px; height: 16px; border-width: 2px; }
