:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --card: #ffffff;
  --text: #1a1f2b;
  --muted: #5b6b7a;
  --primary: #3366ff;
  --primary-2: #7b5cff;
  --accent: #2cc394;
  --danger: #e53935;
  --shadow: 0 8px 24px rgba(18, 38, 63, 0.08);
  --radius: 14px;
  --hero-bg: #eef4ff;
  --features-bg: #f9fbff;
  --how-bg: #f4fff8;
  --showcase-bg: #fff5f9;
  --faq-bg: #fffdf2;
}
* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: linear-gradient(180deg, rgba(51,102,255,0.06), transparent 40%), var(--bg);
}
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px) }
.btn.primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)) }
.btn.ghost { background: transparent; border-color: rgba(0,0,0,0.12) }
.btn.secondary { background: linear-gradient(135deg, var(--accent), #4be6b7); color: #0b141c }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-logo { width: 36px; height: 36px; object-fit: contain }
.brand-text { display: flex; flex-direction: column; line-height: 1.1 }
.brand-subtitle { font-size: 12px; color: var(--muted) }
.brand-name { font-weight: 700; letter-spacing: .5px }
.nav { justify-self: center; }
.nav-toggle { display: none; height: 40px; width: 40px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.12); background: var(--surface); color: var(--text); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px }
.nav-list a { color: var(--muted); text-decoration: none; transition: color .2s ease }
.nav-list a:hover { color: var(--text) }
.header-cta { display: flex; gap: 10px }

.hero { 
  padding: 100px 0; 
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
      from 0deg at 50% 50%,
      #e0eaff 0deg,
      #d4e0ff 60deg,
      #f0e6ff 120deg,
      #ffeaf2 180deg,
      #e8fff4 240deg,
      #d4e0ff 300deg,
      #e0eaff 360deg
  );
  filter: blur(80px);
  animation: rotateBg 20s linear infinite;
  opacity: 0.8;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
      linear-gradient(rgba(51, 102, 255, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(51, 102, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
}

@keyframes rotateBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}
.hero-copy {
  max-width: 800px;
  margin: 0 auto;
}
.hero-copy h1 {
  font-size: 45px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
  background: linear-gradient(to right, #1a1f2b 20%, #3366ff 40%, #3366ff 60%, #1a1f2b 80%);
  background-size: 200% auto;
  color: #1a1f2b;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}
.hero-actions { justify-content: center; }
.hero-trust { justify-content: center; font-size: 14px; margin-top: 40px; }
.hero-copy p { margin: 0 0 18px; color: var(--muted); font-size: 16px }
.hero-copy .subtitle { font-size: 20px; color: var(--text) }
.hero-copy .slogan { font-size: 16px; color: var(--muted) }
.hero-copy .hero-small { font-size: 16px; color: var(--muted) }
.hero-actions { display: flex; gap: 14px; margin-top: 30px }
.hero-actions .btn.primary {
  background: linear-gradient(135deg, rgb(235, 132, 21), #f44d05);
  color: white;
  padding: 0 32px;
  height: 52px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.hero-actions .btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0,0,0,0.2);
}
.hero-trust { display: flex; gap: 10px; align-items: center; margin-top: 30px; color: var(--muted) }
.hero-visual {
  display: grid; place-items: center;
  position: relative;
  width: 100%;
}

/* Carousel Styles */
.carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 500px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  background: #f0f0f0;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-radius: 8px;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  font-size: 18px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  opacity: 0;
}

.carousel:hover .carousel-control {
  opacity: 1;
}

.carousel-control:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 10px;
  border-radius: 20px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

.ph-image {
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.02)),
    linear-gradient(120deg, rgba(51,102,255,0.12), rgba(44,195,148,0.12));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.ph-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.2s ease-in-out infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%) }
  60% { transform: translateX(100%) }
  100% { transform: translateX(100%) }
}
.ph-hero { width: 100%; height: 420px }
.ph-step { width: 100%; height: 180px }
.ph-showcase { width: 100%; height: 260px }

.section { padding: 64px 0; overflow: hidden }
.section-head { text-align: center; margin-bottom: 28px }
.section-head h2 { margin: 0 0 8px }
.section-head p { margin: 0; color: var(--muted) }
.features .section-head { margin-top: 32px }

.features.section { background: var(--features-bg) }
.features .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--card);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.feature-icon { font-size: 24px; margin-right: 10px; margin-bottom: 0; }
.feature-card h3 { margin: 0; }
.feature-card p { margin: 8px 0 0; color: var(--muted); width: 100%; }

.how.section { background: var(--how-bg) }
.how-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.how .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step { 
  background: var(--card); 
  border: 1px solid rgba(0,0,0,0.08); 
  border-radius: var(--radius); 
  padding: 18px; 
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.3s ease;
}
.step:hover, .step.active {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.step.active {
  background: rgba(51, 102, 255, 0.04);
}
.step-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(51, 102, 255, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.step h3 { margin: 0 0 6px }
.step p { margin: 0; color: var(--muted) }

.showcase.section { background: var(--showcase-bg) }
.showcase .showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pricing .pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.price-card {
  background: var(--card);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.price-card.featured { outline: 2px solid rgba(76,134,255,0.4) }
.price { font-size: 40px; margin: 4px 0 12px }
.price-list { margin: 0 0 16px; padding: 0 0 0 18px; color: var(--muted) }

.faq.section { background: var(--faq-bg) }
.faq .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.faq-item {
  background: var(--card);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
}
.faq-item summary { cursor: pointer }
.faq-body { margin-top: 8px; color: var(--muted) }

.cta {
  padding: 56px 0;
  background: linear-gradient(135deg, rgba(51,102,255,0.14), rgba(123,92,255,0.12));
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px }
.cta-copy h2 { margin: 0 0 6px }
.cta-copy p { margin: 0; color: #0b141c }

.site-footer { padding: 40px 0 }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px }
.footer-copy { color: var(--muted) }
.footer-copy a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-copy a:hover {
  color: var(--text);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .features .feature-grid { grid-template-columns: 1fr 1fr }
  .how .steps { grid-template-columns: 1fr 1fr }
  .showcase .showcase-grid { grid-template-columns: 1fr 1fr }
  .cta-inner { flex-direction: column; text-align: center }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center }
}
@media (max-width: 640px) {
  .nav-toggle { display: inline-block }
  .nav-list { display: none }
  .nav-list.open { display: flex; position: absolute; top: 64px; right: 20px; background: var(--surface); border: 1px solid rgba(0,0,0,0.12); border-radius: 12px; padding: 12px; flex-direction: column }
  .features .feature-grid { grid-template-columns: 1fr }
  .how .steps { grid-template-columns: 1fr }
  .showcase .showcase-grid { grid-template-columns: 1fr }
  .pricing .pricing-grid { grid-template-columns: 1fr }
  .faq .faq-grid { grid-template-columns: 1fr }
  .hero-copy h1 { font-size: 45px }
}
