@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary-color: #9B59B6;
  --secondary-color: #7D3C98;
  --accent-color: #C39BD3;
  --light-color: #F4ECF7;
  --dark-color: #2C3E50;
  --gradient-primary: linear-gradient(135deg, #C39BD3 0%, #9B59B6 100%);
  --hover-color: #8E44AD;
  --background-color: #1A1A2E;
  --text-color: #ECF0F1;
  --border-color: rgba(155, 89, 182, 0.3);
  --divider-color: rgba(125, 60, 152, 0.2);
  --shadow-color: rgba(125, 60, 152, 0.25);
  --highlight-color: #E67E22;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Lato', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  line-height: 1.7;
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Header Styles */
header {
  background-color: var(--dark-color);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 15px var(--shadow-color);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 45px;
  width: auto;
}

.navigation ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.navigation a {
  color: #ffffff;
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  padding: 0.5rem 0;
}

.navigation a:hover {
  color: var(--accent-color);
}

.navigation a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.navigation 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: 28px;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.7);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Content Sections */
.content-section {
  padding: 10vh 0;
  background: #16213E;
}

.content-flex {
  display: flex;
  gap: 20px;
  align-items: center;
}

.content-image {
  flex: 0 0 40%;
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow-color);
  overflow: hidden;
  transition: transform 0.4s ease;
  position: relative;
}

.content-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), transparent);
  pointer-events: none;
}

.content-image:hover {
  transform: scale(1.03) rotate(1deg);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

.content-text {
  flex: 0 0 calc(60% - 20px);
}

/* Section Divider */
.section-divider {
  padding: 6vh 0;
  text-align: center;
  background: var(--background-color);
}

.divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 900px;
}

.divider-line::before,
.divider-line::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--border-color);
}

.divider-text {
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--primary-color);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CTA Sections */
.cta-section {
  position: relative;
  padding: 12vh 0;
  text-align: center;
  color: #ffffff;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

/* Features Section */
.features-section {
  padding: 10vh 0;
  background: linear-gradient(180deg, #16213E 0%, #1A1A2E 100%);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(90deg, transparent, transparent 15px, rgba(155, 89, 182, 0.05) 15px, rgba(155, 89, 182, 0.05) 30px);
  pointer-events: none;
}

.features-timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
  padding-left: 50px;
}

.features-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.feature-item {
  position: relative;
  margin-bottom: 3.5rem;
  padding: 2.5rem;
  background: rgba(44, 62, 80, 0.6);
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.feature-item::before {
  content: '';
  position: absolute;
  left: -64px;
  top: 2.5rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 5px solid var(--background-color);
  box-shadow: 0 0 0 4px var(--primary-color);
}

.feature-item:hover {
  transform: translateX(8px);
  box-shadow: 0 15px 40px var(--shadow-color);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 10px rgba(155, 89, 182, 0.5);
}

/* Testimonials Section */
.testimonials-section {
  padding: 10vh 0;
  background: var(--background-color);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 15% 40%, rgba(155, 89, 182, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(195, 155, 211, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.testimonial-item {
  padding: 2.5rem;
  background: rgba(44, 62, 80, 0.5);
  border-radius: 18px;
  border: 2px solid var(--border-color);
  box-shadow: 0 8px 25px var(--shadow-color);
  transition: all 0.4s ease;
  position: relative;
  backdrop-filter: blur(5px);
}

.testimonial-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px var(--shadow-color);
  border-color: var(--accent-color);
}

.testimonial-item::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: var(--primary-color);
  opacity: 0.15;
}

.testimonial-name {
  font-weight: 700;
  color: var(--accent-color);
  margin-top: 1.2rem;
  font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
  padding: 10vh 0;
  background: #16213E;
}

.contact-flex {
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info {
  flex: 0 0 40%;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: rgba(44, 62, 80, 0.6);
  border-radius: 12px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.contact-item:hover {
  box-shadow: 0 8px 20px var(--shadow-color);
  transform: translateX(8px);
  border-color: var(--accent-color);
}

.contact-icon {
  font-size: 2rem;
  color: var(--primary-color);
  min-width: 45px;
}

.contact-form {
  flex: 0 0 calc(60% - 3.5rem);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--alt-font);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(44, 62, 80, 0.5);
  color: var(--text-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(236, 240, 241, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(155, 89, 182, 0.15);
  background: rgba(44, 62, 80, 0.8);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.btn-submit {
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 10px;
  font-family: var(--main-font);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px var(--shadow-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background: var(--hover-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

/* FAQ Section */
.faq-section {
  padding: 10vh 0;
  background: var(--background-color);
}

.faq-item {
  margin-bottom: 2.5rem;
  padding: 2.5rem;
  background: rgba(44, 62, 80, 0.5);
  border-radius: 15px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}

.faq-item:hover {
  box-shadow: 0 10px 30px var(--shadow-color);
  transform: translateX(8px);
  border-left-width: 8px;
}

.faq-question {
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.faq-question::before {
  content: '\f059';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: #ffffff;
  padding: 3.5rem 0 1.5rem;
  border-top: 3px solid var(--primary-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-nav a {
  color: #ffffff;
  transition: color 0.3s ease;
  font-size: 1.05rem;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-bottom a {
  color: var(--highlight-color);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }

  header .container {
    flex-wrap: wrap;
  }

  .logo {
    order: 2;
    margin: 0 auto;
  }

  .menu-icon {
    order: 1;
  }

  .navigation {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  #menu-toggle:checked ~ .navigation {
    max-height: 600px;
  }

  .navigation ul {
    flex-direction: column;
    gap: 0;
    padding-top: 1.5rem;
  }

  .navigation li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navigation a {
    display: block;
    padding: 1.2rem 0;
  }

  .content-flex {
    flex-direction: column;
  }

  .content-image,
  .content-text {
    flex: 0 0 100%;
  }

  .features-timeline {
    padding-left: 35px;
  }

  .feature-item::before {
    left: -50px;
  }

  .contact-flex {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    flex: 0 0 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav ul {
    justify-content: center;
  }
}