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

:root {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}

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

.back-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  transition: background 0.2s, color 0.2s;
}

.back-home-link:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--border-color);
  padding: 20px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-menu a:hover {
  background: var(--bg-light);
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

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

.btn-dark {
  background: #0b1220;
  color: #ffffff;
}

.btn-dark:hover {
  background: #111827;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* Hero Section */
.hero-section {
  padding: 140px 20px 80px;
}

.gradient-orange {
  background: linear-gradient(to bottom, #fed7aa 0%, #ffffff 100%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.hero-description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.avatars {
  display: flex;
  margin-left: -8px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -8px;
}

.avatar-1 {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.avatar-2 {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
}

.avatar-3 {
  background: linear-gradient(135deg, #f472b6, #ec4899);
}

.social-proof span {
  font-size: 14px;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  max-width: 1000px;
  margin: 48px auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 80px auto 0;
}

.stat-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

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

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

/* Sections */
section {
  padding: 80px 20px;
}

.section-header {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Value Section */
.value-section {
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.feature-card {
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.icon-green {
  background: #d1fae5;
  color: #059669;
}

.icon-purple {
  background: #e9d5ff;
  color: #7c3aed;
}

.icon-red {
  background: #fee2e2;
  color: #dc2626;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* Why Choose Card */
.why-choose-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 48px;
}

.why-choose-card h3 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.benefit-item span {
  font-weight: 500;
  color: var(--text-dark);
}

/* Testimonials */
.testimonials-section {
  background: rgba(249, 250, 251, 0.5);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.testimonial-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* About Section */
.about-section {
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.about-content.reverse {
  margin-bottom: 0;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.about-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.brand-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
  padding: 48px;
  border-radius: 12px;
  text-align: center;
}

.brand-name {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
}

.brand-skill {
  color: var(--primary-color);
}

.brand-channel {
  color: var(--text-dark);
}

.brand-box p {
  color: var(--text-light);
}

/* Products Section */
.products-section {
  background: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.product-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s;
  position: relative;
}

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

.product-card.featured {
  border: 0.5px solid var(--primary-color);
}

.best-value-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-color);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.product-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-hero-slider {
  position: relative;
}

.template-hero-slides {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow: hidden;
  position: relative;
  scrollbar-width: none;
}

.template-hero-slides::-webkit-scrollbar {
  display: none;
}

.template-hero-slides img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  margin: 10px auto;
}

.template-hero-slider .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.template-hero-slider .slider-btn.prev {
  left: 12px;
}

.template-hero-slider .slider-btn.next {
  right: 12px;
}

.product-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.product-description {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.template-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0 16px;
  scroll-snap-type: x mandatory;
}

.template-scroll img {
  width: 220px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  scroll-snap-align: start;
  box-shadow: var(--shadow);
}

.thumb-carousel {
  overflow: hidden;
  padding: 10px 0 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: relative;
}

.thumb-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.thumb-carousel::-webkit-scrollbar,
.thumb-track::-webkit-scrollbar {
  display: none;
}

.thumb-track img {
  flex: 0 0 220px;
  width: 220px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  cursor: pointer;
  scroll-snap-align: start;
}

.thumb-carousel .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.thumb-carousel .slider-btn.prev {
  left: 8px;
}

.thumb-carousel .slider-btn.next {
  right: 8px;
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.image-modal.active {
  display: flex;
}

.image-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.image-modal .modal-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  transform: translateY(-50%);
  pointer-events: none;
}

.image-modal .modal-nav button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
}

.image-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
}

.product-buttons {
  display: flex;
  gap: 12px;
}

.product-buttons .btn {
  flex: 1;
}

/* ATS Checker */
.ats-checker {
  background: var(--bg-light);
}

.ats-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.ats-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.ats-card p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.upload-area {
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  background: rgba(59, 130, 246, 0.05);
}

.upload-area input {
  width: 100%;
}

.ats-result {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.result-card {
  min-width: 180px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: white;
  box-shadow: var(--shadow);
}

.result-card h4 {
  font-size: 16px;
  color: var(--text-light);
}

.result-card p {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 8px;
}

/* Template Detail Page */
.template-detail-hero {
  padding: 160px 20px 80px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0));
}

.template-detail-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.template-detail-hero p {
  max-width: 720px;
  color: var(--text-light);
}

.detail-section {
  padding: 60px 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.detail-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.detail-card h3 {
  margin-bottom: 12px;
}

.template-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}

.template-slider .slides {
  display: flex;
  transition: transform 0.4s ease;
}

.template-slider img {
  width: 100%;
  flex-shrink: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.slider-btn.prev {
  left: 16px;
}

.slider-btn.next {
  right: 16px;
}

.template-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.template-meta li {
  list-style: none;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: white;
  color: var(--text-light);
}

/* Contact Section */
.contact-section {
  background: white;
}

.contact-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
}

.contact-info h3,
.contact-form h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-item {
  margin-bottom: 24px;
}

.contact-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-item p {
  color: var(--text-dark);
  line-height: 1.6;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  transition: all 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Final CTA */
.final-cta {
  position: relative;
  padding: 80px 20px;
  background: rgba(249, 250, 251, 0.5);
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  background-image: url("/office-workers-looking-at-computer-screen.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.cta-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-content p {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 32px;
}

/* Footer */
.footer {
  background: #0b1220;
  color: #f5f5f5;
  padding: 48px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-logo span {
  font-size: 18px;
  font-weight: 700;
}

.footer-column p {
  color: #d1d5db;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: #d1d5db;
  font-size: 14px;
}

/* Generic content utilities for sub-pages */
.page-hero {
  padding: 140px 20px 60px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.1), rgba(255, 255, 255, 0));
  text-align: center;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--text-light);
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
}

.content-section {
  padding: 40px 20px 100px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.info-card,
.pricing-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.info-card h3,
.pricing-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.info-card p,
.pricing-card p,
.info-card ul,
.pricing-card ul {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.pricing-card ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-tag {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
}

.full-width-card {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 32px;
  box-shadow: var(--shadow);
}

.full-width-card h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.content-list {
  list-style: decimal;
  padding-left: 24px;
  color: var(--text-light);
}

.content-list li {
  margin-bottom: 12px;
}

/* Dashboard Layouts */
.dashboard {
  display: flex;
  min-height: 100vh;
  background: #f3f4f6;
}

.dashboard-sidebar {
  width: 260px;
  background: #0b1220;
  color: #fff;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dashboard-sidebar h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.dashboard-nav a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dashboard-content {
  flex: 1;
  padding: 40px;
}

.dashboard-content h1 {
  font-size: 32px;
  margin-bottom: 24px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-box {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.stat-box h4 {
  color: var(--text-light);
  margin-bottom: 8px;
}

.stat-box p {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
}

.table-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
}

.table-card th,
.table-card td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.table-card th {
  color: var(--text-light);
  font-weight: 600;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
}

/* Auth Pages */
.auth-wrapper {
  min-height: 100vh;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.auth-content {
  max-width: 900px;
  width: 100%;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.auth-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.auth-card h3 {
  margin-bottom: 16px;
}

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

.auth-card input,
.auth-card select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
}

.auth-card .btn {
  width: 100%;
}

/* Template Builder */
.builder-section {
  padding: 120px 0 80px;
  background: var(--bg-light);
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.builder-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.builder-card-header h3 {
  margin-bottom: 4px;
}

.builder-card-header p {
  color: var(--text-light);
}

.template-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.template-option {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
  background: var(--white);
}

.template-option:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.template-option input {
  display: none;
}

.template-option input:checked ~ .template-option-body {
  border-color: var(--primary-color);
  background: rgba(59, 130, 246, 0.05);
}

.template-option-body {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px dashed transparent;
  padding: 6px;
  border-radius: 10px;
}

.template-title {
  font-weight: 700;
  color: var(--text-dark);
}

.template-option p {
  color: var(--text-light);
  font-size: 14px;
}

.mini-preview {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.mini-preview.modern {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.mini-preview.corporate {
  background: linear-gradient(135deg, #0b1220 0%, #1f2937 100%);
}

.mini-preview.minimal {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.mini-preview::after,
.mini-preview::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
}

.mini-preview::before {
  top: 12px;
}

.mini-preview::after {
  bottom: 12px;
}

.color-pickers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.color-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.color-group label {
  font-weight: 600;
  font-size: 14px;
}

.color-group input[type="color"] {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 4px;
  cursor: pointer;
}

.builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.builder-note {
  color: var(--text-light);
  font-size: 13px;
}

.builder-status {
  min-height: 18px;
  font-weight: 600;
  color: var(--primary-dark);
}

.builder-help {
  color: var(--text-light);
  font-size: 14px;
  margin-top: auto;
}

.resume-preview {
  --header-color: #0b1220;
  --accent-color: #3b82f6;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.resume-header {
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.resume-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--header-color);
}

.resume-role {
  color: var(--text-light);
  font-weight: 600;
  margin-top: 4px;
}

.resume-contact {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 6px;
}

.resume-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.resume-section h4 {
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 12px;
  color: var(--header-color);
  margin-bottom: 8px;
}

.resume-section p {
  color: var(--text-dark);
  font-size: 14px;
}

.resume-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 0;
}

.resume-section li {
  position: relative;
  padding-left: 14px;
  color: var(--text-dark);
  font-size: 14px;
}

.resume-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
}

.resume-section.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.preview-modern .resume-header {
  background: linear-gradient(135deg, var(--header-color), var(--accent-color));
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px;
}

.preview-modern .resume-contact,
.preview-modern .resume-role {
  color: rgba(255, 255, 255, 0.85);
}

.preview-corporate {
  border-left: 6px solid var(--accent-color);
}

.preview-corporate .resume-header {
  background: var(--white);
  color: var(--header-color);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  padding-left: 0;
}

.preview-minimal {
  background: #fbfbfb;
  border-style: dashed;
}

.preview-minimal .resume-header {
  border-bottom: 1px dashed var(--border-color);
}

@media (max-width: 1024px) {
  .builder-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-actions .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-description {
    font-size: 16px;
  }

  .section-header h2,
  .cta-content h2,
  .page-hero h1 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn,
  .product-buttons {
    width: 100%;
  }

  .product-buttons {
    flex-direction: column;
  }

  .builder-section {
    padding: 80px 0 60px;
  }

  .builder-grid {
    grid-template-columns: 1fr;
  }

  .builder-actions {
    flex-direction: column;
  }

  .builder-actions .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-choose-card {
    padding: 24px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 24px;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}
