:root {
  --primary-color: #6366f1;
  --secondary-color: #a855f7;
  --bg-color: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border-radius: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

.section-title {
  text-align: center;
  font-size: 2.75rem;
  margin-bottom: 4rem;
}

/* Layout Utilities */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.bg-light {
  background-color: var(--light-bg);
  padding: 6rem 0;
}

/* Navigation */
header {
  padding: 2rem 0;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 10;
}

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

.logo {
  font-size: 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--text-main);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  font-size: 1rem;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 10px 20px -10px var(--primary-color);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -10px var(--primary-color);
}

.secondary-btn {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid #e2e8f0;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-top: 5rem;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

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

/* Placeholders */
.placeholder-graphic {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border: 2px dashed #cbd5e1;
  border-radius: var(--border-radius);
  width: 100%;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-weight: 500;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.placeholder-graphic:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.placeholder-graphic p {
  font-size: 1.1rem;
  line-height: 1.5;
}

.placeholder-graphic.small {
  aspect-ratio: 16/10;
  margin-bottom: 2rem;
  padding: 1.5rem;
}

.step-image {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 2rem auto;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.step-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.step-images-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
  padding: 1rem 0;
}

.step-images-row .step-image {
  margin: 0;
  flex: none;
  width: 75%;
  max-width: 280px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.2);
  border: 4px solid var(--card-bg);
}

.step-images-row .step-image:nth-child(1) {
  transform: rotate(-6deg);
  z-index: 1;
}

.step-images-row .step-image:nth-child(2) {
  transform: rotate(6deg);
  margin-left: -50%;
  z-index: 2;
}

.step-images-row:hover .step-image:not(:hover) {
  opacity: 0.6;
  filter: blur(2px) grayscale(30%);
  z-index: 0;
}

.step-images-row .step-image:nth-child(1):hover {
  transform: rotate(0deg) scale(1.05) translateY(-10px) translateX(-10px);
  z-index: 5;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.step-images-row .step-image:nth-child(2):hover {
  transform: rotate(0deg) scale(1.05) translateY(-10px) translateX(10px);
  z-index: 5;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.hero-image {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.hero-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 45px -15px rgba(0, 0, 0, 0.2);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -15px var(--primary-color);
  border-color: transparent;
  color: white;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card .icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.feature-card p {
  color: var(--text-muted);
  transition: var(--transition);
}

.feature-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* How It Works */
.how-it-works {
  padding: 8rem 2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
}

.step-card {
  display: flex;
  flex-direction: column;
}

.step-card h3 {
  font-size: 1.8rem;
  margin-top: auto;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.step-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: var(--light-bg);
  padding: 4rem 0;
  border-top: 1px solid #e2e8f0;
}

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

footer .logo {
  color: var(--primary-color);
}

footer p {
  color: var(--text-muted);
}

.social-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .cta-buttons {
    justify-content: center;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-visual {
    width: 80%;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  footer .container {
    flex-direction: column;
    gap: 1.5rem;
  }
}