:root {
  --accent: #D10506;
  --accent-dark: #D10506;
  --success: #00c864;
  --muted: #a0aec0;
  --transition: 300ms cubic-bezier(.2, .9, .3, 1);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  background: #191919;
  color: #FFFFFF;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 80px 20px 0;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Simplified Hero */
.service-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.hero-bg-gradient {
  display: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent);
}

.h1 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #ff4343);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.h2 {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
  font-weight: 400;
}

/* Page Grid - Single column */
.page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* Main Content */
.content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.content section {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content h3 {
  font-size: 1.75rem;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
  font-weight: 600;
}

/* Hide the "Pricing & Packages" heading */
.content > section:nth-child(4) h3 {
  display: none;
}

/* Hide the back to services button section */
.content > section:nth-child(6) {
  display: none;
}

/* Hide Overview, Features, Benefits, Stats sections */
.content > section:nth-child(1),
.content > section:nth-child(2),
.content > section:nth-child(3),
.content > section:nth-child(5) {
  display: none;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.feature::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    rgba(209, 5, 6, 0.18),
    rgba(209, 5, 6, 0.18),
    rgba(209, 5, 6, 0.18)
  );
  animation: rotateGlow 6s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.feature:hover::before {
  opacity: 1;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(209, 5, 6, 0.18);
  border-color: rgba(209, 5, 6, 0.4);
}

.feature .fa-stack {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  text-shadow: 0 0 20px rgba(209, 5, 6, 0.6);
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.feature:hover .fa-stack {
  transform: scale(1.2);
  text-shadow: 0 0 35px rgba(209, 5, 6, 1);
}

.feature strong {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.feature .small {
  color: var(--muted);
  margin-top: 0.5rem;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.benefit {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.benefit::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    rgba(209, 5, 6, 0.18),
    rgba(209, 5, 6, 0.18),
    rgba(209, 5, 6, 0.18)
  );
  animation: rotateGlow 6s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.benefit:hover::before {
  opacity: 1;
}

.benefit:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(209, 5, 6, 0.18);
  border-color: rgba(209, 5, 6, 0.4);
}

.benefit strong {
  color: #ffffff;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.benefit .small {
  position: relative;
  z-index: 1;
}

/* Pricing Section */
.pricing {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem 0;
}

.plan {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 2rem;
  width: 300px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.plan::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    rgba(209, 5, 6, 0.18),
    rgba(209, 5, 6, 0.18),
    rgba(209, 5, 6, 0.18)
  );
  animation: rotateGlow 6s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.plan::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.plan:hover::before {
  opacity: 1;
}

.plan:hover::after {
  opacity: 1;
}

.plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(209, 5, 6, 0.18);
  border-color: rgba(209, 5, 6, 0.4);
}

.plan.popular {
  border-color: rgba(209, 5, 6, 0.4);
  box-shadow: 0 15px 40px rgba(209, 5, 6, 0.18);
  transform: scale(1.02);
}

.plan.popular::after {
  opacity: 1;
}

.plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
}

.plan-title {
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.price {
  font-weight: 900;
  font-size: 2.5rem;
  margin: 0.5rem 0;
  background: linear-gradient(135deg, var(--accent), #ff4343);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.price-period {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.features-list {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.features-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

.features-list li::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
  margin-right: 0.7rem;
  font-size: 1rem;
}

.cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--accent), #ff4343);
  font-weight: 700;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  will-change: transform;
  transform: translateZ(0);
  box-shadow: 0 8px 20px rgba(209, 5, 6, 0.3);
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(209, 5, 6, 0.4);
}

/* Stats Section */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #00d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* Back Button */
.back-btn {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: all var(--transition);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
  font-size: 0.9rem;
  margin-top: 2rem;
}

.back-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    rgba(209, 5, 6, 0.18),
    rgba(209, 5, 6, 0.18),
    rgba(209, 5, 6, 0.18)
  );
  animation: rotateGlow 6s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.back-btn:hover::before {
  opacity: 1;
}

.back-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(209, 5, 6, 0.18);
  border-color: rgba(209, 5, 6, 0.4);
}

/* Hide Aside */
.aside-card {
  display: none !important;
}

/* Lead text */
.lead {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.small {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 80px 15px 0;
  }

  .container {
    width: 100%;
  }

  .h1 {
    font-size: 1.75rem;
  }

  .h2 {
    font-size: 0.95rem;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }

  .content h3 {
    font-size: 1.4rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .plan {
    width: 100%;
  }

  .pricing {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 70px 10px 0;
  }

  .h1 {
    font-size: 1.5rem;
  }

  .h2 {
    font-size: 0.9rem;
  }

  .content h3 {
    font-size: 1.2rem;
  }

  .plan {
    padding: 1.5rem;
  }

  .feature {
    padding: 1rem;
    gap: 0.8rem;
  }

  .feature .fa-stack {
    font-size: 1.2rem;
  }

  .price {
    font-size: 2rem;
  }
}
