@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #9B59B6;
  --secondary-color: #8E44AD;
  --accent-color: #AB0E86;
  --light-color: #ECF0F1;
  --dark-color: #0F0766;
  --gradient-primary: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
  --hover-color: #7D3C98;
  --background-color: #1A1A2E;
  --text-color: #ECF0F1;
  --border-color: rgba(155, 89, 182, 0.3);
  --divider-color: rgba(142, 68, 173, 0.2);
  --shadow-color: rgba(155, 89, 182, 0.2);
  --highlight-color: #F39C12;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Lato', sans-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.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.3;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, rgba(15, 7, 102, 0.95) 0%, rgba(142, 68, 173, 0.95) 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 30px var(--shadow-color);
  padding: 1rem 0;
  backdrop-filter: blur(10px);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 55px;
  width: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(155, 89, 182, 0.5));
}

header .logo img:hover {
  transform: scale(1.08) rotate(2deg);
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

header nav a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: 0.5px;
}

header nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

header nav a:hover::before {
  width: 100%;
}

header nav a:hover {
  color: var(--highlight-color);
  text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

/* Mobile Menu Toggle */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-icon span {
  width: 32px;
  height: 3px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hero Section */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
}

.hero-content {
  max-width: 900px;
  z-index: 1;
}

.hero-section h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 15px rgba(0,0,0,0.7);
  animation: fadeInDown 1s ease;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(155, 89, 182, 0.8));
}

.hero-section p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  animation: fadeInUp 1.2s ease;
  font-weight: 300;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px var(--shadow-color),
              inset 0 -3px 8px rgba(0,0,0,0.2),
              inset 0 2px 8px rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 45px var(--shadow-color),
              inset 0 -3px 8px rgba(0,0,0,0.2),
              inset 0 2px 8px rgba(255,255,255,0.3);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Styles */
section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  position: relative;
}

section h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-align: center;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(155, 89, 182, 0.5));
}

section p {
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: var(--light-color);
}

/* Content Sections */
.content-section {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.content-section img {
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(155, 89, 182, 0.3),
              0 0 30px rgba(155, 89, 182, 0.2),
              inset 0 2px 10px rgba(255,255,255,0.1);
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: all 0.4s ease;
  border: 2px solid var(--border-color);
}

.content-section img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 20px 60px rgba(155, 89, 182, 0.5),
              0 0 40px rgba(155, 89, 182, 0.3),
              inset 0 2px 10px rgba(255,255,255,0.15);
}

.content-text {
  flex: 1;
}

.content-image {
  flex: 0 0 40%;
}

/* Divider */
.section-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 5vh 0;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0.6;
}

.section-divider span {
  padding: 0 2.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--main-font);
  letter-spacing: 1px;
}

/* CTA Sections */
.cta-section {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
  text-align: center;
  color: white;
  padding: 12vh 2rem;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 7, 102, 0.85) 0%, rgba(142, 68, 173, 0.85) 100%);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.cta-section h2 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 2rem;
  text-shadow: 3px 3px 15px rgba(0,0,0,0.7);
  filter: none;
  -webkit-text-fill-color: white;
}

.cta-section p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
  font-weight: 300;
}

/* Features Section */
.features-section {
  background: linear-gradient(135deg, rgba(26, 26, 46, 1) 0%, rgba(15, 7, 102, 0.3) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.feature-card {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.1) 0%, rgba(142, 68, 173, 0.05) 100%);
  border-radius: 20px;
  box-shadow: 0 10px 40px var(--shadow-color),
              inset 0 2px 10px rgba(255,255,255,0.05),
              inset 0 -2px 10px rgba(0,0,0,0.2);
  border: 2px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(155, 89, 182, 0.1) 0%, transparent 70%);
  transition: transform 0.6s ease;
}

.feature-card:hover::before {
  transform: translate(25%, 25%);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 55px var(--shadow-color),
              0 0 40px rgba(155, 89, 182, 0.2),
              inset 0 2px 10px rgba(255,255,255,0.08),
              inset 0 -2px 10px rgba(0,0,0,0.25);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px var(--shadow-color),
              inset 0 2px 8px rgba(255,255,255,0.3),
              inset 0 -2px 8px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: var(--light-color);
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(to bottom, rgba(15, 7, 102, 0.3) 0%, rgba(26, 26, 46, 1) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.15) 0%, rgba(142, 68, 173, 0.1) 100%);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px var(--shadow-color),
              inset 0 2px 10px rgba(255,255,255,0.05),
              inset 0 -2px 10px rgba(0,0,0,0.2);
  border: 2px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  bottom: 20px;
  right: 30px;
  font-size: 8rem;
  color: var(--accent-color);
  font-family: Georgia, serif;
  opacity: 0.15;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 55px var(--shadow-color),
              0 0 40px rgba(155, 89, 182, 0.3),
              inset 0 2px 10px rgba(255,255,255,0.08),
              inset 0 -2px 10px rgba(0,0,0,0.25);
  border-color: var(--primary-color);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 700;
  color: var(--highlight-color);
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}

