:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --primary-pink: #ff2d75;
  --primary-cyan: #00f2fe;
  --primary-purple: #8b5cf6;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --glass-bg: rgba(18, 25, 45, 0.72);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-glow: 0 8px 32px 0 rgba(0, 242, 254, 0.12);
  --gradient-brand: linear-gradient(135deg, #ff2d75 0%, #a855f7 50%, #00f2fe 100%);
  --gradient-btn: linear-gradient(135deg, #00f2fe 0%, #3b82f6 50%, #ff2d75 100%);
  --gradient-pink-btn: linear-gradient(135deg, #ff2d75 0%, #c026d3 100%);
  --gradient-text: linear-gradient(135deg, #00f2fe 0%, #ff2d75 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(255, 45, 117, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 25%, rgba(0, 242, 254, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(255, 115, 0, 0.08) 0%, transparent 35%);
  background-attachment: fixed;
}

/* Ambient glow blobs */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}
.glow-1 {
  width: 450px;
  height: 450px;
  background: #ff2d75;
  top: -100px;
  left: -100px;
  animation: pulseGlow 12s ease-in-out infinite alternate;
}
.glow-2 {
  width: 500px;
  height: 500px;
  background: #00f2fe;
  top: 15%;
  right: -150px;
  animation: pulseGlow 15s ease-in-out infinite alternate-reverse;
}
.glow-3 {
  width: 400px;
  height: 400px;
  background: #7928ca;
  bottom: 5%;
  left: 30%;
  animation: pulseGlow 18s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.35; }
  50% { transform: scale(1.15) translate(30px, -20px); opacity: 0.55; }
  100% { transform: scale(0.9) translate(-20px, 30px); opacity: 0.4; }
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header & Navigation */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 12px 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 14, 26, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header-inner {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 48px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-left: -20px;
}

.brand-wordmark-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.45)) drop-shadow(0 0 20px rgba(0, 242, 254, 0.35));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-container:hover .brand-wordmark-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.75)) drop-shadow(0 0 28px rgba(0, 242, 254, 0.6)) drop-shadow(0 0 35px rgba(255, 45, 117, 0.4));
}

.brand-logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.35), 0 0 15px rgba(0, 242, 254, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  flex-shrink: 0;
  padding: 4px;
}

.brand-container:hover .brand-logo-badge {
  transform: scale(1.08);
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.7), 0 0 35px rgba(0, 242, 254, 0.6);
}

.brand-logo-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.45));
}

.brand-text-tiktok {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 0 24px rgba(255, 45, 117, 0.5);
}

.brand-text-cell {
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 50%, #ff2d75 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.8)) drop-shadow(0 0 24px rgba(255, 45, 117, 0.6));
  animation: neonPulse 3s ease-in-out infinite alternate;
}

@keyframes neonPulse {
  0% {
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.7)) drop-shadow(0 0 18px rgba(255, 45, 117, 0.5));
  }
  100% {
    filter: drop-shadow(0 0 16px rgba(0, 242, 254, 1)) drop-shadow(0 0 30px rgba(255, 45, 117, 0.85));
  }
}

.brand-container:hover .brand-text {
  transform: scale(1.03);
  filter: drop-shadow(0 0 16px rgba(0, 242, 254, 0.85)) drop-shadow(0 0 28px rgba(255, 45, 117, 0.7));
}

.brand-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  display: none;
}
@media (min-width: 992px) {
  .brand-tagline { display: inline-block; }
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff2d75, #00f2fe);
  border-radius: 2px;
  box-shadow: 0 0 10px #00f2fe;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-get-started {
  background: var(--gradient-pink-btn);
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(255, 45, 117, 0.35);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 45, 117, 0.55);
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 1;
  max-width: 1540px;
  margin: 0 auto;
  padding: 14px 48px 30px;
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 36px;
  align-items: center;
}

