/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Work+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Resume Now Inspired */
  --primary-color: #2E5BFF;
  /* Vibrant Royal Blue */
  --primary-hover: #1e45d1;
  --secondary-color: #F9D392;
  /* Champagne/Soft Orange */
  --secondary-hover: #e0be84;
  --accent-color: #00D2D3;
  /* Teal Accent */
  --dark-blue: #0A192F;
  /* Deep Navy for Footer/Hero */

  --bg-color: #FFFFFF;
  /* Crisp White Background */
  --bg-secondary: #F8F9FA;
  /* Light Gray Section */
  --card-bg: #FFFFFF;

  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #6C757D;

  --border-color: #E9ECEF;
  --success-color: #28A745;
  --danger-color: #DC3545;

  /* Typography */
  --font-heading: 'Work Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(46, 91, 255, 0.05);
  --shadow-md: 0 8px 16px rgba(46, 91, 255, 0.08);
  --shadow-lg: 0 16px 32px rgba(46, 91, 255, 0.12);
  --shadow-hover: 0 20px 40px rgba(46, 91, 255, 0.2);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
}

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

img,
svg,
video,
canvas {
  max-width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.display-1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.display-4 {
  font-weight: 700;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.2s ease;
}

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

/* --- Buttons --- */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  /* Pill shaped */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 14px rgba(46, 91, 255, 0.3);
}

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

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

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* --- Cards & Features --- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(46, 91, 255, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* --- Utilities --- */
.section-padding {
  padding: 6rem 0;
}

.bg-secondary-soft {
  background-color: var(--bg-secondary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), #00C6FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Trust Badge */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 0.9rem;
}

.stars {
  color: #FFC107;
}

/* Hero Visuals */
.hero-bg-blob {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 91, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1050;
  /* Ensure it stays above content */
}

.navbar-brand {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--primary-color) !important;
  font-weight: 800;
}

/* Extracted Inline Styles */
.hero-visual-glass {
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.mw-600 {
  max-width: 600px;
}

.mw-350 {
  max-width: 350px;
}

.h-350 {
  height: 350px;
}

.obj-fit-cover-top {
  object-fit: cover;
  object-position: top;
}

/* Landing template carousel */
.landing-templates-carousel {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 0 1rem;
}

.landing-templates-swiper {
  padding-bottom: 2.75rem;
}

.landing-templates-swiper .swiper-wrapper {
  align-items: stretch;
}

.landing-templates-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.landing-template-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 320px;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-template-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.landing-template-preview {
  flex-shrink: 0;
  height: 320px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.landing-template-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  align-items: center;
  text-align: center;
  padding: 1.15rem 1.25rem 1.35rem;
  min-height: 12.5rem;
}

.landing-template-heading {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 4.75rem;
  margin-bottom: 0.85rem;
}

.landing-template-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  margin: 0;
}

.landing-template-price-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.45rem 1rem;
  border-radius: 12px;
  background: #ecfdf3;
  color: #027a48;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid #abefc6;
  box-shadow: 0 4px 14px rgba(18, 183, 106, 0.12);
  margin-bottom: 0.85rem;
}

.landing-template-action {
  width: 100%;
  margin-top: auto;
}

.landing-templates-pagination {
  position: relative !important;
  bottom: 0 !important;
  margin-top: 0.5rem;
}

.landing-templates-pagination .swiper-pagination-bullet-active {
  background: var(--primary-color);
}

.landing-carousel-nav-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.25rem;
}

.landing-carousel-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  margin: 0;
  color: var(--primary-color);
  background: #fff;
  border: 1px solid rgba(46, 91, 255, 0.2);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-carousel-nav:hover {
  background: rgba(46, 91, 255, 0.06);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.landing-carousel-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.landing-carousel-nav i {
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 767.98px) {
  html {
    scroll-padding-top: 4.5rem;
  }

  .section-padding {
    padding: 3.25rem 0;
  }

  .display-1 {
    font-size: clamp(2.2rem, 13vw, 3rem);
    line-height: 1.05;
  }

  .display-4 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .lead {
    font-size: 1rem;
  }

  .btn,
  .btn-lg {
    min-height: 48px;
    padding: 0.75rem 1.15rem;
  }

  .landing-page .hero-bg-blob {
    opacity: 0.65;
    right: -22rem;
    top: -18rem;
  }

  .landing-template-card {
    max-width: min(100%, 22rem);
  }

  .landing-template-preview {
    height: 230px;
  }

  .landing-template-body {
    min-height: auto;
    padding: 1rem;
  }

  .landing-template-heading {
    min-height: auto;
  }

  .landing-carousel-nav {
    height: 2.5rem;
    width: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .trust-badge {
    align-items: flex-start;
    border-radius: 18px;
    line-height: 1.35;
    width: 100%;
  }

  .landing-page .btn {
    width: 100%;
  }

  .feature-card {
    padding: 1.25rem !important;
  }
}