/* KissPark landing — scoped to .kisspark-landing */

body:has(.kisspark-landing) {
  background: #05050a;
}

body:has(.kisspark-landing) header .navbar.scroll,
body:has(.kisspark-landing) header .navbar.p-nav {
  background: #05050aAA !important;
  backdrop-filter: blur(.37333rem) saturate(180%);
  box-shadow: none !important;
}

body:has(.kisspark-landing) header .navbar .nav-link,
body:has(.kisspark-landing) header .navbar .login-btn {
  color: rgba(255, 255, 255, 0.92) !important;
}

body:has(.kisspark-landing) header .navbar .btn-register-menu {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35);
}

body:has(.kisspark-landing) .footer_background_color,
body:has(.kisspark-landing) .py-5.footer_background_color {
  display: none !important;
}

.kisspark-landing {
  --kp-bg: #05050a;
  --kp-bg-elevated: #12121c;
  --kp-card: #16182d;
  --kp-purple: #a855f7;
  --kp-purple-deep: #7c3aed;
  --kp-text: #ffffff;
  --kp-text-muted: rgba(255, 255, 255, 0.65);
  --kp-border: rgba(255, 255, 255, 0.08);
  color: var(--kp-text);
  background: var(--kp-bg);
  overflow-x: hidden;
}

.kisspark-landing .container {
  max-width: 1140px;
}

/* Hero */
.kp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  background-color: var(--kp-bg);
  background-image: var(--kp-hero-bg);
  background-size: cover;
  background-position: center right;
}

.kp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(5, 5, 10, 0.95) 0%,
      rgba(5, 5, 10, 0.75) 45%,
      rgba(5, 5, 10, 0.35) 100%);
  pointer-events: none;
}

.kp-hero__inner {
  position: relative;
  z-index: 1;
}

.kp-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.kp-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
}

.kp-hero__desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--kp-text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.kp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 2.5rem;
}

.kp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  border: none;
  cursor: pointer;
}

.kp-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
  color: inherit;
}

.kp-btn--primary {
  background: linear-gradient(135deg, #c084fc 0%, #9333ea 50%, #7c3aed 100%);
  color: #fff !important;
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.4);
}

.kp-btn--ghost,
.kp-btn--outline {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.kp-btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}

.kp-btn--link {
  background: transparent;
  color: #fff !important;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
}

.kp-btn--link:hover {
  color: var(--kp-purple) !important;
}

.kp-hero__social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.kp-hero__avatars {
  display: flex;
}

.kp-hero__avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--kp-bg);
  margin-left: -10px;
  object-fit: cover;
  background: var(--kp-card);
}

.kp-hero__avatars img:first-child {
  margin-left: 0;
}

.kp-hero__social-text strong {
  display: block;
  font-size: 0.95rem;
}

.kp-hero__social-text span {
  font-size: 0.8rem;
  color: var(--kp-text-muted);
}

/* Chat preview cards */
.kp-hero__aside {
  position: relative;
}

.kp-chat-stack {
  position: relative;
  min-height: 420px;
}

.kp-chat-card {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(26, 26, 28, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  min-width: 280px;
  max-width: 100%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.kp-chat-card:nth-child(1) {
  top: 6%;
  right: 4%;
}

.kp-chat-card:nth-child(2) {
  top: 36%;
  right: 10%;
}

.kp-chat-card:nth-child(3) {
  top: 66%;
  right: 0;
}

.kp-chat-card__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.kp-chat-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--kp-card);
  border: 2px solid rgba(167, 139, 250, 0.65);
  display: block;
}

.kp-chat-card__online-dot {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid #1a1a1c;
  animation: kp-online-pulse 1.6s ease-in-out infinite;
}

.kp-chat-card__online-dot--voice {
  background: #a78bfa;
  animation: kp-online-pulse 2s ease-in-out infinite;
}

@keyframes kp-online-pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  }

  50% {
    opacity: 0.75;
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
  }
}

.kp-chat-card__body {
  flex: 1;
  min-width: 0;
}

.kp-chat-card__name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.kp-chat-card__msg {
  font-size: 0.82rem;
  color: var(--kp-text-muted);
  min-height: 1.25em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1px;
}

.kp-typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 2px;
  background: rgba(255, 255, 255, 0.75);
  animation: kp-cursor-blink 0.9s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes kp-cursor-blink {
  50% {
    opacity: 0;
  }
}

