/* ==========================================================================
   Relisto Marketing Website - Dark Mode Aesthetic Stylesheet
   Identity: Premium, Dark Glassmorphism, Smooth Animations & Transitions
   ========================================================================== */

:root {
  /* Dark Color System */
  --bg-main: #07090E;
  --bg-surface: #0E131F;
  --bg-card: rgba(20, 26, 41, 0.7);
  --bg-card-solid: #141A29;
  --bg-card-hover: rgba(28, 36, 56, 0.85);

  /* Border Tokens */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.15);
  --border-glow-blue: rgba(56, 189, 248, 0.35);

  /* Brand Accent Colors */
  --accent-blue: #38BDF8;
  --accent-blue-glow: rgba(56, 189, 248, 0.25);
  --accent-mint: #34D399;
  --accent-mint-glow: rgba(52, 211, 153, 0.25);
  --accent-purple: #C084FC;
  --accent-purple-glow: rgba(192, 132, 252, 0.25);
  --accent-peach: #FB923C;
  --accent-peach-glow: rgba(251, 146, 60, 0.25);

  /* Text & Typography */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;

  /* Font Families */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows & Elevate */
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.18);
  --shadow-phone: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;

  /* Border Radii */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-main);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* SVGs Guard */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  max-width: 100%;
}

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

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

button, input, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
}

