*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 40%, #000 100%);
  color: #f9fafb;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Custom cursor - desktop only */
@media (min-width: 901px) {
  body {
    cursor: none;
  }

  .cursor {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(168, 85, 247, 0.8);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, opacity 0.2s ease;
    mix-blend-mode: difference;
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    background: rgba(168, 85, 247, 1);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.05s ease;
    mix-blend-mode: difference;
  }

  .cursor.hover {
    transform: scale(1.5);
    border-color: rgba(236, 72, 153, 0.8);
  }

  .cursor-dot.hover {
    transform: scale(1.5);
    background: rgba(236, 72, 153, 1);
  }
}

@media (max-width: 900px) {
  .cursor,
  .cursor-dot {
    display: none !important;
  }
}

body::before {
  /* subtle starfield overlay */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(148, 163, 184, 0.7) 0, transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(148, 163, 184, 0.5) 0, transparent 40%),
    radial-gradient(circle at 25% 80%, rgba(148, 163, 184, 0.4) 0, transparent 40%),
    radial-gradient(circle at 60% 60%, rgba(148, 163, 184, 0.35) 0, transparent 40%);
  opacity: 0.4;
  mix-blend-mode: screen;
  animation: twinkle 8s ease-in-out infinite alternate;
  z-index: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

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

@keyframes wiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-3deg);
  }
  75% {
    transform: rotate(3deg);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.6);
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.6;
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}

.floating {
  animation: float 6s ease-in-out infinite;
}

.floating-slow {
  animation: floatSlow 8s ease-in-out infinite;
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.hover-lift:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.8);
  z-index: 2;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.7));
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo:hover .logo-img {
  animation: bounce 0.6s ease-in-out;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #e5e7eb;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.nav a {
  color: #e5e7eb;
  opacity: 0.9;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
}

.nav a:hover {
  background: rgba(148, 163, 184, 0.12);
  opacity: 1;
  transform: translateY(-1px);
}

.pill {
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill-outline {
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.pill-soft {
  background: rgba(129, 140, 248, 0.15);
  color: #e5e7eb;
  border: 1px solid rgba(129, 140, 248, 0.35);
}

/* Hero */
.hero {
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatSlow 10s ease-in-out infinite;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3.4vw, 3rem);
  line-height: 1.05;
  margin: 0.25rem 0 0.75rem;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: #9ca3af;
  font-weight: 600;
}

.hero-subtitle {
  margin: 0 0 1.75rem;
  color: #e5e7eb;
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 400;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4);
  border-color: rgba(168, 85, 247, 0.7);
}

.badge-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.badge-content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.badge-label {
  font-size: 0.65rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.badge-text {
  color: #e5e7eb;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
}

.badge-status {
  font-size: 0.7rem;
  color: #a855f7;
  font-weight: 500;
  line-height: 1;
  margin-top: 0.1rem;
}

.badge-muted {
  opacity: 0.7;
}

.badge-muted:hover {
  opacity: 0.9;
}

.hero-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.phone-frame {
  border-radius: 32px;
  padding: 0.6rem;
  background: radial-gradient(circle at top, #111827, #020617);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 26px 50px rgba(15, 23, 42, 0.9), 0 0 60px rgba(168, 85, 247, 0.2);
  max-width: 270px;
  transition: box-shadow 0.3s ease;
}

.phone-frame:hover {
  box-shadow: 0 30px 60px rgba(15, 23, 42, 1), 0 0 80px rgba(168, 85, 247, 0.3);
}

.phone-frame.small {
  max-width: 220px;
  height: auto;
}

.phone-frame.small .screen-img {
  height: 400px;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 640px) {
  .phone-frame.small .screen-img {
    height: 350px;
  }
  
  .phone-frame {
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.7), 0 0 30px rgba(168, 85, 247, 0.15);
  }
  
  .phone-frame:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.8), 0 0 40px rgba(168, 85, 247, 0.2);
  }
}

.phone-frame.large {
  max-width: 300px;
}

.phone-frame img {
  border-radius: 24px;
  width: 100%;
  height: auto;
}

.screen-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 640px) {
  .screen-img {
    height: 350px;
  }
  
  .screens-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .screen-card {
    max-width: 100%;
  }
  
  .phone-frame.small {
    max-width: 100%;
    width: 100%;
  }
}

