/* Base styles and variables */
:root {
  --primary: #9c27b0;
  --primary-light: #ba68c8;
  --primary-dark: #7b1fa2;
  --secondary: #673ab7;
  --secondary-light: #9575cd;
  --secondary-dark: #512da8;
  --dark: #212121;
  --light: #f5f5f5;
  --gray: #757575;
  --gray-light: #eeeeee;
  --white: #ffffff;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --gradient: linear-gradient(45deg, var(--primary), var(--secondary));
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  color: var(--primary-dark);
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient);
}

h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
}

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

a:hover {
  color: var(--primary-dark);
}

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-align: center;
}

.button-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(156, 39, 176, 0.3);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(156, 39, 176, 0.4);
  color: var(--white);
}

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

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

.button-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-right: 10px;
}

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

.logo-circle {
  fill: var(--primary);
  opacity: 0.2;
}

.logo-letter {
  fill: var(--primary);
  font-weight: bold;
  font-size: 16px;
}

.menu {
  display: flex;
  list-style: none;
}

.menu li {
  margin-left: 30px;
}

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

.menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient);
  transition: var(--transition);
}

.menu a:hover {
  color: var(--primary);
}

.menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
}

.menu-button {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.hamburger, .hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 10px;
  transition: var(--transition);
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(to bottom, rgba(156, 39, 176, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--gray);
}

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

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

.hero-svg {
  width: 100%;
  max-width: 400px;
}

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

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

.benefit-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background-color: var(--white);
}

.steps {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  gap: 40px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding: 0 20px;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.action-center {
  text-align: center;
  margin-top: 50px;
}

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

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

.feature {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}

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

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

.cta h2 {
  color: var(--white);
}

.cta h2::after {
  background: rgba(255, 255, 255, 0.3);
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
}

.cta .button {
  background: var(--white);
  color: var(--primary);
}

.cta .button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--white);
}

.about .container {
  max-width: 800px;
}

.about p {
  text-align: center;
}

/* Tags Section */
.tags {
  padding: 60px 0;
  background-color: var(--light);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.tag {
  background: var(--white);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 80px 0 20px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 15px;
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-legal h4 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-legal h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

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

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

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

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-legal p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-logo-image {
  width: 30px;
  height: 30px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.3rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .menu-button {
    display: block;
    z-index: 101;
  }
  
  .menu-toggle:checked ~ .menu-button .hamburger {
    background: transparent;
  }
  
  .menu-toggle:checked ~ .menu-button .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .menu-toggle:checked ~ .menu-button .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
  }
  
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    transition: right 0.3s ease;
    z-index: 100;
  }
  
  .menu-toggle:checked ~ .menu {
    right: 0;
  }
  
  .menu li {
    margin: 15px 0;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 15px;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .button-outline {
    margin-top: 10px;
  }
  
  .features-grid, .benefits-grid {
    grid-template-columns: 1fr;
  }
}
