/*PREMIUM PLANS - Pricing Page Style
*/

:root {
  --primary: #3b82f6;
  --primary-dark: #1e40af;
  --primary-light: #dbeafe;
  --text-1: #f0f4ff;
  --text-2: #cbd5e1;
  --text-3: #94a3b8;
  --text-muted: #64748b;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-light: #0f172a;
  --border: #334155;
  --border-light: #475569;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --radius: 16px;
  --radius-sm: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-1);
  background: var(--bg-dark);
  line-height: 1.6;
}

/*HERO PLANS*/
.hero-plans {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
}

.hero-plans .hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 24%, rgba(102, 126, 234, 0.1) 25%, rgba(102, 126, 234, 0.1) 26%, transparent 27%, transparent 74%, rgba(102, 126, 234, 0.1) 75%, rgba(102, 126, 234, 0.1) 76%, transparent 77%, transparent),
    linear-gradient(0deg, transparent 24%, rgba(102, 126, 234, 0.1) 25%, rgba(102, 126, 234, 0.1) 26%, transparent 27%, transparent 74%, rgba(102, 126, 234, 0.1) 75%, rgba(102, 126, 234, 0.1) 76%, transparent 77%, transparent);
  background-size: 60px 60px;
  z-index: 0;
  opacity: 0.5;
}

.hero-plans .hero-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-plans .orb {
  position: absolute;
  filter: blur(60px);
  opacity: 0.3;
}

.hero-plans .orb-1 {
  width: 300px;
  height: 300px;
  background: #667eea;
  top: -50px;
  right: 100px;
}

.hero-plans .orb-2 {
  width: 250px;
  height: 250px;
  background: #764ba2;
  bottom: 0;
  left: 50px;
}

.hero-plans .hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 0.95rem;
  color: #667eea;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #667eea;
  border-radius: 50%;
  display: inline-block;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 20px 0;
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-3);
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.animate-in {
  animation: slideInUp 0.8s ease-out forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*  SECTION STYLES  */
.section {
  padding: 80px 20px;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  color: #667eea;
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.1;
}

.section-sub {
  text-align: center;
  color: var(--text-3);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/*  BILLING TOGGLE  */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.toggle-label {
  color: var(--text-2);
  font-weight: 500;
}

.save-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-left: 6px;
}

.toggle-switch {
  width: 60px;
  height: 34px;
  background: var(--border);
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  background: #667eea;
  border-radius: 50%;
  transition: all 0.3s;
}

/*  PRICING GRID  */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 30px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: #667eea;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.pricing-card.popular {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.plan-header {
  text-align: center;
  margin-bottom: 30px;
}

.plan-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-desc {
  color: var(--text-3);
  font-size: 0.95rem;
}

.pricing-display {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(102, 126, 234, 0.08);
  border-radius: var(--radius-sm);
}

.price {
  font-size: 2.2rem;
  font-weight: 900;
  display: block;
  color: #667eea;
}

.price-period {
  display: block;
  color: var(--text-3);
  font-size: 0.95rem;
}

.price-note {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 6px;
}

.enterprise-note {
  color: var(--text-3);
  font-size: 0.9rem;
  margin-top: 6px;
}

.btn-plan {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  border: none;
  font-size: 1rem;
  margin-bottom: 20px;
}

.btn-plan.starter {
  background: rgba(79, 140, 255, 0.15);
  color: #4f8cff;
  border: 1px solid #4f8cff;
}

.btn-plan.starter:hover {
  background: #4f8cff;
  color: white;
}

.btn-plan.professional {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-plan.professional:hover {
  box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

.btn-plan.enterprise {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid #fbbf24;
}

.btn-plan.enterprise:hover {
  background: #fbbf24;
  color: var(--bg-dark);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.features-list {
  list-style: none;
  flex-grow: 1;
}

.features-list li {
  padding: 12px 0;
  color: var(--text-2);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

.features-list li:last-child {
  border-bottom: none;
}

.feature-icon {
  font-weight: bold;
  color: #667eea;
  min-width: 18px;
}

/*  COMPARISON TABLE  */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 60px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

.comparison-table thead {
  background: rgba(102, 126, 234, 0.1);
}

.comparison-table th {
  padding: 20px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--border);
  color: #667eea;
}

.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-1);
}

.comparison-table tbody tr {
  transition: background 0.2s;
}

.comparison-table tbody tr:hover {
  background: rgba(102, 126, 234, 0.05);
}

.comparison-table .section-row {
  background: rgba(102, 126, 234, 0.08);
  font-weight: 700;
}

.comparison-table .section-row td {
  color: #667eea;
}

.comparison-table .center {
  text-align: center;
  color: #4f8cff;
  font-weight: 600;
}

/*  FAQ SECTION  */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: #667eea;
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.1);
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-1);
}

.faq-icon {
  color: #667eea;
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  color: var(--text-3);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 20px 20px;
}

/* CTA SECTION  */
.cta-section {
  padding: 60px 20px;
}

.cta-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  color: white;
}

.cta-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-outline {
  padding: 16px 36px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid white;
  cursor: pointer;
  font-size: 1rem;
}

.btn-hero-primary {
  background: white;
  color: #667eea;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.btn-hero-outline {
  background: transparent;
  color: white;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/*  FOOTER  */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 20px 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid a {
  display: block;
  margin-bottom: 12px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-grid a:hover {
  color: #667eea;
}

.footer-grid h4 {
  color: var(--text-1);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--text-1);
  text-decoration: none;
  transition: all 0.2s;
}

.logo:hover {
  color: #667eea;
}

.logo-icon {
  font-size: 1.6rem;
}

/*  NAVBAR  */
.navbar {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #667eea;
}

.nav-cta {
  display: flex;
  gap: 16px;
}

.btn-ghost,
.btn-primary {
  padding: 10px 22px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: #667eea;
  color: #667eea;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-1);
  margin: 4px 0;
  transition: all 0.3s;
}

/*  RESPONSIVE  */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 40px 20px;
  }

  .cta-card h2 {
    font-size: 1.6rem;
  }
}
