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

:root {
  --text: #1e293b;
  --text-light: #475569;
  --muted: #64748b;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-blue: 0 8px 32px rgba(37, 99, 235, 0.18);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --icon-radius: 22.37%;

  --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #0284c7 100%);
  --gradient-btn: linear-gradient(135deg, #2563eb, #0ea5e9);
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  text-wrap: balance;
  line-height: 1.15;
  color: var(--text);
}

p {
  text-wrap: pretty;
}

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--blue-700);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------------
   Navigation
   ----------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-md) var(--space-xl);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: var(--space-xs);
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: 980px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-subtle);
}

.nav-links a[aria-current="page"] {
  color: var(--blue-600);
  background: var(--blue-50);
}

/* -----------------------------------------------
   Hero (Homepage)
   ----------------------------------------------- */

.hero {
  background: var(--gradient-hero);
  color: #ffffff;
  padding: var(--space-5xl) var(--space-xl) var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.18);
  filter: blur(100px);
  pointer-events: none;
  animation: hero-orb-drift 12s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.14);
  filter: blur(100px);
  pointer-events: none;
  animation: hero-orb-drift 14s ease-in-out infinite alternate-reverse;
}

@keyframes hero-orb-drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, -30px); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  color: #ffffff;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 1.5vw + 0.5rem, 1.3125rem);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  max-width: 44ch;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}

.hero-icons {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  position: relative;
}

.hero-icon-link {
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: hero-float 4s ease-in-out infinite;
}

.hero-icon-link:nth-child(1) { animation-delay: 0s; }
.hero-icon-link:nth-child(2) { animation-delay: 0.3s; }
.hero-icon-link:nth-child(3) { animation-delay: 0.6s; }
.hero-icon-link:nth-child(4) { animation-delay: 0.9s; }
.hero-icon-link:nth-child(5) { animation-delay: 1.2s; }
.hero-icon-link:nth-child(6) { animation-delay: 1.5s; }

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (hover: hover) {
  .hero-icon-link:hover {
    transform: translateY(-6px) scale(1.12);
    animation-play-state: paused;
  }
}

.hero-icon-link img {
  width: 72px;
  height: 72px;
  border-radius: var(--icon-radius);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* -----------------------------------------------
   Apps Grid (Homepage)
   ----------------------------------------------- */

.apps-section {
  padding: var(--space-4xl) var(--space-xl);
  max-width: 1120px;
  margin: 0 auto;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.app-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-xl);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

@media (hover: hover) {
  .app-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-100);
  }
}

.app-card:active {
  transform: translateY(-2px);
}

.app-card-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--icon-radius);
  margin-bottom: var(--space-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .app-card:hover .app-card-icon {
    transform: scale(1.08);
  }
}

.app-card-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.015em;
}

.app-card-tagline {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}

/* -----------------------------------------------
   App Page — Hero
   ----------------------------------------------- */

.app-hero {
  background: var(--app-hero, var(--gradient-hero));
  color: #ffffff;
  padding: var(--space-4xl) var(--space-xl) var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.app-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: var(--app-glow, rgba(255, 255, 255, 0.06));
  filter: blur(80px);
  pointer-events: none;
}

.app-hero-icon {
  width: 120px;
  height: 120px;
  border-radius: var(--icon-radius);
  margin: 0 auto var(--space-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
}

.app-hero h1 {
  font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-sm);
  position: relative;
  color: #ffffff;
}

.app-hero-tagline {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.1875rem);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  max-width: 48ch;
  margin: 0 auto var(--space-xl);
  position: relative;
  line-height: 1.5;
}

/* -----------------------------------------------
   App Store Button
   ----------------------------------------------- */

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--text);
  padding: 14px 32px;
  border-radius: 980px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  position: relative;
  letter-spacing: -0.005em;
}

.app-store-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

.app-store-btn-label {
  font-size: 0.625rem;
  font-weight: 400;
  opacity: 0.6;
  letter-spacing: 0;
}

@media (hover: hover) {
  .app-store-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    color: var(--text);
  }
}

.app-store-btn:active {
  transform: translateY(0) scale(0.98);
}

