/* Combined styles from original pages (no design changes) */

/* ===== home.html block 1 ===== */
:root{
  --bg:#050505; --bg2:#0b0b0b;
  --fg:#eaeaea; --muted:#b6b6b6;
  --link:#c9e5ff; --link-hover:#e2f1ff;
  --accent:#ffffff1a; --glass:#ffffff12;
  --maxw:1120px;
  --sitew:1120px;
}

/* Reset + base */
*{box-sizing:border-box;margin:0;padding:0}
body{
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial;
  color:var(--fg);
  background:
    radial-gradient(1200px 600px at 20% -10%, #b089ff14 0%, transparent 60%),
    radial-gradient(900px 600px at 100% 10%, #ffd08914 0%, transparent 60%),
    var(--bg);
  min-height:100dvh;
  -webkit-font-smoothing:antialiased;
}

/* Generic links: no underline by default */
a{color:var(--link);text-decoration:none}

/* Header */
.site{max-width:var(--sitew, var(--maxw, 1120px));margin:0 auto;padding:0 24px;}
.header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:saturate(140%) blur(10px);
  background:linear-gradient(180deg,#00000099,#00000033);
  border-bottom:1px solid var(--accent);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
  max-width:var(--sitew, 1120px);
  margin:0 auto;
  padding:0 24px;
}
/* brand now = logo only */
.brand{display:flex;align-items:center;gap:10px}
  
  .brand img:hover{
    transform:scale(1.03); /* optional soft hover lift */
  }
/* make logo a11y and show tooltip */
.brand a{display:flex;align-items:center}
.brand a[title]{cursor:pointer}

.nav .links{display:flex;gap:6px;justify-content:flex-end}
.nav .links a{
  color:var(--fg);padding:8px 10px;border-radius:10px;border:1px solid transparent;
}
.nav .links a:hover{border-color:#ffffff26;background:#ffffff10}

/* Hero */
.hero{padding:72px 0 28px;}
.hero-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center;}
.hero h1{font-size:42px;line-height:1.1;margin:0 0 12px;letter-spacing:.2px;}
.lead{color:var(--muted);margin:0 0 22px;}

/* App Store badge — bullet-proof fix */
.badge-row{
  display:flex;
  justify-content:center;        /* centered within text column */
  align-items:center;
  margin:28px 0 36px;            /* enough room so corners never look cropped */
  padding:12px 0;                /* breathing space */
  overflow:visible!important;
}
/* prevent ANY underline/border/overflow from touching the badge link */
.hero .badge-row a.store-badge,
.hero .badge-row a.store-badge:link,
.hero .badge-row a.store-badge:visited,
.hero .badge-row a.store-badge:hover,
.hero .badge-row a.store-badge:active,
.hero .badge-row a.store-badge:focus{
  display:inline-block;
  line-height:0;
  text-decoration:none!important;
  border:none!important;
  border-bottom:0!important;     /* kill dashed underline from any global rules */
  background:transparent!important;
  padding:0!important;
  margin:0;
  overflow:visible!important;
  border-radius:0!important;
  outline:none;
  -webkit-tap-highlight-color:transparent;
}
/* the badge image uses its OWN rounded corners */
  .hero .badge-row a.store-badge img {
    display: block;
    width: clamp(160px, 22vw, 220px);  /* scales smoothly across screen widths */
    height: auto;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    transition: transform .25s ease, filter .25s ease;
  }
  .store-badge img:hover {
    transform: scale(1.04);
    filter: brightness(1.1);
  }
/* just in case: remove any underline from hero links */
.hero a{border-bottom:none!important;text-decoration:none!important}

/* Mockup: show directly, no frame */
.mockup-wrap{background:transparent;border:none;border-radius:0;box-shadow:none;padding:0}
.mockup-bg{display:none}
.mockup{
  display:block;width:100%;height:auto;border:0;border-radius:0;
  filter:drop-shadow(0 18px 60px rgba(0,0,0,.55));
}

/* Features */
.features{margin:32px auto 12px;padding:28px 0 8px;border-top:1px solid var(--accent);}
.features-grid{display:grid;gap:16px;grid-template-columns:repeat(3,1fr);}
.feature{border:1px solid var(--accent);border-radius:16px;padding:16px 14px;background:linear-gradient(180deg,#ffffff0b,transparent);}
.feature h3{margin:0 0 6px;font-size:16px;}
.feature p{margin:0;color:var(--muted);font-size:14px;}

/* Footer */
.footer{
  margin:48px 0 40px;
  border-top:1px solid var(--accent);
  padding:24px 0;
  color:var(--muted);
  background:none;
  text-align:left;
}
/* Use outer `.site` container for width and padding; `.row` only handles layout */
.footer .row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:nowrap;
  max-width:var(--sitew, 1120px);
  margin:0 auto;
  padding:0 24px;
}
.footer .links{
  display:flex;
  gap:20px;
  justify-content:flex-end;
  align-items:center;
  flex-wrap:nowrap;
  white-space:nowrap;
}
/* only footer links keep dashed underline style */
.footer .links a{border-bottom:1px dashed #ffffff33}
.footer .links a:hover{color:var(--link-hover)}

/* Responsive */
@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;gap:22px}
  .hero{padding-top:56px}
  .hero h1,.lead,.badge-row{text-align:center}
}
@media (max-width:680px){
  .hero h1{font-size:34px}
  .features-grid{grid-template-columns:1fr;gap:12px}
}

/* Light mode */
@media (prefers-color-scheme:light){
  :root{--bg:#ffffff;--fg:#121212;--muted:#444;--link:#0a66ff;--link-hover:#003ecb;--accent:#00000014}
  body{background:#fff}
  .header{background:linear-gradient(180deg,#ffffffea,#ffffffb5)}
}
  /* Download button: centered, responsive, no clipping */
  .badge-row{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:28px 0 36px;
    padding:12px 0;
    overflow:visible !important;
  }
  
  /* Kill underline/borders for this link only */
  a.store-badge,
  a.store-badge:link,
  a.store-badge:visited,
  a.store-badge:hover,
  a.store-badge:active{
    display:inline-block;
    line-height:0;
    text-decoration:none !important;
    border:none !important;
    border-bottom:0 !important;
    background:transparent !important;
    padding:0 !important;
    overflow:visible !important;
  }
  
  /* Use the new PNG (rounded corners baked-in) */
  a.store-badge img{
    display:block;
    width:clamp(180px, 24vw, 260px);  /* responsive scale */
    height:auto;
    border:0;
    border-radius:0;                   /* PNG already has rounded corners */
    box-shadow:none;
  }

/* ===== about.html block 1 ===== */
:root{
  --bg:#0b0b0b;
  --fg:#eaeaea;
  --muted:#b6b6b6;
  --link:#c9e5ff;
  --link-hover:#e2f1ff;
  --accent:#ffffff1a;
  --maxw:720px;
}
*{box-sizing:border-box}
html,body{
  background:var(--bg);
  color:var(--fg);
  margin:0;
  padding:0;
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
main.container{
  max-width:var(--maxw);
  margin:48px auto 96px;
  padding:0 24px;
}
h1{
  font-size:28px;
  line-height:1.25;
  margin:0 0 18px;
  letter-spacing:.2px;
  font-weight:700;
}
h2{
  font-size:20px;
  line-height:1.35;
  margin:28px 0 10px;
  font-weight:600;
}
p{margin:10px 0 16px;color:var(--fg)}
p.lead{color:var(--muted)}
ul,ol{margin:8px 0 18px 24px}
li{margin:6px 0}
a{
  color:var(--link);
  text-decoration:none;
  border-bottom:1px dashed #ffffff33;
}
a:hover{color:var(--link-hover);border-bottom-color:#ffffff66}
hr{
  border:0;
  height:1px;
  background:var(--accent);
  margin:24px 0;
}
small,.muted{color:var(--muted)}
code,pre{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  background:#ffffff12;
  padding:.15em .35em;
  border-radius:6px;
}
img,iframe{max-width:100%;height:auto;border-radius:10px}
section+section{margin-top:28px}
a:focus,button:focus{outline:2px solid #7ec4ff;outline-offset:2px}
@media (prefers-color-scheme: light){
  :root{--bg:#ffffff;--fg:#121212;--muted:#444;--link:#0a66ff;--link-hover:#003ecb;--accent:#00000014}
  body{background:var(--bg);color:var(--fg)}
}

/* ===== contact.html block 1 ===== */
:root{
  --bg:#0b0b0b;
  --fg:#eaeaea;
  --muted:#b6b6b6;
  --link:#c9e5ff;
  --link-hover:#e2f1ff;
  --accent:#ffffff1a;
  --maxw:720px;
}
*{box-sizing:border-box}
html,body{
  background:var(--bg);
  color:var(--fg);
  margin:0;
  padding:0;
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
main.container{
  max-width:var(--maxw);
  margin:48px auto 96px;
  padding:0 24px;
}
h1{
  font-size:28px;
  line-height:1.25;
  margin:0 0 18px;
  letter-spacing:.2px;
  font-weight:700;
}
h2{
  font-size:20px;
  line-height:1.35;
  margin:28px 0 10px;
  font-weight:600;
}
p{margin:10px 0 16px;color:var(--fg)}
p.lead{color:var(--muted)}
ul,ol{margin:8px 0 18px 24px}
li{margin:6px 0}
a{
  color:var(--link);
  text-decoration:none;
  border-bottom:1px dashed #ffffff33;
}
a:hover{color:var(--link-hover);border-bottom-color:#ffffff66}
hr{
  border:0;
  height:1px;
  background:var(--accent);
  margin:24px 0;
}
small,.muted{color:var(--muted)}
code,pre{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  background:#ffffff12;
  padding:.15em .35em;
  border-radius:6px;
}
img,iframe{max-width:100%;height:auto;border-radius:10px}
section+section{margin-top:28px}
a:focus,button:focus{outline:2px solid #7ec4ff;outline-offset:2px}
@media (prefers-color-scheme: light){
  :root{--bg:#ffffff;--fg:#121212;--muted:#444;--link:#0a66ff;--link-hover:#003ecb;--accent:#00000014}
  body{background:var(--bg);color:var(--fg)}
}

/* ===== privacy.html block 1 ===== */
:root{
  --bg:#0b0b0b;
  --fg:#eaeaea;
  --muted:#b6b6b6;
  --link:#c9e5ff;
  --link-hover:#e2f1ff;
  --accent:#ffffff1a;
  --maxw:720px;
}
*{box-sizing:border-box}
html,body{
  background:var(--bg);
  color:var(--fg);
  margin:0;
  padding:0;
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
main.container{
  max-width:var(--maxw);
  margin:48px auto 96px;
  padding:0 24px;
}
h1{
  font-size:28px;
  line-height:1.25;
  margin:0 0 18px;
  letter-spacing:.2px;
  font-weight:700;
}
h2{
  font-size:20px;
  line-height:1.35;
  margin:28px 0 10px;
  font-weight:600;
}
p{margin:10px 0 16px;color:var(--fg)}
p.lead{color:var(--muted)}
ul,ol{margin:8px 0 18px 24px}
li{margin:6px 0}
a{
  color:var(--link);
  text-decoration:none;
  border-bottom:1px dashed #ffffff33;
}
a:hover{color:var(--link-hover);border-bottom-color:#ffffff66}
hr{
  border:0;
  height:1px;
  background:var(--accent);
  margin:24px 0;
}
small,.muted{color:var(--muted)}
code,pre{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  background:#ffffff12;
  padding:.15em .35em;
  border-radius:6px;
}
img,iframe{max-width:100%;height:auto;border-radius:10px}
section+section{margin-top:28px}
a:focus,button:focus{outline:2px solid #7ec4ff;outline-offset:2px}
@media (prefers-color-scheme: light){
  :root{--bg:#ffffff;--fg:#121212;--muted:#444;--link:#0a66ff;--link-hover:#003ecb;--accent:#00000014}
  body{background:var(--bg);color:var(--fg)}
}


/* === Restore Compact Logo Size === */
.brand img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ===== NEW ANIMATIONS & BENTO GRID STYLES ===== */

/* Spring easing for iOS-like feel */
:root {
  --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --smooth: cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Scroll reveal animation base */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  filter: blur(8px);
  transition: opacity 0.8s var(--smooth),
              transform 0.8s var(--smooth),
              filter 0.8s var(--smooth);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger animation delays for cascading effect */
.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 100ms; }
.stagger-3 { transition-delay: 200ms; }
.stagger-4 { transition-delay: 300ms; }
.stagger-5 { transition-delay: 400ms; }
.stagger-6 { transition-delay: 500ms; }
.stagger-7 { transition-delay: 600ms; }
.stagger-8 { transition-delay: 700ms; }

/* CTA pulse animation */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  50% { box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0); }
}

.cta-pulse {
  animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Emoji bounce animation */
@keyframes emoji-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Bento Grid Layout */
.features-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 16px;
  margin: 32px auto 12px;
  padding: 28px 0 8px;
  max-width: var(--sitew, 1120px);
  border-top: 1px solid var(--accent);
}

.bento-card {
  border-radius: 20px;
  border: 1px solid var(--accent);
  background: linear-gradient(180deg, #ffffff0b, transparent);
  padding: 24px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s var(--spring),
              box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Bento card sizes */
.bento-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card.tall {
  grid-column: span 1;
  grid-row: span 2;
}

/* Card content styling */
.bento-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.bento-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.bento-card .card-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  opacity: 0.7;
}

/* Glass Demo Container */
.glass-demo-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 16px;
  margin-top: 16px;
}

.dynamic-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px at 50% 50%, #b089ff22, transparent);
  transition: background 0.3s ease;
}

.glass-card {
  position: relative;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 20px;
  margin: 20px;
  transform-style: preserve-3d;
  transition: transform 0.2s var(--spring),
              backdrop-filter 0.2s ease;
}

.glass-card:hover {
  backdrop-filter: blur(30px) saturate(180%);
}

.glass-card h4 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
}

.demo-task {
  padding: 8px 12px;
  margin: 6px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 14px;
}

/* Privacy Icons Grid */
.privacy-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
  text-align: center;
}

.privacy-icon {
  font-size: 48px;
  margin-bottom: 8px;
}

.privacy-label {
  font-size: 12px;
  color: var(--muted);
}

/* Feature List Bullets */
.feature-list {
  margin: 16px 0 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  margin: 8px 0;
  font-size: 14px;
  color: var(--muted);
}

.feature-list li:before {
  content: "✓ ";
  color: var(--link);
  font-weight: bold;
  margin-right: 6px;
}

/* Emoji Demo Container (matches onboarding EmojiTaskFeatureView) */
.emoji-demo-container {
  margin-top: 20px;
}

.emoji-showcase {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.emoji-item {
  font-size: 38px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0.6;
  display: inline-block;
}

.emoji-item.active {
  transform: scale(1.1);
  opacity: 1;
  animation: emoji-cycle 2.5s ease-in-out infinite;
}

@keyframes emoji-cycle {
  0%, 100% { transform: scale(1.1); }
  50% { transform: scale(1.2); }
}

.sample-tasks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sample-task {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  font-size: 15px;
  animation: task-slide-in 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(-10px);
}

.sample-task:nth-child(1) { animation-delay: 0.2s; }
.sample-task:nth-child(2) { animation-delay: 0.3s; }
.sample-task:nth-child(3) { animation-delay: 0.4s; }

@keyframes task-slide-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* AI Badge */
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(159, 78, 221, 0.15);
  border: 1px solid rgba(159, 78, 221, 0.3);
  border-radius: 20px;
  font-size: 12px;
  margin: 16px 0;
  color: #c9b3ff;
}

.ai-badge .sparkle {
  font-size: 14px;
  animation: sparkle-pulse 2s ease-in-out infinite;
}

@keyframes sparkle-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

/* Folder Badges */
.folder-badges {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.folder-badge {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  border: 1px solid;
  font-weight: 500;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.folder-badge:hover {
  transform: translateY(-2px);
}

/* Privacy Icons Compact */
.privacy-icons-compact {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  justify-content: space-around;
}

.privacy-item {
  text-align: center;
}

.privacy-item .privacy-icon {
  font-size: 36px;
  margin-bottom: 6px;
}

.privacy-item .privacy-label {
  font-size: 11px;
  color: var(--muted);
}

/* Reminder Demo (matches SmartRemindersFeatureView bell animation) */
.reminder-demo {
  margin-top: 20px;
  text-align: center;
  position: relative;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.bell-icon {
  font-size: 56px;
  animation: bell-ring 3.5s ease-in-out infinite;
}

@keyframes bell-ring {
  0%, 10%, 100% { transform: rotate(0deg); }
  2% { transform: rotate(-15deg); }
  4% { transform: rotate(15deg); }
  6% { transform: rotate(-15deg); }
  8% { transform: rotate(15deg); }
}

.notification-banner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  animation: banner-slide 3.5s ease-in-out infinite;
  opacity: 0;
  transform: translateY(-20px);
}

.notification-banner strong {
  font-size: 14px;
  color: var(--fg);
}

.notification-banner span {
  font-size: 12px;
  color: var(--muted);
}

@keyframes banner-slide {
  0%, 17%, 100% { opacity: 0; transform: translateY(-20px); }
  20%, 95% { opacity: 1; transform: translateY(0); }
}

/* Widget Preview */
.widget-preview {
  margin-top: 20px;
  text-align: center;
}

.widget-icon {
  font-size: 56px;
  margin-bottom: 12px;
}

.widget-sizes {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.size-badge {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* Siri Orb Animation */
.siri-demo {
  margin-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.siri-orb {
  width: 80px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-ring {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid;
  animation: orb-pulse 2s ease-in-out infinite;
}

.orb-ring:nth-child(1) {
  border-color: rgba(0, 122, 255, 0.6);
  animation-delay: 0s;
}

.orb-ring:nth-child(2) {
  border-color: rgba(88, 86, 214, 0.5);
  animation-delay: 0.3s;
}

.orb-ring:nth-child(3) {
  border-color: rgba(175, 82, 222, 0.4);
  animation-delay: 0.6s;
}

@keyframes orb-pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
  100% {
    transform: scale(0.8);
    opacity: 1;
  }
}

/* Social Proof Section */
.social-proof {
  text-align: center;
  padding: 60px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.rating {
  margin-bottom: 16px;
}

.rating .stars {
  color: #FFD700;
  font-size: 42px;
  letter-spacing: 6px;
  display: inline-block;
}

.rating .star-half {
  opacity: 0.5;
}

.rating .score {
  font-size: 32px;
  color: var(--fg);
  margin-left: 12px;
  font-weight: 600;
}

.review-count {
  font-size: 16px;
  color: var(--muted);
  margin: 8px 0 32px;
}

/* Reviews Container */
.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  transition: transform 0.2s var(--spring);
}

.review-card:hover {
  transform: translateY(-2px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.review-stars {
  color: #FFD700;
  font-size: 16px;
  letter-spacing: 2px;
}

.review-date {
  font-size: 13px;
  color: var(--muted);
}

.review-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--fg);
}

.review-text {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.5;
}

.review-author {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

/* Sticky Header CTA */
.header-cta {
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(0);
}

.header-cta.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

.header-cta img {
  height: 36px;
  width: auto;
  display: block;
}

/* Responsive Bento Grid */
@media (max-width: 980px) {
  .features-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 14px;
  }

  .bento-card.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-card.tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .bento-card {
    padding: 20px;
  }

  .glass-demo-container {
    height: 180px;
  }

  .emoji-showcase {
    gap: 10px;
  }

  .emoji-item {
    font-size: 32px;
  }
}

@media (max-width: 680px) {
  .features-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .bento-card.large,
  .bento-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento-card {
    padding: 18px;
    min-height: 200px;
  }

  .bento-card h3 {
    font-size: 20px;
  }

  .glass-demo-container {
    height: 160px;
  }

  .glass-card {
    margin: 15px;
    padding: 16px;
  }

  .rating .stars {
    font-size: 36px;
    letter-spacing: 4px;
  }

  .rating .score {
    font-size: 28px;
  }

  .review-quote {
    font-size: 18px;
  }

  .privacy-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Reduced Motion Support */
.reduced-motion .animate-on-scroll {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.reduced-motion .bento-card:hover {
  transform: none;
}

.reduced-motion .cta-pulse {
  animation: none;
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(20px)) {
  .glass-card {
    background: rgba(255, 255, 255, 0.15);
  }
}