/* Feature strip */
.feature-strip {
  padding: 1.2rem 0 1rem;
  border-top: 1px solid rgba(15, 23, 42, 1);
  border-bottom: 1px solid rgba(15, 23, 42, 1);
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.4), #020617);
}

.feature-strip-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: #e5e7eb;
  font-weight: 400;
  line-height: 1.6;
}

.strip-dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
}

/* Screens */
.screens {
  padding: 3rem 0 3.25rem;
}

.section-heading {
  max-width: 560px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.section-heading p {
  margin: 0;
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.6rem;
}

.screen-card {
  margin: 0;
  text-align: center;
  color: #e5e7eb;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.5rem;
  font-weight: 400;
  line-height: 1.6;
}

.screen-card figcaption {
  max-width: 220px;
  position: relative;
  z-index: 10;
  margin-top: 0.5rem;
}

/* Habit Card Showcase */
.habit-card-showcase {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
}

.habit-card-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.showcase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .showcase-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .showcase-visual {
    order: -1;
    margin-bottom: 1rem;
  }
  
  .showcase-text {
    z-index: 10;
    position: relative;
  }
  
  .card-glow {
    opacity: 0.3;
  }
}

.showcase-text {
  position: relative;
  z-index: 2;
}

.showcase-text h2 {
  font-size: 2rem;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.showcase-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e5e7eb;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  font-weight: 400;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), background 0.3s ease, box-shadow 0.3s ease;
  font-size: 0.95rem;
  color: #e5e7eb;
  font-weight: 400;
}

.showcase-feature:hover {
  transform: translateX(8px) scale(1.02);
  background: rgba(168, 85, 247, 0.2);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.feature-icon {
  font-size: 1.5rem;
}

.showcase-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.habit-card-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.habit-card-img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(168, 85, 247, 0.3);
  transition: box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
}

.habit-card-3d:hover .habit-card-img {
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 80px rgba(168, 85, 247, 0.5);
}

.card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
  animation: pulse-glow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* How it works */
.how-it-works {
  padding: 3rem 0 3.25rem;
  border-top: 1px solid rgba(15, 23, 42, 1);
}

.steps-visual {
  display: grid;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .steps-visual {
    grid-template-columns: 1fr;
  }
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), #020617);
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-item:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 25px 50px rgba(168, 85, 247, 0.3);
}

.step-item:hover .step-number {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(168, 85, 247, 0.5);
}

.step-item:hover::before {
  opacity: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
  margin-bottom: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), box-shadow 0.3s ease;
  position: relative;
}

.step-number::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.step-item:hover .step-number::after {
  opacity: 0.6;
}

.step-content {
  width: 100%;
}

.step-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: #e5e7eb;
}

.step-content p {
  margin: 0;
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
}

/* Locked Apps Interactive Section */
.locked-apps-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
}

.locked-apps-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 30%);
  animation: pulse-bg 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes pulse-bg {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.locked-apps-section .section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 2;
}

.locked-apps-section .section-heading p {
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
}

.locked-apps-section .section-heading h2 {
  background: linear-gradient(135deg, #fff 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.app-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.app-icon-wrapper:hover {
  transform: translateY(-8px) scale(1.05);
}

.app-icon-wrapper:active {
  transform: translateY(-3px) scale(1.02);
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.4),
    0 0 0 2px rgba(168, 85, 247, 0),
    inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.app-icon::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(236, 72, 153, 0.5));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.app-icon-wrapper:hover .app-icon::before {
  opacity: 1;
  animation: border-glow 2s ease-in-out infinite;
}

@keyframes border-glow {
  0%, 100% {
    opacity: 0.5;
    filter: blur(4px);
  }
  50% {
    opacity: 1;
    filter: blur(8px);
  }
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: filter 0.4s ease, transform 0.4s ease;
}

.app-icon.locked img {
  filter: grayscale(100%) brightness(0.3) contrast(0.8);
  transform: scale(0.95);
}

.app-icon.unlocked img {
  filter: none;
  transform: scale(1.1);
  animation: unlock-pop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes unlock-pop {
  0% {
    transform: scale(0.95);
    filter: grayscale(100%) brightness(0.3);
  }
  50% {
    transform: scale(1.2);
    filter: grayscale(0%) brightness(1.2);
  }
  100% {
    transform: scale(1.1);
    filter: none;
  }
}

.lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    radial-gradient(circle at center, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%),
    linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(168, 85, 247, 0.3);
}

