/**
 * Section Styles
 *
 * Contains all section-specific styles in order:
 * - Hero section
 * - Social proof section
 * - Video demo section
 * - Value props section
 * - Features section
 * - Pro features section
 * - Comparison section
 * - Pricing section
 * - Testimonials section
 * - FAQ section
 * - CTA section
 * - Footer
 */

/* Hero Section */
.hero {
  position: relative;
  padding: 10rem 0 8rem;
  background: linear-gradient(
    135deg,
    #7b2fbf 0%,
    #5a1e8f 50%,
    #9b4fdf 100%
  );
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(155, 79, 223, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(6, 182, 212, 0.2) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  justify-content: center;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

/* Social Proof Section */
.social-proof {
  background: var(--gray-50);
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}

.social-proof-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
}

.proof-item .material-symbols-outlined {
  color: var(--purple-primary);
  font-size: 1.5rem;
}

.stars {
  color: #f59e0b;
  font-size: 1.25rem;
  display: inline-flex;
  gap: 0.125rem;
  align-items: center;
}

.stars .material-symbols-outlined {
  font-size: 1rem;
  font-variation-settings: "FILL" 1;
}

/* Video Demo Section */
.video-demo {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.video-demo::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(123, 47, 191, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.video-demo-content {
  position: relative;
  z-index: 1;
}

.video-demo-header {
  text-align: center;
  margin-bottom: 3rem;
}

.video-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(123, 47, 191, 0.1);
  background: var(--gray-900);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.video-container:hover {
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.2),
    0 0 0 1px var(--purple-primary);
  transform: translateY(-4px);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.video-highlights {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
  font-weight: 500;
}

.highlight-item .material-symbols-outlined {
  color: var(--purple-primary);
  font-size: 1.25rem;
  font-variation-settings: "FILL" 1;
}

/* Value Props Section */
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  padding: 2rem;
  background: var(--white);
  border-radius: 16px;
  border: 2px solid var(--gray-200);
  transition: all 0.3s;
}

.value-card:hover {
  border-color: var(--purple-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--purple-primary);
}

.value-icon .material-symbols-outlined {
  font-size: 3rem;
  font-weight: 400;
}

.value-card h3 {
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.value-card p {
  color: var(--gray-600);
}

/* Features Section */
.features {
  background: var(--gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-card h3 .material-symbols-outlined {
  color: var(--purple-primary);
  font-size: 1.75rem;
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Pro Features Section */
.pro-features {
  background: linear-gradient(135deg, #7b2fbf 0%, #5a1e8f 100%);
  color: var(--white);
}

.pro-features .section-tag {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.pro-features .section-title,
.pro-features .section-description {
  color: var(--white);
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.pro-features .pro-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.pro-features .pro-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.pro-features .pro-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pro-features .pro-card h3 .material-symbols-outlined {
  font-size: 2rem;
}

.pro-badge {
  background: var(--orange-accent);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pro-features .pro-badge {
  display: none;
}

.pro-features .pro-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.pro-features .pro-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pro-features .pro-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  padding-left: 1.75rem;
  position: relative;
}

.pro-features .pro-card li::before {
  content: "check_circle";
  font-family: "Material Symbols Outlined";
  color: #86efac;
  font-size: 1.25rem;
  position: absolute;
  left: 0;
  top: -3px;
  font-variation-settings: "FILL" 1;
}

/* Comparison Section */
.comparison {
  background: var(--gray-50);
}

.comparison-table {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table thead {
  background: var(--purple-gradient);
  color: var(--white);
}

.comparison-table th {
  padding: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.comparison-table tbody tr:hover {
  background: var(--gray-50);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--gray-900);
}

.comparison-table td:not(:first-child) {
  text-align: center;
  font-size: 1.5rem;
}

.check {
  color: #10b981;
}

.check .material-symbols-outlined {
  font-size: 1.75rem;
  font-variation-settings: "FILL" 1;
}

.cross {
  color: var(--gray-300);
}

.cross .material-symbols-outlined {
  font-size: 1.75rem;
}

/* Pricing Section */
.pricing-section {
  background: var(--white);
  padding: 6rem 0;
}

.billing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.billing-label {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 1rem;
}

.savings-badge {
  display: inline-block;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.5rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.billing-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
  cursor: pointer;
}

.billing-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gray-300);
  border-radius: 34px;
  transition: all 0.4s;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background: var(--white);
  border-radius: 50%;
  transition: all 0.4s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.billing-toggle input:checked + .toggle-slider {
  background: var(--purple-primary);
}

.billing-toggle input:checked + .toggle-slider::before {
  transform: translateX(28px);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  position: relative;
  border: 2px solid var(--gray-200);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.pro-card {
  border: 3px solid var(--purple-primary);
  box-shadow: 0 10px 40px -5px rgba(123, 47, 191, 0.3);
}

.best-value-ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: var(--white);
  padding: 0.5rem 3rem;
  font-weight: 700;
  font-size: 0.875rem;
  transform: rotate(45deg);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.pricing-card-header {
  padding: 2.5rem 2rem 2rem;
  text-align: center;
}


.pricing-card-header h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.pricing-amount {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.price-currency {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-top: 0.5rem;
  margin-right: 0.25rem;
}

.price-value {
  font-size: 4rem;
  font-weight: 800;
  color: var(--gray-900);
  font-family: var(--font-display);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--gray-600);
  margin-left: 0.5rem;
  align-self: flex-end;
  margin-bottom: 0.75rem;
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--gray-600);
  min-height: 2.5rem;
}

.original-price {
  text-decoration: line-through;
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-right: 0.5rem;
}

.billing-info {
  color: var(--gray-700);
  font-weight: 600;
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 1rem;
  box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
}

.trial-badge .material-symbols-outlined {
  font-size: 1.25rem;
  font-variation-settings: "FILL" 1;
}

.pricing-card-body {
  padding: 0 2rem 2.5rem;
}

.features-title {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-check {
  flex-shrink: 0;
  color: #10b981;
  font-size: 1.5rem;
  font-variation-settings: "FILL" 1;
}

.feature-cross {
  flex-shrink: 0;
  color: var(--gray-400);
  font-size: 1.5rem;
}

.pricing-btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
}

.pricing-note {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pricing-note .material-symbols-outlined {
  font-size: 1rem;
}

.pricing-footnote {
  text-align: center;
  margin-top: 3rem;
  width: 100%;
}

.pricing-footnote p {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
  background: var(--gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-stars .material-symbols-outlined {
  font-size: 1.25rem;
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24 !important;
}

.testimonial-text {
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gray-900);
}

/* FAQ Section */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--purple-light);
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--purple-primary);
  transition: transform 0.5s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-answer-content p {
  margin-bottom: 0.75rem;
}

.faq-answer-content ol {
  line-height: 1.8;
}

.faq-answer-content ol li {
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #7b2fbf 0%, #5a1e8f 100%);
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 30% 50%,
      rgba(155, 79, 223, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(6, 182, 212, 0.2) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--purple-primary);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.4);
}

.btn-cta-highlight {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: var(--white);
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.btn-cta-highlight:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--gray-900);
  color: var(--white);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-description {
  color: var(--gray-300);
  line-height: 1.7;
}

.footer-column h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--purple-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-700);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-300);
  font-size: 0.875rem;
}