.kp-chat-card__status {
  font-size: 0.8rem;
  color: #79D5C9;
  flex-shrink: 0;
  font-weight: 500;
}

.kp-chat-card__status--duration {
  color: rgba(255, 255, 255, 0.85);
}

/* Voice waveform */
.kp-chat-card--voice {
  padding-right: 1.25rem;
}

.kp-voice-wave {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  height: 34px;
  min-width: 0;
  padding: 0 0.35rem;
}

.kp-voice-wave__bar {
  display: block;
  flex-shrink: 0;
  width: 2px;
  height: var(--bar-h, 12px);
  min-height: 4px;
  border-radius: 999px;
  background: #c498ff;
  transform-origin: center center;
  animation: kp-voice-bar 0.85s ease-in-out infinite;
  animation-delay: calc(var(--bar-i, 0) * 0.05s);
}

.kp-voice-wave__bar--dark {
  background: #694b90;
}

@keyframes kp-voice-bar {

  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.7;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.kp-btn--block-sm {
  min-width: 10rem;
}

/* Sections */
.kp-section {
  padding: 5rem 0;
}

.kp-section--dark {
  background: var(--kp-bg);
}

.kp-steps-container {
  position: relative;
  background: #090915;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: #FFFFFF14;
  height: 493px;
}

.kp-steps__content {
  width: 50%;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  height: 493px;
}

.kp-section--elevated {
  background: var(--kp-bg-elevated);
}

.kp-section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.kp-section__subtitle {
  text-align: center;
  color: var(--kp-text-muted);
  margin-bottom: 3rem;
}

/* Feedback cards */
.kp-feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.kp-feedback-card {
  background: var(--kp-card);
  border-radius: 18px;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--kp-border);
}

.kp-feedback-card__quote {
  font-size: 2rem;
  line-height: 1;
  color: var(--kp-purple);
  margin-bottom: 1rem;
}

.kp-feedback-card__text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--kp-text-muted);
  margin-bottom: 1.5rem;
}

.kp-feedback-card__user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.kp-feedback-card__user img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #2a2a3e;
}

.kp-feedback-card__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.kp-feedback-card__meta {
  font-size: 0.8rem;
  color: var(--kp-purple);
}

/* Features */
.kp-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.kp-features__heading {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.kp-features__sub {
  color: var(--kp-text-muted);
  margin-bottom: 2.5rem;
}

.kp-feature-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.kp-feature-item:last-child {
  margin-bottom: 0;
}

.kp-feature-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--kp-purple);
  font-size: 1.35rem;
}

.kp-feature-item__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.kp-feature-item__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--kp-purple);
  margin-bottom: 0.5rem;
}

.kp-feature-item__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--kp-text-muted);
  margin: 0;
}

