/* Premium main styles: hero, templates, preview, forms, pricing */

/* Hero */
.hero{min-height:72vh;background-size:cover;background-position:center;position:relative;display:flex;align-items:center;padding:4rem 0;border-bottom:1px solid rgba(15,23,42,0.03)}
.hero .overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,27,71,0.65),rgba(63,36,140,0.45));mix-blend-mode:multiply}
.hero .container{position:relative;z-index:2}
.hero h1{font-size:clamp(2rem,4.5vw,3.4rem);line-height:1.02;color:#fff;margin-bottom:.6rem}
.hero p.lead{color:rgba(255,255,255,0.9);font-size:1.125rem;margin-bottom:1.25rem}
.hero .cta-group a{margin-right:.6rem}

/* subtle floating shapes */
.hero::after{content:'';position:absolute;right:-6%;top:-6%;width:48%;height:120%;background:radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06), transparent 30%), radial-gradient(circle at 80% 80%, rgba(255,255,255,0.04), transparent 20%);pointer-events:none}

/* How it works cards */
.how-card{border-radius:14px;padding:1.8rem;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 8px 30px rgba(16,24,40,0.06);transition:transform .28s cubic-bezier(.2,.9,.3,1)}
.how-card:hover{transform:translateY(-8px)}
.how-card .icon{width:64px;height:64px;border-radius:12px;background:linear-gradient(135deg,var(--primary),var(--accent));display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:700}

/* Templates grid */
.template-card .card{border-radius:14px;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease;padding:0}
.template-card .card:hover{transform:scale(1.03);box-shadow:0 18px 40px rgba(16,24,40,0.08)}
.template-card .card img{height:200px;object-fit:cover}
.template-card .card-body{padding:1.2rem}
.badge-cat{background:linear-gradient(90deg, rgba(51,102,255,0.12), rgba(108,99,255,0.08));color:var(--primary);font-weight:700;border-radius:8px;padding:.35rem .6rem}

/* Form styles */
.form-card{background:var(--surface);padding:1.6rem;border-radius:14px;box-shadow:var(--shadow-sm)}
.form-step{display:none}
.form-step.active{display:block}
.form-control{border-radius:10px;padding:.85rem .9rem}
.stepper{display:flex;gap:8px;align-items:center;margin-bottom:1rem}
.stepper .step{width:48px;height:48px;border-radius:10px;background:#fff;box-shadow:var(--shadow-sm);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--muted)}

/* Preview */
.preview-box{background:linear-gradient(180deg,#fff,#fbfdff);padding:2rem;border-radius:14px;box-shadow:var(--shadow-lg);min-height:320px}
.preview-box h3{margin-bottom:.25rem}
.preview-badges .badge{border-radius:10px}

/* Pricing cards */
.pricing-card{border-radius:14px;padding:1.8rem;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 8px 30px rgba(16,24,40,0.06);transition:transform .2s ease}
.pricing-card.recommended{transform:translateY(-8px);border:2px solid rgba(51,102,255,0.12)}
.pricing-card .price{font-size:2rem;font-weight:800;color:var(--primary)}

/* Footer */
footer{background:transparent;padding:3rem 0;color:var(--muted)}
footer a{color:inherit}

/* Responsive */
@media (max-width: 991.98px){
  .hero{min-height:48vh;padding:3rem 0}
  .template-card .card img{height:160px}
}
@media (max-width: 575.98px){
  .hero h1{font-size:1.8rem}
  .template-card .card img{height:140px}
  .preview-box{min-height:220px}
}

/* Micro-interactions */
.btn-ghost{background:transparent;border:1px solid rgba(15,23,42,0.06);padding:.5rem .75rem;border-radius:10px}

/* Utility spacing */
.container{max-width:1100px}

/* Hero Section - Modern Design */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 50%, #f5f7ff 100%);
}

/* Animated Background Shapes */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: float 20s ease-in-out infinite;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  bottom: -80px;
  left: -80px;
  animation-delay: 7s;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #6366f1, #a78bfa);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* Hero Container */
.hero-section .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero Content */
.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
}

.badge-icon {
  font-size: 1.125rem;
}

.badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6366f1;
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: #1e293b;
  margin: 0 0 24px 0;
}

.hero-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 2px;
  opacity: 0.3;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #64748b;
  margin: 0 0 32px 0;
  max-width: 540px;
}

/* CTA Buttons */
.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero-btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero-btn span {
  position: relative;
  z-index: 1;
}

.hero-btn svg {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.hero-btn:hover svg {
  transform: translateX(4px);
}

.hero-btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
  color: #ffffff;
}

.hero-btn-secondary {
  background: #ffffff;
  color: #6366f1;
  border: 2px solid #6366f1;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
}

.hero-btn-secondary:hover {
  background: #6366f1;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, #cbd5e1, transparent);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.visual-card {
  position: relative;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 30px 60px rgba(99, 102, 241, 0.15);
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.visual-card:hover {
  transform: translateY(-10px) rotateY(2deg);
}

.visual-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: 32px;
  filter: blur(40px);
  z-index: -1;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.visual-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.visual-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  animation: float 3s ease-in-out infinite;
}

