/* Landing Page Styles */
.landing-container {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #171c2c;
  position: relative;
}

/* Hero Section */
.landing-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 40px;
  text-align: center;
  min-height: 80vh;
}

.landing-logo-link {
  margin-bottom: 30px;
}

.landing-logo {
  height: 60px;
  transition: transform 0.3s ease;
}

.landing-logo:hover {
  transform: scale(1.05);
}

.landing-heading {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.2;
}

.landing-search {
  width: 100%;
  max-width: 600px;
  margin-bottom: 30px;
}

.landing-search-results {
  margin-top: 20px;
}

.landing-cta {
  margin-top: 10px;
}

/* Apps Section */
.landing-apps {
  padding: 60px 20px;
  text-align: center;
}

.landing-apps-heading {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light, #a0b4c8);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

.landing-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 30px;
}

.landing-app-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  color: var(--text-color, #f0f4f8);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.landing-app-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-blue, #5e9eff);
  box-shadow: 0 12px 30px rgba(94, 158, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color, #f0f4f8);
  text-decoration: none;
}

.landing-app-card-body {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.landing-app-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.landing-app-info {
  text-align: left;
  flex: 1;
}

.landing-app-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-blue, #5e9eff);
  margin-bottom: 4px;
}

.landing-app-desc {
  font-size: 0.9rem;
  color: var(--text-light, #a0b4c8);
  margin-bottom: 8px;
}

.landing-app-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
}

.landing-app-rating {
  color: #ffc107;
  font-weight: 600;
}

.landing-app-platform {
  color: var(--text-light, #a0b4c8);
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 8px;
  border-radius: 4px;
}

.landing-store-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.landing-store-apple {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-store-google {
  background: rgba(94, 158, 255, 0.1);
  color: var(--accent-blue, #5e9eff);
  border: 1px solid rgba(94, 158, 255, 0.25);
}

.landing-app-card:hover .landing-store-apple {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

.landing-app-card:hover .landing-store-google {
  background: rgba(94, 158, 255, 0.2);
  border-color: var(--accent-blue, #5e9eff);
}

.landing-build-link {
  margin-top: 10px;
}

.landing-build-link a {
  color: var(--accent-blue, #5e9eff);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
  border-bottom: 1px dotted var(--accent-blue, #5e9eff);
}

.landing-build-link a:hover {
  opacity: 0.8;
}

/* USP Section */
.landing-usp {
  padding: 40px 20px 60px;
  text-align: center;
}

.landing-usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.landing-usp-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  animation: fadeInUp 0.5s ease-out both;
}

.landing-usp-card:nth-child(2) {
  animation-delay: 0.15s;
}

.landing-usp-card:nth-child(3) {
  animation-delay: 0.3s;
}

.landing-usp-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-blue, #5e9eff);
  box-shadow: 0 12px 30px rgba(94, 158, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.landing-usp-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.landing-usp-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-blue, #5e9eff);
  margin-bottom: 10px;
}

.landing-usp-desc {
  font-size: 0.9rem;
  color: var(--text-light, #a0b4c8);
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .landing-usp {
    padding: 30px 16px 40px;
  }

  .landing-usp-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* Footer */
.landing-footer {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light, #a0b4c8);
  font-size: 0.85rem;
}

.landing-footer p {
  margin-bottom: 5px;
}

.landing-footer-contact a {
  color: var(--accent-blue, #5e9eff);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.landing-footer-contact a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .landing-hero {
    padding: 40px 16px 30px;
    min-height: 70vh;
  }

  .landing-heading {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .landing-apps {
    padding: 40px 16px;
  }

  .landing-apps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media screen and (max-width: 480px) {
  .landing-heading {
    font-size: 1.6rem;
    margin-bottom: 24px;
  }

  .landing-logo {
    height: 45px;
  }

  .landing-app-card-body {
    gap: 12px;
  }

  .landing-app-icon {
    font-size: 2rem;
  }
}

/* Entrance Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing-logo-link {
  animation: fadeInUp 0.6s ease-out both;
}

.landing-heading {
  animation: fadeInUp 0.6s ease-out 0.15s both;
}

.landing-search {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.landing-cta {
  animation: fadeInUp 0.6s ease-out 0.45s both;
}

.landing-apps-heading {
  animation: fadeInUp 0.5s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

.landing-app-card {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out both;
}

.landing-app-card:nth-child(1) {
  animation-delay: 0.1s;
}

.landing-app-card:nth-child(2) {
  animation-delay: 0.25s;
}

.landing-app-card:nth-child(3) {
  animation-delay: 0.4s;
}

.landing-footer {
  animation: fadeInUp 0.5s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

/* Subtle float animation for the logo */
@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.landing-logo {
  animation: subtleFloat 4s ease-in-out infinite;
}

.landing-logo:hover {
  animation-play-state: paused;
}

/* SEO Subtitle */
.landing-subtitle {
  font-size: 1.1rem;
  color: var(--text-light, #a0b4c8);
  max-width: 600px;
  line-height: 1.5;
  margin-bottom: 10px;
  text-align: center;
  animation: fadeInUp 0.6s ease-out 0.25s both;
}

@media screen and (max-width: 768px) {
  .landing-subtitle {
    font-size: 0.95rem;
    max-width: 90%;
  }
}

/* Screen reader only (SEO accessible text) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Gradient text for heading accent */
.gradient-text {
  background: linear-gradient(0deg, #ffa745, #fe869f 30%, #ef7ac8 45%, #a083ed 70%, #43aeff 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* USP section semantic heading override */
.landing-usp-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-blue, #5e9eff);
  margin-bottom: 10px;
  border: none;
  background: none;
  -webkit-text-fill-color: unset;
}
