:root {
  --primary: #5708A6;
  --secondary: #A8193C;
  --gradient: linear-gradient(45deg, #5708A6 0%, #A8193C 100%);
  --light-gradient: linear-gradient(135deg, rgba(87, 8, 166, 0.07) 0%, rgba(168, 25, 60, 0.07) 100%);
  --grey: #dedede;
  --dark: #343741;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--dark);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(87, 8, 166, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.navbar-brand .brand-logo {
  width: 34px;
  height: 34px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.navbar-brand .brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  text-decoration: none;
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(87, 8, 166, 0.06);
}

.nav-btn {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  transition: 0.2s ease;
}

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

.nav-btn.outline:hover {
  background: rgba(87, 8, 166, 0.06);
}

.nav-btn.filled {
  color: white;
  background: var(--primary);
  border: 1.5px solid var(--primary);
}

.nav-btn.filled:hover {
  background: var(--gradient);
  border-color: transparent;
}

/* ===== HERO ===== */
.hero {
  padding: 9rem 2.5rem 5rem;
  text-align: center;
  background: var(--light-gradient);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(87, 8, 166, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(168, 25, 60, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(87, 8, 166, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--dark);
  max-width: 820px;
  margin: 0 auto 1.2rem;
  text-transform: none;
}

.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: #555;
  max-width: 580px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: var(--gradient);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.2s ease;
  box-shadow: 0 4px 18px rgba(87, 8, 166, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(87, 8, 166, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: white;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: 1.5px solid var(--primary);
  transition: 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(87, 8, 166, 0.05);
  transform: translateY(-1px);
}

/* ===== SECTION SHARED ===== */
section {
  padding: 5rem 2.5rem;
}

.section-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
  text-transform: none;
  letter-spacing: -0.2px;
}

.section-sub {
  text-align: center;
  font-size: 1rem;
  color: #666;
  max-width: 540px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-card {
  background: #fafafa;
  border: 1px solid #efefef;
  border-radius: 12px;
  padding: 2rem 1.8rem;
  transition: 0.2s ease;
}

.about-card:hover {
  border-color: rgba(87, 8, 166, 0.2);
  box-shadow: 0 4px 20px rgba(87, 8, 166, 0.08);
  transform: translateY(-2px);
}

.about-card .card-icon {
  width: 44px;
  height: 44px;
  background: var(--light-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.about-card .card-icon i {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.about-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: var(--light-gradient);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(87, 8, 166, 0.07);
  position: relative;
}

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

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
}

/* ===== BUILDER SHOWCASE ===== */
.builder-showcase {
  background: #fff;
}

.builder-screenshots {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  gap: 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}

.builder-shot {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #ececec;
  box-shadow: 0 4px 24px rgba(87, 8, 166, 0.07);
  transition: 0.25s ease;
  background: #fafafa;
}

.builder-shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(87, 8, 166, 0.13);
  border-color: rgba(87, 8, 166, 0.2);
}

.builder-shot img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  display: block;
  border-bottom: 1px solid #ececec;
  background: #fff;
}

.builder-shot-caption {
  padding: 0.9rem 1.1rem;
}

.builder-shot-caption .step-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.builder-shot-caption h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.builder-shot-caption p {
  font-size: 0.8rem;
  color: #777;
  line-height: 1.5;
}

/* ===== INTERACTIONS SHOWCASE ===== */
.interactions-showcase {
  background: var(--light-gradient);
  overflow: hidden;
}

.interactions-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: end;
}

.interaction-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.interaction-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
  mix-blend-mode: multiply;
  transition: 0.25s ease;
}

.interaction-card:hover img {
  transform: translateY(-4px);
}

.interaction-caption {
  text-align: center;
}

.interaction-caption .use-tag {
  display: inline-block;
  background: rgba(87, 8, 166, 0.1);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.35rem;
}

.interaction-caption h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.interaction-caption p {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

/* ===== FEATURES ===== */
.features {
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  max-width: 1080px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid #eee;
  border-radius: 10px;
  transition: 0.2s ease;
}

.feature-item:hover {
  border-color: rgba(87, 8, 166, 0.2);
  background: rgba(87, 8, 166, 0.02);
}

.feature-item .fi-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--light-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.feature-item .fi-icon i {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.feature-item p {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.5;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--gradient);
  padding: 5rem 2.5rem;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 0.8rem;
  text-transform: none;
  letter-spacing: -0.2px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: white;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.2s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

footer .footer-logo {
  width: 28px;
  height: 28px;
  background: var(--gradient);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
}

footer .footer-name {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
}

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

footer .footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

footer .footer-links a:hover {
  color: white;
}

footer .footer-copy {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .builder-screenshots {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .builder-shot img {
    height: 200px;
  }

  .interactions-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    align-items: center;
  }

  .interaction-card img {
    max-width: 380px;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 0 1.2rem;
  }

  .navbar-links .nav-link {
    display: none;
  }

  .hero {
    padding: 7rem 1.5rem 4rem;
  }

  section {
    padding: 3.5rem 1.5rem;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

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

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