.visual-badge-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.visual-badge-2 {
  bottom: 15%;
  right: -8%;
  animation-delay: 1.5s;
}

.badge-emoji {
  font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-section {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .visual-badge-1,
  .visual-badge-2 {
    left: 50%;
    transform: translateX(-50%);
  }

  .visual-badge-1 {
    top: -20px;
  }

  .visual-badge-2 {
    bottom: -20px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0 40px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-btn {
    padding: 14px 24px;
    font-size: 0.9375rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.8125rem;
  }
}

/* Features Section - Modern Card Design */
.features-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

/* Header */
.features-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.features-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.feature-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-badge.primary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  color: #6366f1;
}

.feature-badge.secondary {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.features-main-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.features-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

/* Feature Card */
.feature-card {
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 48px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

/* Glow Effect */
.feature-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover .feature-card-glow {
  opacity: 1;
}

/* Icon Box */
.feature-icon-box {
  margin-bottom: 24px;
}

.feature-icon-circle {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 20px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon-circle::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 20px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon-circle {
  transform: scale(1.1) rotate(-8deg);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
}

.feature-card:hover .feature-icon-circle::after {
  opacity: 0.15;
}

.feature-emoji {
  font-size: 2.5rem;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-emoji {
  transform: scale(1.2);
}

/* Feature Content */
.feature-content {
  flex: 1;
  margin-bottom: 20px;
}

/* Text */
.feature-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 12px 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
  color: #6366f1;
}

.feature-description {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* Feature Link */
.feature-link {
  margin-top: auto;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.feature-card:hover .feature-link {
  opacity: 1;
  transform: translateY(0);
}

.feature-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #6366f1;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.feature-link a:hover {
  gap: 10px;
}

.feature-link svg {
  transition: transform 0.3s ease;
}

.feature-link a:hover svg {
  transform: translateX(4px);
}

/* CTA Buttons */
.features-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-features-primary,
.btn-features-secondary {
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-features-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-features-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.4);
  color: #ffffff;
}

.btn-features-secondary {
  background: #ffffff;
  color: #6366f1;
  border: 2px solid #6366f1;
}

.btn-features-secondary:hover {
  background: #6366f1;
  color: #ffffff;
  transform: translateY(-2px);
}

.features-note {
  width: 100%;
  margin-top: 20px;
  font-size: 0.875rem;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 991.98px) {
  .features-main-title {
    font-size: 2.25rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }

  .feature-card {
    padding: 32px 28px;
  }

  .feature-icon-circle {
    width: 70px;
    height: 70px;
  }

  .feature-emoji {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .features-section {
    padding: 80px 0;
  }

  .features-main-title {
    font-size: 1.875rem;
  }

  .features-subtitle {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .feature-icon-circle {
    width: 64px;
    height: 64px;
  }

  .feature-emoji {
    font-size: 1.75rem;
  }

  .feature-title {
    font-size: 1.25rem;
  }
}
  

  .btn-features-primary,
  .btn-features-secondary {
    display: block;
    max-width: 280px;
  }



/* How It Works Section - Modern Design */
.how-it-works-section {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.how-it-works-section::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.how-it-works-header {
  text-align: center;
  margin-bottom: 60px;
}

.how-it-works-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.how-it-works-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

/* Steps Container */
.steps-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Step Cards */
.step-card {
  flex: 1;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  border: 2px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 380px;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.step-card:hover::before {
  opacity: 1;
}

/* Step Number Badge */
.step-number-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
  z-index: 2;
}

/* Step Icon */
.step-icon-box {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e5edff 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0 24px 0;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon-box {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3);
}

.step-icon {
  font-size: 2.5rem;
  transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
  transform: scale(1.1);
}

/* Step Content */
.step-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.step-description {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.step-link {
  margin-top: auto;
}

.step-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6366f1;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.08);
}

.step-link a:hover {
  background: rgba(99, 102, 241, 0.15);
  transform: translateX(4px);
  color: #4f46e5;
}

/* Step Connector */
.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
  align-self: center;
  position: relative;
  margin-top: 40px;
}

.step-connector::before {
  content: '→';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  color: #94a3b8;
  background: #ffffff;
  padding: 4px 8px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .steps-container {
    flex-direction: column;
    gap: 40px;
  }

  .step-connector {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
    margin: 0 auto;
  }

  .step-connector::before {
    content: '↓';
    transform: translate(-50%, -50%);
  }

  .step-card {
    min-height: auto;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .how-it-works-section {
    padding: 60px 0;
  }

  .how-it-works-header {
    margin-bottom: 40px;
  }

  .how-it-works-title {
    font-size: 1.75rem;
  }

  .how-it-works-subtitle {
    font-size: 1rem;
  }

  .step-card {
    padding: 35px 24px;
  }

  .step-icon-box {
    width: 80px;
    height: 80px;
  }

  .step-icon {
    font-size: 2rem;
  }

  .step-title {
    font-size: 1.25rem;
  }
}

/* Pricing Section - Modern Design */
.pricing-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.pricing-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Pricing Cards */
.pricing-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 32px;
  border: 2px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

/* Featured Card */
.pricing-card-featured {
  border-color: #6366f1;
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
  transform: scale(1.05);
}

.pricing-card-featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
  letter-spacing: 0.3px;
}

/* Card Header */
.pricing-card-header {
  text-align: center;
  padding-bottom: 32px;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 32px;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 20px 0;
}

.plan-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 12px;
}

.currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #64748b;
  margin-top: 8px;
  margin-right: 4px;
}

.amount {
  font-size: 4rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
}

.period {
  font-size: 1.125rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 24px;
  margin-left: 4px;
}

.plan-description {
  font-size: 0.9375rem;
  color: #64748b;
  margin: 0;
}

/* Features List */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  font-size: 0.9375rem;
  color: #1e293b;
  font-weight: 500;
  border-radius: 10px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* .feature-item:hover {
  background: #f8fafc;
  transform: translateX(4px);
  color: #2d3748 !important;
} */

/* .feature-item:hover::before {
  opacity: 1;
  color: #2d3748 !important;
} */

.feature-item.disabled {
  color: #94a3b8;
}

.feature-item.disabled:hover {
  background: transparent;
  transform: none;
}

.feature-item.disabled span {
  text-decoration: line-through;
  opacity: 0.6;
}

.feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 2px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

/* .feature-item:hover .feature-icon {
  background: rgba(99, 102, 241, 0.15);
  transform: scale(1.1) rotate(5deg);
  color: #2d3748 !important;
} */

.feature-item.disabled .feature-icon {
  background: rgba(203, 213, 225, 0.1);
}

.feature-item.disabled:hover .feature-icon {
  transform: none;
}

/* Plan Buttons */
.plan-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.plan-btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.plan-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
  color: #ffffff;
}

.plan-btn-outline {
  background: transparent;
  color: #6366f1;
  border: 2px solid #6366f1;
}

.plan-btn-outline:hover {
  background: #6366f1;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

/* Pricing Footer */
.pricing-footer {
  text-align: center;
  margin-top: 48px;
}

.pricing-note {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
  .pricing-section {
    padding: 60px 0;
  }

  .pricing-header {
    margin-bottom: 40px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 500px;
  }

  .pricing-card-featured {
    transform: scale(1);
  }

  .pricing-card-featured:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .pricing-title {
    font-size: 1.75rem;
  }

  .pricing-subtitle {
    font-size: 1rem;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .amount {
    font-size: 3rem;
  }
}

/* ================================
   Templates Section
   ================================ */

.templates-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

/* Templates Header */
.templates-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.templates-header-content {
  flex: 1;
  min-width: 300px;
}

.templates-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.templates-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}

/* Filter Dropdown */
.templates-filter-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #475569;
  margin: 0;
}

.template-filter {
  padding: 12px 40px 12px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1e293b;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  min-width: 180px;
}

.template-filter:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

.template-filter:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Templates Grid */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

/* Template Card */
.template-card {
  opacity: 1;
  transition: all 0.3s ease;
}

.template-card[style*="display: none"] {
  display: none !important;
}

.template-card-inner {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.template-card-inner:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Template Image */
.template-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f1f5f9;
}

.template-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.template-card-inner:hover .template-image {
  transform: scale(1.05);
}

/* Template Overlay */
.template-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.template-card-inner:hover .template-overlay {
  opacity: 1;
}

.template-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #ffffff;
  color: #6366f1;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.template-card-inner:hover .template-btn {
  transform: translateY(0);
}

.template-btn:hover {
  background: #6366f1;
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.5);
}

