/* ============================================
   PENTLY WEBSITE - STYLES
   Complete multi-page website
   ============================================ */

/* CSS Variables */
:root {
  --color-primary: #10B981;
  --color-primary-dark: #059669;
  --color-gold: #C9AE6B;
  --color-gold-light: #E8DCC4;
  --color-navy: #1E3A5F;
  --color-navy-light: #2D4A6F;
  --color-cream: #FAF9F6;
  --color-white: #FFFFFF;
  --color-text: #2D3A4A;
  --color-text-muted: #6B7280;
  --color-border: #E5E7EB;
  
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.nav-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.nav-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-navy);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-cta {
  padding: 10px 20px;
  background: var(--color-primary);
  color: white !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.nav-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-navy);
  padding: 8px;
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: white;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.nav-drawer.open {
  max-height: 400px;
  padding: 16px 24px;
}

.nav-drawer a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.nav-drawer a:last-child {
  border-bottom: none;
  margin-top: 8px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-cream) 0%, #F0EDE5 50%, #E8E4DA 100%);
  padding: 100px 24px 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
}

.hero-text {
  text-align: center;
  max-width: 600px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--color-primary);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--color-gold-light);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--color-navy);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: var(--color-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn-outline:hover {
  background: var(--color-navy);
  color: white;
  transform: translateY(-2px);
}

.btn-green {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-green:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.hero-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero-phone {
  position: relative;
  z-index: 10;
}

.phone-frame {
  position: relative;
  width: 280px;
  padding: 12px;
  background: var(--color-navy);
  border-radius: 40px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
}

.phone-screen {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

/* Phone with iframe (for app.html) */
.phone-frame-live {
  position: relative;
  width: 375px;
  height: 812px;
  padding: 12px;
  background: var(--color-navy);
  border-radius: 50px;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(16, 185, 129, 0.15);
  flex-shrink: 0;
}

.phone-frame-live .phone-notch {
  width: 120px;
  height: 28px;
  top: 14px;
}

.phone-frame-live iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 38px;
  background: white;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 48px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: 80px 24px;
  background: var(--color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: white;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   COUNTRIES SECTION
   ============================================ */
.countries {
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-cream) 100%);
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 16px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.country-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.country-flag {
  font-size: 2rem;
  line-height: 1;
}

.country-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
  text-align: center;
}

.country-count {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 500;
}

.countries-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ============================================
   SCREENSHOTS SECTION
   ============================================ */
.screenshots {
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
}

.screenshots-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 0 40px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshots-carousel::-webkit-scrollbar {
  height: 6px;
}

.screenshots-carousel::-webkit-scrollbar-track {
  background: var(--color-border);
  border-radius: 3px;
}

.screenshots-carousel::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 3px;
}

.screenshot-item {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: center;
  text-align: center;
}

.screenshot-item img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--color-gold);
  transition: transform 0.3s ease;
}

.screenshot-item:hover img {
  transform: scale(1.02);
}

.screenshot-label {
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */
.download {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  text-align: center;
}

.download-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.download-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.store-badge img {
  height: 56px;
  transition: transform 0.3s ease;
}

.store-badge:hover img {
  transform: scale(1.05);
}

.store-badge-web {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-xl);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.store-badge-web:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.badge-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-xl);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

.download-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.download-feature {
  font-size: 0.9rem;
  color: var(--color-gold);
  font-weight: 500;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 80px 24px;
  background: var(--color-cream);
}

.contact-card {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 2px solid var(--color-gold-light);
}

.contact-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  border-radius: 50%;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.contact-icon svg {
  width: 32px;
  height: 32px;
}

.contact-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.contact-email {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
  padding: 12px 24px;
  background: var(--color-cream);
  border-radius: var(--radius-md);
  border: 2px solid var(--color-gold);
  transition: all 0.3s ease;
}

