/* ============================================================
   LITEMIND — Landing Page Styles
   ============================================================ */

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-4) 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-3) 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--text-primary);
  text-decoration: none;
}

.navbar-logo img {
  width: 32px;
  height: 32px;
}

.navbar-logo span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.navbar-links a:hover {
  color: var(--primary-light);
}

.navbar-cta .btn {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-8);
    background: var(--bg-primary);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
  }

  .navbar-links.open {
    opacity: 1;
    visibility: visible;
  }

  .navbar-links a {
    font-size: var(--text-xl);
  }

  .navbar-cta {
    display: none;
  }
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-32) 0 var(--space-20);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

/* Decorative orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--gradient-orb-1);
  top: -10%;
  right: -10%;
  animation: orb-drift-1 20s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--gradient-orb-2);
  bottom: -5%;
  left: -5%;
  animation: orb-drift-2 25s ease-in-out infinite;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--gradient-orb-3);
  top: 30%;
  left: 20%;
  animation: orb-drift-3 18s ease-in-out infinite;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  backdrop-filter: var(--backdrop-blur);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero h1 {
  margin-bottom: var(--space-6);
  font-size: var(--text-7xl);
  font-weight: 800;
  line-height: 1.05;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: var(--text-4xl);
  }
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-10);
  line-height: var(--leading-relaxed);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--text-xs);
  animation: float 3s ease-in-out infinite;
}

.hero-scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
}

/* ---------- SECTION SHARED ---------- */
.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-16);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-4);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
}

/* ---------- CHAT PREVIEW SECTION ---------- */
.chat-preview-section {
  background: var(--bg-secondary);
  overflow: hidden;
}

.chat-preview-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 900px) {
  .chat-preview-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.chat-preview-text h2 {
  margin-bottom: var(--space-4);
}

.chat-preview-text p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.chat-preview-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.chat-preview-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.chat-preview-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--chip-bg);
  border-radius: var(--radius-sm);
  font-size: var(--text-lg);
}

.chat-preview-feature h4 {
  margin-bottom: var(--space-1);
  font-size: var(--text-base);
}

.chat-preview-feature p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Phone mockup */
.phone-mockup {
  width: 320px;
  margin: 0 auto;
  background: var(--bg-tertiary);
  border-radius: var(--radius-xl);
  border: 2px solid var(--border-medium);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 24px;
  background: var(--bg-primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.phone-screen {
  padding: var(--space-4);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--bg-primary);
}

/* Chat bubbles inside mockup */
.chat-bubble {
  max-width: 85%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  opacity: 0;
  animation: slideInBubble 0.5s ease forwards;
}

.chat-bubble.ai {
  background: var(--bubble-ai);
  border: 1px solid var(--border-subtle);
  align-self: flex-start;
  border-bottom-left-radius: var(--radius-xs);
  color: var(--text-primary);
}

.chat-bubble.user {
  background: var(--bubble-user);
  align-self: flex-end;
  border-bottom-right-radius: var(--radius-xs);
  color: var(--text-primary);
}

.chat-bubble:nth-child(1) { animation-delay: 0.5s; }
.chat-bubble:nth-child(2) { animation-delay: 1.5s; }
.chat-bubble:nth-child(3) { animation-delay: 2.8s; }
.chat-bubble:nth-child(4) { animation-delay: 3.8s; }
.chat-bubble:nth-child(5) { animation-delay: 4.8s; }
.chat-bubble:nth-child(6) { animation-delay: 5.5s; }

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: var(--space-3) var(--space-4);
  background: var(--bubble-ai);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-xs);
  max-width: 70px;
  align-self: flex-start;
  opacity: 0;
  animation: slideInBubble 0.4s ease forwards;
  animation-delay: 2.2s;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing-dot 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }

/* Chat chips */
.chat-chips {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-self: flex-start;
  opacity: 0;
  animation: slideInBubble 0.5s ease forwards;
  animation-delay: 5.5s;
}

.chat-chips .chip {
  font-size: var(--text-xs);
  cursor: default;
}

/* Chat task card */
.chat-task-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  align-self: flex-start;
  max-width: 90%;
  opacity: 0;
  animation: slideInBubble 0.5s ease forwards;
  animation-delay: 6.3s;
}

.chat-task-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: var(--text-xs);
  color: var(--primary);
  font-weight: 600;
}

.chat-task-card-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  padding: var(--space-1) 0;
}

.chat-task-checkbox {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

/* Phone bottom bar */
.phone-input-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.phone-input {
  flex: 1;
  padding: var(--space-2) var(--space-3);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.phone-send-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 50%;
  color: #fff;
  font-size: var(--text-sm);
}

/* ---------- FEATURES SECTION ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.feature-card {
  padding: var(--space-8);
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cta);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--border-medium);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--primary-glow);
}

.feature-card h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.feature-card p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

/* ---------- THEME SHOWCASE SECTION ---------- */
.theme-showcase-section {
  background: var(--bg-secondary);
  overflow: hidden;
}

.theme-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.theme-tab {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}

.theme-tab:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.theme-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.theme-tab-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.theme-preview-container {
  max-width: 360px;
  margin: 0 auto;
  perspective: 1000px;
}

.theme-preview-phone {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
}

.theme-preview-header {
  padding: var(--space-4) var(--space-4) var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-preview-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
}

.theme-preview-name {
  font-weight: 600;
  font-size: var(--text-sm);
}

.theme-preview-status {
  font-size: var(--text-xs);
  opacity: 0.6;
}

.theme-preview-messages {
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 260px;
}

.theme-msg {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
  max-width: 80%;
}

.theme-msg.ai-msg {
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.theme-msg.user-msg {
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.theme-preview-chips {
  padding: 0 var(--space-4) var(--space-4);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.theme-preview-chip {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
}

/* ---------- ADHD CALLOUT SECTION ---------- */
.adhd-section {
  position: relative;
  overflow: hidden;
}

.adhd-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: var(--gradient-orb-1);
  border-radius: 50%;
  animation: breathe-circle 8s ease-in-out infinite;
  z-index: 0;
}

.adhd-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.adhd-content h2 {
  margin-bottom: var(--space-8);
}

.adhd-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  text-align: left;
}

@media (max-width: 600px) {
  .adhd-points {
    grid-template-columns: 1fr;
  }
}

.adhd-point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.adhd-point-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--chip-bg);
  border-radius: var(--radius-sm);
  font-size: var(--text-xl);
}

.adhd-point h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.adhd-point p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  position: relative;
  padding: var(--space-20) 0;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.cta-card {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-8);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.cta-card h2 {
  margin-bottom: var(--space-4);
}

.cta-card p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Waitlist form */
.waitlist-form {
  display: flex;
  gap: var(--space-3);
  max-width: 440px;
  margin: 0 auto;
}

@media (max-width: 500px) {
  .waitlist-form {
    flex-direction: column;
  }
}

.waitlist-input {
  flex: 1;
  padding: var(--space-3) var(--space-5);
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
}

.waitlist-input::placeholder {
  color: var(--text-muted);
}

.waitlist-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.waitlist-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: #4ADE80;
  font-weight: 500;
  margin-top: var(--space-4);
}

.waitlist-success.show {
  display: flex;
  animation: fadeInUp 0.5s ease forwards;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-primary);
  text-decoration: none;
}

.footer-logo img {
  width: 24px;
  height: 24px;
}

.footer-links {
  display: flex;
  gap: var(--space-6);
}

.footer-links a {
  color: var(--text-muted);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

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

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

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