/* Base Variables and Settings */
:root {
  --primary: #ff427a;
  --secondary: #ff8a80;
  --accent: #2a2a72;
  --dark: #222222;
  --light: #ffffff;
  --bg-color: #fcfcfc;
  --text-color: #333;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --box-shadow: 0 10px 30px rgba(255, 66, 122, 0.15);
  --border-radius: 10px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

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

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

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-block;
  position: relative;
  padding: 15px 35px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  border-radius: 8px;
  overflow: hidden;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--secondary);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn:hover {
  color: white;
}

.btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 25px 0;
  transition: var(--transition);
}

.header.scrolled {
  background-color: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

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

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

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

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

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  background-color: #fff9fb;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(255, 66, 122, 0.2), rgba(255, 138, 128, 0.2));
  top: -300px;
  right: -300px;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(255, 138, 128, 0.15), rgba(255, 66, 122, 0.15));
  bottom: -200px;
  left: -200px;
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

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

.hero-title {
  margin-bottom: 1.5rem;
}

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

.hero-image-container {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-decoration {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.8;
  filter: blur(50px);
}

/* Features Section */
.features {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
}

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

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  border-top: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-top: 4px solid var(--primary);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  color: var(--primary);
}

.feature-title {
  margin-bottom: 15px;
  font-weight: 700;
}

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

.steps-container {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.step-connector {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  background: var(--gradient);
  width: 70%;
  z-index: 1;
}

.step-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  flex: 1;
  max-width: 300px;
  text-align: center;
  position: relative;
  z-index: 2;
}

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

.step-title {
  margin-bottom: 15px;
  font-weight: 700;
}

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

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

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

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  color: white;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.cta-subtitle {
  margin-bottom: 40px;
  font-size: 1.1rem;
}

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

.btn-cta::after {
  background: rgba(255, 255, 255, 0.9);
}

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

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

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

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

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

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-link:hover {
  color: white;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-image-container {
    height: 300px;
  }
  
  .hero-decoration {
    width: 300px;
    height: 300px;
  }
  
  .step-connector {
    display: none;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .features, .how-it-works, .cta {
    padding: 70px 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }
  
  .hero {
    padding-top: 140px;
    padding-bottom: 70px;
  }
  
  .btn-lg {
    padding: 15px 30px;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
}