.contact-email:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 40px 24px;
  background: var(--color-navy);
  color: white;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   PAGE HEADER (for sub-pages)
   ============================================ */
.page-header {
  padding: 120px 24px 60px;
  background: linear-gradient(135deg, var(--color-cream) 0%, #F0EDE5 100%);
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   PROSE (for privacy, terms, changelog)
   ============================================ */
.prose {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-gold-light);
}

.prose h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-top: 24px;
  margin-bottom: 12px;
}

.prose p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.prose ul, .prose ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.prose strong {
  color: var(--color-navy);
}

.prose a {
  color: var(--color-primary);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--color-primary-dark);
}

/* ============================================
   APP PAGE (try in browser)
   ============================================ */
.app-page {
  padding: 80px 24px 0;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-cream) 0%, #F0EDE5 100%);
}

.app-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
}

.app-info {
  text-align: center;
  max-width: 500px;
}

.app-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.app-info p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.app-info .store-badges {
  margin-top: 24px;
}

.app-phone-container {
  display: flex;
  justify-content: center;
  padding-bottom: 60px;
}

/* ============================================
   FAQ / SUPPORT
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ============================================
   CHANGELOG
   ============================================ */
.changelog-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.changelog-entry {
  padding: 32px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.changelog-version {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-primary);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.changelog-date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.changelog-entry h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-navy);
  margin: 16px 0 8px;
}

.changelog-entry ul {
  padding-left: 20px;
}

.changelog-entry li {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.6;
}

/* ============================================
   FEATURES PAGE (detailed)
   ============================================ */
.feature-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding: 60px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-detail:nth-child(even) {
  background: var(--color-cream);
}

.feature-detail-text {
  max-width: 500px;
}

.feature-detail-text h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.feature-detail-text p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.feature-detail-text ul {
  list-style: none;
  padding: 0;
}

.feature-detail-text li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--color-text);
}

.feature-detail-text li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.feature-detail-image {
  width: 250px;
}

.feature-detail-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-target {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.animate-target.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.features-grid .animate-target:nth-child(2) { transition-delay: 0.1s; }
.features-grid .animate-target:nth-child(3) { transition-delay: 0.2s; }
.features-grid .animate-target:nth-child(4) { transition-delay: 0.3s; }

.countries-grid .animate-target:nth-child(2) { transition-delay: 0.05s; }
.countries-grid .animate-target:nth-child(3) { transition-delay: 0.1s; }
.countries-grid .animate-target:nth-child(4) { transition-delay: 0.15s; }
.countries-grid .animate-target:nth-child(5) { transition-delay: 0.2s; }
.countries-grid .animate-target:nth-child(6) { transition-delay: 0.25s; }
.countries-grid .animate-target:nth-child(7) { transition-delay: 0.3s; }
.countries-grid .animate-target:nth-child(8) { transition-delay: 0.35s; }

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .countries-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .screenshot-item {
    width: 260px;
  }

  .feature-detail {
    flex-direction: row;
    gap: 48px;
  }

  .feature-detail:nth-child(even) {
    flex-direction: row-reverse;
  }
}

/* ============================================
   RESPONSIVE - DESKTOP
   ============================================ */
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  
  .nav-toggle {
    display: none;
  }
  
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 80px;
  }
  
  .hero-text {
    text-align: left;
    max-width: 500px;
  }
  
  .hero-buttons {
    justify-content: flex-start;
  }
  
  .hero-phone {
    flex-shrink: 0;
  }
  
  .phone-frame {
    width: 320px;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .feature-card {
    padding: 28px;
  }
  
  .screenshot-item {
    width: 280px;
  }
  
  .screenshots-carousel {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  /* App page: side by side */
  .app-layout {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding-top: 60px;
  }

  .app-info {
    text-align: left;
    position: sticky;
    top: 120px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text,
.hero-phone {
  animation: fadeInUp 0.8s ease-out;
}

.hero-phone {
  animation-delay: 0.2s;
}
