/* ==========================================================================
   GrandiNO App - Modern One-Page Landing Page Stylesheet (Light Theme)
   Palette aligned pixel-for-pixel with the GrandiNO App interface:
   Background: #f5f6f8 | Cards: #ffffff | Ink: #1a2b4a | Accent: #3b82f6
   ========================================================================== */

:root {
  /* GrandiNO Brand Palette (from app theme.ts & live UI) */
  --bg-page: #f5f6f8;
  --bg-page-subtle: #edf1f6;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-input: #f0f4f9;

  /* Typography Inks */
  --ink: #1a2b4a;            /* Primary navy text */
  --ink-muted: #5a6a80;      /* Secondary muted navy */
  --ink-hint: #8693a5;       /* Tertiary hint */
  --ink-light: #ffffff;

  /* Borders */
  --line: #e1e5ea;
  --line-subtle: #eceff2;
  --line-focus: #3b82f6;

  /* Accent Blues */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-bg: #eaf2ff;
  --primary-border: #bfdbfe;

  /* Hail Risk Colors (App scale) */
  --risk-safe: #006025;
  --risk-safe-bg: #dcf7e2;
  --risk-safe-border: #b5ddbe;

  --risk-amber: #874400;
  --risk-amber-bg: #fef6e6;
  --risk-amber-border: #fbdca2;

  --risk-alert: #ac191f;
  --risk-alert-bg: #ffe4dd;
  --risk-alert-border: #fca5a5;

  /* Deep Navy Gradient (App Weather Card) */
  --navy-grad-a: #1a2b4a;
  --navy-grad-b: #25406e;

  /* Typography Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Geometry */
  --container-max: 1240px;
  --nav-height: 74px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Smooth Soft Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 43, 74, 0.04), 0 1px 2px rgba(26, 43, 74, 0.02);
  --shadow-md: 0 6px 20px rgba(26, 43, 74, 0.06), 0 2px 6px rgba(26, 43, 74, 0.03);
  --shadow-lg: 0 16px 36px rgba(26, 43, 74, 0.09), 0 4px 12px rgba(26, 43, 74, 0.04);
  --shadow-phone: 0 24px 60px -10px rgba(26, 43, 74, 0.22), 0 8px 24px rgba(26, 43, 74, 0.08);

  /* Transitions */
  --trans-fast: 0.18s ease;
  --trans-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  background-color: var(--bg-page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-page);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(219, 234, 254, 0.7), transparent 70%),
    radial-gradient(circle 500px at 90% 15%, rgba(220, 247, 226, 0.5), transparent),
    radial-gradient(circle 450px at 10% 50%, rgba(238, 242, 255, 0.8), transparent);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Header & Navigation (Crisp Light Theme)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(245, 246, 248, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background var(--trans-normal), box-shadow var(--trans-normal), border-color var(--trans-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-icon-img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  transition: color var(--trans-fast), transform var(--trans-fast);
}

.brand-icon-img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.brand-logo:hover {
  color: var(--primary);
}

.brand-logo:hover .brand-icon-img {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 16px);
  list-style: none;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-muted);
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(2, 132, 199, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.nav-link:active {
  transform: translateY(0);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(2, 132, 199, 0.12);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-actions .btn-primary {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-actions .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: left 0.6s ease;
}

.nav-actions .btn-primary:hover {
  transform: translateY(-2.5px) scale(1.02);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.nav-actions .btn-primary:hover::before {
  left: 100%;
}

.nav-actions .btn-primary svg {
  transition: transform 0.25s ease;
}

.nav-actions .btn-primary:hover svg {
  transform: translateY(2px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--trans-fast), opacity var(--trans-fast);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  transition: all var(--trans-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.38);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 76px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--risk-safe-bg);
  border: 1px solid var(--risk-safe-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.pill-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--risk-safe);
  letter-spacing: 0.03em;
}

.hero-title {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-title span.alert-highlight {
  color: #dc2626;
  position: relative;
  display: inline-block;
}

.hero-title span.alert-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(254, 202, 202, 0.6);
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.68;
  color: var(--ink-muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #111827;
  border: 1px solid #1f2937;
  padding: 12px 22px;
  border-radius: 14px;
  color: #ffffff;
  transition: all var(--trans-fast);
  text-align: left;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.2);
}

.store-badge-btn:hover {
  background: #1f2937;
  border-color: #374151;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.3);
}

.store-badge-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
}

.store-badge-text small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  line-height: 1;
}