/* Hero Left Column */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.badge-capsule {
  align-self: flex-start;
  padding: 5px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.badge-capsule .sparkle {
  color: #ffb703;
  font-size: 0.95rem;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-title .gradient-text {
  font-style: italic;
  font-weight: 900;
  background: linear-gradient(135deg, #00f2fe 10%, #ff2d75 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 35px rgba(0, 242, 254, 0.4);
}

.hero-subtitle {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 540px;
}

/* Feature Box Carousel Container */
.features-carousel-viewport {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 615px;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(13, 19, 36, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 16px 40px -10px rgba(0, 0, 0, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-top: 4px;
  margin-bottom: 2px;
  padding: 14px;
}

/* Elegant fade masks on top and bottom for smooth rotation */
.features-carousel-viewport::before,
.features-carousel-viewport::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 38px;
  z-index: 5;
  pointer-events: none;
}

.features-carousel-viewport::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(10, 14, 26, 0.95), transparent);
}

.features-carousel-viewport::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 14, 26, 0.95), transparent);
}

/* Sliding Track - moves upward smoothly and loops continuously */
.features-carousel-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: slideVerticalLoop 30s linear infinite;
  will-change: transform;
}

/* Pause sliding on hover so user can easily read and click */
.features-carousel-viewport:hover .features-carousel-track {
  animation-play-state: paused;
}

@keyframes slideVerticalLoop {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Feature Item as a Sleek Glow Box */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(20, 26, 46, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  flex-shrink: 0;
}

.feature-item:hover {
  background: rgba(30, 41, 69, 0.95);
  border-color: rgba(0, 242, 254, 0.5);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.55),
    0 0 25px rgba(0, 242, 254, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: scale(1.02);
}

.feature-icon-wrapper {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 
    0 10px 22px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item:hover .feature-icon-wrapper {
  transform: scale(1.1) translateY(-2px);
}

.feature-icon-wrapper svg {
  width: 32px;
  height: 32px;
  color: #fff;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

/* Custom Icon Gradient Colors with matching glow */
.icon-pink {
  background: linear-gradient(135deg, #ff2d75 0%, #ff5b94 100%);
  box-shadow: 
    0 0 25px rgba(255, 45, 117, 0.6),
    0 8px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.icon-blue {
  background: linear-gradient(135deg, #0077b6 0%, #00f2fe 100%);
  box-shadow: 
    0 0 25px rgba(0, 242, 254, 0.6),
    0 8px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.icon-cyan {
  background: linear-gradient(135deg, #0d9488 0%, #10b981 100%);
  box-shadow: 
    0 0 25px rgba(16, 185, 129, 0.6),
    0 8px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.icon-orange {
  background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
  box-shadow: 
    0 0 25px rgba(245, 158, 11, 0.6),
    0 8px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.icon-purple {
  background: linear-gradient(135deg, #6d28d9 0%, #a855f7 100%);
  box-shadow: 
    0 0 25px rgba(168, 85, 247, 0.6),
    0 8px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.feature-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.feature-info p {
  font-size: 1.08rem;
  color: #e2e8f0;
  line-height: 1.5;
  font-weight: 400;
}

/* Call to action & App Store Buttons */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  position: relative;
  z-index: 10;
}

.btn-primary-glow {
  background: var(--gradient-pink-btn);
  color: #fff;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(255, 45, 117, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 45, 117, 0.65);
}

.store-btn {
  background: #000000;
  border: 1px solid #a6a6a6;
  padding: 6px 16px 6px 14px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  transition: all 0.25s ease;
  min-height: 48px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.store-btn:hover {
  border-color: #ffffff;
  background: #0a0e1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 242, 254, 0.2);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  text-align: left;
}

.store-btn-text span.small {
  font-size: 0.62rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.2px;
  margin-bottom: 1px;
}

.store-btn-text span.big {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =======================================================
   Hero Right Column - Interactive Neon Hologram & Phone
   ======================================================= */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 640px;
}

/* Cyber Earth Hologram in the Center/Background */
.cyber-globe-wrapper {
  position: absolute;
  left: 20px;
  bottom: 60px;
  width: 240px;
  height: 240px;
  z-index: 2;
  pointer-events: none;
}

.cyber-globe-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.35) 0%, rgba(139, 92, 246, 0.2) 50%, transparent 70%);
  filter: blur(25px);
  border-radius: 50%;
  animation: pulseGlobe 4s ease-in-out infinite alternate;
}

@keyframes pulseGlobe {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 0.95; }
}

.globe-sphere {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0, 242, 254, 0.45);
  box-shadow: 
    inset 0 0 35px rgba(0, 242, 254, 0.45),
    0 0 30px rgba(0, 242, 254, 0.35);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 40% 40%, rgba(30, 58, 138, 0.4) 0%, rgba(10, 15, 30, 0.8) 100%);
}

.globe-grid {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: 
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(0, 242, 254, 0.25) 19px, transparent 20px),
    radial-gradient(ellipse at center, transparent 30%, rgba(0, 242, 254, 0.2) 70%);
  animation: rotateGlobe 20s linear infinite;
}

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

/* Orbiting connection pins */
.orbit-ring {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 45, 117, 0.4);
  animation: orbitRotate 15s linear infinite;
}

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

.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #ff2d75;
  border-radius: 50%;
  box-shadow: 0 0 14px #ff2d75;
}

/* Floating holographic call cards */
.floating-card {
  position: absolute;
  z-index: 10;
  padding: 12px 18px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(0, 242, 254, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 35px -5px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: floatAnim 6s ease-in-out infinite;
}

.floating-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 45px -5px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 242, 254, 0.4);
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Floating Card 1: Alex Video Call */
.card-alex {
  top: 15px;
  right: 280px;
  border-color: rgba(0, 242, 254, 0.35);
  animation-delay: 0s;
}

/* Floating Card 2: Mom Audio Call */
.card-mom {
  top: 240px;
  left: 30px;
  border-color: rgba(16, 185, 129, 0.4);
  animation-delay: -2.5s;
}

/* Floating Card 3: Sophie Chat Bubble */
.card-sophie {
  bottom: 80px;
  right: -25px;
  border-color: rgba(255, 45, 117, 0.35);
  animation-delay: -4s;
}

/* Floating Card 4: Moments Story Card */
.card-moments {
  top: 90px;
  right: -35px;
  width: 200px;
  flex-direction: column;
  padding: 10px;
  border-color: rgba(255, 255, 255, 0.15);
  animation-delay: -1.5s;
}

.card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00f2fe;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

.card-mom .card-avatar {
  border-color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.card-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.card-status {
  font-size: 0.78rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.audio-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}
.wave-bar {
  width: 2.5px;
  background: #00f2fe;
  border-radius: 2px;
  animation: soundWave 1.2s ease-in-out infinite alternate;
}
.wave-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 12px; animation-delay: 0.3s; }
.wave-bar:nth-child(3) { height: 15px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 8px; animation-delay: 0.4s; }
.wave-bar:nth-child(5) { height: 14px; animation-delay: 0.15s; }

@keyframes soundWave {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.1); }
}

.call-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #10b981;
  color: #fff;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
  margin-left: 8px;
}

