/* ============================================
   SMART-APPS - Premium Mobile Apps Platform
   Design System & Global Styles
   ============================================ */

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --secondary: #EF4444;
  --background: #FFFFFF;
  --background-light: #F9FAFB;
  --text: #111827;
  --text-muted: #6B7280;
  --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 20px -5px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 1.5rem;
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.main-content { flex: 1; }

/* Typography */
h1, h2, h3 { margin: 0; font-weight: 600; }
.text-gradient {
  color: #232f3e;
}
.hero-title .text-gradient {
  color: #5a5c7f;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #232f3e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity var(--transition);
}
.navbar .logo { color: #FFFFFF; }
.logo:hover { opacity: 0.85; }

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: #232f3e;
  color: white;
  font-weight: 800;
  font-size: 1rem;
}
.navbar .logo-icon { background: rgba(255, 255, 255, 0.2); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.navbar.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #232f3e;
  padding: 1rem;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .navbar.nav-open .nav-links {
    position: static;
    flex-direction: row;
    padding: 0;
    border: none;
    gap: 2rem;
  }
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.navbar .nav-links a { color: rgba(255, 255, 255, 0.85); }
.navbar .nav-links a:hover { color: #FFFFFF; }
.nav-links a:hover { color: var(--text); }

.nav-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.navbar .nav-menu-btn { color: rgba(255, 255, 255, 0.85); }
.navbar .nav-menu-btn:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.1); }
.nav-menu-btn:hover {
  color: var(--text);
  background: var(--background-light);
}
@media (min-width: 768px) {
  .nav-menu-btn { display: none; }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: min(100vh, 42rem);
  width: 100%;
  background: linear-gradient(135deg, #c9bbdc 0%, #c9bbdc 100%);
  padding: 4rem 1.5rem 6rem;
}

.hero-section .hero-title,
.hero-section .hero-title .text-gradient {
  color: #1e2832;
}
.hero-section .hero-subtitle {
  color: #1e2832;
}
.hero-section .hero-social-proof {
  border-top-color: rgba(255, 255, 255, 0.25);
}
.hero-section .hero-social-text {
  color: rgba(255, 255, 255, 0.88);
}

.hero-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-top: 2rem;
  }
}

.hero-content {
  animation: fadeInUp 0.6s ease-out;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 800;
  color: #5a5c7f;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 3.5rem; }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 32rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.25rem; }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary), #3B82F6);
  color: white !important;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.hero-cta .btn-arrow {
  transition: transform var(--transition);
}
.hero-cta:hover .btn-arrow {
  transform: translateX(4px);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.hero-social-icon {
  font-size: 1.25rem;
  color: var(--secondary);
}
.hero-social-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.hero-avatars {
  display: flex;
  margin-left: 0.5rem;
}
.avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 0.625rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: calc(-0.5rem + var(--i, 0) * -0.25rem);
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
}

/* Hero Visual - iPhone Mockups */
.hero-visual {
  position: relative;
  min-height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.8s ease-out 0.2s both;
}
@media (min-width: 1024px) {
  .hero-visual { min-height: 28rem; }
}

.hero-phones {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
}

.phone-mockup {
  position: relative;
}
.phone-mockup.phone-1 {
  animation: float1 6s ease-in-out infinite;
}
.phone-mockup.phone-2 {
  animation: float2 6s ease-in-out infinite;
  animation-delay: -3s;
}
@media (min-width: 640px) {
  .phone-mockup.phone-2 { margin-top: 2rem; }
}

.phone-frame {
  position: relative;
  width: 10rem;
  height: 20rem;
  border-radius: 2rem;
  padding: 0.5rem;
  background: #1a1a1a;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: transform var(--transition-slow);
}
.phone-mockup:hover .phone-frame {
  transform: scale(1.02);
}
@media (min-width: 640px) {
  .phone-frame {
    width: 12rem;
    height: 24rem;
    border-radius: 2.25rem;
    padding: 0.6rem;
  }
}
@media (min-width: 1024px) {
  .phone-frame {
    width: 10.5rem;
    height: 21rem;
  }
}

.phone-notch {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 1.25rem;
  background: #1a1a1a;
  border-radius: 0 0 1rem 1rem;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  display: block;
}

/* Hero Badges */
.hero-badge {
  position: absolute;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-lg);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  animation: fadeInUp 0.6s ease-out both;
}
.badge-stars { color: var(--primary); }
.hero-badge-1 {
  bottom: 1rem;
  left: 0;
  animation-delay: 0.4s;
  border: 1px solid rgba(37, 99, 235, 0.2);
}
.hero-badge-2 {
  bottom: 2rem;
  right: 0;
  animation-delay: 0.5s;
  border: 1px solid rgba(37, 99, 235, 0.2);
}
.hero-badge-3 {
  top: 0;
  right: 2rem;
  animation-delay: 0.6s;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
@media (max-width: 639px) {
  .hero-badge-1 { left: 0.5rem; bottom: 0.5rem; font-size: 0.75rem; padding: 0.375rem 0.75rem; }
  .hero-badge-2 { right: 0.5rem; bottom: 1rem; font-size: 0.75rem; padding: 0.375rem 0.75rem; }
  .hero-badge-3 { top: 0.5rem; right: 0.5rem; font-size: 0.75rem; padding: 0.375rem 0.75rem; }
}

.hero-bg-dots {
  position: absolute;
  bottom: 2rem;
  left: 1rem;
  width: 8rem;
  height: 8rem;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.22) 2px, transparent 2px);
  background-size: 1rem 1rem;
  pointer-events: none;
  opacity: 0.6;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(-5deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}
