:root {
  --bg-color: #0c0c0e;
  --surface-color: #1c1c1e;
  --primary-color: #7b61ff;
  --primary-hover: #6a51e6;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-color: #00e5ff;
  --font-family: 'Inter', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

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

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(12, 12, 14, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

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

.nav-btn {
  background: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 99px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.nav-btn:hover {
  background: var(--primary-hover);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.15) 0%, rgba(12, 12, 14, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fff, #a0a0a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.store-btn img {
  width: 24px;
  height: 24px;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-btn-text span:first-child {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.store-btn-text span:last-child {
  font-size: 1rem;
  font-weight: 600;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 20px;
  /* Optional: Add a subtle perspective or rotation for a cool effect */
  /* transform: perspective(1000px) rotateX(10deg); */
}

.hero-grid-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-grid img {
  width: 100%;
  border-radius: 45px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 4px solid #333;
  transition: transform 0.3s ease;
}

.hero-grid img:hover {
  transform: translateY(-5px);
  z-index: 10;
}

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

  .hero-grid-col:nth-child(3) {
    display: none;
    /* Hide 3rd column on mobile to save space */
  }
}

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

  .hero-grid-col:nth-child(2) {
    display: none;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 40px auto 0;
  padding: 20px;
  -webkit-mask-image: linear-gradient(to bottom, black 10%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 10%, transparent 100%);
}

.footer-grid-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-grid img {
  width: 100%;
  border-radius: 55px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 4px solid #333;
  transition: transform 0.3s ease;
}

.footer-grid img:hover {
  transform: translateY(-5px);
  z-index: 10;
}

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

/* Features */
.features {
  padding: 100px 0;
  background: var(--surface-color);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(123, 97, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 24px;
}

.feature-icon span {
  font-size: 32px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Screenshots / Gallery */
.gallery {
  padding: 100px 0;
  overflow: hidden;
}

.footer-banner-container {
  margin-top: -400px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.footer-banner {
  width: 100%;
  max-width: 1000px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.footer-banner:hover {
  transform: scale(1.02);
}

.gallery-track-wrapper {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 20px;
  /* Hide scrollbar for cleaner look */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.gallery-track-wrapper::-webkit-scrollbar {
  display: none;
}

/* Footer */
.footer {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

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

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

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

  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }
}