/* Moments card internal styling */
.moments-img {
  width: 100%;
  height: 105px;
  border-radius: 14px;
  object-fit: cover;
}

.moments-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* Floating Glass Floating Icon Spheres */
.floating-icon-bubble {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  animation: floatAnim 5s ease-in-out infinite alternate;
}

.bubble-video {
  left: -20px;
  bottom: 210px;
  color: #00f2fe;
  animation-delay: -1s;
}

.bubble-chat {
  left: 90px;
  bottom: 100px;
  color: #ff2d75;
  animation-delay: -3s;
}

.bubble-plane {
  left: 170px;
  bottom: 260px;
  color: #c084fc;
  animation-delay: -2s;
}

/* =======================================================
   Realistic 3D Smartphone Device Mockup
   ======================================================= */
.phone-mockup-container {
  position: relative;
  width: 320px;
  height: 650px;
  perspective: 1000px;
  z-index: 5;
  margin-left: 60px;
}

.phone-mockup {
  width: 100%;
  height: 100%;
  border-radius: 46px;
  background: #0f1422;
  border: 4px solid #334155;
  outline: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 30px 60px -12px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(0, 242, 254, 0.25),
    inset 0 0 3px rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: rotate(2.5deg);
  transition: transform 0.5s ease;
}

.phone-mockup:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Glass reflection shine on screen */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 45%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 25;
}

