/* Base styles and variables */
:root {
  --primary: #6A1B9A;
  --secondary: #FFD600;
  --dark: #301148;
  --light: #F3E5F5;
  --gray: #f8f9fa;
  --text: #212121;
  --background: #ffffff;
  --shadow: 0 4px 12px rgba(106, 27, 154, 0.15);
  --hover-shadow: 0 8px 18px rgba(106, 27, 154, 0.25);
  --radius: 8px;
  --transition: all 0.3s ease;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Roboto:wght@300;400;700&display=swap');

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  margin-top: 0;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-center {
  text-align: center;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.col {
  flex: 1;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--hover-shadow);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo svg {
  margin-right: 0.5rem;
  height: 40px;
  width: auto;
}

.logo span {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list li {
  margin-left: 2rem;
}

.nav-link {
  padding: 0.5rem 0;
  color: var(--text);
  font-weight: 500;
  position: relative;
  font-family: 'Montserrat', sans-serif;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Montserrat', sans-serif;
  border: none;
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
  color: white;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--dark);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

/* Hero Section */
.hero {
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, var(--light) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--light) 8%, transparent 8%);
  background-position: 0 0;
  background-size: 30px 30px;
  opacity: 0.3;
}

.hero-content {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  padding-right: 2rem;
}

.hero-image {
  flex: 1;
}

.hero-image svg {
  max-width: 100%;
  height: auto;
}

/* Featured Cards */
.featured-container {
  margin-top: 3rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.featured-card {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.card-image {
  width: 100%;
  height: 200px;
  background-color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image svg {
  height: 80%;
  width: 80%;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card-description {
  margin-bottom: 1.5rem;
  color: #666;
}

/* Benefits Section */
.benefits {
  background-color: var(--light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.benefit-icon svg {
  width: 60%;
  height: 60%;
}

/* Steps Section */
.steps-container {
  margin-top: 4rem;
}

.step {
  display: flex;
  margin-bottom: 4rem;
  align-items: center;
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
  box-shadow: var(--shadow);
}

.step-image {
  flex: 0 0 200px;
  height: 200px;
  margin-right: 2rem;
  border-radius: var(--radius);
  background-color: white;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-image svg {
  width: 80%;
  height: 80%;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-bottom: 1rem;
}

/* Testimonial Section */
.testimonial {
  background-color: var(--light);
}

.testimonial-container {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-item {
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
  text-align: center;
}

.testimonial-content {
  font-style: italic;
  font-size: 1.1rem;
  position: relative;
  padding: 1rem 2rem;
}

.testimonial-content::before,
.testimonial-content::after {
  content: """;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  line-height: 0;
}

.testimonial-content::before {
  top: 1.5rem;
  left: 0;
}

.testimonial-content::after {
  content: """;
  bottom: -0.5rem;
  right: 0;
}

.testimonial-author {
  margin-top: 1.5rem;
  font-weight: bold;
}

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

.cta-title, .cta-text {
  color: white;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta .btn {
  background-color: white;
  color: var(--primary);
  margin-top: 1.5rem;
}

.cta .btn:hover {
  background-color: var(--light);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-brand {
  flex: 0 0 100%;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-brand {
    flex: 0 0 40%;
    margin-bottom: 0;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo svg {
  width: 48px;
  height: 48px;
  margin-right: 1rem;
}

.footer-logo h3 {
  margin: 0;
  color: white;
}

.footer-text {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.footer-links {
  flex: 1;
  min-width: 140px;
  margin-bottom: 1.5rem;
}

.footer-links h4 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: white;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text {
    padding-right: 0;
    margin-bottom: 3rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 7rem 0 3rem;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .nav.active {
    max-height: 300px;
  }
  
  .nav-list {
    flex-direction: column;
    padding: 1rem;
  }
  
  .nav-list li {
    margin-left: 0;
    margin-bottom: 1rem;
  }
  
  .nav-list li:last-child {
    margin-bottom: 0;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
  
  .step-image {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}
