/* Base Styles */
:root {
  --primary-color: #6c63ff;
  --secondary-color: #4d44db;
  --accent-color: #ff6584;
  --dark-color: #2d3748;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Space Grotesk', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-color);
  background-color: #fff;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Text Styles */
.text-gradient {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-secondary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-color);
  margin-bottom: 3rem;
}

/* Header Styles */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-secondary);
  color: var(--dark-color);
  text-decoration: none;
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 5px;
  transition: all 0.3s ease;
}

/* Hero Section */
.signup-hero {
  padding: 180px 0 100px;
  text-align: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.signup-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.signup-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--gray-color);
}

/* Signup Container */
.signup-container {
  display: flex;
  margin: 80px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.plan-summary {
  flex: 1;
  padding: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.plan-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: var(--font-secondary);
}

.plan-price {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
  width: 100%;
}

.plan-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.plan-features i {
  margin-right: 10px;
  margin-top: 3px;
}

.change-plan {
  color: white;
  text-decoration: none;
  font-weight: 500;
  margin-top: auto;
  transition: opacity 0.3s ease;
}

.change-plan:hover {
  opacity: 0.8;
}

.signup-form {
  flex: 1.5;
  padding: 50px;
  background-color: white;
}

.form-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  font-family: var(--font-secondary);
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  margin-bottom: 25px;
  flex: 1;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

.secure-payment {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  color: var(--gray-color);
  font-size: 0.9rem;
}

.secure-payment i {
  margin-right: 8px;
  color: var(--primary-color);
}

/* Stripe Elements */
.card-element {
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  background-color: white;
}

/* Benefits Section */
.benefits-section {
  padding: 100px 0;
  background-color: #f9fafc;
}

.benefits-container {
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-card {
  background-color: white;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: var(--font-secondary);
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background-color: #f9fafc;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--light-gray);
  position: absolute;
  top: -20px;
  left: -10px;
  z-index: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-author-info h4 {
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-author-info p {
  color: var(--gray-color);
  font-size: 0.9rem;
}

/* Comparison Section */
.comparison-section {
  padding: 100px 0;
  background-color: #f9fafc;
}

.comparison-table {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-top: 50px;
}

.comparison-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--light-gray);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-feature, .comparison-plan {
  padding: 20px;
  display: flex;
  align-items: center;
}

.comparison-plan {
  justify-content: center;
  text-align: center;
}

.comparison-plan.highlight {
  background-color: rgba(108, 99, 255, 0.05);
  font-weight: 600;
  color: var(--primary-color);
}

.comparison-plan i.fa-check {
  color: #28a745;
}

.comparison-plan i.fa-times {
  color: #dc3545;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px;
  background-color: #f9fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 300px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
  color: var(--gray-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 80px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-secondary);
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-about p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-links h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: var(--font-secondary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-newsletter h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: var(--font-secondary);
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
}

.newsletter-input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 6px 0 0 6px;
  font-family: var(--font-primary);
}

.newsletter-btn {
  padding: 0 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
  background-color: var(--secondary-color);
}

.footer-bottom {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: white;
}

.footer-bottom p:last-child {
  margin-top: 15px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .signup-container {
    flex-direction: column;
  }
  
  .plan-summary, .signup-form {
    flex: none;
    width: 100%;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .signup-hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    transition: left 0.3s ease;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .hamburger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .signup-hero {
    padding: 150px 0 80px;
  }
  
  .signup-hero h1 {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .plan-summary, .signup-form {
    padding: 30px;
  }
  
  .signup-hero h1 {
    font-size: 2rem;
  }
  
  .signup-hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 12px 20px;
  }
  
  .comparison-header, .comparison-row {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  
  .comparison-feature, .comparison-plan {
    padding: 12px;
    font-size: 0.9rem;
  }
}