/* Base Styles */
:root {
  --primary: #9C27B0;
  --secondary: #E91E63;
  --accent: #FF9800;
  --success: #4CAF50;
  --text: #333333;
  --text-light: #777777;
  --background: #ffffff;
  --background-alt: #f9f9f9;
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background-color: var(--background);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

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

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
}

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

p {
  color: var(--text-light);
}

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

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

section {
  padding: 80px 0;
  position: relative;
}

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

.subtitle {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Floating Navigation */
.floating-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(156, 39, 176, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  max-width: 90%;
  margin: 20px auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-brand span {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

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

.nav-menu a {
  color: var(--text);
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  transition: var(--transition);
}

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

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 6px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(135deg, #f2f7ff 0%, #f9f0ff 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 150px 20px 80px;
  height: 100%;
  position: relative;
  z-index: 2;
}

.text-content {
  flex: 1;
  max-width: 600px;
}

.text-content h1 {
  margin-bottom: 1.5rem;
}

.text-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

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

.floating-shapes {
  position: relative;
  width: 300px;
  height: 300px;
  margin-left: 5%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.shape-1 {
  top: 0;
  left: 20%;
  animation-name: float1;
}

.shape-2 {
  top: 30%;
  right: 0;
  animation-name: float2;
  animation-delay: 1s;
}

.shape-3 {
  bottom: 0;
  left: 10%;
  animation-name: float3;
  animation-delay: 2s;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-15px) scale(1.1) rotate(10deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateX(0) scale(1); }
  50% { transform: translateX(-20px) scale(1.1); }
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(233, 30, 99, 0.3);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary), var(--primary));
  opacity: 0;
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(233, 30, 99, 0.4);
  color: white;
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button span {
  position: relative;
  z-index: 1;
}

.large {
  padding: 18px 60px;
  font-size: 1.2rem;
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}

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

.how-it-works h2 {
  text-align: center;
}

.steps-container {
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  background-color: var(--background);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.step-content h3 {
  margin-bottom: 1rem;
  color: var(--text);
}

.step-content p {
  color: var(--text-light);
  font-size: 1rem;
}

/* Features Section */
.features {
  background-color: var(--background-alt);
  position: relative;
  overflow: hidden;
}

.blob-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 0;
}

.features h2 {
  text-align: center;
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
  margin-top: 4rem;
}

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

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--text);
}

.feature-card p {
  color: var(--text-light);
  font-size: 1rem;
}

/* Get Started Section */
.get-started {
  padding: 100px 0;
}

.get-started h2 {
  text-align: center;
}

.cta-box {
  max-width: 600px;
  margin: 3rem auto 0;
  padding: 40px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.no-credit-card {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #f9f0ff 0%, #f2f7ff 100%);
  padding-top: 60px;
  margin-top: auto;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.brand-text {
  margin-left: 1rem;
}

.brand-text h3 {
  margin-bottom: 0.3rem;
  color: var(--primary);
}

.brand-text p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.link-group h4 {
  color: var(--text);
  margin-bottom: 1.2rem;
}

.link-group ul {
  list-style: none;
}

.link-group ul li {
  margin-bottom: 0.8rem;
}

.link-group ul li a {
  color: var(--text-light);
  transition: var(--transition);
}

.link-group ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }
  
  .text-content {
    margin-bottom: 3rem;
    max-width: 100%;
  }
  
  .text-content p {
    margin: 0 auto 2.5rem;
  }
  
  .footer-top {
    flex-direction: column;
  }
  
  .footer-brand {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .floating-nav {
    padding: 15px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    transform: rotate(-45deg);
  }
  
  section {
    padding: 60px 0;
  }
  
  .step {
    max-width: 100%;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .cta-button {
    display: block;
    width: 100%;
  }
  
  .steps-container {
    gap: 20px;
  }
  
  .step {
    padding: 20px;
  }
  
  .cta-box {
    padding: 30px 20px;
  }
}