.app-icon.unlocked .lock-overlay {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.lock-icon {
  width: 36px;
  height: 36px;
  color: #fff;
  stroke: currentColor;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.8));
  transition: all 0.4s ease;
  animation: lock-pulse 2s ease-in-out infinite;
}

@keyframes lock-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.8));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(168, 85, 247, 1));
  }
}

.app-icon-wrapper:hover .lock-icon {
  transform: scale(1.3) rotate(10deg);
  animation: lock-shake 0.5s ease-in-out;
}

@keyframes lock-shake {
  0%, 100% { transform: scale(1.3) rotate(10deg); }
  25% { transform: scale(1.3) rotate(15deg); }
  75% { transform: scale(1.3) rotate(5deg); }
}

.app-icon.unlocked .lock-icon {
  opacity: 0;
}

.app-name {
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
  transition: color 0.3s ease;
  font-weight: 500;
}

.app-icon-wrapper:hover .app-name {
  color: #a855f7;
}

.app-icon.unlocked ~ .app-name {
  color: #22c55e;
}

/* Unlock animation - giggle instead of rotate */
@keyframes giggle {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  10% {
    transform: translateX(-3px) translateY(-2px);
  }
  20% {
    transform: translateX(3px) translateY(2px);
  }
  30% {
    transform: translateX(-2px) translateY(-3px);
  }
  40% {
    transform: translateX(2px) translateY(3px);
  }
  50% {
    transform: translateX(-1px) translateY(-1px);
  }
  60% {
    transform: translateX(1px) translateY(1px);
  }
  70% {
    transform: translateX(-1px) translateY(0);
  }
  80% {
    transform: translateX(1px) translateY(0);
  }
  90% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes unlock {
  0% {
    transform: scale(1);
    opacity: 1;
    filter: blur(0px);
  }
  30% {
    transform: scale(1.2);
    opacity: 0.8;
    filter: blur(2px);
  }
  60% {
    transform: scale(1.1);
    opacity: 0.4;
    filter: blur(4px);
  }
  100% {
    transform: scale(0.9);
    opacity: 0;
    filter: blur(8px);
  }
}

.app-icon.unlocking {
  animation: giggle 0.6s ease-in-out;
}

.app-icon.unlocking .lock-overlay {
  animation: unlock 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.app-icon.unlocking .lock-icon {
  animation: unlock-icon 0.6s ease-out forwards;
}

@keyframes unlock-icon {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}

/* Unlock demo button */
.unlock-demo {
  text-align: center;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.demo-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 2.5rem;
  border-radius: 999px;
  border: 2px solid rgba(168, 85, 247, 0.6);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.25));
  color: #e5e7eb;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  box-shadow: 
    0 8px 20px rgba(168, 85, 247, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: button-pulse 2s ease-in-out infinite;
}

@keyframes button-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
      0 8px 20px rgba(168, 85, 247, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 
      0 12px 30px rgba(168, 85, 247, 0.5),
      0 0 40px rgba(236, 72, 153, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

/* Star animations are now handled by .star-1, .star-2, .star-3 elements */

@keyframes star-float-1 {
  0% {
    transform: translateY(20px) translateX(0) rotate(0deg) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 1;
    transform: translateY(5px) translateX(3px) rotate(45deg) scale(1);
  }
  50% {
    transform: translateY(-25px) translateX(8px) rotate(180deg) scale(1.3);
    opacity: 1;
  }
  85% {
    transform: translateY(-50px) translateX(5px) rotate(315deg) scale(1.1);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-70px) translateX(0) rotate(360deg) scale(0.3);
    opacity: 0;
  }
}

@keyframes star-float-2 {
  0% {
    transform: translateY(20px) translateX(0) rotate(0deg) scale(0.5);
    opacity: 0;
  }
  18% {
    opacity: 1;
    transform: translateY(3px) translateX(-5px) rotate(60deg) scale(1.1);
  }
  50% {
    transform: translateY(-30px) translateX(-10px) rotate(200deg) scale(1.4);
    opacity: 1;
  }
  82% {
    transform: translateY(-55px) translateX(-5px) rotate(300deg) scale(1);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-75px) translateX(0) rotate(360deg) scale(0.2);
    opacity: 0;
  }
}

@keyframes star-float-3 {
  0% {
    transform: translateY(20px) translateX(0) rotate(0deg) scale(0.5);
    opacity: 0;
  }
  20% {
    opacity: 1;
    transform: translateY(0) translateX(4px) rotate(90deg) scale(1.2);
  }
  50% {
    transform: translateY(-35px) translateX(6px) rotate(220deg) scale(1.5);
    opacity: 1;
  }
  80% {
    transform: translateY(-60px) translateX(3px) rotate(320deg) scale(1);
    opacity: 0.4;
  }
  100% {
    transform: translateY(-80px) translateX(0) rotate(360deg) scale(0.2);
    opacity: 0;
  }
}

/* Additional floating stars - cycle animation from behind button */
.demo-button {
  position: relative;
  overflow: visible;
}

.demo-button .star-1, 
.demo-button .star-2, 
.demo-button .star-3 {
  position: absolute;
  font-size: 1.2rem;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  bottom: -10px;
}

.demo-button .star-1 {
  left: 15%;
  animation: star-float-1 3s ease-out infinite;
  animation-delay: 0s;
}

.demo-button .star-2 {
  right: 20%;
  animation: star-float-2 3.5s ease-out infinite;
  animation-delay: 1.2s;
}

.demo-button .star-3 {
  left: 50%;
  transform: translateX(-50%);
  animation: star-float-3 3.2s ease-out infinite;
  animation-delay: 2.4s;
}

/* Removed duplicate ::before that was causing rectangle */

.demo-button:hover::before {
  opacity: 1;
}

.demo-button:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 
    0 15px 40px rgba(168, 85, 247, 0.5),
    0 0 30px rgba(236, 72, 153, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(168, 85, 247, 1);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(236, 72, 153, 0.35));
  animation: button-pulse 1s ease-in-out infinite;
}

