:root {
  --primary: #4a00e0;
  --secondary: #8e2de2;
  --accent: #ff6b6b;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
}

.hidden {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  color: white;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.logo i {
  margin-right: 10px;
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
}

.btn-primary:hover {
  background-color: #ff5252;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* FileKit Inspired Section */
.filekit-section {
  padding: 80px 0;
  background-color: white;
}

.filekit-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.filekit-title {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
}

.filekit-subtitle {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.filekit-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.filekit-step {
  position: relative;
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 60px 30px 40px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.filekit-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 80px;
  font-weight: 800;
  color: rgba(74, 0, 224, 0.05); /* var(--primary) in transparent */
  z-index: 0;
  user-select: none;
}

.filekit-step h3,
.filekit-step p {
  position: relative;
  z-index: 1;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark);
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background-color: white;
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.toggle-label {
  margin: 0 15px;
  font-weight: 600;
  color: var(--gray);
}

.toggle-label.active {
  color: var(--primary);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background-color: white;
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
  border: 2px solid var(--accent);
  position: relative;
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: var(--accent);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--dark);
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray);
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.yearly-savings {
  color: var(--accent);
  font-weight: 600;
  margin-top: -15px;
  margin-bottom: 20px;
  display: block;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--gray);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.author-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.author-info p {
  color: var(--gray);
  font-size: 14px;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}

.faq-question:hover {
  background-color: #e9ecef;
}

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

.faq-item.active .faq-answer {
  padding: 0 30px 20px;
  max-height: 500px;
}

.faq-toggle {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 20px;
  font-size: 15px;
  line-height: 1.6;
}

.footer-content {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--accent);
}

.footer-column p {
  color: #c1c1c1;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
}

.footer-links a:hover {
  color: white;
}

.footer-support {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 20px 0;
  border-top: 1px solid #444;
  color: #ccc;
  font-size: 14px;
  line-height: 1.5;
}

.footer-support strong {
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.footer-support a {
  color: var(--accent);
  text-decoration: underline;
}

.footer-support a:hover {
  color: #ff5252;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #495057;
  color: #adb5bd;
  font-size: 14px;
}

.payment-icons {
  margin-top: 15px;
  font-size: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* Policies Pages Styles */
.policies {
  padding: 60px 0;
  background-color: #fff;
}

.policies-title {
  text-align: center;
  margin-bottom: 50px;
}

.policies-title h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.policies-title p {
  color: var(--gray);
  font-size: 18px;
}

.policies-content-block {
  margin-bottom: 40px;
}

.policies-content-block h2 {
  font-size: 28px;
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.policies-content-block h3 {
  font-size: 22px;
  color: var(--dark);
  margin: 30px 0 15px;
}

.policies-content-block p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--gray);
}

.policies-content-block ul,
.policies-content-block ol {
  margin: 0 0 25px 40px;
  list-style-type: none;
}

.policies-content-block li {
  margin-bottom: 10px;
  padding-left: 10px;
  position: relative;
  line-height: 1.6;
  color: var(--gray);
}

.policies-content-block ul li:before {
  content: "•";
  position: absolute;
  left: -20px;
  font-size: 20px;
}

.policies-content-block ol {
  counter-reset: item;
}

.policies-content-block ol li {
  counter-increment: item;
}

.policies-content-block ol li:before {
  content: counter(item) ".";
  position: absolute;
  left: -25px;
  font-weight: bold;
}

.policies-content-block a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.policies-content-block a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* Responsive tweak for smaller screens */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-support {
    padding: 15px 10px;
    font-size: 13px;
  }

  .policies {
    padding: 40px 0;
  }

  .policies-title h1 {
    font-size: 30px;
  }

  .policies-content-block h2 {
    font-size: 24px;
    margin: 30px 0 15px;
  }

  .policies-content-block h3 {
    font-size: 20px;
    margin: 25px 0 12px;
  }

  .policies-content-block ul,
  .policies-content-block ol {
    margin-left: 30px;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--primary);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: all 0.5s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .price {
    font-size: 36px;
  }

  .policies-title h1 {
    font-size: 26px;
  }

  .policies-content-block {
    margin-bottom: 30px;
  }

  .policies-content-block ul,
  .policies-content-block ol {
    margin-left: 20px;
  }

  .policies-content-block ul li:before {
    left: -15px;
  }

  .policies-content-block ol li:before {
    left: -20px;
  }
}