/* Dynamic Island / Speaker Notch */
.phone-notch {
  width: 110px;
  height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notch-camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #111;
  border: 1px solid #1e293b;
}

.notch-speaker {
  width: 32px;
  height: 4px;
  border-radius: 4px;
  background: #1e293b;
}

/* App Header Inside Phone */
.app-screen-header {
  padding: 30px 20px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.3px;
}

.app-brand-title span.grad {
  background: linear-gradient(135deg, #00f2fe, #ff2d75);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Stories / Contacts Row inside Phone */
.phone-stories-row {
  padding: 14px 18px 8px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
}

.phone-stories-row::-webkit-scrollbar {
  display: none;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.story-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #ff2d75, #00f2fe);
}

.story-ring.plus {
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.story-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0f1422;
}

/* Chat Items Inside Phone */
.phone-chat-list {
  flex: 1;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.chat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 14px;
  transition: background 0.2s;
  background: rgba(255, 255, 255, 0.03);
}

.chat-row:hover {
  background: rgba(255, 255, 255, 0.08);
}

.chat-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

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

.chat-body-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}

.chat-username {
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}

.chat-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.chat-snippet {
  font-size: 0.74rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Phone Bottom Tab Bar */
.phone-tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 10px 22px;
  background: rgba(15, 20, 34, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 0.65rem;
  text-decoration: none;
}

.tab-item.active {
  color: #ff2d75;
}

.call-fab-center {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f2fe, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: -24px;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.5);
  border: 3px solid #0f1422;
}

/* Handwritten tagline on bottom right */
.handwritten-tagline {
  position: absolute;
  bottom: 0px;
  right: -20px;
  font-family: 'Outfit', cursive, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #00f2fe;
  transform: rotate(-8deg);
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

/* =======================================================
   Interactive Feature Showcase Tabs
   ======================================================= */
.section-feature-grid {
  max-width: 1600px;
  margin: 50px auto 90px;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.section-feature-grid::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(0, 242, 254, 0.08) 0%, rgba(168, 85, 247, 0.06) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
  position: relative;
  z-index: 2;
}

.section-tag {
  color: #00f2fe;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
  display: inline-block;
  padding: 4px 16px;
  border-radius: 50px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.section-heading {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.6;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  --card-glow: rgba(168, 85, 247, 0.38);
  border-radius: 28px;
  min-height: 380px;
  padding: 50px 42px;
  background: radial-gradient(circle at 50% 0%, rgba(26, 38, 74, 0.75) 0%, rgba(10, 14, 28, 0.95) 75%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  animation: cardEdgeGlow 3.6s ease-in-out infinite alternate;
}

@keyframes cardEdgeGlow {
  from {
    box-shadow: 0 18px 45px -12px rgba(0, 0, 0, 0.8), 0 0 28px -5px var(--card-glow), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  }
  to {
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.75), 0 0 52px -3px var(--card-glow), inset 0 1px 3px rgba(255, 255, 255, 0.3);
  }
}

/* Glass Reflection Sheen on Top Half */
.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.03) 30%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

/* Pulsing Ambient Floor Glow beneath each card */
.feature-card::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 220px;
  border-radius: 50%;
  filter: blur(65px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
  transition: all 0.5s ease;
  animation: cardLightPulse 4s ease-in-out infinite alternate;
}

@keyframes cardLightPulse {
  0% {
    opacity: 0.4;
    transform: translateX(-50%) scale(0.95);
  }
  100% {
    opacity: 0.65;
    transform: translateX(-50%) scale(1.15);
  }
}

/* 1. Pink Card - Ultra Neon Lighting */
.feature-card.card-pink {
  --card-glow: rgba(255, 45, 117, 0.56);
  border-color: rgba(255, 45, 117, 0.35);
  box-shadow: 
    0 18px 45px -12px rgba(0, 0, 0, 0.8),
    0 0 35px -5px rgba(255, 45, 117, 0.32),
    inset 0 1px 2px rgba(255, 255, 255, 0.25),
    inset 0 -20px 40px -20px rgba(255, 45, 117, 0.15);
}

.feature-card.card-pink::before {
  background: radial-gradient(circle, #ff2d75 0%, rgba(255, 45, 117, 0.4) 60%, transparent 80%);
}

.feature-card.card-pink:hover {
  border-color: #ff2d75;
  box-shadow: 
    0 25px 60px -10px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(255, 45, 117, 0.6),
    0 0 100px rgba(255, 45, 117, 0.3),
    inset 0 0 30px rgba(255, 45, 117, 0.25),
    inset 0 1px 2px #fff;
  transform: translateY(-10px) scale(1.02);
}

.feature-card.card-pink:hover::before {
  opacity: 0.85;
  transform: translateX(-50%) scale(1.25);
}

.feature-card.card-pink:hover::after {
  transform: translateY(-20px) rotate(5deg);
}

/* 2. Cyan Card - Ultra Neon Lighting */
.feature-card.card-cyan {
  --card-glow: rgba(0, 242, 254, 0.56);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 
    0 18px 45px -12px rgba(0, 0, 0, 0.8),
    0 0 35px -5px rgba(0, 242, 254, 0.32),
    inset 0 1px 2px rgba(255, 255, 255, 0.25),
    inset 0 -20px 40px -20px rgba(0, 242, 254, 0.15);
}

.feature-card.card-cyan::before {
  background: radial-gradient(circle, #00f2fe 0%, rgba(0, 242, 254, 0.4) 60%, transparent 80%);
}

.feature-card.card-cyan:hover {
  border-color: #00f2fe;
  box-shadow: 
    0 25px 60px -10px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(0, 242, 254, 0.6),
    0 0 100px rgba(0, 242, 254, 0.3),
    inset 0 0 30px rgba(0, 242, 254, 0.25),
    inset 0 1px 2px #fff;
  transform: translateY(-10px) scale(1.02);
}

.feature-card.card-cyan:hover::before {
  opacity: 0.85;
  transform: translateX(-50%) scale(1.25);
}

.feature-card.card-cyan:hover::after {
  transform: translateY(-20px) rotate(5deg);
}

/* 3. Purple Card - Ultra Neon Lighting */
.feature-card.card-purple {
  --card-glow: rgba(168, 85, 247, 0.56);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 
    0 18px 45px -12px rgba(0, 0, 0, 0.8),
    0 0 35px -5px rgba(168, 85, 247, 0.32),
    inset 0 1px 2px rgba(255, 255, 255, 0.25),
    inset 0 -20px 40px -20px rgba(168, 85, 247, 0.15);
}

.feature-card.card-purple::before {
  background: radial-gradient(circle, #a855f7 0%, rgba(168, 85, 247, 0.4) 60%, transparent 80%);
}

.feature-card.card-purple:hover {
  border-color: #a855f7;
  box-shadow: 
    0 25px 60px -10px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(168, 85, 247, 0.6),
    0 0 100px rgba(168, 85, 247, 0.3),
    inset 0 0 30px rgba(168, 85, 247, 0.25),
    inset 0 1px 2px #fff;
  transform: translateY(-10px) scale(1.02);
}

.feature-card.card-purple:hover::before {
  opacity: 0.85;
  transform: translateX(-50%) scale(1.25);
}

.feature-card.card-purple:hover::after {
  transform: translateY(-20px) rotate(5deg);
}

/* Glowing Icon Badges */
.card-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  position: relative;
  z-index: 3;
  transition: all 0.4s ease;
}

.feature-card:hover .card-icon {
  transform: scale(1.12) translateY(-3px);
}

.card-icon.icon-pink {
  background: linear-gradient(135deg, #ff2d75, #ff6b8b);
  box-shadow: 
    0 0 35px rgba(255, 45, 117, 0.8),
    0 8px 25px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.card-icon.icon-blue {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  box-shadow: 
    0 0 35px rgba(0, 242, 254, 0.8),
    0 8px 25px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.card-icon.icon-purple {
  background: linear-gradient(135deg, #a855f7, #c084fc);
  box-shadow: 
    0 0 35px rgba(168, 85, 247, 0.8),
    0 8px 25px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.card-icon svg { width: 34px; height: 34px; }

.card-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #ffffff;
  position: relative;
  z-index: 3;
  letter-spacing: -0.4px;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.18), 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: text-shadow 0.3s ease, transform 0.3s ease;
}

.card-desc {
  color: #d1d5db;
  font-size: 1.4rem;
  line-height: 1.7;
  position: relative;
  z-index: 3;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.12);
}

.feature-card.card-pink .card-title {
  text-shadow: 0 0 18px rgba(255, 45, 117, 0.48), 0 2px 10px rgba(0, 0, 0, 0.55);
}

.feature-card.card-cyan .card-title {
  text-shadow: 0 0 18px rgba(0, 242, 254, 0.48), 0 2px 10px rgba(0, 0, 0, 0.55);
}

.feature-card.card-purple .card-title {
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.5), 0 2px 10px rgba(0, 0, 0, 0.55);
}

.feature-card:hover .card-title {
  transform: translateY(-2px);
}

.feature-card.card-pink:hover .card-title {
  text-shadow: 0 0 24px rgba(255, 45, 117, 0.78), 0 0 42px rgba(255, 45, 117, 0.3);
}

.feature-card.card-cyan:hover .card-title {
  text-shadow: 0 0 24px rgba(0, 242, 254, 0.78), 0 0 42px rgba(0, 242, 254, 0.3);
}

.feature-card.card-purple:hover .card-title {
  text-shadow: 0 0 24px rgba(168, 85, 247, 0.78), 0 0 42px rgba(168, 85, 247, 0.3);
}

/* Footer Section */
footer.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 22, 0.95);
  padding: 26px 32px 20px;
  margin-top: 38px;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.12rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #00f2fe;
}

.footer-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.02rem;
  color: var(--text-secondary);
}

.footer-stats-badge #visit-counter {
  color: #00f2fe;
  font-weight: 700;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* =======================================================
   Responsive Breakpoints
   ======================================================= */
@media (max-width: 1200px) {
  .hero-section {
    position: relative;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 20px;
  }
  .hero-left {
    position: relative;
    z-index: 2;
    align-items: center;
    text-align: center;
  }
  .hero-right {
    position: absolute;
    z-index: 0;
    top: 0;
    right: -40vw;
    width: 100vw;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.62;
  }
  .hero-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/hero_composition_exact.png") center / cover no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 32%);
    mask-image: linear-gradient(to right, transparent, #000 32%);
  }
  .hero-right > * { display: none !important; }
  .hero-title {
    font-size: 2.8rem;
  }
  .features-list {
    max-width: 600px;
    text-align: left;
  }
  .badge-capsule {
    align-self: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .card-alex {
    right: 20px;
  }
  .card-moments {
    display: none;
  }
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header.site-header {
    padding: 16px 20px;
  }
  .hero-section {
    padding: 20px 20px 32px;
    gap: 32px;
  }
  .features-carousel-viewport { height: 580px; }
  .feature-item { padding: 22px; gap: 16px; }
  .feature-icon-wrapper { width: 64px; height: 64px; }
  .feature-info h3 { font-size: 1.32rem; }
  .feature-info p { font-size: 1.12rem; line-height: 1.45; }
  .hero-cta-group {
    width: 100%;
    max-width: 600px;
    justify-content: center;
    gap: 10px;
  }
  .hero-cta-group > a { max-width: 100%; }
  .hero-title {
    font-size: 2.3rem;
    line-height: 1.08;
    letter-spacing: -0.8px;
  }
  .phone-mockup-container {
    margin-left: 0;
    width: 290px;
    height: 590px;
  }
  .card-mom {
    left: -10px;
    top: 180px;
  }
  .card-sophie {
    right: -10px;
    bottom: 40px;
  }
  .cyber-globe-wrapper {
    left: -20px;
    bottom: 20px;
    transform: scale(0.8);
  }
  .grid-cards {
    grid-template-columns: 1fr;
  }
}

/* Reference-matched landing hero */
@media (min-width: 1201px) {
  header.site-header {
    height: 80px;
    padding: 12px max(7.3vw, calc((100vw - 1458px) / 2));
    background: rgba(3, 14, 35, 0.72);
  }

  .brand-container { gap: 10px; }
  .brand-icon-box { width: 48px; height: 48px; }
  .brand-tagline {
    display: inline-block;
    margin-left: 4px;
    padding-left: 0;
    border: 0;
    color: #dbe4f4;
    font-size: 1.16rem;
    white-space: nowrap;
  }
  nav.main-nav { gap: 42px; }
  .nav-link { font-size: 1.28rem; }
  .btn-get-started { font-size: 1.17rem; padding: 13px 28px; }
  .hero-section {
    max-width: 1458px;
    min-height: calc(100vh - 80px);
    padding: 22px 0 36px;
    grid-template-columns: 590px minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }
  .hero-left { gap: 16px; position: relative; z-index: 2; transform: translateX(-24px); }
  .badge-capsule {
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    border-color: rgba(132, 79, 255, 0.55);
    background: linear-gradient(110deg, rgba(110, 36, 137, 0.42), rgba(0, 90, 208, 0.28));
  }
  .hero-title { font-size: 3.05rem; line-height: 1.08; letter-spacing: -0.8px; }
  .hero-subtitle { max-width: 520px; font-size: 1.12rem; line-height: 1.48; }
  .features-list { gap: 9px; margin-top: 0; }
  .feature-item {
    gap: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(162, 188, 255, 0.17);
    border-radius: 15px;
    background: linear-gradient(110deg, rgba(12, 28, 58, 0.54), rgba(20, 28, 55, 0.34));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 8px 20px rgba(3, 8, 24, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .feature-item:hover {
    background: linear-gradient(110deg, rgba(19, 43, 82, 0.68), rgba(28, 34, 69, 0.48));
    border-color: rgba(115, 201, 255, 0.32);
    transform: translateX(3px);
  }
  .feature-icon-wrapper { width: 54px; height: 54px; border-radius: 14px; }
  .feature-icon-wrapper svg { width: 26px; height: 26px; }
  .feature-info h3 { font-size: 1.16rem; margin: 0 0 2px; }
  .feature-info p { font-size: 1.02rem; line-height: 1.35; color: #d3deef; }
  .hero-cta-group { gap: 12px; margin-top: 3px; }
  .btn-primary-glow { padding: 14px 23px; background: linear-gradient(110deg, #e626d6, #008af7); }
  .store-btn { padding: 7px 13px; border-radius: 10px; }
  .hero-right {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 580px;
    width: calc(100vw - max(7.3vw, calc((100vw - 1458px) / 2)) - 580px);
    min-width: 1006px;
    height: calc(100vh - 80px);
    min-height: 650px;
    pointer-events: none;
  }
  .hero-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/hero_composition_exact.png") center top / 100% 100% no-repeat;
    /* Fade the artwork into the page background so it reads as part of the hero,
       without a visible rectangular image edge. */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 100%),
                        linear-gradient(to bottom, transparent 0%, #000 5%, #000 94%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 100%),
                linear-gradient(to bottom, transparent 0%, #000 5%, #000 94%, transparent 100%);
    mask-composite: intersect;
  }
  .hero-right > * { display: none !important; }
  .section-feature-grid, .site-footer { position: relative; z-index: 1; }
}

@media (max-width: 1200px) {
  .brand-tagline { display: none; }
}

/* Small-screen layout: show readable feature cards without carousel clipping. */
@media (max-width: 768px) {
  body { overflow-x: hidden; }

  header.site-header {
    display: block;
    min-height: 0;
    height: auto;
    padding: 10px 16px 8px;
  }
  .site-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "navigation navigation";
    width: 100%;
    max-width: 100%;
    padding: 0;
    column-gap: 10px;
    row-gap: 8px;
    box-sizing: border-box;
  }
  .brand-container {
    grid-area: brand;
    min-width: 0;
    margin-left: 0;
    gap: 8px;
  }
  .brand-logo-badge { width: 36px; height: 36px; border-radius: 11px; }
  .brand-wordmark-logo {
    width: clamp(104px, 34vw, 150px);
    height: auto;
    max-width: 100%;
  }
  .header-actions {
    grid-area: actions;
    min-width: 0;
  }
  nav.main-nav {
    grid-area: navigation;
    display: flex;
    justify-content: center;
    gap: clamp(10px, 4vw, 26px);
    width: 100%;
    min-width: 0;
    padding: 2px 0 4px;
    box-sizing: border-box;
  }
  .nav-link {
    padding: 5px 2px;
    font-size: clamp(0.82rem, 3.5vw, 1rem);
    white-space: nowrap;
  }
  .brand-lockup {
    width: clamp(140px, 42vw, 180px);
    height: auto;
  }
  .btn-get-started {
    padding: 9px 13px;
    gap: 5px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .hero-section {
    display: block;
    min-height: 0;
    padding: 22px 16px 34px;
  }
  .hero-left {
    width: 100%;
    align-items: stretch;
    gap: 18px;
    text-align: left;
    transform: none;
  }
  .hero-title {
    text-align: center;
    font-size: clamp(2rem, 7.2vw, 2.3rem);
    line-height: 1.08;
    letter-spacing: -1px;
  }
  .hero-right { display: none; }

  .features-carousel-viewport {
    width: 100%;
    max-width: none;
    height: clamp(420px, 68vh, 580px);
    overflow: hidden;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(13, 19, 36, 0.48);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .features-carousel-viewport::before,
  .features-carousel-viewport::after { display: block; height: 24px; }
  .features-carousel-track {
    gap: 12px;
    animation: slideVerticalLoop 30s linear infinite;
    will-change: transform;
  }
  .features-carousel-viewport:hover .features-carousel-track { animation-play-state: paused; }
  .feature-item {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    text-align: left;
  }
  .feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
  .feature-icon-wrapper svg { width: 24px; height: 24px; }
  .feature-info {
    flex: 1;
    min-width: 0;
    gap: 4px;
    text-align: left;
  }
  .feature-info h3 {
    font-size: 1.08rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  .feature-info p {
    font-size: 0.94rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .hero-cta-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 440px;
    margin: 2px auto 0;
    gap: 10px;
  }
  .hero-cta-group .btn-primary-glow {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    padding: 13px 16px;
    font-size: 1rem;
  }
  .hero-cta-group .store-btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    justify-content: center;
    gap: 7px;
    padding: 6px 8px;
  }
  .hero-cta-group .store-btn svg { width: 22px; height: 22px; }
  .store-btn-text span.small { font-size: 0.54rem; }
  .store-btn-text span.big { font-size: 0.88rem; }

  .section-feature-grid {
    margin: 32px auto 56px;
    padding: 0 16px;
  }
  .section-header { margin-bottom: 28px; }
  .section-heading { font-size: clamp(1.85rem, 7vw, 2.25rem); }
  .section-desc { font-size: 1rem; }
  .feature-card {
    min-height: 0;
    padding: 34px 28px;
  }
  .card-title { font-size: 1.72rem; }
  .card-desc { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .feature-card::before,
  .feature-card::after {
    animation: none;
    transition: none;
  }
}

@media (max-width: 380px) {
  header.site-header { padding-inline: 12px; }
  .brand-wordmark-logo { width: clamp(94px, 32vw, 124px); }
  .btn-get-started { padding: 8px 10px; font-size: 0.82rem; }
  .hero-section { padding-inline: 12px; }
  .feature-item { gap: 11px; padding: 14px; }
  .feature-icon-wrapper { width: 46px; height: 46px; }
  .feature-info h3 { font-size: 1rem; }
  .feature-info p { font-size: 0.9rem; }
  .hero-cta-group .store-btn { gap: 5px; padding-inline: 5px; }
  .hero-cta-group .store-btn svg { width: 19px; height: 19px; }
  .store-btn-text span.big { font-size: 0.8rem; }
}
