/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f6f7f9;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 4vw, 4.5rem); line-height: 1.1; margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 0.75rem; }
p { color: #444; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === TYPOGRAPHY UTILS === */
.highlight {
  background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.smooth-scroll {
  scroll-behavior: smooth;
}

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(160, 141, 255, 0.15);
}
.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a1a1a;
  text-decoration: none;
}
.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav__list a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  position: relative;
}
.nav__list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #a08dff;
  transition: width 0.3s ease;
}
.nav__list a:hover::after {
  width: 100%;
}
.nav__menu-btn {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}
.bar {
  width: 28px;
  height: 3px;
  background: #1a1a1a;
  transition: 0.3s;
}
@media (max-width: 768px) {
  .nav__list {
    position: absolute;
    top: 60px;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: none;
    gap: 1rem;
  }
  .nav__list.active { display: flex; }
  .nav__menu-btn { display: flex; }
}

/* === HERO === */
.hero {
  padding: clamp(3rem, 10vh, 8rem) 0;
  position: relative;
  overflow: hidden;
  background: #f6f7f9;
}
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, #e0c3fc 0%, transparent 30%),
              radial-gradient(circle at 20% 80%, #8ec5fc 0%, transparent 30%);
  opacity: 0.3;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.badge {
  background: #a08dff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero__subtitle {
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  color: #333;
  margin-bottom: 2rem;
}
.cta-group {
  display: flex;
  gap: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: #1a1a1a;
  color: #fff;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.6s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn--glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 100px;
  box-shadow: inset 0 0 0 2px #a08dff, 0 0 20px rgba(160, 141, 255, 0.3);
  z-index: -1;
  animation: glow 2s infinite alternate;
}
.btn-outline {
  background: transparent;
  border: 2px solid #a08dff;
  color: #1a1a1a;
}
.btn-outline:hover {
  background: #e0c3fc;
}
.btn__icon svg {
  width: 18px;
  height: 18px;
}
.hero__visual {
  position: relative;
  height: 400px;
}
.hero__card {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 24px;
  box-shadow: 20px 20px 0 #e0c3fc, 25px 25px 0 #a08dff;
  overflow: hidden;
  position: relative;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero__card:hover .hero__img {
  transform: scale(1.05);
}
.hero__card-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 1.2rem 1.6rem;
  border-radius: 16px;
  display: flex;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.hero__card-overlay svg {
  width: 28px;
  height: 28px;
  color: #a08dff;
}
.hero__sparkle {
  position: absolute;
  top: 20%;
  left: -20%;
  opacity: 0.7;
}
.sparkle {
  display: block;
  width: 12px;
  height: 12px;
  background: #a08dff;
  border-radius: 50%;
  position: relative;
}
.sparkle::before, .sparkle::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: inherit;
  border-radius: 50%;
}
.sparkle:nth-child(1) { animation: sparkleAnim 2s infinite; }
.sparkle:nth-child(2) { top: 20px; left: 40px; animation: sparkleAnim 2s infinite 0.5s; }
.sparkle:nth-child(3) { top: 40px; left: 10px; animation: sparkleAnim 2s infinite 1s; }

@keyframes sparkleAnim {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes glow {
  0% { box-shadow: inset 0 0 0 2px #a08dff, 0 0 10px rgba(160,141,255,0.2); }
  100% { box-shadow: inset 0 0 0 2px #8ec5fc, 0 0 30px rgba(142,197,252,0.5); }
}

/* === INTRO === */
.intro {
  padding: 5rem 0;
}
.intro__title {
  text-align: center;
  margin-bottom: 3rem;
}
.intro__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: #fff;
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
}
.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.card p {
  color: #3a3a3a;
}
.card__icon {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  color: #e0c3fc;
}
.card--problem .card__icon { color: #ff8a65; }

/* === FEATURES === */
.features {
  padding: 6rem 0;
  background: #fff;
}
.section-title {
  text-align: center;
  margin-bottom: 1rem;
}
.section-subtitle {
  text-align: center;
  margin-bottom: 4rem;
  color: #666;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.feature {
  background: #f9f9f9;
  padding: 2.5rem;
  border-radius: 24px;
  position: relative;
  transition: all 0.3s ease;
}
.feature:hover {
  background: #f0f0ff;
  box-shadow: 0 20px 40px rgba(160, 141, 255, 0.15);
}
.feature__icon {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.feature__icon svg {
  width: 32px;
  height: 32px;
  color: #a08dff;
}
.feature__label {
  color: #a08dff;
  font-weight: 600;
  font-size: 0.9rem;
}

/* === DEMO === */
.demo {
  padding: 6rem 0;
  background: #1a1a1a;
  color: #fff;
}
.demo__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.demo__content h2 {
  color: #fff;
  margin-bottom: 1rem;
}
.demo__content p {
  color: #bbb;
}
.demo__features {
  list-style: none;
  margin: 2rem 0 3rem;
}
.demo__features li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #eee;
}
.demo__features svg {
  color: #a08dff;
  width: 24px;
  height: 24px;
}
.video-placeholder {
  position: relative;
  width: 100%;
  height: 400px;
  background: #000;
  border-radius: 24px;
  overflow: hidden;
}
.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(160,141,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #a08dff;
}
.play-button svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
.play-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(0,0,0,0.6);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
}
.demo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.demo-overlay.active {
  opacity: 1;
  visibility: visible;
}
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: #000;
}
.close-btn:hover { background: #e0e0e0; }

/* === TESTIMONIALS === */
.testimonials {
  padding: 6rem 0;
  background: #f6f7f9;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial {
  background: #fff;
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.testimonial blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #333;
  margin-bottom: 1.5rem;
  position: relative;
}
.testimonial blockquote::before {
  content: "“";
  font-size: 4rem;
  position: absolute;
  top: -1.2rem;
  left: -0.5rem;
  opacity: 0.2;
  font-family: serif;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial strong {
  display: block;
  font-weight: 600;
  color: #1a1a1a;
}
.testimonial span {
  font-size: 0.85rem;
  color: #666;
}

/* === CTA === */
.cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
  text-align: center;
  color: #1a1a1a;
}
.cta h2 {
  margin-bottom: 1rem;
}
.cta p {
  margin-bottom: 3rem;
  font-size: 1.2rem;
  color: #333;
}
.btn--large {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
}

/* === CONTACT === */
.contact {
  padding: 6rem 0;
}
.contact__form {
  max-width: 600px;
  margin-top: 2rem;
}
.form-row {
  margin-bottom: 1.5rem;
}
.form-row label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: #a08dff;
}
.btn--block {
  width: 100%;
}

/* === FOOTER === */
.footer {
  background: #1a1a1a;
  color: #888;
  padding: 3rem 0 1.5rem;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.footer__nav {
  display: flex;
  gap: 2rem;
}
.footer__nav a {
  color: #888;
  text-decoration: none;
}
.footer__nav a:hover {
  color: #a08dff;
}
.footer__bottom {
  text-align: center;
  font-size: 0.9rem;
}
.footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .hero__content {
    grid-template-columns: 1fr;
  }
  .demo__inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .hero__card { height: 300px; }
  .cta__group { flex-direction: column; }
  .nav__list a::after { bottom: -2px; }
}