.template-btn svg {
  transition: transform 0.3s ease;
  width: 18px;
  height: 18px;
}

.template-btn:hover svg {
  transform: translateX(5px);
}

/* Template Info */
.template-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.template-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
}

.template-category {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  padding: 4px 12px;
  border-radius: 6px;
  width: fit-content;
}

/* Templates CTA */
.templates-cta {
  text-align: center;
}

.templates-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #6366f1;
  background: #ffffff;
  border: 2px solid #6366f1;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.templates-view-all:hover {
  background: #6366f1;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.templates-view-all svg {
  transition: transform 0.3s ease;
}

.templates-view-all:hover svg {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .templates-section {
    padding: 80px 0;
  }

  .templates-header {
    margin-bottom: 48px;
  }

  .templates-title {
    font-size: 2rem;
  }

  .templates-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 767.98px) {
  .templates-section {
    padding: 60px 0;
  }

  .templates-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
  }

  .templates-title {
    font-size: 1.75rem;
  }

  .templates-subtitle {
    font-size: 1rem;
  }

  .templates-filter-wrapper {
    width: 100%;
  }

  .template-filter {
    flex: 1;
  }

  .templates-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 575.98px) {
  .templates-title {
    font-size: 1.5rem;
  }

  .filter-label {
    display: none;
  }
}
