@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Inter:wght@300;400;600;800&display=swap');

/* ── Custom Properties ── */
:root {
  --c-bg: #01010f;
  --c-card-bg: rgba(12, 12, 34, 0.6);
  --c-accent: #00e5ff;
  --c-purple: #7c4dff;
  --c-text: #e0e0ff;
  --c-text-muted: rgba(224, 224, 255, 0.6);
  --font-mono: 'Share Tech Mono', monospace;
  --font-sans: 'Inter', sans-serif;
  --border-glow: 1px solid rgba(0, 229, 255, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base Styles ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--c-bg);
  background-image: 
    radial-gradient(at 0% 0%, rgba(124, 77, 255, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(0, 229, 255, 0.1) 0px, transparent 50%);
  color: var(--c-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-shadow: 0 0 8px var(--c-accent);
  color: #fff;
}

/* ── Layout & Sections ── */
header {
  padding: 40px 20px;
  text-align: center;
  position: relative;
  z-index: 10;
}

main {
  flex: 1;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  z-index: 10;
}

footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(224, 224, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-text-muted);
}

footer a {
  margin: 0 15px;
}

/* ── Decorative Elements ── */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(224, 224, 255, 0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(224, 224, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

/* ── Typography & Headings ── */
.logo {
  font-family: var(--font-mono);
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.4), 0 0 40px rgba(0, 229, 255, 0.2);
  display: inline-block;
  animation: logoGlow 3s ease-in-out infinite alternate;
}

.subtitle {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-purple);
  margin-top: 10px;
  text-shadow: 0 0 10px rgba(124, 77, 255, 0.3);
}

h2 {
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--c-accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

/* ── Glass Cards ── */
.card {
  background: var(--c-card-bg);
  border: var(--border-glow);
  box-shadow: 0 8px 32px 0 rgba(0, 229, 255, 0.03), 
              inset 0 0 20px rgba(124, 77, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 40px;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 12px 40px 0 rgba(0, 229, 255, 0.08),
              inset 0 0 25px rgba(124, 77, 255, 0.08);
  transform: translateY(-2px);
}

/* ── Home Page Hero & Badge ── */
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.hero p {
  font-size: 18px;
  max-width: 600px;
  color: var(--c-text-muted);
}

.playstore-btn {
  display: inline-block;
  transition: var(--transition);
  margin-top: 15px;
}

.playstore-btn img {
  height: 60px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.2));
  transition: var(--transition);
}

.playstore-btn:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.45));
}

/* ── Features List ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.feature-item {
  background: rgba(224, 224, 255, 0.02);
  border: 1px solid rgba(224, 224, 255, 0.05);
  border-radius: 8px;
  padding: 24px;
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(0, 229, 255, 0.03);
  border-color: rgba(0, 229, 255, 0.2);
}

.feature-title {
  font-family: var(--font-mono);
  color: var(--c-accent);
  font-size: 18px;
  margin-bottom: 10px;
}

/* ── Legal Page Layouts ── */
.legal-content h3 {
  font-family: var(--font-mono);
  color: var(--c-accent);
  font-size: 20px;
  margin: 35px 0 15px 0;
}

.legal-content p {
  margin-bottom: 15px;
  color: var(--c-text-muted);
}

.legal-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--c-text-muted);
}

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

.back-link {
  font-family: var(--font-mono);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

/* ── Carousel / Visual Mockups ── */
.screenshot-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--c-purple) var(--c-bg);
}

.screenshot-gallery::-webkit-scrollbar {
  height: 6px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
  background-color: var(--c-purple);
  border-radius: 3px;
}

.screenshot-card {
  flex: 0 0 300px;
  aspect-ratio: 16/9;
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  overflow: hidden;
  background: #030315;
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: var(--transition);
}

.screenshot-card:hover img {
  opacity: 1;
  transform: scale(1.02);
}

/* ── Keyframes ── */
@keyframes logoGlow {
  0% {
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.3), 0 0 30px rgba(0, 229, 255, 0.1);
  }
  100% {
    text-shadow: 0 0 25px rgba(0, 229, 255, 0.6), 0 0 50px rgba(0, 229, 255, 0.3);
  }
}

/* ── Responsive Styling ── */
@media (max-width: 600px) {
  .card {
    padding: 24px;
  }
  main {
    gap: 40px;
  }
}