.demo-button:active {
  transform: translateY(-1px) scale(1.05);
  animation: none;
}

.demo-button span:first-child {
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

.demo-button span:last-child {
  position: relative;
  z-index: 1;
}

/* Feature grid */
.feature-grid {
  padding: 3rem 0 3.25rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), #020617);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
  font-size: 0.9rem;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 24px 50px rgba(168, 85, 247, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  filter: drop-shadow(0 4px 8px rgba(168, 85, 247, 0.3));
}

.card:hover .card-icon {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 6px 12px rgba(168, 85, 247, 0.5));
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: #d1d5db;
  line-height: 1.7;
  font-size: 0.95rem;
  font-weight: 400;
}

/* Coming soon */
.coming-soon {
  padding: 3.25rem 0 3.5rem;
  border-top: 1px solid rgba(15, 23, 42, 1);
}

.coming-soon-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: center;
}

.coming-soon-content h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.coming-soon-content p {
  margin: 0 0 2rem;
  color: #e5e7eb;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
}

.perfect-for h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: #e5e7eb;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  font-size: 0.85rem;
  color: #e5e7eb;
  transition: transform 0.2s ease, background 0.2s ease;
}

.tag:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(168, 85, 247, 0.3);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.coming-soon-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  padding: 1.1rem 0 1.4rem;
  background: radial-gradient(circle at top, #020617, #000);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #9ca3af;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #a855f7;
}

.footer-separator {
  color: #6b7280;
}

.footer-note {
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .hero-phone {
    order: -1;
  }

  .coming-soon-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .coming-soon-visual {
    order: -1;
  }

  .header-inner {
    padding-inline: 0.75rem;
  }

  .nav {
    gap: 0.4rem;
    font-size: 0.78rem;
  }

  .steps-visual {
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .step-item:hover {
    transform: translateY(-5px);
  }

  .apps-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
  }

  .app-icon {
    width: 70px;
    height: 70px;
  }
  
  .locked-apps-section {
    padding: 3rem 0;
  }
  
  .locked-apps-section .section-heading {
    margin-bottom: 2rem;
  }
  
  .demo-button {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }

  .showcase-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .showcase-visual {
    order: -1;
  }

  body {
    cursor: auto;
  }

  .cursor,
  .cursor-dot {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .feature-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

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