@import url("../styles/components/base.css");
/* Container */
.set-container,
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* Plans Section */
.plans {
  padding: clamp(100px, 12vw, 140px) 0 clamp(80px, 12vw, 120px);
  position: relative;
  background: radial-gradient(
      circle at 70% 30%,
      rgba(0, 191, 99, 0.05) 0%,
      transparent 50%
    ),
    var(--dark-secondary);
}

.section-title {
  text-align: center;
  margin-bottom: clamp(60px, 10vw, 80px);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: clamp(16px, 3vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title p {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-primary);
  font-weight: 400;
  line-height: 1.6;
}

.plans-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 32px);
  margin-top: clamp(40px, 8vw, 60px);
}

.plan-card {
  background: rgba(30, 35, 40, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(32px, 6vw, 40px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 191, 99, 0.2);
  border-color: var(--primary);
}

.plan-header {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 32px);
}

.plan-name {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: clamp(8px, 1.5vw, 12px);
}

.plan-price {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-price span {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  font-weight: 500;
}

.plan-features {
  flex: 1;
  margin-bottom: clamp(24px, 4vw, 32px);
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(8px, 1.5vw, 12px) 0;
  transition: all 0.6s ease;
  font-size: clamp(0.9rem, 1.7vw, 1rem);
}

.feature-icon {
  color: var(--primary);
  font-size: 1.1em;
  flex-shrink: 0;
  transition: all 0.6s ease;
}

.plan-card:hover .feature-icon {
  transform: scale(1.1);
}

.plan-footer {
  text-align: center;
}

.order-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  padding: clamp(12px, 2.5vw, 16px) clamp(24px, 5vw, 32px);
  border-radius: 12px;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.order-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 32px rgba(0, 191, 99, 0.3);
  border-color: var(--accent);
}

/* Features Section */
.features {
  padding: clamp(80px, 12vw, 120px) 0;
  position: relative;
  background: radial-gradient(
      circle at 70% 30%,
      rgba(0, 191, 99, 0.05) 0%,
      transparent 50%
    ),
    var(--dark-secondary);
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: clamp(24px, 4vw, 32px);
  margin-top: clamp(40px, 8vw, 60px);
}

.feature-card {
  background: rgba(30, 35, 40, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(32px, 6vw, 40px);
  text-align: center;
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-origin: center;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 20px;
  transform: scale(0.8);
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 191, 99, 0.2);
  border-color: var(--primary);
}

.feature-card:hover::before {
  opacity: 0.08;
  transform: scale(1);
}

.feature-card > * {
  position: relative;
  z-index: 2;
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-icon-large {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--primary);
  margin: 0 auto clamp(16px, 3vw, 24px) auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(0, 191, 99, 0.1);
  border-radius: 50%;
  border: 2px solid rgba(0, 191, 99, 0.2);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: center;
  width: 56px;
  height: 56px;
}

.feature-card:hover .feature-icon-large {
  background: rgba(0, 191, 99, 0.2);
  border-color: var(--primary);
  box-shadow: 0 0 32px rgba(0, 191, 99, 0.5), 0 0 64px rgba(0, 191, 99, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.tag {
  display: inline-block;
  background: rgba(0, 191, 99, 0.15);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  font-weight: 600;
  margin-bottom: clamp(12px, 2vw, 16px);
  border: 1px solid rgba(0, 191, 99, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card:hover .tag {
  background: rgba(0, 191, 99, 0.25);
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 191, 99, 0.2);
}

.feature-card h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: clamp(12px, 2vw, 16px);
  color: var(--text-primary);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card:hover h3 {
  transform: translateY(-2px);
  text-shadow: 0 2px 8px rgba(0, 191, 99, 0.3);
}

.feature-card p {
  color: var(--text-primary);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.6;
  margin-top: auto;
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card:hover p {
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Additional mobile styles */

@media (max-width: 1200px) {
  .features-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .navigation-links {
    gap: clamp(16px, 3vw, 24px);
  }
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: clamp(50px, 8vw, 60px);
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(30px, 5vw, 40px);
  }

  .navigation-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .features-container {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 24px);
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 40px);
  }

  .company-detail {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(4px, 1vw, 6px);
    padding: clamp(12px, 2vw, 16px) 0;
  }
}

@media (max-width: 480px) {
  .feature-card {
    min-height: 280px;
    padding: clamp(24px, 5vw, 28px);
  }

}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.3s !important;
  }

  .hero::before {
    animation: none;
  }
}

/* Loading animation for page */
@keyframes pageLoad {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