.app-store-btn--dark {
  background: linear-gradient(135deg, var(--app-accent, #2563eb), var(--app-accent-end, #0ea5e9));
  color: #ffffff;
  box-shadow: 0 8px 32px var(--app-btn-shadow, rgba(37, 99, 235, 0.18));
}

@media (hover: hover) {
  .app-store-btn--dark:hover {
    color: #ffffff;
    box-shadow: 0 12px 40px var(--app-btn-shadow, rgba(37, 99, 235, 0.25));
  }
}

/* -----------------------------------------------
   Screenshots Section
   ----------------------------------------------- */

.screenshots-section {
  padding: var(--space-3xl) 0 var(--space-2xl);
  overflow: hidden;
  background: var(--bg-subtle);
}

.screenshots-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}

.screenshots-scroll {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-md) var(--space-xl) var(--space-xl);
  scrollbar-width: none;
}

.screenshots-scroll::-webkit-scrollbar {
  display: none;
}

.screenshot-img {
  flex-shrink: 0;
  height: 500px;
  width: auto;
  border-radius: var(--radius-sm);
  scroll-snap-align: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .screenshot-img:hover {
    transform: scale(1.02);
  }
}

@media (max-width: 640px) {
  .screenshot-img {
    height: 400px;
  }
}

/* -----------------------------------------------
   Features Section
   ----------------------------------------------- */

.features-section {
  padding: var(--space-3xl) var(--space-xl);
  max-width: 960px;
  margin: 0 auto;
}

.features-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-2xl);
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.feature-item {
  padding: var(--space-lg);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  transition: background 0.2s ease;
}

@media (hover: hover) {
  .feature-item:hover {
    background: var(--blue-50);
  }
}

.feature-name {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* -----------------------------------------------
   App Description Section
   ----------------------------------------------- */

.app-description {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl) var(--space-2xl);
  text-align: center;
}

.app-description p {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 60ch;
  margin: 0 auto;
}

/* -----------------------------------------------
   Highlights Bar
   ----------------------------------------------- */

.highlights-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-xl) var(--space-3xl);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
}

.highlight-item {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--blue-50);
  border-radius: var(--radius-sm);
}

.highlight-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue-600);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}

.highlight-label {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
}

/* -----------------------------------------------
   Use Cases Section
   ----------------------------------------------- */

.use-cases-section {
  padding: var(--space-3xl) var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.use-cases-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-2xl);
  letter-spacing: -0.02em;
}

.use-cases-list {
  display: grid;
  gap: var(--space-lg);
  counter-reset: use-case;
}

.use-case {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--space-md);
  align-items: start;
  counter-increment: use-case;
}

.use-case::before {
  content: counter(use-case);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.use-case-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}

.use-case-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

/* -----------------------------------------------
   Reviews Section
   ----------------------------------------------- */

.reviews-section {
  padding: var(--space-3xl) var(--space-xl);
  background: var(--bg-subtle);
}

.reviews-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-2xl);
  letter-spacing: -0.02em;
}

.reviews-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.review-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: var(--space-xl);
}

.review-stars {
  color: #f59e0b;
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.review-text {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  font-style: italic;
}

.review-author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

/* -----------------------------------------------
   More Apps Section
   ----------------------------------------------- */

.more-apps-section {
  padding: var(--space-3xl) var(--space-xl);
  max-width: 960px;
  margin: 0 auto;
}

.more-apps-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}

.more-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.more-app-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

@media (hover: hover) {
  .more-app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-100);
    color: var(--text);
  }
}

.more-app-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--icon-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.more-app-name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* -----------------------------------------------
   App CTA Section
   ----------------------------------------------- */

.cta-section {
  text-align: center;
  padding: var(--space-xl) var(--space-xl) var(--space-4xl);
}

.cta-section p {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.02em;
}

/* -----------------------------------------------
   Privacy Policy Page
   ----------------------------------------------- */

.page-header {
  background: var(--gradient-hero);
  color: #ffffff;
  padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.privacy-content {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
}

.privacy-intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: var(--space-2xl);
  max-width: 65ch;
}

.privacy-principles {
  display: grid;
  gap: var(--space-md);
}

.privacy-principle {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: var(--space-xl);
  transition: border-color 0.2s ease;
}

@media (hover: hover) {
  .privacy-principle:hover {
    border-color: var(--blue-100);
  }
}

.privacy-principle h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.privacy-principle p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

/* -----------------------------------------------
   Contact Page
   ----------------------------------------------- */

.contact-content {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl);
  text-align: center;
}