.store-badge-text strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.store-badge-btn-ios {
  opacity: 0.88;
  background: #182230;
  border-color: #2e3e55;
  cursor: default;
}

.store-badge-btn-ios:hover {
  transform: none;
  background: #182230;
  border-color: #3b506d;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.2);
}

.store-pill-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 3px 8px;
  border-radius: 20px;
  margin-left: 6px;
  white-space: nowrap;
}

.cta-ios-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 0.95rem;
  padding: 12px 20px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.cta-ios-badge svg {
  fill: currentColor;
}

.cta-ios-badge strong {
  color: var(--primary);
}

.hero-highlights {
  display: flex;
  gap: 26px;
  margin-top: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
}

.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-hint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Phone Mockup Frame */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
}

.phone-glow {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 90%;
  height: 80%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(220, 247, 226, 0.25) 60%, transparent 100%);
  filter: blur(40px);
  z-index: 0;
}

.phone-device {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 8px solid #1a2538;
  border-radius: 44px;
  box-shadow: var(--shadow-phone);
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: auto;
  display: block;
  background: #f5f6f8;
}

/* Floating Card on Phone */
.floating-alert-card {
  position: absolute;
  bottom: 26px;
  left: -28px;
  z-index: 15;
  background: #ffffff;
  border: 1px solid var(--risk-safe-border);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 16px 36px rgba(26, 43, 74, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 270px;
  animation: float-slow 4s ease-in-out infinite;
}

.floating-alert-card.alert-amber {
  border-color: #f59e0b;
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.22), 0 4px 12px rgba(26, 43, 74, 0.08);
  animation: alert-saltellante 2.8s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
  transform-origin: bottom center;
}

.floating-alert-card.alert-amber:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 42px rgba(245, 158, 11, 0.32), 0 6px 16px rgba(26, 43, 74, 0.1);
}

.floating-icon.amber {
  background: #fef3c7;
  color: #d97706;
}

.floating-alert-card.alert-amber .floating-text strong {
  color: #b45309;
}

.hero-pill.amber-pill {
  background: #fef3c7;
  border-color: #fcd34d;
}

.pill-dot.amber-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

.hero-pill.amber-pill .pill-text {
  color: #92400e;
}

.floating-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--risk-safe-bg);
  color: var(--risk-safe);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.floating-text span {
  font-size: 0.74rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Features Section (Clean White Cards)
   ========================================================================== */
.section {
  padding: 88px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-bg);
  border: 1px solid var(--primary-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--trans-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--primary-bg);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.feature-icon-box.red {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

.feature-icon-box.cyan {
  background: #ecfeff;
  color: #0891b2;
  border-color: #a5f3fc;
}

.feature-icon-box.green {
  background: var(--risk-safe-bg);
  color: var(--risk-safe);
  border-color: var(--risk-safe-border);
}

.feature-icon-box.amber {
  background: var(--risk-amber-bg);
  color: var(--risk-amber);
  border-color: var(--risk-amber-border);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.62;
}

/* ==========================================================================
   Screenshots Interactive Gallery
   ========================================================================== */
.gallery-section {
  background: var(--bg-page-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 38px;
}

.gallery-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--trans-fast);
  box-shadow: var(--shadow-sm);
}

.gallery-tab-btn:hover {
  color: var(--ink);
  border-color: #cbd5e1;
}

.gallery-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.gallery-viewer {
  display: grid;
  grid-template-columns: 310px 1fr;
  align-items: center;
  gap: 56px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.gallery-phone {
  margin: 0 auto;
  width: 100%;
  max-width: 280px;
  background: #ffffff;
  border: 7px solid #1a2538;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-phone);
  position: relative;
  aspect-ratio: 1080 / 2410;
}

.gallery-phone img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  transition: opacity 0.22s ease-in-out;
  background: #f5f6f8;
}

.gallery-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-step-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-bg);
  border: 1px solid var(--primary-border);
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}