/* Headings & Text Gradients */
.heading-xl {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.heading-md {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38BDF8 0%, #818CF8 50%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sparkle Star */
.sparkle-icon {
  display: inline-block;
  color: #FACC15;
  vertical-align: middle;
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9) rotate(0deg); opacity: 0.8; }
  100% { transform: scale(1.2) rotate(15deg); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Header / Navbar
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.3s ease;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar.scrolled {
  background: rgba(14, 19, 31, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-bright);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-badge {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(192, 132, 252, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.logo-badge svg {
  width: 22px;
  height: 22px;
  color: var(--accent-blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* App Store Dark Metallic Button with Generous Padding */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: var(--text-primary);
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-appstore:hover {
  transform: translateY(-2px);
  border-color: var(--accent-blue);
  box-shadow: 0 0 25px var(--accent-blue-glow);
  background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
}

.btn-appstore svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1.05rem;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-bright);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7, 9, 14, 0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  padding: 6rem 2rem 3rem;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-drawer.open {
  display: flex;
  transform: translateY(0);
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu-links a {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 5.5rem;
  background: radial-gradient(circle at 50% 10%, rgba(56, 189, 248, 0.12) 0%, rgba(192, 132, 252, 0.08) 35%, rgba(7, 9, 14, 1) 80%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
}

.badge-no-login {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-no-cloud {
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent-mint);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.badge-on-device {
  background: rgba(192, 132, 252, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(192, 132, 252, 0.3);
}

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-content p.subtitle {
  margin-bottom: 2.25rem;
  max-width: 550px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.hero-subtext {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Premium iPhone Mockup Frame */
.phone-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  background: #0F172A;
  border-radius: 46px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.phone-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px -10px rgba(56, 189, 248, 0.25);
  border-color: var(--accent-blue);
}

.phone-screen {
  position: relative;
  width: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #090D16;
  aspect-ratio: 1290 / 2796;
  display: flex;
  flex-direction: column;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Accent Cards Repositioned comfortably beside the Phone Frame */
.floating-accent-card {
  position: absolute;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: rgba(20, 26, 41, 0.9);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 10;
  border: 1px solid var(--border-subtle);
  animation: floatCard 6s ease-in-out infinite;
}

.card-top-left {
  top: 25%;
  left: -8%;
  border-color: rgba(52, 211, 153, 0.4);
}

.card-bottom-right {
  bottom: 18%;
  right: -6%;
  border-color: rgba(251, 146, 60, 0.4);
  animation-delay: 3s;
}

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

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-badge-group, .hero-ctas, .hero-subtext {
    justify-content: center;
  }
  .hero-content p.subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .phone-mockup-wrapper {
    margin-top: 1rem;
  }
  .card-top-left, .card-bottom-right {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   App Store Screenshots Marketing Gallery Section
   -------------------------------------------------------------------------- */
.gallery-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.gallery-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.gallery-carousel-wrapper {
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.5rem 2.5rem 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.screenshot-card {
  flex: 0 0 290px;
  scroll-snap-align: center;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.screenshot-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent-blue);
  background: var(--bg-card-hover);
}

.card-image-holder {
  position: relative;
  width: 100%;
  aspect-ratio: 1290 / 2796;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #090D16;
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.screenshot-card:hover .card-image-holder img {
  transform: scale(1.03);
}

.zoom-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 5;
}

.screenshot-card:hover .zoom-badge {
  opacity: 1;
}

.card-content {
  margin-top: auto;
}

.card-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.25rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Carousel Control Arrows */
.carousel-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(30, 41, 59, 0.9);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  z-index: 20;
  transition: all 0.2s ease;
}

.carousel-nav-btn:hover {
  background: var(--accent-blue);
  color: #000;
  box-shadow: 0 0 25px var(--accent-blue-glow);
}

.carousel-prev { left: -20px; }
.carousel-next { right: -20px; }

@media (max-width: 768px) {
  .screenshot-card { flex: 0 0 250px; }
  .carousel-prev, .carousel-next { display: none; }
}

/* --------------------------------------------------------------------------
   Feature Cards & Grids
   -------------------------------------------------------------------------- */
.feature-card-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
  backdrop-filter: blur(16px);
}

@media (max-width: 768px) {
  .feature-card-wrapper {
    padding: 2rem 1.25rem;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

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

.feature-grid.reverse .feature-visual {
  order: -1;
}

@media (max-width: 992px) {
  .feature-grid, .feature-grid.reverse {
    grid-template-columns: 1fr;
  }
  .feature-grid.reverse .feature-visual {
    order: 0;
  }
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.tag-mint { background: rgba(52, 211, 153, 0.12); color: var(--accent-mint); border: 1px solid rgba(52, 211, 153, 0.3); }
.tag-peach { background: rgba(251, 146, 60, 0.12); color: var(--accent-peach); border: 1px solid rgba(251, 146, 60, 0.3); }
.tag-blue { background: rgba(56, 189, 248, 0.12); color: var(--accent-blue); border: 1px solid rgba(56, 189, 248, 0.3); }
.tag-purple { background: rgba(192, 132, 252, 0.12); color: var(--accent-purple); border: 1px solid rgba(192, 132, 252, 0.3); }

.workflow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.75rem 0;
}

.workflow-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.workflow-step span.num {
  width: 20px;
  height: 20px;
  background: var(--accent-mint);
  color: #000;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  color: var(--accent-mint);
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-screen-frame {
  width: 100%;
  max-width: 310px;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-phone);
  background: #090D16;
  border: 8px solid #0F172A;
  aspect-ratio: 1290 / 2796;
}

.feature-screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dual Screen Stack */
.dual-screen-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}

.dual-screen-stack .screen-1 {
  position: relative;
  z-index: 2;
  width: 260px;
  transform: rotate(-3deg);
}

.dual-screen-stack .screen-2 {
  position: absolute;
  right: 5%;
  z-index: 1;
  width: 230px;
  transform: rotate(6deg) translateY(30px);
  opacity: 0.95;
}

@media (max-width: 576px) {
  .dual-screen-stack .screen-2 { display: none; }
  .dual-screen-stack .screen-1 { transform: rotate(0deg); }
}

/* --------------------------------------------------------------------------
   Interactive Relisto Simulator
   -------------------------------------------------------------------------- */
.simulator-card {
  background: linear-gradient(135deg, rgba(14, 19, 31, 0.9), rgba(20, 26, 41, 0.9));
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid var(--border-glow-blue);
  box-shadow: var(--shadow-glow);
  margin: 3rem 0;
}

.simulator-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.simulator-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: rgba(9, 13, 22, 0.8);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
  .simulator-body { grid-template-columns: 1fr; }
  .simulator-card { padding: 2rem 1.25rem; }
}

.sim-panel-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sim-items-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sim-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.sim-item-btn:hover {
  background: rgba(56, 189, 248, 0.25);
  transform: scale(1.03);
}

.sim-item-btn.added {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.sim-active-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 180px;
}

.sim-active-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  animation: fadeInRow 0.25s ease forwards;
}

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

.sim-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-peach);
  background: rgba(251, 146, 60, 0.15);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(251, 146, 60, 0.3);
  transition: all 0.2s ease;
}

.sim-clear-btn:hover {
  background: rgba(251, 146, 60, 0.3);
}

/* --------------------------------------------------------------------------
   Use Cases Grid Section
   -------------------------------------------------------------------------- */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .usecases-grid { grid-template-columns: 1fr; }
}

.usecase-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.usecase-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-md);
}

.usecase-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.uc-shopping { background: rgba(52, 211, 153, 0.15); color: var(--accent-mint); border: 1px solid rgba(52, 211, 153, 0.3); }
.uc-travel { background: rgba(56, 189, 248, 0.15); color: var(--accent-blue); border: 1px solid rgba(56, 189, 248, 0.3); }
.uc-work { background: rgba(192, 132, 252, 0.15); color: var(--accent-purple); border: 1px solid rgba(192, 132, 252, 0.3); }
.uc-home { background: rgba(251, 146, 60, 0.15); color: var(--accent-peach); border: 1px solid rgba(251, 146, 60, 0.3); }
.uc-workouts { background: rgba(250, 204, 21, 0.15); color: #FACC15; border: 1px solid rgba(250, 204, 21, 0.3); }
.uc-recipes { background: rgba(52, 211, 153, 0.15); color: var(--accent-mint); border: 1px solid rgba(52, 211, 153, 0.3); }

.usecase-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

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

/* --------------------------------------------------------------------------
   How It Works (3 Steps)
   -------------------------------------------------------------------------- */
.how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

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

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.step-num-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #000;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 0 20px var(--accent-blue-glow);
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Privacy Section Banner
   -------------------------------------------------------------------------- */
.privacy-card-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  color: white;
  border: 1px solid var(--border-bright);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .privacy-card-banner { padding: 2.5rem 1.5rem; }
}

.privacy-card-banner h2 {
  color: white;
  margin-bottom: 1rem;
}

.privacy-card-banner p.subtitle {
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 3rem;
}

.privacy-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.privacy-point {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.privacy-point-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent-blue);
}

.privacy-point h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: white;
}

.privacy-point p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   CTA Section & Footer
   -------------------------------------------------------------------------- */
.cta-section {
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.15) 0%, rgba(7, 9, 14, 1) 75%);
  text-align: center;
  padding: 6rem 1.5rem;
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
}

.cta-box h2 { margin-bottom: 1rem; }
.cta-box p.subtitle { margin-bottom: 2.5rem; }

.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2.5rem 0;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand { max-width: 320px; }
.footer-brand .slogan { margin-top: 0.5rem; font-size: 0.95rem; color: var(--text-muted); }

.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: 0.95rem; font-weight: 600; color: var(--text-secondary); }
.footer-links a:hover { color: var(--accent-blue); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-top, .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Modals (Lightbox & Legal)
   -------------------------------------------------------------------------- */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active { display: flex; opacity: 1; }

.lightbox-container {
  position: relative;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-card-solid);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border-bright);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  animation: zoomModal 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes zoomModal {
  from { transform: scale(0.92); }
  to { transform: scale(1); }
}

@media (max-width: 768px) {
  .lightbox-container { flex-direction: column; max-height: 85vh; overflow-y: auto; padding: 1.5rem; gap: 1.25rem; }
}

.lightbox-img-wrapper {
  position: relative;
  width: 290px;
  aspect-ratio: 1290 / 2796;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.lightbox-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-details { flex: 1; }

.lightbox-num { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-blue); margin-bottom: 0.5rem; }
.lightbox-title { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.75rem; line-height: 1.25; }
.lightbox-desc { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 2rem; }

.lightbox-controls { display: flex; gap: 1rem; align-items: center; }

.lightbox-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
}

.lightbox-btn:hover { background: var(--accent-blue); color: #000; }

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary); cursor: pointer;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }

.legal-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center; justify-content: center;
  padding: 2rem;
}

.legal-modal.active { display: flex; }

.legal-container {
  background: var(--bg-card-solid);
  max-width: 650px; width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-bright);
  overflow-y: auto; position: relative;
}

.legal-title { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; margin-bottom: 1.25rem; color: var(--text-primary); }
.legal-body { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.65; }
.support-form-group { margin-bottom: 1.25rem; }
.support-form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text-primary); }
.support-form-group input, .support-form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: white; font-size: 0.95rem;
}