.kp-features__phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.kp-features__phone::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.kp-features__phone img {
  position: relative;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

/* Steps */
.kp-steps {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: end;
}

.kp-steps__photo {
  position: absolute;
  left: 0;
  top: 3px;
  height: 100%;
  z-index: 1;
}

.kp-steps__photo img {
  width: 100%;
  height: 485px;
  object-fit: cover;
  border-radius: 4px;
  mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.kp-steps__label {
  color: var(--kp-purple);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.kp-steps__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.kp-steps__desc {
  color: var(--kp-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.kp-steps__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.kp-step {
  display: flex;
  gap: 0.85rem;
  text-align: left;
}

.kp-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--kp-purple), var(--kp-purple-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.kp-step__body {
  flex: 1;
  min-width: 0;
}

.kp-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kp-step__title {
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.kp-step__text {
  font-size: 0.8rem;
  color: var(--kp-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* CTA */
.kp-cta {
  text-align: center;
  padding: 5rem 0 3rem;
}

.kp-cta__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.kp-cta__desc {
  color: var(--kp-text-muted);
  margin-bottom: 2rem;
}

.kp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Footer */
.kp-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--kp-border);
}

.kp-footer__inner {
  max-width: 420px;
  margin: 0 auto;
}

.kp-footer-nav,
.kp-footer-actions {
  display: none;
}

.kp-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.kp-footer__links--desktop {
  display: flex;
}

.kp-footer__links a {
  color: var(--kp-text-muted);
  font-size: 0.875rem;
  text-decoration: none;
}

.kp-footer__links a:hover {
  color: #fff;
}

.kp-footer__copy {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* Mobile footer (design) */
.kp-footer-nav {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.kp-footer-nav__link {
  display: block;
  text-align: center;
  padding: 1.05rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s;
}

.kp-footer-nav__link:last-child {
  border-bottom: none;
}

.kp-footer-nav__link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.kp-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.kp-footer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  line-height: 1.2;
}

.kp-footer-btn--install {
  background: #fff;
  color: #4c1d95 !important;
}

.kp-footer-btn--install:hover {
  background: #f3f0ff;
  color: #4c1d95 !important;
}

.kp-footer-btn--lang {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  justify-content: center;
  gap: 0.65rem;
}

.kp-footer-btn--lang span {
  flex: 1;
  text-align: center;
}

.kp-footer-lang .dropdown-toggle::after {
  margin-left: 0;
}

.kp-footer-lang .dropdown-menu {
  background: #16182d;
  border: 1px solid var(--kp-border);
}

.kp-footer-lang .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
}

.kp-footer-lang .dropdown-item.active,
.kp-footer-lang .dropdown-item:hover {
  background: rgba(168, 85, 247, 0.2);
  color: #fff;
}

@media (max-width: 991px) {
  .kp-hero {
    min-height: auto;
    padding: 5.5rem 0 2.5rem;
    background-position: center top;
  }

  .kp-hero::before {
    background: linear-gradient(180deg,
        rgba(5, 5, 10, 0.88) 0%,
        rgba(5, 5, 10, 0.95) 55%,
        rgba(5, 5, 10, 1) 100%);
  }

  .kp-hero__title {
    font-size: 1.85rem;
    text-align: left;
  }

  .kp-hero__subtitle,
  .kp-hero__desc {
    text-align: left;
    max-width: none;
  }

  .kp-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }

  .kp-btn--block-sm {
    width: 100%;
    min-width: 0;
    padding: 0.9rem 1.25rem;
  }

  .kp-hero__social {
    margin-bottom: 1.5rem;
  }

  .kp-hero__aside {
    margin-top: 0.25rem;
  }

  .kp-chat-stack {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .kp-chat-card {
    position: relative;
    right: auto !important;
    top: auto !important;
    min-width: 0;
    width: 100%;
    border-radius: 22px;
    padding: 1rem 1.1rem;
  }

  .kp-feedback-grid,
  .kp-features,
  .kp-steps {
    grid-template-columns: 1fr;
  }

  .kp-section {
    padding: 3rem 0;
  }

  .kp-section__subtitle {
    margin-bottom: 2rem;
  }

  .kp-features__heading,
  .kp-features__sub {
    text-align: left;
  }

  .kp-feature-item {
    background: var(--kp-card);
    border: 1px solid var(--kp-border);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
  }

  .kp-feature-item:last-child {
    margin-bottom: 0;
  }

  .kp-steps__list {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .kp-step {
    background: var(--kp-card);
    border: 1px solid var(--kp-border);
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
    align-items: flex-start;
  }

  .kp-steps__title,
  .kp-steps__desc {
    text-align: left;
  }

  .kp-cta {
    padding: 2.5rem 0 2rem;
    background: radial-gradient(
      ellipse 90% 55% at 50% 0%,
      rgba(124, 58, 237, 0.42) 0%,
      rgba(5, 5, 10, 0) 68%
    );
  }

  .kp-cta__title {
    font-size: 1.65rem;
    margin-bottom: 0.65rem;
  }

  .kp-cta__desc {
    color: #9d8ec8;
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
    padding: 0 0.5rem;
  }

  .kp-cta__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    margin: 0 auto;
    gap: 0.75rem;
  }

  .kp-footer {
    border-top: none;
    padding: 0 0 2rem;
  }

  .kp-footer__links--desktop {
    display: none !important;
  }

  .kp-footer-nav,
  .kp-footer-actions {
    display: flex;
  }

  .kp-footer__copy {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.38);
  }

  .kp-steps-container{
    padding: 20px 0;
    height: fit-content;
  }

  .kp-steps__photo {
    position: relative;

  }

  .kp-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
  }

  .kp-steps__content {
    width: 100%;
    display: block;
    height: fit-content;
  }
}

@media (min-width: 992px) {
  .kp-footer__inner {
    max-width: 1140px;
  }

  .kp-footer-nav,
  .kp-footer-actions {
    display: none !important;
  }

  .kp-footer__links--desktop {
    display: flex !important;
  }

  .kp-cta {
    background: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .kp-chat-card__online-dot,
  .kp-voice-wave__bar,
  .kp-typewriter-cursor {
    animation: none !important;
  }
}