:root {
  --bg-deep: #0A0A0F;
  --bg-card: rgba(255, 255, 255, 0.03);
  --purple: #7C3AED;
  --purple-glow: rgba(124, 58, 237, 0.28);
  --purple-light: #A855F7;
  --purple-bright: #D8B4FE;
  --green: #10B981;
  --green-glow: rgba(16, 185, 129, 0.25);
  --green-light: #6EE7B7;
  --blue: #38BDF8;
  --blue-glow: rgba(56, 189, 248, 0.28);
  --pink: #EC4899;
  --pink-glow: rgba(236, 72, 153, 0.28);
  --text-main: #ffffff;
  --text-muted: #94A3B8;
  --panel-bg: rgba(12, 16, 36, 0.85);
  --glass-bg: rgba(16, 16, 26, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Blobs */
.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(160px);
  z-index: -1;
  animation: float 60s infinite ease-in-out alternate;
  will-change: transform;
}

.shape-purple {
  width: 900px;
  height: 900px;
  background: var(--purple-glow);
  top: -200px;
  left: -200px;
}

.shape-green {
  width: 600px;
  height: 600px;
  background: var(--green-glow);
  bottom: -100px;
  right: -100px;
  animation-delay: -15s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(40px, 24px) scale(1.08);
  }
}

/* Film grain noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Shell & Glassmorphism */
.landing-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* Header */
.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  margin-bottom: 64px;
  border-radius: 100px;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 28px;
  text-decoration: none;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--text-main);
}

.brand-nar {
  color: inherit;
}

.gaia-logo {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 8px 4px 4px;
}

.gaia-leaf {
  width: 20px;
  height: 20px;
  z-index: 2;
}

/* Buttons */
.button {
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pill-button {
  padding: 14px 28px;
  border-radius: 100px;
}

.button-primary {
  background: var(--green-light);
  color: var(--bg-deep);
}

.button-primary:hover {
  transform: scale(1.02);
  background: #ffffff;
}

.button-glow {
  box-shadow: 0 8px 32px var(--green-glow);
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  color: var(--text-main);
  padding: 12px 24px;
  border-radius: 20px;
  text-decoration: none;
  gap: 16px;
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
  min-width: 180px;
  position: relative;
  overflow: hidden;
}

.store-btn .store-icon {
  transition: transform 0.5s var(--ease-smooth);
}

.store-btn:hover .store-icon {
  transform: scale(1.12) rotate(-4deg);
}

.store-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.store-btn:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0,0,0,0.7), 0 0 20px rgba(255,255,255,0.1), inset 0 1px 0 rgba(255,255,255,0.25);
}

.store-btn:hover::before {
  opacity: 1;
}
.store-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-icon svg {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #4a4a5a;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.store-main {
  font-size: 18px;
  font-weight: 900;
  color: #0b0914;
  line-height: 1;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: 60vh;
  margin-bottom: 80px;
}

.hero-title {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  margin: 0 0 24px;
  letter-spacing: -0.04em;
}

.text-gradient {
  background: linear-gradient(
    115deg,
    #34D399 0%,
    #10B981 25%,
    #06B6D4 50%,
    #10B981 75%,
    #6EE7B7 100%
  );
  background-size: 250% 250%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 9s ease infinite;
  filter: drop-shadow(0 4px 24px rgba(16, 185, 129, 0.25));
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.55;
  color: #b8c4ea;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-subtitle strong {
  color: var(--text-main);
}

