:root {
  --bg: #070e17; /* Slate dark background */
  --surface: rgba(255, 255, 255, 0.03); /* Translucent Glassmorphism background */
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08); /* Semi-transparent border */
  --border-hover: rgba(56, 189, 248, 0.25);
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #38bdf8; /* Soft sky blue */
  --accent-glow: rgba(56, 189, 248, 0.1);
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

/* Elegant radial gradients in background */
.bg-glow {
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 800px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(99, 102, 241, 0.04) 50%, transparent 80%);
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
}

.shell {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

/* Header style */
.app-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-icon:hover {
  transform: scale(1.06) rotate(3deg);
}

.app-title {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 40%, #e0f2fe 80%, #bae6fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 2rem;
  font-weight: 400;
  line-height: 1.65;
}

.store-buttons {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  width: 100%;
}

.store-buttons a {
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 12px;
}

.store-buttons a:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.store-badge-apple img {
  height: 44px;
  display: block;
}

.store-badge-google img {
  height: 64px;
  margin: -10px 0;
  display: block;
}

/* Gallery Section */
.gallery-container {
  margin-bottom: 5rem;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  background: linear-gradient(to right, #ffffff, var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.scroll-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding: 0.5rem 0.5rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--surface);
  -webkit-overflow-scrolling: touch;
}

.scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}

.scroll-wrapper::-webkit-scrollbar-track {
  background: var(--surface);
  border-radius: 10px;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  border-radius: 10px;
}

.screenshot-item {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: 250px;
  height: 520px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.screenshot-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.08);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grid Sections */
.grid-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.75rem;
  margin-bottom: 5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(56, 189, 248, 0.04);
}

.card h2 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  letter-spacing: -0.01em;
}

.card h2::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

ul.checklist {
  list-style: none;
  padding-left: 0;
}

ul.checklist li {
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.925rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

ul.checklist li::before {
  content: '✓';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 0.9rem;
}

.contact-card {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(99, 102, 241, 0.03));
  border: 1px solid rgba(56, 189, 248, 0.15);
}

.contact-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.contact-link {
  display: inline-block;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  transition: color 0.3s;
  letter-spacing: -0.01em;
}

.contact-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.button-secondary {
  display: inline-block;
  margin-top: auto; /* Push down to bottom of card */
  padding: 0.8rem 1.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.note {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.5);
  text-align: right;
}

/* Footer style */
.footer-nav {
  margin-top: 5rem;
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  animation: fadeIn 1.2s ease-out;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin: 0 1.25rem;
  transition: color 0.3s;
}

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

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .shell {
    padding: 3rem 1rem 4rem;
  }
  .app-title {
    font-size: 2.2rem;
  }
  .app-subtitle {
    font-size: 1rem;
  }
  .screenshot-item {
    width: 200px;
    height: 420px;
  }
  .store-buttons {
    gap: 0.75rem;
  }
  .store-badge-apple img {
    height: 40px;
  }
  .store-badge-google img {
    height: 58px;
    margin: -9px 0;
  }
  .grid-sections {
    grid-template-columns: 1fr;
  }
}

/* Vertical Storytelling Showcase Styles */
.features-container {
  margin-top: 5rem;
  margin-bottom: 6rem;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, #bae6fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.features-description {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.feature-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  margin-bottom: 4rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-block:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(56, 189, 248, 0.05);
}

.feature-info {
  margin-bottom: 3rem;
  text-align: center;
}

.feature-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.95rem;
  background: var(--accent-glow);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  color: var(--accent);
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.1);
}

.feature-title {
  font-family: var(--font-title);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.feature-concept {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.feature-screenshots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.screenshot-card {
  flex: 1 1 240px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.screenshot-frame {
  width: 100%;
  aspect-ratio: 9/19.5;
  border-radius: 24px;
  overflow: hidden;
  background: #090e17;
  border: 4px solid #1e293b;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  margin-bottom: 1.25rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screenshot-card:hover {
  transform: translateY(-8px);
}

.screenshot-card:hover .screenshot-frame {
  border-color: var(--accent);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.25);
}

.screenshot-caption {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
  padding: 0 0.5rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .features-container {
    margin-top: 4rem;
    margin-bottom: 4rem;
  }
  .features-header {
    margin-bottom: 2.5rem;
  }
  .features-title {
    font-size: 1.8rem;
  }
  .feature-block {
    padding: 2.5rem 1.5rem;
    margin-bottom: 2.5rem;
  }
  .feature-title {
    font-size: 1.5rem;
  }
  .feature-concept {
    font-size: 0.95rem;
  }
  .feature-screenshots {
    gap: 2rem;
  }
  .screenshot-card {
    max-width: 240px;
  }
  .screenshot-frame {
    border-width: 3px;
  }
}