.gallery-step-num.amber-badge {
  color: #b45309;
  background: #fef3c7;
  border-color: #fcd34d;
}

.gallery-info-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
}

.gallery-info-desc {
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.gallery-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.gallery-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}

.gallery-features-list li svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   How It Works Steps
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform var(--trans-normal), box-shadow var(--trans-normal);
  box-shadow: var(--shadow-sm);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1;
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--primary-bg);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform var(--trans-normal);
  color: var(--primary);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 22px;
}

/* ==========================================================================
   Privacy Policy Section (Clean & Light)
   ========================================================================== */
.privacy-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.privacy-container {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-page);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.privacy-header-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--risk-safe);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.privacy-main-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.privacy-meta {
  font-size: 0.88rem;
  color: var(--ink-hint);
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.privacy-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.privacy-body {
  display: flex;
  flex-direction: column;
  gap: 30px;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.privacy-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.privacy-subtitle svg {
  color: var(--primary);
  flex-shrink: 0;
}

.privacy-list {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-highlight-box {
  background: var(--primary-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 10px 0;
  color: #1e3a8a;
}

.privacy-highlight-box strong {
  color: #0f172a;
}

.privacy-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.right-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.right-card strong {
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.right-card p {
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.privacy-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  margin: 12px 0 18px 0;
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.55;
}

.privacy-table th {
  background: #f1f5f9;
  color: var(--ink);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid var(--line);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.privacy-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  vertical-align: top;
}

.privacy-table tbody tr:last-child td {
  border-bottom: none;
}

.privacy-table tbody tr:hover {
  background: #f8fafc;
}

.privacy-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.84rem;
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  display: inline-block;
  word-break: break-all;
}

.privacy-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.privacy-tag-primary {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.privacy-tag-secondary {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.privacy-tag-warning {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.privacy-tag-success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.privacy-tag-danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.privacy-subsubtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 14px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-play-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-top: 14px;
}

.privacy-play-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.privacy-play-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.privacy-play-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Call To Action Banner (Bottom)
   ========================================================================== */
.cta-banner-section {
  padding: 84px 0;
}

.cta-banner-card {
  background: linear-gradient(135deg, var(--navy-grad-a) 0%, #1e3a8a 60%, var(--primary) 100%);
  border-radius: var(--radius-xl);
  padding: 60px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-desc {
  font-size: 1.12rem;
  color: #dbeafe;
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Contact Developer Form Section
   ========================================================================== */
.contact-section {
  background: var(--bg-page-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-card-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-info-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-dev-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  flex-shrink: 0;
}

.contact-dev-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact-dev-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-text {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.contact-direct-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.direct-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-hint);
}

.direct-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary);
  word-break: break-all;
  transition: color var(--trans-fast);
}

.direct-email-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

.copy-email-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.copy-email-btn:hover {
  background: #e2e8f0;
  color: var(--ink);
  border-color: #cbd5e1;
}

/* Official Instagram Components */
.contact-instagram-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.instagram-follow-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fff5f7 0%, #ffffff 100%);
  border: 1.5px solid #fecdd3;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.instagram-follow-box:hover {
  border-color: #f43f5e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.18);
  background: #ffffff;
}

.instagram-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(204, 35, 102, 0.3);
}

.instagram-follow-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
}

.instagram-handle {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.instagram-sub {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

.instagram-arrow {
  color: #f43f5e;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.instagram-follow-box:hover .instagram-arrow {
  transform: translate(2px, -2px);
}

.nav-instagram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.nav-instagram-btn:hover {
  color: #ffffff;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(220, 39, 67, 0.35);
}

.nav-link-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-link-instagram svg {
  color: #e1306c;
}

.footer-social-wrap {
  margin-top: 14px;
}

.footer-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.88rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.footer-instagram-btn svg {
  color: #e1306c;
  transition: color 0.2s ease;
}

.footer-instagram-btn:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.3);
}

.footer-instagram-btn:hover svg {
  color: #ffffff;
}

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.contact-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* Contact Form */
.contact-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

.form-label .required {
  color: #dc2626;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.form-input.error,
.form-textarea.error {
  border-color: #ef4444;
  background: #fff8f8;
}

.form-error {
  display: none;
  font-size: 0.78rem;
  color: #dc2626;
  font-weight: 600;
  margin-top: 2px;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.btn-contact-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  cursor: pointer;
}

.form-privacy-note {
  font-size: 0.78rem;
  color: var(--ink-hint);
  text-align: center;
}

.form-feedback-banner {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 10px;
}

.form-feedback-banner.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-feedback-banner.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

@media (max-width: 960px) {
  .contact-card-wrapper {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ==========================================================================
   Footer (Clean Light Theme)
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--ink-muted);
  max-width: 320px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-disclaimer {
  background: var(--bg-page);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-hint);
  margin-bottom: 30px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

/* ==========================================================================
   Back To Top Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans-fast);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-desc {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-highlights {
    justify-content: center;
  }

  .gallery-viewer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .gallery-step-num {
    margin: 0 auto;
  }

  .gallery-features-list {
    align-items: center;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--trans-normal), opacity var(--trans-normal);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-actions .btn {
    display: none;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .floating-alert-card {
    left: 10px;
    bottom: 15px;
    padding: 8px 12px;
    max-width: 220px;
  }

  .privacy-container {
    padding: 28px 20px;
  }

  .cta-banner-card {
    padding: 44px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Animations & Micro-interactions (Subtle & Tasteful)
   ========================================================================== */

/* 1. Keyframes */
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes alert-saltellante {
  0%, 100% {
    transform: translateY(0);
  }
  16% {
    transform: translateY(-16px) scale(1.03);
  }
  30% {
    transform: translateY(0) scale(0.98);
  }
  42% {
    transform: translateY(-8px) scale(1.01);
  }
  54% {
    transform: translateY(0) scale(0.99);
  }
  64% {
    transform: translateY(-3px);
  }
  74%, 100% {
    transform: translateY(0);
  }
}

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

@keyframes pulse-amber {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.65);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

@keyframes subtle-badge-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.25);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0);
  }
}

/* 2. Hero Mockup Float Application */
.phone-device {
  animation: phone-float 6s ease-in-out infinite;
}

.phone-device:hover {
  animation-play-state: paused;
}

.pill-dot.amber-dot {
  animation: pulse-amber 2.4s infinite;
}

.store-pill-badge {
  animation: subtle-badge-pulse 3.2s ease-in-out infinite;
}

/* 3. Button & Card Hover Refinements */
.store-badge-btn {
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), border-color var(--trans-fast);
}

.store-badge-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.store-badge-btn-ios:hover {
  transform: translateY(-2px);
  border-color: rgba(2, 132, 199, 0.4);
}

.feature-card {
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), border-color var(--trans-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 132, 199, 0.28);
}

.step-card {
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* 4. Progressive Scroll-Reveal Transitions */
.fade-up-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-up-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle staggered delays for grid items */
.features-grid .feature-card:nth-child(2) { transition-delay: 0.06s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.12s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.06s; }
.features-grid .feature-card:nth-child(5) { transition-delay: 0.12s; }
.features-grid .feature-card:nth-child(6) { transition-delay: 0.18s; }

.steps-grid .step-card:nth-child(2) { transition-delay: 0.08s; }
.steps-grid .step-card:nth-child(3) { transition-delay: 0.16s; }

/* 5. Accessibility: Respect User's Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  
  .fade-up-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

