:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #f43f5e;
  --accent: #0ea5e9;
  --background: #f8fafc;
  --foreground: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
}


header {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--primary);
}

.logo-icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.signup-btn {
  background: var(--primary);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.signup-btn:hover {
  background: var(--primary-dark);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--foreground);
  cursor: pointer;
}


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

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: var(--muted);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.primary-btn {
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s;
  display: inline-block;
}

.primary-btn:hover {
  background: var(--primary-dark);
}

.secondary-btn {
  background: transparent;
  color: var(--primary);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  border: 2px solid var(--primary);
  transition: all 0.2s;
}

.secondary-btn:hover {
  background: var(--primary);
  color: white;
}


.cv-preview {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: transform 0.3s;
}

.cv-preview:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.cv-header {
  height: 60px;
  background: var(--primary);
  border-radius: 6px;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.cv-content, .cv-section {
  margin-bottom: 2rem;
}

.cv-line {
  height: 12px;
  background: var(--border);
  border-radius: 6px;
  margin-bottom: 1rem;
}

.cv-line.short {
  width: 60%;
}


.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.features > p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 4rem;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.feature-icon.purple { background: var(--primary); }
.feature-icon.pink { background: var(--secondary); }
.feature-icon.blue { background: var(--accent); }


.how-it-works {
  background: white;
  padding: 6rem 2rem;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--muted);
}




.cta {
  background: var(--primary);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta .primary-btn {
  background: white;
  color: var(--primary);
}

.cta .primary-btn:hover {
  background: var(--background);
}


footer {
  background: var(--foreground);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 1200px;
  margin: 0 auto;
}


@media (max-width: 1024px) {
  .hero {
      grid-template-columns: 1fr;
      text-align: center;
      padding-top: 6rem;
  }

  .hero-buttons {
      justify-content: center;
  }

  .feature-cards,
  .steps,
  .example-grid {
      grid-template-columns: 1fr;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
  }

  .menu-toggle {
      display: block;
  }

  .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      padding: 1rem;
      flex-direction: column;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav-links.active {
      display: flex;
  }

  .hero-content h1 {
      font-size: 2.5rem;
  }

  .cv-preview {
      max-width: 400px;
      margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .footer-content {
      flex-direction: column;
      gap: 2rem;
      text-align: center;
  }

  .footer-links {
      flex-direction: column;
      gap: 1rem;
  }

  section {
      padding: 4rem 1rem;
  }

  .hero {
      padding: 6rem 1rem 2rem;
  }
}


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

section {
  animation: fadeIn 1s ease-out;
}

section:target {
  animation: highlight 1s ease-out;
}

@keyframes highlight {
  0% { background-color: rgba(37, 99, 235, 0.1); }
  100% { background-color: transparent; }
}