.hero-visual {
  position: relative;
  height: 740px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ambient halo behind phone */
.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  background:
    radial-gradient(circle at 30% 40%, rgba(124, 58, 237, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 70% 65%, rgba(16, 185, 129, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
  animation: halo-pulse 10s ease-in-out infinite;
  will-change: opacity, transform;
}

@keyframes halo-pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

.mockup-pedestal {
  position: absolute;
  bottom: -10px;
  width: 340px;
  height: 90px;
  background:
    radial-gradient(ellipse, rgba(168, 85, 247, 0.45) 0%, transparent 65%),
    radial-gradient(ellipse, rgba(16, 185, 129, 0.18) 0%, transparent 75%);
  filter: blur(35px);
  z-index: 0;
  animation: pedestal-pulse 6s ease-in-out infinite;
}

@keyframes pedestal-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* Sparkles around phone */
.sparkle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 8px 2px rgba(255, 255, 255, 0.85),
    0 0 18px 6px rgba(168, 85, 247, 0.55),
    0 0 36px 14px rgba(168, 85, 247, 0.18);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: twinkle 5.5s ease-in-out infinite;
  will-change: opacity, transform;
}

.sparkle.alt {
  box-shadow:
    0 0 8px 2px rgba(255, 255, 255, 0.85),
    0 0 18px 6px rgba(110, 231, 183, 0.55),
    0 0 36px 14px rgba(16, 185, 129, 0.18);
}

.sparkle.pink {
  box-shadow:
    0 0 8px 2px rgba(255, 255, 255, 0.85),
    0 0 18px 6px rgba(236, 72, 153, 0.55),
    0 0 36px 14px rgba(236, 72, 153, 0.18);
}

.sparkle.sm { width: 3px; height: 3px; }
.sparkle.lg { width: 7px; height: 7px; }

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  50% { opacity: 1; transform: scale(1.25); }
}

/* --- SUPER DETAILED PHONE MOCKUP UI --- */
.phone-mockup {
  width: 320px;
  height: 740px;
  background: #0B081B;
  border-radius: 56px;
  border: 10px solid #050507;
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.75),
    0 30px 80px rgba(124, 58, 237, 0.35),
    0 -15px 80px rgba(16, 185, 129, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 2px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(124, 58, 237, 0.18),
    inset 0 0 8px rgba(255, 255, 255, 0.22);
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Screen glass reflection */
.phone-mockup::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.02) 18%,
    transparent 42%,
    transparent 70%,
    rgba(168, 85, 247, 0.05) 100%
  );
  mix-blend-mode: screen;
}

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

.dynamic-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 32px;
  background: #000;
  border-radius: 20px;
  z-index: 99;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

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

.explore-ui {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 10px;
  position: relative;
  background-color: #0A0815; /* Same as the true app background */
}

.mockup-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 20px;
  margin-bottom: 0px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.explore-top {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.explore-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}

.explore-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.explore-title.gradient-text {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(90deg, #FF8EF0, #79CEFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  filter: drop-shadow(0 4px 12px rgba(255,142,240,0.3));
}

.explore-settings {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A0A5C0;
  position: relative;
}

.notify-dot {
  position: absolute;
  top: -4px;
  left: -8px;
  width: 8px;
  height: 8px;
  background: #B684FF;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(182,132,255,0.6);
}

.explore-tabs {
  display: flex;
  gap: 5px;
  background: transparent;
  border: none;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.explore-tabs::-webkit-scrollbar {
  display: none;
}

.explore-tab {
  flex: 0 0 auto;
  padding: 5px 9px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 800;
  color: #8C94AB;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  white-space: nowrap;
}

.explore-tab.active {
  background: #272145;
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #fff;
}


.search-bar-mockup {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #151320;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 13px;
  color: #6F6D8A;
  margin-top: 0px;
  margin-bottom: 0px;
}

.explore-pills {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.explore-pills::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: auto;
  min-width: 44px;
  flex: 0 0 auto;
}

.pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8C94AB;
  background: rgba(255,255,255,0.01);
}

.pill.active .pill-icon {
  background: #4D3499;
  border-color: #6146B3;
  color: #fff;
}

.pill span {
  font-size: 9px;
  font-weight: 700;
  color: #8C94AB;
  text-align: center;
  white-space: nowrap;
}

.pill.active span {
  color: #fff;
  font-weight: 900;
}

.explore-subtitle {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-top: 4px;
  padding: 0 16px;
}

/* Grid Layout matching screenshot */
.explore-grid {
  display: flex;
  gap: 12px;
  padding: 0 16px;
  margin-top: 12px;
  padding-bottom: 100px; /* Space for prominent bottom nav */
}

.grid-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.explore-card {
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: #0d0a17; /* Darker bg so bottom area blends into the image */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  /* Make images fit horizontally and anchor to top */
  background-size: 100% auto !important;
  background-repeat: no-repeat !important;
  background-position: top center !important;
}

.explore-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* Gradient starts fully dark at bottom to blend with any empty space left by square images */
  background: linear-gradient(to top, rgba(10,8,16, 0.95) 0%, rgba(10,8,16, 0.6) 30%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.explore-card > * {
  z-index: 2; /* Put content above gradient */
}

.explore-card.hero {
  height: 180px;
}
.explore-card.large {
  height: 160px;
}
.explore-card.medium {
  height: 140px;
}
.explore-card.small {
  height: 120px;
}

.explore-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0.8;
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
}

/* Simulated image backgrounds using high quality unsplash links resembling the aesthetic items */
.explore-card-bg.img-salon {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2) 60%), url('https://images.unsplash.com/photo-1516035069371-29a1b244cc32?q=80&w=600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.explore-card-bg.img-book {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2) 60%), url('https://images.unsplash.com/photo-1610701596007-11502861dcfa?q=80&w=600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.explore-card-bg.img-guitar {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2) 60%), url('https://images.unsplash.com/photo-1510915361894-db8b60106cb1?q=80&w=600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.explore-card-bg.img-nature {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2) 60%), url('https://images.unsplash.com/photo-1485955900006-10f4d324d411?q=80&w=600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.explore-card-content {
  position: relative;
  z-index: 2;
  padding: 6px 6px 8px;
  background: transparent;
}