@media (min-width: 640px) {
  .section { padding: 5rem 2rem 6rem; }
}
@media (min-width: 1024px) {
  .section { padding: 6rem 2rem 7rem; }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(239, 68, 68, 0.08));
  color: var(--primary);
  margin-bottom: 1rem;
}
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
@media (min-width: 640px) {
  .section-title { font-size: 2.5rem; }
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto;
}

/* ============================================
   APPS SECTION
   ============================================ */

.apps-section {
  background: #e5cfcc;
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.apps-section .section {
  padding-top: 3rem;
}

.search-wrap {
  position: relative;
  max-width: 28rem;
  margin: 0 auto 2.5rem;
}
.search-wrap input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-family: inherit;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-muted);
}

/* Apps Grid */
.apps-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .apps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* App Card */
.app-card {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow var(--transition), border-color var(--transition);
}
.apps-section.in-view .app-card {
  opacity: 1;
  transform: translateY(0);
}
.apps-section.in-view .app-card:nth-child(1) { transition-delay: 0.05s; }
.apps-section.in-view .app-card:nth-child(2) { transition-delay: 0.1s; }
.apps-section.in-view .app-card:nth-child(3) { transition-delay: 0.15s; }
.app-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border-color: rgba(37, 99, 235, 0.2);
}

.app-card-inner {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) {
  .app-card-inner { padding: 2rem; }
}

.app-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.app-icon-wrap {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(239, 68, 68, 0.08));
  font-size: 2rem;
  overflow: hidden;
}
.app-icon-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.app-card-actions {
  display: flex;
  gap: 0.375rem;
}
.app-action-btn {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}
.app-action-btn:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
}

.app-stars {
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.app-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
  transition: color var(--transition);
}
.app-card:hover .app-card-title {
  color: var(--primary);
}

.app-card-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.app-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding-top: 1rem;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.app-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.app-card-meta svg {
  flex-shrink: 0;
  color: var(--primary);
  opacity: 0.7;
}

.app-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition), color var(--transition);
}
.app-card:hover .app-card-cta {
  gap: 0.75rem;
  color: var(--primary-dark);
}

.no-results {
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
  background: #f2e8e5;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.features-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}
@media (min-width: 1024px) {
  .features-grid {
    gap: 3rem 4rem;
  }
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.features-section.in-view .feature-item {
  opacity: 1;
  transform: translateY(0);
}
.features-section.in-view .feature-item:nth-child(1) { transition-delay: 0.05s; }
.features-section.in-view .feature-item:nth-child(2) { transition-delay: 0.1s; }
.features-section.in-view .feature-item:nth-child(3) { transition-delay: 0.15s; }
.features-section.in-view .feature-item:nth-child(4) { transition-delay: 0.2s; }
.features-section.in-view .feature-item:nth-child(5) { transition-delay: 0.25s; }
.features-section.in-view .feature-item:nth-child(6) { transition-delay: 0.3s; }

.feature-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(239, 68, 68, 0.05));
  color: var(--primary);
  stroke-width: 1.5;
}
.feature-item:hover .feature-icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(239, 68, 68, 0.08));
}

