:root {
  --primary: #6366F1;
  --primary-light: #818CF8;
  --accent-gold: #F59E0B;
  --accent-gold-light: #FBBF24;
  --bg-dark: #0a0a0f;
  --bg-surface: rgba(30, 30, 40, 0.6);
  --bg-surface-solid: #1E1E1E;
  --text: #F9FAFB;
  --text-muted: #9CA3AF;
  --text-secondary: #6B7280;
  --success: #4ADE80;
  --warning: #FBBF24;
  --error: #F87171;
  --border: rgba(255, 255, 255, 0.1);
  --glow-primary: rgba(129, 140, 248, 0.4);
  --glow-gold: rgba(245, 158, 11, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

nav {
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: -1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.gradient-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.gradient-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
  top: 100px;
  right: -150px;
  animation-delay: -5s;
}

.gradient-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  bottom: -100px;
  left: 30%;
  animation-delay: -10s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -30px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(-30px, -20px) scale(1.02);
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #fff;
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px var(--glow-primary), 0 0 40px rgba(99, 102, 241, 0.2);
  }

  50% {
    box-shadow: 0 0 30px var(--glow-primary), 0 0 60px rgba(99, 102, 241, 0.3);
  }
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  border-color: var(--primary-light);
}

.hero-image {
  margin-top: 60px;
  animation: fadeInUp 1s ease-out 0.6s both;
  position: relative;
  display: inline-block;
}

.hero-image img {
  max-width: 420px;
  border-radius: 0;
  box-shadow: none;
  border: none;
  transition: transform 0.5s ease;
}

.hero-image img:hover {
  transform: translateY(-10px) scale(1.02);
}

.floating-card {
  position: absolute;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: 160px;
  animation: float-card 6s ease-in-out infinite;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.floating-card-1 {
  top: 10%;
  right: 110%;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 15%;
  left: 120%;
  animation-delay: -2s;
}

.floating-card-3 {
  bottom: 20%;
  right: 115%;
  animation-delay: -4s;
}

.floating-card-4 {
  top: 10%;
  left: 110%;
  animation-delay: -1s;
}

.floating-card-5 {
  top: 25%;
  left: 115%;
  animation-delay: -3s;
}

@keyframes float-card {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.floating-card svg {
  color: var(--primary-light);
}

.floating-card.gold svg {
  color: var(--accent-gold);
}

.scroll-indicator {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
  color: var(--text-muted);
  opacity: 0.6;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.app-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.app-badge:hover {
  border-color: var(--primary-light);
  background: rgba(129, 140, 248, 0.1);
  transform: translateY(-2px);
}

.app-badge svg {
  width: 24px;
  height: 24px;
}

.app-badge span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.app-badge .badge-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.app-badge .badge-store {
  font-weight: 600;
}

.features {
  padding: 120px 0;
  position: relative;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.features.visible h2 {
  animation: fadeInUp 0.8s ease-out forwards;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

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

.feature-card:nth-child(2).visible {
  animation-delay: 0.2s;
}

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

.feature-card:nth-child(4).visible {
  animation-delay: 0.4s;
}

.feature-card:nth-child(5).visible {
  animation-delay: 0.5s;
}

.feature-card:nth-child(6).visible {
  animation-delay: 0.6s;
}

.feature-card:nth-child(7).visible {
  animation-delay: 0.7s;
}

.feature-card:nth-child(8).visible {
  animation-delay: 0.8s;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:nth-child(2)::before,
.feature-card:nth-child(4)::before,
.feature-card:nth-child(6)::before,
.feature-card:nth-child(8)::before {
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px var(--glow-primary);
}

.feature-card:nth-child(2):hover,
.feature-card:nth-child(4):hover,
.feature-card:nth-child(6):hover,
.feature-card:nth-child(8):hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px var(--glow-gold);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  background: rgba(129, 140, 248, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.3);
  position: relative;
  transition: all 0.4s ease;
}

.feature-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: radial-gradient(circle, var(--glow-primary), transparent 70%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon::after {
  opacity: 1;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(4) .feature-icon,
.feature-card:nth-child(6) .feature-icon,
.feature-card:nth-child(8) .feature-icon {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
}

.feature-card:nth-child(2) .feature-icon::after,
.feature-card:nth-child(4) .feature-icon::after,
.feature-card:nth-child(6) .feature-icon::after,
.feature-card:nth-child(8) .feature-icon::after {
  background: radial-gradient(circle, var(--glow-gold), transparent 70%);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text);
}

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

.gallery {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(99, 102, 241, 0.05) 50%, var(--bg-dark) 100%);
  overflow: hidden;
}

.gallery h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.gallery-track-container {
  overflow: hidden;
  padding: 40px 0;
  white-space: nowrap;
  position: relative;
}

.gallery-track-container::before,
.gallery-track-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.gallery-track-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-dark), transparent);
}

.gallery-track-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-dark), transparent);
}

.gallery-track {
  display: inline-flex;
  gap: 40px;
  animation: scroll 40s linear infinite;
}

@media (hover: hover) {
  .gallery-track:hover {
    animation-play-state: paused;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-280px * 7 - 40px * 7));
    /* Width of 7 items + 7 gaps */
  }
}

.gallery-item {
  flex: 0 0 auto;
  width: 280px;
  position: relative;
  transition: transform 0.4s ease;
  perspective: 1000px;
  white-space: normal;
}

.gallery-item:hover {
  transform: translateY(-10px);
  z-index: 10;
}

.gallery-item img {
  width: 100%;
  border-radius: 20px;
  border: 4px solid #1a1a1a;
  box-shadow:
    0 0 0 2px #444,
    /* Outer bezel line */
    0 20px 50px rgba(0, 0, 0, 0.5),
    /* Drop shadow */
    0 0 0 1px inset rgba(255, 255, 255, 0.1);
  /* Inner highlight */
  background: #000;
  aspect-ratio: 9/19.5;
  object-fit: cover;
}

.gallery-item .caption {
  text-align: center;
  margin-top: 16px;
  color: var(--text-muted);
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.gallery-item:hover .caption {
  opacity: 1;
  transform: translateY(0);
  color: var(--primary-light);
}

.cta {
  padding: 100px 0;
  text-align: center;
}

.cta-card {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  padding: 70px 60px;
  border-radius: 24px;
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.cta-card.visible {
  animation: fadeInUp 0.8s ease-out forwards;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.cta h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  color: #000;
  position: relative;
}

.cta p {
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 32px;
  font-size: 1.1rem;
  position: relative;
}

.cta .btn {
  position: relative;
}

footer {
  padding: 50px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  background: rgba(10, 10, 15, 0.5);
}

.footer-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.page-content {
  padding: 120px 0 60px;
}

.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.last-updated {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.page-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--primary-light);
}

.page-content h3 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

.page-content p,
.page-content ul {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.page-content ul {
  padding-left: 24px;
}

.page-content li {
  margin-bottom: 8px;
}

.contact-placeholder {
  background: var(--bg-surface);
  padding: 20px 24px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-light);
  margin: 24px 0;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .nav-links {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .hero-image img {
    max-width: 280px;
  }

  .floating-card {
    display: none;
  }

  .gradient-orb {
    opacity: 0.3;
  }

  .app-badges {
    flex-direction: column;
    align-items: center;
  }
}