/* Base Styles - Purple/Blue Theme */
:root {
  --primary: #9C27B0;       /* Purple */
  --secondary: #3F51B5;     /* Blue */
  --accent: #FF4081;        /* Pink */
  --dark: #212121;
  --light: #FFFFFF;
  --gray: #757575;
  --light-gray: #F5F5F5;
  --dark-gray: #424242;
  --border-radius: 20px;
  --box-shadow: 0 10px 30px rgba(156, 39, 176, 0.2);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: linear-gradient(135deg, #f5f7fa 0%, #e4efe9 100%);
}

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

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

/* Layout Elements */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
}

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

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  height: 3px;
  width: 50px;
  background: var(--accent);
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  cursor: pointer;
}

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

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(156, 39, 176, 0.3);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--light);
  border: 2px solid var(--secondary);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(63, 81, 181, 0.3);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-text {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  height: 40px;
  width: 40px;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: var(--dark);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

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

.nav-button {
  margin-left: 20px;
}

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

/* Hero Section */
.hero {
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.hero-text {
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero-title span {
  color: var(--primary);
  position: relative;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(156, 39, 176, 0.2);
  z-index: -1;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  position: relative;
}

.hero-image-inner {
  position: relative;
  z-index: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Features Section */
.features {
  background-color: var(--light);
  border-radius: 30px 30px 0 0;
  margin-top: -30px;
  position: relative;
  z-index: 2;
}

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

.feature-card {
  background: var(--light);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(156, 39, 176, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(156, 39, 176, 0.3);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.feature-description {
  color: var(--gray);
  line-height: 1.7;
}

/* How It Works Section */
.process {
  background-color: var(--light-gray);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.step-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: var(--light);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: var(--transition);
  text-align: center;
}

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

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-title {
  font-size: 1.4rem;
  margin: 20px 0 15px;
  color: var(--secondary);
}

.step-description {
  color: var(--gray);
}

/* CTA Section */
.cta {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--light);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.btn-cta {
  background: var(--light);
  color: var(--primary);
  border: 2px solid var(--light);
  padding: 15px 40px;
  font-size: 1.1rem;
}

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

/* Footer */
.footer {
  background: var(--dark);
  color: var(--light);
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.8;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--light);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  height: 2px;
  width: 30px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .cta-title {
    font-size: 2.5rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
    position: relative;
  }
  
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--light);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }
  
  .nav.active {
    display: flex;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-item {
    width: 100%;
    margin: 10px 0;
  }
  
  .nav-link {
    display: block;
    padding: 5px 0;
  }
  
  .nav-button {
    margin: 15px 0 0;
    width: 100%;
  }
  
  .nav-button .btn {
    width: 100%;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: 30px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .step-card {
    min-width: 100%;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta {
    padding: 60px 0;
  }
}