.card-title {
  font-weight: 800;
  font-size: 8px;
  color: #fff;
  margin-bottom: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  line-height: 1.1;
}

.card-price-green {
  font-weight: 900;
  font-size: 9px;
  color: #38E293;
  margin-top: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  letter-spacing: -0.2px;
}

.location-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(14, 114, 60, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 4px;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  gap: 2px;
  color: #38E293;
  z-index: 3;
}

.location-badge svg {
  width: 6px !important;
  height: 6px !important;
}

.location-badge span {
  font-size: 6px;
  font-weight: 800;
}

.card-avatar {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
  z-index: 3;
}

.card-avatar.user-1 { background-image: url('https://randomuser.me/api/portraits/men/32.jpg'); }
.card-avatar.user-2 { background-image: url('https://randomuser.me/api/portraits/women/44.jpg'); }
.card-avatar.user-3 { background-image: url('https://randomuser.me/api/portraits/women/68.jpg'); }
.card-avatar.user-4 { background-image: url('https://randomuser.me/api/portraits/men/46.jpg'); }


/* Bottom Navigation Bar */
.explore-bottom-nav {
  box-sizing: border-box;
  height: 74px;
  background: rgba(22, 17, 36, 0.5);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  border-radius: 40px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #796699;
  position: relative;
  flex: 1;
  padding-top: 8px;
}

.nav-icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-label {
  font-size: 9px;
  font-weight: 800;
  margin-top: 2px;
}

.nav-active-dot {
  position: absolute;
  top: -4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #B684FF;
  box-shadow: 0 0 6px #B684FF;
  opacity: 0;
}

.nav-item.active {
  color: #E2D1FF;
}

.nav-item.active .nav-active-dot {
  opacity: 1;
}

.nav-item:nth-child(2) { color: #A098B6; }

.nav-fab-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-24px);
  z-index: 20;
  width: 68px;
}

.nav-fab {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.8));
  margin-bottom: -18px; /* overlapping with label */
}

.fab-label {
  font-size: 9px;
  font-weight: 800;
  color: #E2D1FF;
  margin-top: 14px;
}


/* --- END PHONE MOCKUP UI --- */