.contact-content > p {
  font-size: 1.0625rem;
  color: var(--text-light);
  margin-bottom: var(--space-2xl);
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg);
  color: var(--text);
  padding: var(--space-md) var(--space-xl);
  border: 1px solid var(--border);
  border-radius: 980px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  min-width: 240px;
  justify-content: center;
}

@media (hover: hover) {
  .contact-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-100);
    color: var(--text);
  }
}

.contact-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--blue-600);
}

/* -----------------------------------------------
   Footer
   ----------------------------------------------- */

.footer {
  border-top: 1px solid var(--border-light);
  padding: var(--space-xl);
  background: var(--bg-subtle);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.footer-social a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--blue-600);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* -----------------------------------------------
   App page accent colors
   ----------------------------------------------- */

.app-page--text-converter {
  --app-hero: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #0284c7 100%);
  --app-glow: rgba(37, 99, 235, 0.12);
  --app-accent: #2563eb;
  --app-accent-end: #0ea5e9;
  --app-btn-shadow: rgba(37, 99, 235, 0.18);
}

.app-page--time-date {
  --app-hero: linear-gradient(135deg, #b45a0a 0%, #e8923a 50%, #f0a854 100%);
  --app-glow: rgba(232, 146, 58, 0.18);
  --app-accent: #d47a1a;
  --app-accent-end: #f0a854;
  --app-btn-shadow: rgba(212, 122, 26, 0.22);
}

.app-page--lists {
  --app-hero: linear-gradient(135deg, #3a7a3a 0%, #6aab5a 50%, #7ec46e 100%);
  --app-glow: rgba(106, 171, 90, 0.18);
  --app-accent: #4e9640;
  --app-accent-end: #7ec46e;
  --app-btn-shadow: rgba(78, 150, 64, 0.22);
}

.app-page--percentages {
  --app-hero: linear-gradient(135deg, #3a5a8c 0%, #5b82b5 50%, #7098c8 100%);
  --app-glow: rgba(91, 130, 181, 0.15);
  --app-accent: #4a6fa0;
  --app-accent-end: #7098c8;
  --app-btn-shadow: rgba(74, 111, 160, 0.22);
}

.app-page--sticky-notes {
  --app-hero: linear-gradient(135deg, #0a7a70 0%, #14a89c 50%, #20c4b4 100%);
  --app-glow: rgba(20, 168, 156, 0.18);
  --app-accent: #10948a;
  --app-accent-end: #20c4b4;
  --app-btn-shadow: rgba(16, 148, 138, 0.22);
}

.app-page--date-time {
  --app-hero: linear-gradient(135deg, #1e3a6e 0%, #3d6aae 50%, #5080c0 100%);
  --app-glow: rgba(61, 106, 174, 0.15);
  --app-accent: #3060a0;
  --app-accent-end: #5080c0;
  --app-btn-shadow: rgba(48, 96, 160, 0.22);
}

.app-page--countdown-big-events {
  --app-hero: linear-gradient(135deg, #5098c8 0%, #7e8ec0 50%, #9878b4 100%);
  --app-glow: rgba(126, 142, 192, 0.18);
  --app-accent: #6888b8;
  --app-accent-end: #9878b4;
  --app-btn-shadow: rgba(104, 136, 184, 0.22);
}

.app-page--countdown-plus {
  --app-hero: linear-gradient(135deg, #8a3535 0%, #a84242 50%, #b85252 100%);
  --app-glow: rgba(168, 66, 66, 0.18);
  --app-accent: #a03c3c;
  --app-accent-end: #b85252;
  --app-btn-shadow: rgba(160, 60, 60, 0.22);
}

.app-page--email-templates {
  --app-hero: linear-gradient(135deg, #2848a8 0%, #3560c0 50%, #4a88e0 100%);
  --app-glow: rgba(53, 96, 192, 0.15);
  --app-accent: #3058b8;
  --app-accent-end: #4a88e0;
  --app-btn-shadow: rgba(48, 88, 184, 0.22);
}

.app-page--sms-templates {
  --app-hero: linear-gradient(135deg, #1e8068 0%, #2ea888 50%, #40b898 100%);
  --app-glow: rgba(46, 168, 136, 0.18);
  --app-accent: #289880;
  --app-accent-end: #40b898;
  --app-btn-shadow: rgba(40, 152, 128, 0.22);
}

.app-page--tally-counters {
  --app-hero: linear-gradient(135deg, #4a6580 0%, #6b8fa5 50%, #85a8b8 100%);
  --app-glow: rgba(107, 143, 165, 0.15);
  --app-accent: #5a7a95;
  --app-accent-end: #85a8b8;
  --app-btn-shadow: rgba(90, 122, 149, 0.22);
}

.app-page--list-to-do {
  --app-hero: linear-gradient(135deg, #4a48a0 0%, #6a68c0 50%, #8080d0 100%);
  --app-glow: rgba(106, 104, 192, 0.18);
  --app-accent: #5a58b0;
  --app-accent-end: #8080d0;
  --app-btn-shadow: rgba(90, 88, 176, 0.22);
}

/* -----------------------------------------------
   Page-load entrance
   ----------------------------------------------- */

@keyframes entrance-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes entrance-scale {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
}

.hero h1 {
  animation: entrance-up 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-subtitle {
  animation: entrance-up 700ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both;
}

.hero-icons {
  animation: entrance-up 600ms cubic-bezier(0.16, 1, 0.3, 1) 250ms both;
}

.app-hero-icon {
  animation: entrance-scale 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.app-hero h1 {
  animation: entrance-up 700ms cubic-bezier(0.16, 1, 0.3, 1) 80ms both;
}

.app-hero-tagline {
  animation: entrance-up 700ms cubic-bezier(0.16, 1, 0.3, 1) 150ms both;
}

.app-hero .app-store-btn {
  animation: entrance-up 600ms cubic-bezier(0.16, 1, 0.3, 1) 220ms both;
}

.page-header h1 {
  animation: entrance-up 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* -----------------------------------------------
   Scroll-reveal system
   ----------------------------------------------- */

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------------
   Responsive
   ----------------------------------------------- */

@media (max-width: 640px) {
  .hero {
    padding: var(--space-3xl) var(--space-md);
  }

  .apps-section {
    padding: var(--space-2xl) var(--space-md);
  }

  .apps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .app-card {
    flex-direction: row;
    text-align: left;
    gap: var(--space-md);
    padding: var(--space-lg);
    border-radius: var(--radius-sm);
  }

  .app-card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .app-card-info {
    min-width: 0;
  }

  .app-card-name {
    font-size: 1rem;
  }

  .app-card-tagline {
    font-size: 0.8125rem;
  }

  .nav {
    padding: var(--space-sm) var(--space-md);
  }

  .nav-brand {
    font-size: 0.9375rem;
  }

  .nav-links a {
    font-size: 0.8125rem;
    padding: var(--space-xs) var(--space-sm);
  }

  .hero {
    padding: var(--space-3xl) var(--space-md) var(--space-2xl);
  }

  .hero-icons {
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
  }

  .hero-icon-link img {
    width: 52px;
    height: 52px;
  }

  .app-hero {
    padding: var(--space-2xl) var(--space-md) var(--space-xl);
  }

  .app-hero-icon {
    width: 88px;
    height: 88px;
  }

  .features-section {
    padding: var(--space-2xl) var(--space-md);
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .feature-item {
    padding: var(--space-md);
  }

  .screenshots-section {
    padding: var(--space-2xl) 0 var(--space-lg);
  }

  .screenshot-img {
    height: 380px;
  }

  .app-description {
    padding: var(--space-2xl) var(--space-md) var(--space-lg);
  }

  .app-description p {
    font-size: 1.0625rem;
  }

  .highlights-section {
    padding: 0 var(--space-md) var(--space-2xl);
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-value {
    font-size: 1.5rem;
  }

  .use-cases-section {
    padding: var(--space-2xl) var(--space-md);
  }

  .reviews-section {
    padding: var(--space-2xl) var(--space-md);
  }

  .more-apps-section {
    padding: var(--space-2xl) var(--space-md);
  }

  .more-apps-grid {
    grid-template-columns: 1fr;
  }

  .privacy-content {
    padding: var(--space-2xl) var(--space-md);
  }

  .contact-content {
    padding: var(--space-2xl) var(--space-md);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .page-header {
    padding: var(--space-2xl) var(--space-md);
  }

  .cta-section {
    padding: var(--space-xl) var(--space-md) var(--space-3xl);
  }
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

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

  html {
    scroll-behavior: auto;
  }
}