/* Form Section */
.form-section {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.08) 0%, rgba(142, 68, 173, 0.08) 100%);
}

/* Contact Section */
.contact-section {
  background: var(--background-color);
}

.contact-container {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}

.contact-info {
  flex: 0 0 35%;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.1) 0%, rgba(142, 68, 173, 0.05) 100%);
  border-radius: 15px;
  box-shadow: 0 6px 20px var(--shadow-color),
              inset 0 2px 8px rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.contact-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px var(--shadow-color),
              0 0 20px rgba(155, 89, 182, 0.2),
              inset 0 2px 8px rgba(255,255,255,0.08);
  border-color: var(--primary-color);
}

.contact-item i {
  color: var(--primary-color);
  margin-right: 1.5rem;
  font-size: 1.5rem;
  min-width: 35px;
}

.contact-form {
  flex: 1;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.12) 0%, rgba(142, 68, 173, 0.08) 100%);
  padding: 3.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 50px var(--shadow-color),
              inset 0 2px 10px rgba(255,255,255,0.05),
              inset 0 -2px 10px rgba(0,0,0,0.2);
  border: 2px solid var(--border-color);
}

.contact-form h3 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--light-color);
  font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-family: var(--alt-font);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(26, 26, 46, 0.8);
  color: var(--light-color);
  box-shadow: inset 0 3px 8px rgba(0,0,0,0.3);
}

.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.2),
              inset 0 3px 8px rgba(0,0,0,0.3);
  background: rgba(26, 26, 46, 0.9);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(to bottom, rgba(26, 26, 46, 1) 0%, rgba(15, 7, 102, 0.3) 100%);
}

.faq-container {
  max-width: 900px;
  margin: 4rem auto 0;
}

.faq-item {
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.12) 0%, rgba(142, 68, 173, 0.08) 100%);
  border-radius: 15px;
  box-shadow: 0 8px 30px var(--shadow-color),
              inset 0 2px 10px rgba(255,255,255,0.05),
              inset 0 -2px 10px rgba(0,0,0,0.2);
  border: 2px solid var(--border-color);
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 45px var(--shadow-color),
              0 0 30px rgba(155, 89, 182, 0.3),
              inset 0 2px 10px rgba(255,255,255,0.08),
              inset 0 -2px 10px rgba(0,0,0,0.25);
  border-color: var(--primary-color);
}

.faq-question {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.15) 0%, rgba(142, 68, 173, 0.1) 100%);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.faq-question i {
  color: var(--primary-color);
  font-size: 1.5rem;
  min-width: 30px;
}

.faq-question h3 {
  font-size: 1.4rem;
  color: var(--light-color);
  margin: 0;
}

.faq-answer {
  padding: 2rem;
  border-top: 2px solid var(--border-color);
  background: rgba(26, 26, 46, 0.5);
}

/* Footer */
footer {
  background: linear-gradient(135deg, rgba(15, 7, 102, 1) 0%, rgba(142, 68, 173, 0.95) 100%);
  color: var(--light-color);
  padding: 3.5rem 0 1.5rem;
  box-shadow: 0 -10px 40px var(--shadow-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

footer .logo img {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(155, 89, 182, 0.5));
}

footer nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

footer nav a {
  color: var(--light-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}

footer nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

footer nav a:hover::after {
  width: 100%;
}

footer nav a:hover {
  color: var(--highlight-color);
  text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

.footer-credit {
  text-align: center;
  padding: 2.5rem 0 1rem;
  border-top: 2px solid rgba(155, 89, 182, 0.3);
  margin-top: 2.5rem;
  font-size: 0.95rem;
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.footer-credit a:hover {
  color: var(--light-color);
  text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }

  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(15, 7, 102, 0.98) 0%, rgba(142, 68, 173, 0.98) 100%);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  }

  #menu-toggle:checked ~ nav {
    max-height: 600px;
  }

  header nav ul {
    flex-direction: column;
    padding: 2.5rem;
    gap: 1.5rem;
  }

  header .logo {
    flex: 1;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2.8rem;
  }

  .hero-section p {
    font-size: 1.2rem;
  }

  section h2 {
    font-size: 2.4rem;
  }

  .content-section {
    flex-direction: column;
    gap: 2.5rem;
  }

  .content-image {
    flex: 1;
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-info {
    flex: 1;
    width: 100%;
  }

  .cta-section h2 {
    font-size: 2.5rem;
  }

  .cta-section p {
    font-size: 1.2rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  footer nav ul {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }

  section h2 {
    font-size: 2rem;
  }

  .btn {
    padding: 1rem 2.2rem;
    font-size: 1rem;
  }

  .contact-form {
    padding: 2.5rem 2rem;
  }

  .section-divider span {
    font-size: 1.2rem;
    padding: 0 1.5rem;
  }

  .feature-card,
  .testimonial-card {
    padding: 2rem;
  }
}