/* Main Variables */
:root {
  --primary-color: #6A11CB;
  --secondary-color: #2575FC;
  --accent-color: #00BFFF;
  --dark-color: #252A34;
  --light-color: #F1F2F6;
  --text-color: #333;
  --light-text: #fff;
  --main-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --secondary-gradient: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  --border-radius: 12px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--main-gradient);
  color: var(--light-text);
  border: none;
  box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(106, 17, 203, 0.5);
}

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

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

/* Header */
.header {
  background-color: var(--light-text);
  padding: 20px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--main-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

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

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

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

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger svg {
  fill: var(--dark-color);
  width: 24px;
  height: 24px;
}

/* Hero Section */
.hero {
  background: var(--secondary-gradient);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: cover;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  color: var(--light-text);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--light-text);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--main-gradient);
  border-radius: 2px;
}

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

.feature-card {
  background: var(--light-text);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--main-gradient);
  opacity: 0.05;
  transition: var(--transition);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  margin-bottom: 25px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--main-gradient);
  border-radius: 50%;
  color: var(--light-text);
}

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

.feature-text {
  color: #666;
}

/* How it Works Section */
.how-it-works {
  padding: 100px 0;
  background-color: #f5f7ff;
  position: relative;
  overflow: hidden;
}

.steps-container {
  margin-top: 60px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  height: 70%;
  width: 3px;
  background: var(--secondary-gradient);
  opacity: 0.5;
  z-index: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.step:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}

.step-number {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  background: var(--main-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--light-text);
  box-shadow: 0 5px 20px rgba(106, 17, 203, 0.3);
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.step-text {
  color: #555;
  font-size: 1.1rem;
}

/* CTA Section */
.cta {
  background: var(--main-gradient);
  padding: 100px 0;
  color: var(--light-text);
  text-align: center;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 40px;
}

.cta-button {
  background: var(--light-text);
  color: var(--primary-color);
  font-size: 1.1rem;
  padding: 15px 40px;
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

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

.footer-logo svg {
  width: 40px;
  height: 40px;
}

.footer-about p {
  opacity: 0.7;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary-gradient);
}

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

.footer-links a {
  opacity: 0.7;
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  opacity: 0.7;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  opacity: 1;
}

/* Media Queries for Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-visual {
    order: -1;
    margin-bottom: 30px;
  }
  
  .step, .step:nth-child(even) {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }
  
  .steps-container::before {
    left: 40px;
    top: 0;
    height: 100%;
  }
  
  .step-number {
    margin-bottom: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    flex-direction: column;
    background: var(--light-text);
    width: 100%;
    max-width: 300px;
    height: calc(100vh - 80px);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-title {
    font-size: 2.3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
}

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