.feature-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.feature-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #1e2832;
  color: #FFFFFF;
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr auto auto;
    gap: 3rem;
  }
}

.footer-brand .logo { margin-bottom: 0.5rem; color: #FFFFFF; }
.footer-brand .logo:hover { color: rgba(255, 255, 255, 0.9); }
.footer-brand .logo span:last-child { font-size: 1rem; }
.footer-brand .logo-icon { background: rgba(255, 255, 255, 0.2); }

.footer-column h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.footer-column a:hover { color: #FFFFFF; }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   UTILITY
   ============================================ */

.hidden { display: none !important; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   APP PAGE STYLES (preserved)
   ============================================ */

.app-header-section {
  background: #c9badc;
  border-bottom: 1px solid rgba(31, 41, 51, 0.12);
  color: #1f2933;
}
.app-header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.back-link:hover { color: var(--text); }
.app-header-section .back-link {
  color: #1f2933;
  opacity: 0.85;
}
.app-header-section .back-link:hover {
  color: #1f2933;
  opacity: 1;
}
.app-header-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) { .app-header-content { flex-direction: row; align-items: center; } }
.app-header-icon {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(239, 68, 68, 0.08));
  font-size: 2.25rem;
  box-shadow: var(--shadow-md);
}
.app-header-section .app-header-icon {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 6px -1px rgba(31, 41, 51, 0.08);
}
.app-header h1 { font-size: 1.875rem; font-weight: 700; }
@media (min-width: 640px) { .app-header h1 { font-size: 2.25rem; } }
.app-header .tagline { font-size: 1.125rem; color: var(--text-muted); margin-top: 0.5rem; }
.app-header-section .app-header,
.app-header-section .tagline {
  color: #1f2933;
}
.app-store-link {
  display: inline-block;
  margin-top: 1rem;
  line-height: 0;
}
.app-store-link img { display: block; }

/* Description section */
.description-section { padding: 3rem 0; }
.description-section h2 { margin-bottom: 1.5rem; font-weight: 700; }
.description-section > p { font-size: 1.125rem; color: var(--text-muted); line-height: 1.75; }
.features-list { margin-top: 2.5rem; }
.features-list h3 { margin-bottom: 1rem; font-size: 1.125rem; font-weight: 600; }
.features-list ul { list-style: none; padding: 0; margin: 0; }
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}
.features-list li::before {
  content: '';
  margin-top: 0.375rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* Screenshots */
.screenshots-section { padding: 3rem 0; }
.screenshots-section h2 { margin-bottom: 2rem; font-weight: 700; }
.carousel-wrap {
  position: relative;
  max-width: 28rem;
  margin: 0 auto 2rem;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--background-light);
  box-shadow: var(--shadow-lg);
}
.carousel-inner {
  position: relative;
  aspect-ratio: 9/19;
  width: 100%;
  overflow: hidden;
}
.carousel-inner .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-inner .carousel-slide.hidden {
  display: none;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.carousel-btn:hover { background: white; }
.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }
.thumbnails {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.thumb-btn {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  padding: 0;
}
.thumb-btn:hover { opacity: 1; }
.thumb-btn.active { border-color: var(--primary); opacity: 1; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

/* Tabs */
.tabs-section { padding: 3rem 0; }
.tabs-section h2 { margin-bottom: 2rem; font-weight: 700; }
.tabs-bar {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--background-light);
  border-radius: 0.75rem;
}
.tab-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  background: white;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.tab-panel {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: white;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .tab-panel { padding: 2rem; } }
.tab-content { white-space: pre-wrap; color: var(--text-muted); line-height: 1.75; }

/* Legal pages */
.legal-page {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.legal-page h1 { font-size: 1.875rem; font-weight: 700; }
.legal-page .updated { color: var(--text-muted); margin-top: 1rem; }
.legal-page .content { margin-top: 2rem; color: var(--text-muted); line-height: 1.75; }