/* Section Intro */
.section-intro {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  background: rgba(96, 221, 177, 0.12);
  border: 1px solid rgba(96, 221, 177, 0.3);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-heading {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0;
}

/* Core Bento Loops - 2x2 */
.core-loops {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.loop-card {
  padding: 36px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s ease, border-color 0.5s ease, background 0.5s ease;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

/* Subtle inner glow matching app boxes */
.loop-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: 28px;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.card-swap::after { box-shadow: inset 0 0 50px var(--blue-glow); }
.card-gift::after { box-shadow: inset 0 0 50px var(--purple-glow); }
.card-buy::after  { box-shadow: inset 0 0 50px rgba(245, 158, 11, 0.15); }
.card-msg::after  { box-shadow: inset 0 0 50px var(--pink-glow); }
.card-need::after { box-shadow: inset 0 0 50px var(--green-glow); }

.card-swap:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px var(--blue-glow); }
.card-gift:hover { border-color: rgba(139, 92, 246, 0.4); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px var(--purple-glow); }
.card-buy:hover  { border-color: rgba(245, 158, 11, 0.4); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(245, 158, 11, 0.2); }
.card-msg:hover  { border-color: rgba(236, 72, 153, 0.4); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px var(--pink-glow); }
.card-need:hover { border-color: rgba(16, 185, 129, 0.4); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px var(--green-glow); }

.card-swap:hover::after, .card-gift:hover::after, .card-buy:hover::after, .card-msg:hover::after, .card-need:hover::after { opacity: 1; }

.loop-visual, .loop-card h2, .loop-card p { position: relative; z-index: 2; }

.card-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 13px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
  font-family: monospace;
}

/* Swap card mini items */
.swap-item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px !important;
}

.swap-item-icon {
  font-size: 20px;
  line-height: 1;
}

.swap-arrow {
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
  flex-shrink: 0;
}

/* Feature icon wrapper for gift/buy cards */
.feature-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon {
  font-size: 36px;
  line-height: 1;
}

.gift-wrap {
  background: linear-gradient(135deg, rgba(129, 77, 229, 0.3), rgba(176, 132, 245, 0.2));
  border: 1px solid rgba(176, 132, 245, 0.25);
  box-shadow: 0 8px 32px rgba(129, 77, 229, 0.2);
}

.buy-wrap {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(252, 211, 77, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.15);
}

.badge-new {
  background: var(--green);
  color: var(--bg-deep);
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 8px;
}

.hover-lift:hover {
  transform: translateY(-8px);
  background: rgba(30, 22, 56, 0.7);
}

.loop-visual {
  flex: 1;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* ── AI Hero Images ── */
.ai-hero-image {
  width: 100%;
  max-width: 340px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-render {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

/* ── Nano Swap ── */
.nano-swap {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.nano-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px;
  padding-bottom: 10px;
  width: 96px;
}

/* Make swap items bigger when used inside the large feature cards */
.loop-visual .nano-item {
  width: 130px;
  padding: 10px;
  border-radius: 16px;
}
.loop-visual .nano-label {
  font-size: 13px;
  margin-top: 4px;
}
.loop-visual .nano-circle {
  width: 56px;
  height: 56px;
  font-size: 24px;
}

.nano-item-left {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(96, 221, 177, 0.08));
  border-color: rgba(96, 221, 177, 0.2);
}

.nano-item-right {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(129, 77, 229, 0.08));
  border-color: rgba(129, 77, 229, 0.2);
}

.nano-icon { font-size: 28px; line-height: 1; }

.nano-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  display: block;
}

.nano-image-large {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: block;
}

.nano-image-wrap, .nano-image-wrap-large {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nano-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.nano-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--bg-deep);
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(96, 221, 177, 0.25);
  flex-shrink: 0;
}

/* ── Bundle (Esnek Takas) ── */
.bundle-stack {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bundle-thumb {
  width: 56px;
  height: 56px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-smooth);
}

.bundle-thumb + .bundle-thumb {
  margin-left: -14px;
}

.bundle-thumb:nth-child(2) { z-index: 2; transform: translateY(-4px); }
.bundle-thumb:nth-child(3) { z-index: 3; }

.bundle-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  display: block;
}

