@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #8E44AD;
  --secondary-color: #5E1675;
  --accent-color: #AB0E86;
  --light-color: #2C3D4F;
  --dark-color: #0F1021;
  --gradient-primary: linear-gradient(135deg, #AB0E86 0%, #8E44AD 100%);
  --hover-color: #7D3C98;
  --background-color: #1A1A2E;
  --text-color: #E0E0E0;
  --border-color: rgba(142, 68, 173, 0.3);
  --divider-color: rgba(94, 22, 117, 0.2);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --highlight-color: #FFD23F;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Lato', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Header */
header {
  background: var(--dark-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px var(--shadow-color);
  border-bottom: 2px solid var(--primary-color);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 50px;
  width: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header nav a {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

header nav a:hover {
  color: var(--highlight-color);
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

header nav a:hover::after {
  width: 100%;
}

/* Mobile menu */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  header .logo {
    order: 1;
  }

  .menu-icon {
    display: flex;
    position: absolute;
    right: 20px;
  }

  header nav {
    order: 2;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #menu-toggle:checked ~ nav {
    max-height: 500px;
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  header nav li {
    text-align: center;
    padding: 0.5rem 0;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sections */
section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

/* Hero Section */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  padding: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('./img/bg.jpg') no-repeat center center/cover;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(14, 16, 33, 0.8), rgba(94, 22, 117, 0.6));
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
}

/* Content sections */
.content-section {
  display: flex;
  gap: 20px;
  align-items: center;
}

.content-section img {
  width: 40%;
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow-color);
  border: 3px solid var(--primary-color);
}

.content-text {
  width: 60%;
}

@media (max-width: 768px) {
  .content-section {
    flex-direction: column;
  }

  .content-section img,
  .content-text {
    width: 100%;
  }
}

/* Section divider */
.section-divider {
  text-align: center;
  position: relative;
  padding: 3rem 0;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  z-index: 0;
}

.section-divider h2 {
  position: relative;
  z-index: 1;
  background: var(--background-color);
  display: inline-block;
  padding: 0 2rem;
}

/* CTA sections */
.cta-section {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 10dvh 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  z-index: -2;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(94, 22, 117, 0.9), rgba(142, 68, 173, 0.8));
  z-index: -1;
}

/* Features timeline */
.features-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.features-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
}

@media (max-width: 768px) {
  .features-timeline::before {
    left: 15px;
  }
}

.feature-item {
  position: relative;
  padding: 2rem 2rem 2rem 5rem;
  margin-bottom: 2rem;
  background: var(--light-color);
  border-radius: 15px;
  box-shadow: 0 8px 25px var(--shadow-color);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 2rem;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 4px solid var(--background-color);
  border-radius: 50%;
  z-index: 2;
}

@media (max-width: 768px) {
  .feature-item {
    padding-left: 3.5rem;
  }

  .feature-item::before {
    left: 5px;
    width: 16px;
    height: 16px;
  }
}

.feature-item:hover {
  transform: translateX(15px);
  box-shadow: 0 12px 35px var(--shadow-color);
  border-color: var(--primary-color);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
  background: var(--light-color);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  box-shadow: 0 8px 20px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  color: rgba(142, 68, 173, 0.2);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-color);
  border-color: var(--primary-color);
}

.testimonial-author {
  font-weight: 600;
  color: var(--highlight-color);
  margin-top: 1rem;
}

/* Contact section */
.contact-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info {
  width: 40%;
}

.contact-form-wrapper {
  width: 60%;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info,
  .contact-form-wrapper {
    width: 100%;
  }
}

.contact-item {
  margin-bottom: 2rem;
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 1rem;
  background: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.contact-item i {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-top: 0.2rem;
}

/* Form */
form {
  background: var(--light-color);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-color);
  border: 2px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--alt-font);
  transition: all 0.3s ease;
  background: var(--background-color);
  color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.2);
}

button[type="submit"] {
  width: 100%;
  padding: 1.1rem;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(142, 68, 173, 0.4);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  background: var(--light-color);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 30px var(--shadow-color);
  border-color: var(--primary-color);
}

.faq-question {
  padding: 1.5rem;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  color: var(--highlight-color);
}

.faq-answer {
  padding: 1.5rem;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--text-color);
  padding: 3rem 0 1rem;
  border-top: 3px solid var(--primary-color);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

footer .logo img {
  height: 50px;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

footer nav a {
  color: var(--text-color);
  transition: color 0.3s ease;
}

footer nav a:hover {
  color: var(--highlight-color);
}

footer .footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

footer .footer-bottom a {
  color: var(--highlight-color);
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  footer nav ul {
    justify-content: center;
  }
}
