/* =============================================
   THE KISS APP — Marketing Website
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pink: #FF4081;
  --pink-light: #FF80AB;
  --pink-glow: rgba(255, 64, 129, 0.4);
  --pink-subtle: rgba(255, 64, 129, 0.08);
  --dark: #0A0A0F;
  --dark-card: #12121A;
  --dark-surface: #1A1A25;
  --text: #E8E8ED;
  --text-muted: #9898A6;
  --text-dim: #6B6B7B;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.accent {
  color: var(--pink);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  background: var(--pink-subtle);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.nav-heart {
  width: 24px;
  height: 24px;
  color: var(--pink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.nav-cta {
  background: var(--pink);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 500;
}

.nav-cta:hover {
  background: var(--pink-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
}

.mobile-menu a:hover {
  color: var(--pink);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 10, 15, 0.3) 0%,
      rgba(10, 10, 15, 0.5) 50%,
      rgba(10, 10, 15, 0.95) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
}

.hero-title-line.accent {
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 4px 24px var(--pink-glow);
}

.btn-primary:hover {
  background: var(--pink-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--pink-glow);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--pink), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* --- Lifestyle Section --- */
.lifestyle {
  padding: 120px 0;
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.lifestyle-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}

.lifestyle-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.lifestyle-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lifestyle-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 64, 129, 0.15);
  pointer-events: none;
}

.lifestyle-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  transition: var(--transition-slow);
}

.lifestyle-image:hover img {
  transform: scale(1.03);
}

/* --- Features Section --- */
.features {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-card) 50%, var(--dark) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--dark-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(255, 64, 129, 0.2);
  transform: translateY(-4px);
}

.feature-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.feature-card-image {
  overflow: hidden;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.feature-card:hover .feature-card-image img {
  transform: scale(1.05);
}

.feature-card-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--pink-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--pink);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- Security Section --- */
.security {
  padding: 120px 0;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.security-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.security-card:hover {
  border-color: rgba(255, 64, 129, 0.2);
  transform: translateY(-4px);
}

.security-card-image {
  overflow: hidden;
  aspect-ratio: 16 / 12;
}

.security-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.security-card:hover .security-card-image img {
  transform: scale(1.05);
}

.security-card-content {
  padding: 32px;
}

.security-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.security-card-content p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.security-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--dark-surface);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.badge:hover {
  border-color: rgba(255, 64, 129, 0.2);
  background: rgba(255, 64, 129, 0.05);
}

.badge svg {
  width: 20px;
  height: 20px;
  color: var(--pink);
  flex-shrink: 0;
}

.badge span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

/* --- Download Section --- */
.download {
  padding: 120px 0 80px;
  text-align: center;
}

.download-content {
  max-width: 600px;
  margin: 0 auto;
}

.download h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.download p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.store-button-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

.store-button:hover {
  border-color: rgba(255, 64, 129, 0.3);
  background: rgba(255, 64, 129, 0.05);
  transform: translateY(-2px);
}

.store-button svg {
  width: 28px;
  height: 28px;
  color: var(--white);
  flex-shrink: 0;
}

.store-button-text {
  text-align: left;
}

.store-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.store-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.coming-soon {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-heart {
  width: 20px;
  height: 20px;
  color: var(--pink);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .lifestyle-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lifestyle-text {
    text-align: center;
  }

  .feature-card-wide {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .hero {
    min-height: 600px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .feature-card-content {
    padding: 28px;
  }

  .security-badges {
    gap: 12px;
  }

  .badge {
    padding: 10px 18px;
  }

  .badge span {
    font-size: 0.8rem;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-button {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
}

/* --- Utility: Glow effect on pink accent elements --- */
@keyframes pinkPulse {
  0%, 100% { box-shadow: 0 0 20px var(--pink-glow); }
  50% { box-shadow: 0 0 40px var(--pink-glow), 0 0 80px rgba(255, 64, 129, 0.15); }
}