.cash-topup-pill {
  margin-top: 14px;
  background: linear-gradient(135deg, #10B981, #34D399);
  color: #0a0a0f;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
  letter-spacing: 0.02em;
  white-space: nowrap;
  align-self: center;
}

/* ── Need Stats Pill (Askıda) ── */
.need-stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 16px;
  backdrop-filter: blur(10px);
}

.need-stat-num {
  color: var(--green-light);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.02em;
}

/* ── Nano Gift ── */
.nano-gift {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nano-box {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 6px;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-gift .nano-box {
  background: linear-gradient(135deg, rgba(129, 77, 229, 0.15), rgba(176, 132, 245, 0.1));
  border-color: rgba(176, 132, 245, 0.3);
  box-shadow: 0 8px 32px rgba(129, 77, 229, 0.15);
}

.card-buy .nano-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(252, 211, 77, 0.1));
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.12);
}

.nano-ribbon {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(129, 77, 229, 0.4);
}

.nano-price-tag {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #fbbf24;
  color: #0b0914;
  font-size: 13px;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* ── Nano Buy ── */
.nano-buy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.nano-buy-btn {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 100px;
}

/* ── Chat Mini ── */
.chat-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 290px;
}

.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.chat-row.right {
  justify-content: flex-end;
}

.chat-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.av-1 { background: linear-gradient(135deg, var(--purple), var(--purple-light)); }
.av-2 { background: linear-gradient(135deg, var(--green), var(--green-light)); }

.loop-card h2 {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.loop-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Mini UI Snippets */
.ui-snippet-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ui-card.mini {
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14px;
}

.swap-icon {
  color: var(--green);
  font-size: 24px;
}

.gift-card {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  font-size: 32px;
  width: 64px;
  height: 64px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-snippet {
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.chat-bubble {
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 600;
  max-width: 85%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.chat-bubble.left {
  background: rgba(255, 255, 255, 0.1);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.right {
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  color: var(--bg-deep);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

/* Trust Section */
.trust-section {
  padding: 64px;
  text-align: center;
  background: linear-gradient(180deg, rgba(21, 14, 40, 0.4), rgba(11, 9, 20, 0.6));
  margin-bottom: 80px;
}

.trust-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-content h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.trust-content p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 32px;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-list li {
  font-weight: 700;
  color: var(--green-light);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(96, 221, 177, 0.1);
  padding: 8px 16px;
  border-radius: 100px;
}

/* Footer */
.landing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  border-top: 1px solid var(--glass-border);
}

.footer-brand strong {
  display: block;
  font-size: 18px;
}

.footer-brand span {
  color: var(--text-muted);
  font-size: 14px;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 700;
  transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

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

  .section-intro {
    margin-bottom: 36px;
  }

  .landing-header {
    flex-direction: column;
    gap: 16px;
    border-radius: 32px;
  }

  .landing-footer {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .trust-list {
    flex-direction: column;
    align-items: center;
  }
}

/* --- Language Toggle --- */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 4px;
  backdrop-filter: blur(10px);
}

.lang-opt {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.lang-opt.active {
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--purple-glow);
}

.lang-opt:not(.active):hover {
  color: #ffffff;
}

/* --- Modals / Popups --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: 90%;
  max-width: 680px;
  max-height: 85vh;
  background: rgba(11, 8, 21, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(139, 92, 246, 0.05);
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.modal-body h3 {
  color: var(--text-main);
  font-size: 18px;
  font-weight: 800;
  margin: 24px 0 12px;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  margin: 0 0 16px;
}

.modal-body ul {
  margin: 0 0 24px;
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 8px;
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.core-loops .loop-card.reveal { transition-delay: 0s; }
.core-loops .loop-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.core-loops .loop-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.core-loops .loop-card.reveal:nth-child(4) { transition-delay: 0.24s; }
.core-loops .loop-card.reveal:nth-child(5) { transition-delay: 0.32s; }
.core-loops .loop-card.reveal:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .bg-shape,
  .floating,
  .text-gradient,
  .sparkle,
  .mockup-pedestal,
  .hero-visual::before { animation: none !important; }
  .sparkle { opacity: 0.6; }
}

/* Hide scrollbar for cleaner look in modals */
.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}