:root {
  --bg-soft: #f4f8ff;
  --bg-white: #ffffff;
  --text-main: #1b2431;
  --text-muted: #657185;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --secondary: #0ea5e9;
  --card-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
  --card-shadow-hover: 0 22px 44px rgba(79, 70, 229, 0.2);
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  color: var(--text-main);
  min-height: 100vh;
}

.py-lg-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.brand-logo {
  color: var(--primary);
  letter-spacing: 0.2px;
}

.navbar .nav-link {
  font-weight: 500;
}

.hero-section {
  position: relative;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, #ebf2ff 0%, #f4f0ff 45%, #e8f7ff 100%);
  box-shadow: var(--card-shadow);
  padding: 2.5rem 1.25rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(79, 70, 229, 0.12);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-art {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.hero-phone {
  width: min(240px, 78%);
  aspect-ratio: 9 / 18;
  border-radius: 30px;
  padding: 10px;
  background: linear-gradient(165deg, #0f172a 0%, #252e44 100%);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.28);
  transform: rotate(-8deg);
  animation: phoneFloat 4.8s ease-in-out infinite;
}

.hero-notch {
  width: 38%;
  height: 16px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: #0f172a;
}

.hero-phone-screen {
  width: 100%;
  height: calc(100% - 24px);
  border-radius: 22px;
  background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 60%, #e0e7ff 100%);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-screen-header {
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(120deg, #4f46e5 0%, #06b6d4 100%);
}

.hero-screen-row {
  height: 8px;
  width: 100%;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.28);
}

.hero-screen-row.short {
  width: 62%;
}

.hero-screen-row.medium {
  width: 82%;
}

.hero-screen-card {
  height: 110px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(99, 102, 241, 0.25) 0%, rgba(14, 165, 233, 0.22) 100%);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 1;
}

.hero-orb-1 {
  width: 170px;
  height: 170px;
  top: 5%;
  right: 2%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.42) 0%, rgba(79, 70, 229, 0.08) 68%, transparent 100%);
}

.hero-orb-2 {
  width: 120px;
  height: 120px;
  left: 6%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, rgba(14, 165, 233, 0.08) 66%, transparent 100%);
}

.hero-float {
  position: absolute;
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.12);
}

.hero-float-a {
  top: 12%;
  left: 10%;
  animation: tagFloat 4.2s ease-in-out infinite;
}

.hero-float-b {
  bottom: 18%;
  left: 2%;
  animation: tagFloat 5s ease-in-out infinite;
}

.hero-float-c {
  right: 4%;
  top: 46%;
  animation: tagFloat 4.6s ease-in-out infinite;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.app-card {
  cursor: pointer;
  border: 1px solid rgba(79, 70, 229, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: var(--bg-white);
  height: 100%;
}

.app-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(79, 70, 229, 0.22);
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.15);
}

.app-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.33rem 0.65rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.detail-card {
  border: 1px solid rgba(79, 70, 229, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  background: var(--bg-white);
}

.detail-icon {
  width: 84px;
  height: 84px;
  border-radius: 18px;
}

.feature-list li {
  margin-bottom: 0.6rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-check {
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  font-size: 0.8rem;
  color: var(--secondary);
  background: rgba(14, 165, 233, 0.14);
}

.app-carousel {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.14);
}

.detail-shot {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #dde6ff;
}

.carousel-control-prev,
.carousel-control-next {
  width: 14%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background-color: rgba(20, 28, 45, 0.45);
  background-size: 55% 55%;
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background-color: rgba(255, 255, 255, 0.8);
}

.shot-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.shot-thumb-btn {
  border: 1px solid rgba(79, 70, 229, 0.16);
  background: #fff;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.shot-thumb-btn img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}

.shot-thumb-btn:hover,
.shot-thumb-btn.active {
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.18);
}

.footer {
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  background: #ffffffcc;
  backdrop-filter: blur(6px);
}

.detail-page-bg {
  background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.08), transparent 45%),
    radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.08), transparent 45%);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 0.6s ease forwards;
}

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

@keyframes phoneFloat {
  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(-8deg) translateY(-8px);
  }
}

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

@media (max-width: 991.98px) {
  .hero-art {
    min-height: 310px;
  }

  .hero-phone {
    width: min(220px, 74%);
    animation: none;
    transform: rotate(-5deg);
  }
}

@media (min-width: 768px) {
  .hero-card {
    padding: 3.5rem 2.25rem;
  }

  .app-icon {
    width: 84px;
    height: 84px;
    border-radius: 18px;
  }

  .detail-icon {
    width: 96px;
    height: 96px;
  }
}
