/* ================================================
   FURRI LANDING PAGE — styles.css
   Design system matching the app's exact aesthetic
   ================================================ */

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

:root {
  --primary: #F5B700;
  --primary-dark: #D49A00;
  --secondary: #FF9F1C;
  --accent: #FF6B2B;
  --teal: #06B6D4;
  --green: #10B981;

  /* RGB channels for rgba() usage */
  --primary-rgb: 245, 183, 0;
  --secondary-rgb: 255, 159, 28;
  --accent-rgb: 255, 107, 43;

  /* Gradient */
  --grad-main: linear-gradient(135deg, var(--primary), var(--secondary));
  --grad-warm: linear-gradient(135deg, var(--secondary), var(--accent));
  --grad-cool: linear-gradient(135deg, var(--teal), var(--primary));

  /* Shadow */
  --shadow-sm: 0 4px 12px rgba(var(--primary-rgb), 0.15);
  --shadow-md: 0 8px 32px rgba(var(--primary-rgb), 0.20);
  --shadow-lg: 0 16px 48px rgba(var(--primary-rgb), 0.25);
  --shadow-btn: 0 6px 0 var(--primary-dark);

  /* Bg */
  --bg: #FFFBEB;
  --bg-tinted: #FFF8D6;
  --bg-dark: #312108;
  --bg-dark-deep: #120C07;
  --card-bg: #fff;
  --card-edge: #E2E8F0;
  --card-edge-hover: #CBD5E1;
  --text: #594112;
  --text-muted: #967C52;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
}

body.dark-theme {
  --bg: #1A120B;
  --bg-tinted: #241A10;
  --bg-dark: #120C07;
  --card-bg: #2C1F12;
  --card-edge: #150F09;
  --card-edge-hover: #080603;
  --text: #F2E3D5;
  --text-muted: #B39D82;
}

/* ================================================
   THEMES
   ================================================ */
body.theme-dog {
  --shadow-sm: 0 4px 12px rgba(245, 183, 0, 0.15);
  --shadow-md: 0 8px 32px rgba(245, 183, 0, 0.20);
  --shadow-lg: 0 16px 48px rgba(245, 183, 0, 0.25);
  --bg-dark-deep: #120C07;
  --grad-main: linear-gradient(135deg, #F5B700, #FF9F1C);
  --grad-warm: linear-gradient(135deg, #FF9F1C, #FF6B2B);
  --grad-cool: linear-gradient(135deg, #06B6D4, #F5B700);
  --shadow-btn: 0 6px 0 #D49A00;
  --primary-rgb: 245, 183, 0;
  --secondary-rgb: 255, 159, 28;
  --primary: #F5B700;
  --primary-dark: #D49A00;
  --secondary: #FF9F1C;
  --bg: #FFFBEB;
  --bg-tinted: #FFF8D6;
  --bg-dark: #312108;
  --text: #594112;
  --text-muted: #967C52;
}
body.dark-theme.theme-dog {
  --primary-rgb: 245, 183, 0;
  --secondary-rgb: 255, 159, 28;
  --bg: #1A120B;
  --bg-tinted: #241A10;
  --bg-dark: #120C07;
  --card-bg: #2C1F12;
  --card-edge: #150F09;
  --card-edge-hover: #080603;
  --text: #F2E3D5;
  --text-muted: #B39D82;
}

body.theme-cat {
  --shadow-sm: 0 4px 12px rgba(168, 85, 247, 0.15);
  --shadow-md: 0 8px 32px rgba(168, 85, 247, 0.20);
  --shadow-lg: 0 16px 48px rgba(168, 85, 247, 0.25);
  --bg-dark-deep: #120A1C;
  --grad-main: linear-gradient(135deg, #A855F7, #D8B4FE);
  --grad-warm: linear-gradient(135deg, #D8B4FE, #7E22CE);
  --grad-cool: linear-gradient(135deg, #A855F7, #D8B4FE);
  --shadow-btn: 0 6px 0 #7E22CE;
  --primary-rgb: 168, 85, 247;
  --secondary-rgb: 216, 180, 254;
  --primary: #A855F7;
  --primary-dark: #7E22CE;
  --secondary: #D8B4FE;
  --bg: #FAF5FF;
  --bg-tinted: #F3E8FF;
  --bg-dark: #2B163B;
  --text: #3B0764;
  --text-muted: #6B21A8;
}
body.dark-theme.theme-cat {
  --primary-rgb: 168, 85, 247;
  --secondary-rgb: 216, 180, 254;
  --bg: #1B0F2A;
  --bg-tinted: #2A1744;
  --bg-dark: #11091A;
  --card-bg: #362254;
  --card-edge: #1D1030;
  --card-edge-hover: #0F0819;
  --text: #F3E8FF;
  --text-muted: #D8B4FE;
}

body.theme-fish {
  --shadow-sm: 0 4px 12px rgba(59, 130, 246, 0.15);
  --shadow-md: 0 8px 32px rgba(59, 130, 246, 0.20);
  --shadow-lg: 0 16px 48px rgba(59, 130, 246, 0.25);
  --bg-dark-deep: #050E1E;
  --grad-main: linear-gradient(135deg, #3B82F6, #93C5FD);
  --grad-warm: linear-gradient(135deg, #93C5FD, #1D4ED8);
  --grad-cool: linear-gradient(135deg, #3B82F6, #93C5FD);
  --shadow-btn: 0 6px 0 #1D4ED8;
  --primary-rgb: 59, 130, 246;
  --secondary-rgb: 147, 197, 253;
  --primary: #3B82F6;
  --primary-dark: #1D4ED8;
  --secondary: #93C5FD;
  --bg: #EFF6FF;
  --bg-tinted: #DBEAFE;
  --bg-dark: #0A1C3C;
  --text: #1E3A8A;
  --text-muted: #1D4ED8;
}
body.dark-theme.theme-fish {
  --primary-rgb: 59, 130, 246;
  --secondary-rgb: 147, 197, 253;
  --bg: #0B1221;
  --bg-tinted: #132039;
  --bg-dark: #03060C;
  --card-bg: #1A2B4C;
  --card-edge: #0E182A;
  --card-edge-hover: #060B14;
  --text: #DBEAFE;
  --text-muted: #93C5FD;
}

body.theme-reptile {
  --shadow-sm: 0 4px 12px rgba(16, 185, 129, 0.15);
  --shadow-md: 0 8px 32px rgba(16, 185, 129, 0.20);
  --shadow-lg: 0 16px 48px rgba(16, 185, 129, 0.25);
  --bg-dark-deep: #011610;
  --grad-main: linear-gradient(135deg, #10B981, #6EE7B7);
  --grad-warm: linear-gradient(135deg, #6EE7B7, #047857);
  --grad-cool: linear-gradient(135deg, #10B981, #6EE7B7);
  --shadow-btn: 0 6px 0 #047857;
  --primary-rgb: 16, 185, 129;
  --secondary-rgb: 110, 231, 183;
  --primary: #10B981;
  --primary-dark: #047857;
  --secondary: #6EE7B7;
  --bg: #ECFDF5;
  --bg-tinted: #D1FAE5;
  --bg-dark: #022C22;
  --text: #064E3B;
  --text-muted: #047857;
}
body.dark-theme.theme-reptile {
  --primary-rgb: 16, 185, 129;
  --secondary-rgb: 110, 231, 183;
  --bg: #061B14;
  --bg-tinted: #0B3326;
  --bg-dark: #020C09;
  --card-bg: #134D3A;
  --card-edge: #0A2F24;
  --card-edge-hover: #051A14;
  --text: #D1FAE5;
  --text-muted: #6EE7B7;
}

body.theme-rabbit {
  --shadow-sm: 0 4px 12px rgba(236, 72, 153, 0.15);
  --shadow-md: 0 8px 32px rgba(236, 72, 153, 0.20);
  --shadow-lg: 0 16px 48px rgba(236, 72, 153, 0.25);
  --bg-dark-deep: #1E0512;
  --grad-main: linear-gradient(135deg, #EC4899, #F9A8D4);
  --grad-warm: linear-gradient(135deg, #F9A8D4, #BE185D);
  --grad-cool: linear-gradient(135deg, #EC4899, #F9A8D4);
  --shadow-btn: 0 6px 0 #BE185D;
  --primary-rgb: 236, 72, 153;
  --secondary-rgb: 249, 168, 212;
  --primary: #EC4899;
  --primary-dark: #BE185D;
  --secondary: #F9A8D4;
  --bg: #FDF2F8;
  --bg-tinted: #FCE7F3;
  --bg-dark: #3C0A23;
  --text: #831843;
  --text-muted: #9D174D;
}
body.dark-theme.theme-rabbit {
  --primary-rgb: 236, 72, 153;
  --secondary-rgb: 249, 168, 212;
  --bg: #220B15;
  --bg-tinted: #3D1225;
  --bg-dark: #12050B;
  --card-bg: #5C1937;
  --card-edge: #3A0F22;
  --card-edge-hover: #19050E;
  --text: #FCE7F3;
  --text-muted: #F9A8D4;
}

body.theme-bird {
  --shadow-sm: 0 4px 12px rgba(6, 182, 212, 0.15);
  --shadow-md: 0 8px 32px rgba(6, 182, 212, 0.20);
  --shadow-lg: 0 16px 48px rgba(6, 182, 212, 0.25);
  --bg-dark-deep: #04151A;
  --grad-main: linear-gradient(135deg, #06B6D4, #67E8F9);
  --grad-warm: linear-gradient(135deg, #67E8F9, #0E7490);
  --grad-cool: linear-gradient(135deg, #06B6D4, #67E8F9);
  --shadow-btn: 0 6px 0 #0E7490;
  --primary-rgb: 6, 182, 212;
  --secondary-rgb: 103, 232, 249;
  --primary: #06B6D4;
  --primary-dark: #0E7490;
  --secondary: #67E8F9;
  --bg: #ECFEFF;
  --bg-tinted: #CFFAFE;
  --bg-dark: #092B34;
  --text: #164E63;
  --text-muted: #0E7490;
}
body.dark-theme.theme-bird {
  --primary-rgb: 6, 182, 212;
  --secondary-rgb: 103, 232, 249;
  --bg: #092027;
  --bg-tinted: #0E3541;
  --bg-dark: #030D10;
  --card-bg: #154F61;
  --card-edge: #0C323E;
  --card-edge-hover: #061A21;
  --text: #CFFAFE;
  --text-muted: #67E8F9;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}


/* ---- Utility ---- */
.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(3px) scale(0.97) !important;
}

.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--primary-dark);
}

.btn-white {
  background: #fff;
  color: #3D2B0F;
  box-shadow: 0 6px 0 #E2E8F0;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #CBD5E1;
}

.btn-ghost-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.gradient-text-light {
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-sm {
  font-size: 13px;
  padding: 8px 18px;
}

.btn-lg {
  font-size: 16px;
  padding: 16px 32px;
}

.btn-glow {
  box-shadow: 0 6px 0 var(--primary-dark), 0 0 40px rgba(var(--primary-rgb), 0.4);
}

.btn-glow:hover {
  box-shadow: 0 10px 0 var(--primary-dark), 0 0 60px rgba(var(--primary-rgb), 0.55);
}

/* ---- Orbs (background blobs) ---- */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: rgba(var(--primary-rgb), 0.25);
  top: -100px;
  left: -120px;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: rgba(var(--secondary-rgb), 0.20);
  top: 200px;
  right: -80px;
}

.orb-3 {
  width: 280px;
  height: 280px;
  background: rgba(6, 182, 212, 0.15);
  bottom: 0;
  left: 30%;
}

.orb-4 {
  width: 400px;
  height: 400px;
  background: rgba(var(--primary-rgb), 0.30);
  top: -80px;
  right: -80px;
}

.orb-5 {
  width: 300px;
  height: 300px;
  background: rgba(var(--accent-rgb), 0.20);
  bottom: 0;
  left: -40px;
}

.orb-6 {
  width: 500px;
  height: 500px;
  background: rgba(var(--primary-rgb), 0.22);
  top: -100px;
  left: -150px;
}

.orb-7 {
  width: 350px;
  height: 350px;
  background: rgba(var(--secondary-rgb), 0.18);
  bottom: -80px;
  right: -80px;
}

/* ================================================
   NAV
   ================================================ */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 999px;
  box-shadow: 0 4px 0 rgba(var(--primary-rgb), 0.15), 0 8px 16px rgba(var(--primary-rgb), 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav:hover {
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 8px 0 rgba(var(--primary-rgb), 0.25), 0 12px 24px rgba(var(--primary-rgb), 0.15);
}

.nav.scrolled {
  top: 10px;
  background: var(--card-bg);
  box-shadow: 0 4px 0 rgba(var(--primary-rgb), 0.2), 0 8px 20px rgba(0, 0, 0, 0.05);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.nav.scrolled:hover {
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 10px 0 rgba(var(--primary-rgb), 0.25), 0 14px 28px rgba(0, 0, 0, 0.1);
}

body.dark-theme .nav {
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .nav:hover {
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.6), 0 14px 28px rgba(0, 0, 0, 0.4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--text);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-logo-svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  flex-shrink: 0;
}

.nav-logo:hover {
  transform: scale(1.05);
}

body.dark-theme .nav.scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 4px 0 rgba(0, 0, 0, 0.3);
}

body.dark-theme .nav {
  background: rgba(26, 18, 11, 0.85); /* Dark brown/amber gloss */
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .nav.scrolled {
  background: #1A120B;
}

/* ---- 3D Primary Button Theme Toggle ---- */
.theme-switch {
  position: relative;
  width: 60px;
  height: 34px;
  background: var(--grad-main);
  border-radius: 999px;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  padding: 4px;
  box-shadow: 0 5px 0 var(--primary-dark), 0 10px 20px rgba(var(--primary-rgb), 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

/* Fixed FAB variant — aligned above back-to-top */
.theme-switch-fab {
  position: fixed;
  bottom: 108px; /* 40px + 56px (back-to-top) + 12px gap */
  right: 40px;
  z-index: 10000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 0;
  justify-content: center;
}

.theme-switch:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 var(--primary-dark), 0 15px 25px rgba(var(--primary-rgb), 0.4);
}

.theme-switch:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--primary-dark), 0 2px 5px rgba(var(--primary-rgb), 0.4);
}

.theme-switch-thumb {
  width: 26px;
  height: 26px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
}

/* In FAB mode the thumb is purely decorative — show emoji centered, no slide */
.theme-switch-fab .theme-switch-thumb {
  transform: none !important;
  width: 32px;
  height: 32px;
  font-size: 18px;
  box-shadow: none;
  background: transparent;
}

body.dark-theme .theme-switch {
  background: linear-gradient(135deg, #4A5568, #2D3748);
  box-shadow: 0 5px 0 #1A202C, 0 10px 20px rgba(0, 0, 0, 0.4);
}

body.dark-theme .theme-switch-fab {
  box-shadow: 0 5px 0 #1A120B, 0 12px 24px rgba(0, 0, 0, 0.5);
}

body.dark-theme .theme-switch:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 #1A202C, 0 15px 25px rgba(0, 0, 0, 0.5);
}

body.dark-theme .theme-switch:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #1A202C, 0 2px 5px rgba(0, 0, 0, 0.4);
}

body.dark-theme .theme-switch:not(.theme-switch-fab) .theme-switch-thumb {
  transform: translateX(26px);
  background: #1A202C;
}

/* ---- View Transitions Ripple API ---- */
::view-transition-group(root) {
  animation-duration: 1.2s;
  animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}

::view-transition-new(root),
::view-transition-old(root) {
  animation: none;
  mix-blend-mode: normal;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px; /* Slightly taller for the pill look */
  padding: 0 32px; /* Extra horizontal padding */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--text);
  flex-shrink: 0;
}

.nav-logo-paw {
  font-size: 1.4rem;
}

.nav-logo-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
  background: var(--primary);
  color: #fff;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text);
  border-radius: 99px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 24px;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  z-index: 99;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile-link {
  padding: 12px 16px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.nav-mobile-link:hover {
  background: #FFF8D6;
}

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
}

.hero-bg-img {
  position: absolute;
  top: 0;
  /* or remove this if you want to control with other layout rules */
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  /* changed from center top to center bottom */
  z-index: 0;
  opacity: 0.8;

}

/* Removed hero::after overlay */

/* Hero floating scene: central text + absolutely positioned cards */
.hero-floating-scene {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--primary-rgb), 0.10);
  border: 1.5px solid rgba(var(--primary-rgb), 0.25);
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.05);
  }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 36px;
  max-width: 540px;
}

@media (max-width: 1100px) {
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 24px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (max-width: 1100px) {
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .hero-actions {
    justify-content: center;
  }
}

.hero-note {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
  opacity: 0.7;
}

/* Hero image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.3) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  z-index: 0;
}

/* ================================================
   HERO FLOATING UI CARDS
   ================================================ */

/* Base card style — glassmorphism with 3D depth */
.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(var(--primary-rgb), 0.18);
  border-radius: 24px;
  padding: 20px 22px;
  box-shadow:
    0 3px 0 rgba(var(--primary-rgb),0.22),
    0 10px 40px rgba(0,0,0,0.12),
    0 28px 56px rgba(var(--primary-rgb),0.08);
  z-index: 4;
  min-width: 268px;
  font-family: 'Nunito', sans-serif;
  pointer-events: none;
  /* Accent stripe at top */
  overflow: hidden;
}

.hero-floating-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-main);
  border-radius: 24px 24px 0 0;
}

body.dark-theme .hero-floating-card {
  background: rgba(44, 31, 18, 0.94);
  border-color: rgba(var(--primary-rgb), 0.18);
  box-shadow:
    0 3px 0 rgba(0,0,0,0.5),
    0 10px 40px rgba(0,0,0,0.45),
    0 28px 56px rgba(0,0,0,0.25);
}

/* ---- Hydration card (top-left) ---- */
.hero-card-hydration {
  top: 6%;
  left: 2%;
  transform: rotate(-3deg);
  animation: hfc-float-a 5.5s ease-in-out infinite;
}

/* ---- Profile card (bottom-left) ---- */
.hero-card-profile {
  bottom: 6%;
  left: 0%;
  transform: rotate(2.5deg);
  animation: hfc-float-b 6s ease-in-out infinite;
}

/* ---- Routine card (top-right) ---- */
.hero-card-routine {
  top: 6%;
  right: 2%;
  transform: rotate(3deg);
  animation: hfc-float-c 5s ease-in-out infinite;
}

/* ---- Activity/Growth card (bottom-right) ---- */
.hero-card-activity {
  bottom: 6%;
  right: 0%;
  transform: rotate(-2deg);
  animation: hfc-float-d 6.5s ease-in-out infinite;
}

/* Float keyframes — subtle rotation shift + vertical drift */
@keyframes hfc-float-a {
  0%, 100% { transform: rotate(-3deg) translateY(0px); }
  50% { transform: rotate(-2deg) translateY(-12px); }
}
@keyframes hfc-float-b {
  0%, 100% { transform: rotate(2.5deg) translateY(0px); }
  50% { transform: rotate(1.5deg) translateY(-10px); }
}
@keyframes hfc-float-c {
  0%, 100% { transform: rotate(3deg) translateY(0px); }
  50% { transform: rotate(2deg) translateY(-14px); }
}
@keyframes hfc-float-d {
  0%, 100% { transform: rotate(-2deg) translateY(0px); }
  50% { transform: rotate(-1deg) translateY(-10px); }
}

/* ----- HFC inner components ----- */
.hfc-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}
.hfc-icon { font-size: 16px; }
.hfc-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  flex: 1;
}
.hfc-meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.10);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Hydration bar */
.hfc-bar-track {
  position: relative;
  height: 24px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb),0.10);
  overflow: hidden;
  margin-bottom: 14px;
}
.hfc-bar-fill {
  position: absolute;
  inset: 0;
  right: auto;
  background: var(--grad-main);
  border-radius: 999px;
}
.hfc-bar-wave {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(255,255,255,0.25) 11px, rgba(255,255,255,0.25) 12px);
  animation: wave-shift-css 1.5s linear infinite;
  opacity: 0.5;
}
.hfc-bar-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  z-index: 2;
}
.hfc-btn-row { display: flex; gap: 8px; }
.hfc-btn-outline {
  background: var(--card-bg);
  border: 1px solid rgba(var(--primary-rgb),0.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  cursor: default;
  font-family: inherit;
}
.hfc-btn-primary {
  flex: 1;
  background: var(--grad-main);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 800;
  font-size: 11px;
  box-shadow: 0 3px 0 var(--primary-dark);
  cursor: default;
  font-family: inherit;
}

/* Profile card */
.hfc-profile-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.hfc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb),0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  border: 2px solid rgba(var(--primary-rgb),0.2);
}
.hfc-pet-name {
  font-size: 14px;
  font-weight: 900;
  color: var(--text);
}
.hfc-pet-breed {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
}
.hfc-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  margin-left: auto;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}
.hfc-stats-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--primary-rgb),0.06);
  border-radius: 14px;
  padding: 10px 12px;
}
.hfc-stat { flex: 1; text-align: center; }
.hfc-stat-val {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: var(--text);
}
.hfc-stat-lbl {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}
}
.hfc-stat-div {
  width: 1px;
  height: 30px;
  background: rgba(var(--primary-rgb),0.15);
  flex-shrink: 0;
}

/* Routine card */
.hfc-routine-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(var(--primary-rgb),0.04);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
}
.hfc-routine-item.done { opacity: 0.50; text-decoration: line-through; }
.hfc-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb),0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: transparent;
  flex-shrink: 0;
}
.hfc-check.done {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 0 var(--primary-dark);
}
.hfc-time {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.5;
}

/* Activity / growth chart card */
.hfc-badge-green {
  background: #D1FAE5;
  color: #059669;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}
.hfc-chart-val {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.hfc-chart-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.hfc-chart-area {
  height: 58px;
  width: 100%;
}

/* Responsive: shrink on medium screens */
@media (max-width: 1024px) {
  .hero-card-hydration,
  .hero-card-profile { left: -12px; }
  .hero-card-routine,
  .hero-card-activity { right: -12px; }
  .hero-floating-card {
    min-width: 220px;
    padding: 16px 18px;
  }
}

/* Hide floating cards on mobile — just show the text */
@media (max-width: 768px) {
  .hero-floating-card { display: none; }
  .hero-floating-scene { min-height: auto; padding: 0 16px; }
}



.phone-frame {
  width: 220px;
  background: var(--card-bg);
  border-radius: 28px;
  border: 2px solid rgba(0,0,0,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

body.dark-theme .phone-frame {
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.2);
}

.phone-notch {
  width: 80px;
  height: 20px;
  background: var(--card-bg);
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

body.dark-theme .phone-notch {
  background: var(--card-bg);
}

.phone-screen {
  padding: 8px 10px 16px;
  max-height: 420px;
  overflow: hidden;
}

/* ---- Phone Screen Inner Components ---- */
.ps-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px 12px;
}

.ps-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245,183,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ps-name {
  font-weight: 900;
  font-size: 14px;
  color: var(--text);
}

.ps-breed {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

.ps-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid rgba(245,183,0,0.08);
}

.ps-card-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.ps-card-icon {
  font-size: 14px;
}

.ps-card-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  flex: 1;
}

.ps-card-meta {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: auto;
}

/* Hydration Bar */
.ps-bar-track {
  position: relative;
  height: 22px;
  border-radius: 999px;
  background: rgba(245,183,0,0.1);
  overflow: hidden;
  margin-bottom: 8px;
}

.ps-bar-fill {
  position: absolute;
  inset: 0;
  right: auto;
  background: var(--grad-main);
  border-radius: 999px;
  transition: width 1s var(--ease-spring);
}

.ps-bar-wave {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 12px, rgba(255,255,255,0.3) 13px, rgba(255,255,255,0.3) 14px);
  animation: wave-shift-css 1.5s linear infinite;
  opacity: 0.4;
}

.ps-bar-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  z-index: 2;
}

.ps-btn-row {
  display: flex;
  gap: 6px;
}

.ps-btn-outline {
  background: var(--card-bg);
  border: 1px solid rgba(245,183,0,0.2);
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 12px;
  color: var(--text);
  cursor: default;
}

.ps-btn-primary {
  background: var(--grad-main);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 800;
  font-size: 10px;
  box-shadow: 0 3px 0 var(--primary-dark);
  cursor: default;
}

.ps-btn-wide { flex: 1; padding: 6px 10px; }
.ps-btn-sm { margin-left: auto; padding: 3px 8px; font-size: 9px; }

/* Routine */
.ps-routine-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(99,102,241,0.03);
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.ps-routine-item.done { opacity: 0.6; text-decoration: line-through; }

.ps-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(99,102,241,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: transparent;
  flex-shrink: 0;
}

.ps-check.done {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 0 var(--primary-dark);
}

.ps-time {
  margin-left: auto;
  font-size: 8px;
  opacity: 0.5;
}

/* Care Rows */
.ps-care-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ps-ring-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.ps-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ps-ring-icon, .ps-ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
}

.ps-care-info { flex: 1; min-width: 0; }
.ps-care-name { display: block; font-size: 10px; font-weight: 800; color: var(--text); }
.ps-care-date { display: block; font-size: 8px; color: var(--text-muted); }

.ps-badge {
  font-size: 7px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 999px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ps-badge-red { background: #FEE2E2; color: #DC2626; }
.ps-badge-yellow { background: #FEF3C7; color: #D97706; }

/* Chart */
.ps-chart-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.ps-chart-val {
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}

.ps-chart-change {
  background: #D1FAE5;
  color: #059669;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 999px;
}

.ps-chart-area { height: 55px; width: 100%; }

/* Symptom */
.ps-symptom-entry {
  background: rgba(0,0,0,0.02);
  border-radius: 10px;
  padding: 8px;
  border: 1px solid rgba(245,183,0,0.08);
}
body.dark-theme .ps-symptom-entry { background: rgba(255,255,255,0.03); }

.ps-symptom-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.ps-symptom-date {
  font-size: 8px;
  color: var(--text-muted);
  font-weight: 600;
}

.ps-symptom-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.ps-tag-red {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
}

/* Community Pills */
.ps-pill-row {
  display: flex;
  gap: 4px;
  padding: 8px 2px;
  overflow: hidden;
}

.ps-pill {
  background: rgba(0,0,0,0.04);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}
body.dark-theme .ps-pill { background: rgba(255,255,255,0.06); }

.ps-pill.active {
  background: var(--primary);
  color: #fff;
}

/* Community Post */
.ps-post {
  background: var(--bg);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 8px;
  border: 1px solid rgba(245,183,0,0.06);
}

.ps-post-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.ps-post-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(245,183,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.ps-post-user {
  font-size: 10px;
  font-weight: 800;
  color: var(--text);
  display: block;
}

.ps-post-time {
  font-size: 8px;
  color: var(--text-muted);
  display: block;
}

.ps-cat-badge {
  font-size: 7px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: auto;
  flex-shrink: 0;
}

.ps-post-body {
  font-size: 9px;
  line-height: 1.4;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 6px;
}

.ps-post-actions {
  display: flex;
  gap: 12px;
}

.ps-action {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Responsive: Stack phones on small screens */
@media (max-width: 768px) {
  .hero-phones {
    flex-direction: column;
    gap: 24px;
  }
  .phone-back-left, .phone-back-right {
    transform: none;
    opacity: 1;
  }
  .phone-center {
    transform: none;
  }
  .phone-frame {
    width: 260px;
  }
}


/* Floating cards */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.18);
  z-index: 2;
  animation: float-card 4s ease-in-out infinite;
}

.float-card-icon {
  font-size: 1.5rem;
}

.float-card-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.float-card-value {
  font-size: 14px;
  font-weight: 900;
  color: var(--text);
}

.float-card-1 {
  top: 10%;
  left: -40px;
}

.float-card-2 {
  top: 45%;
  right: -50px;
}

.float-card-3 {
  bottom: 10%;
  left: -20px;
}

@keyframes float-card {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 2.5px solid rgba(var(--primary-rgb), 0.35);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  80% {
    transform: translateY(14px);
    opacity: 0;
  }
}

/* Deprecated: Hero Breaker moved to background video */

/* ================================================
   STATS BANNER
   ================================================ */
.stats-banner {
  padding: 40px 24px;
  background: transparent;
}

.stats-pill {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--grad-main);
  border-radius: 999px;
  padding: 12px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 0 var(--primary-dark), var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: stats-pill-float 5s ease-in-out infinite;
}

@keyframes stats-pill-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.stats-water-bg {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(255, 255, 255, 0.15) 31px, rgba(255, 255, 255, 0.15) 32px);
  animation: stats-wave 2s linear infinite;
  pointer-events: none;
}

@keyframes stats-wave {
  0% {
    background-position-x: 0px;
  }

  100% {
    background-position-x: 32px;
  }
}

.stats-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 12px 32px;
  flex: 1;
  min-width: 140px;
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1.5px;
  height: 32px;
  background: rgba(255, 255, 255, 0.3);
}

/* ================================================
   SCREENSHOT CAROUSEL
   ================================================ */
/* ============================
   SCREENSHOTS SECTION — v2
   Themed round box + placeholder devices
   ============================ */

.screenshots-section {
  overflow: visible;
  padding-bottom: 96px;
}

.screenshots-section .container {
  text-align: center;
  margin-bottom: 48px;
}

.screenshots-section .section-subtitle {
  margin: 0 auto;
}

/* ── Big themed round box ── */
.screenshots-box {
  max-width: 960px;
  margin: 0 auto;
  background: rgba(var(--primary-rgb), 0.06);
  border: 1.5px solid rgba(var(--primary-rgb), 0.18);
  border-radius: 40px;
  padding: 36px 0 32px;
  position: relative;
  overflow: hidden;
  /* subtle dot grid background */
  background-image:
    radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  background-color: rgba(var(--primary-rgb), 0.04);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.6) inset,
    0 24px 64px rgba(var(--primary-rgb), 0.08);
}

body.dark-theme .screenshots-box {
  background-color: rgba(var(--primary-rgb), 0.05);
  border-color: rgba(var(--primary-rgb), 0.15);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 24px 64px rgba(0,0,0,0.3);
  background-image:
    radial-gradient(circle, rgba(var(--primary-rgb), 0.10) 1px, transparent 1px);
}

/* ── Tab nav ── */
.sc-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 32px;
  padding: 0 24px;
  flex-wrap: wrap;
}

.sc-tab {
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.14);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.sc-tab:hover {
  background: rgba(var(--primary-rgb), 0.14);
  color: var(--text);
}

.sc-tab.active {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 0 var(--primary-dark);
}

/* ── Carousel wrap inside box ── */
.screenshots-carousel-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 500px;
}

.screenshots-track {
  display: flex;
  gap: 28px;
  padding: 8px 0 32px;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.screenshot-slide {
  flex: 0 0 auto;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.screenshot-slide:not(.active) {
  opacity: 0.4;
  transform: scale(0.90);
}

.screenshot-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* ── Phone mockup wrapper ── */
.phone-mockup {
  width: 200px;
  filter:
    drop-shadow(0 20px 40px rgba(0,0,0,0.16))
    drop-shadow(0 4px 8px rgba(var(--primary-rgb),0.12));
}

/* ── Placeholder phone shell ── */
.phone-placeholder-shell {
  width: 100%;
  background: var(--card-bg);
  border-radius: 36px;
  border: 2px solid rgba(var(--primary-rgb), 0.22);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    0 0 0 5px rgba(var(--primary-rgb), 0.07);
}

body.dark-theme .phone-placeholder-shell {
  border-color: rgba(var(--primary-rgb), 0.20);
  background: #2C1F12;
}

/* Screen area */
.phone-placeholder-screen {
  flex: 1;
  min-height: 380px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.phone-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  padding: 24px;
}

.phone-placeholder-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}

.phone-placeholder-hint {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px dashed rgba(var(--primary-rgb), 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

/* Home bar chin */
.phone-placeholder-chin {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-placeholder-chin::after {
  content: '';
  width: 60px;
  height: 4px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.25);
}

/* ── Slide label ── */
.screenshot-label {
  text-align: center;
  max-width: 220px;
}

.screenshot-num {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.12);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.screenshot-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.screenshot-desc {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Arrow buttons — inside the box ---- */
.sc-arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--primary-rgb), 0.20);
  cursor: pointer;
  font-size: 22px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  color: var(--text);
  box-shadow: 0 4px 0 rgba(var(--primary-rgb), 0.15), 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  z-index: 10;
}

.sc-arrow:hover {
  transform: translateY(-54%);
  box-shadow: 0 8px 0 rgba(var(--primary-rgb), 0.18), 0 16px 28px rgba(var(--primary-rgb), 0.12);
}

.sc-arrow:active {
  transform: translateY(-46%);
  box-shadow: 0 2px 0 rgba(var(--primary-rgb), 0.10);
}

.sc-arrow-prev { left: 20px; }
.sc-arrow-next { right: 20px; }

/* ---- Dots inside the box ---- */
.sc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 4px;
}

.sc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(var(--primary-rgb), 0.2);
  transition: background 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.25s ease;
  padding: 0;
}

.sc-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 999px;
  transform: scale(1);
}

@media (max-width: 768px) {
  .sc-arrow { display: none; }
  .screenshot-slide { width: 240px; }
  .phone-mockup { width: 180px; }
  .screenshots-box { border-radius: 28px; padding: 24px 0 24px; }
  .sc-tabs { gap: 4px; }
  .sc-tab { font-size: 11px; padding: 5px 12px; }
}

/* ================================================
   SECTIONS
   ================================================ */
.section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.section-dark {
  background: transparent;
}

.section-tinted {
  background: transparent;
}

/* ---- 3D Section Cards (Rounded & Floating) ---- */
.section-card {
  border-radius: 60px; /* Large rounded corners */
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

@media (max-width: 768px) {
  .section-card {
    border-radius: 40px;
    padding: 60px 24px;
    margin: 0 16px;
  }
}

.section-card-dark {
  background: var(--bg-dark);
  box-shadow: 0 12px 0 var(--bg-dark-deep), var(--shadow-lg);
  border: 1.5px solid rgba(255, 255, 255, 0.05);
}

.section-card-tinted {
  background: var(--bg-tinted);
  box-shadow: 0 16px 0 var(--primary-dark), var(--shadow-lg);
  border: 2px solid rgba(var(--primary-rgb), 0.15);
}

body.dark-theme .section-card-tinted {
  box-shadow: 0 16px 0 var(--bg-dark-deep), var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.05);
}

.section-card:hover {
  transform: translateY(-4px);
}

.section-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-label.light {
  color: rgba(99, 102, 241, 0.8);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-dark .section-title {
  color: #fff;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 56px;
  max-width: 560px;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

/* ================================================
   FEATURES GRID
   ================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 6px 0 var(--card-edge), 0 4px 24px rgba(var(--primary-rgb), 0.08);
  border: 1.5px solid rgba(var(--primary-rgb), 0.10);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 var(--card-edge-hover), 0 18px 40px rgba(var(--primary-rgb), 0.14);
}

.feature-card:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--card-edge), 0 2px 8px rgba(var(--primary-rgb), 0.08);
}

.feature-card-large {
  grid-column: span 1;
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.15);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---- Real UI Widgets (Replaces Mock SVGs) ---- */
.ui-widget {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-top: 24px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02), 0 8px 24px var(--shadow-sm);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.ui-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ui-widget-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ui-widget-btn {
  background: var(--grad-main);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: var(--shadow-btn);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease;
  cursor: pointer;
  border: none;
}

.ui-widget-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--primary-dark);
}

.ui-widget-btn:active {
  transform: translateY(2px) scale(0.97);
  box-shadow: 0 2px 0 var(--primary-dark);
}

.ui-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ui-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ui-ring-container {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.ui-ring-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.ui-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ui-ring-val {
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.ui-ring-sub {
  font-size: 7px;
  opacity: 0.5;
}

.ui-row-info {
  flex: 1;
  min-width: 0;
}

.ui-row-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-row-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
}

.ui-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.ui-badge-overdue { background: #FEE2E2; color: #DC2626; }
.ui-badge-soon { background: #FEF3C7; color: #D97706; }
.ui-badge-ok { background: var(--card-bg); color: var(--text); border: 1px solid rgba(0,0,0,0.05); }

/* Chart Widget */
.ui-chart-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ui-chart-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}

.ui-chart-badge {
  background: #D1FAE5;
  color: #059669;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
}

.ui-chart-area {
  height: 80px;
  width: 100%;
}

/* Symptom Widget */
.ui-symptom-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  margin-bottom: 8px;
}
body.dark-theme .ui-symptom-card {
  background: var(--card-bg);
}

.ui-symptom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.ui-symptom-date {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
}
.ui-symptom-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.ui-symptom-tag {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.ui-symptom-note {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 600;
}

/* Hide original mock styles */
.rings-demo, .mini-chart, .routine-list, .vault-pills { display: none; }


.ring-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ring-svg {
  transform: rotate(-90deg);
}

.ring-progress {
  transition: stroke-dashoffset 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ring-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ring-val {
  font-size: 14px;
  font-weight: 900;
}

/* Mini chart */
.mini-chart {
  margin-top: 24px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

/* Vault pills */
.vault-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.vault-pill {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(99, 102, 241, 0.08));
  border: 1.5px solid rgba(6, 182, 212, 0.20);
  color: #0369A1;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
}

/* Routine list */
.routine-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.routine-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.04);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  transition: background 0.2s;
}

.routine-item.routine-done {
  background: rgba(99, 102, 241, 0.08);
  color: #6366F1;
  text-decoration: line-through;
  opacity: 0.75;
}

.routine-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(99, 102, 241, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
}

.routine-check.done {
  background: var(--grad-main);
  border-color: transparent;
  box-shadow: 0 3px 0 var(--primary-dark);
}

.routine-time {
  margin-left: auto;
  font-size: 11px;
  opacity: 0.55;
}

/* ================================================
   COMMUNITY SECTION
   ================================================ */
/* ================================================
   COMMUNITY SECTION
   ================================================ */

.community-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}

.intro-left {
  flex-shrink: 0;
}

.intro-right {
  max-width: 500px;
  padding-bottom: 8px;
}

@media (max-width: 900px) {
  .community-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.live-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1.5px solid rgba(16, 185, 129, 0.2);
  color: #10B981;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

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

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Layout */
.community-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.community-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 1100px) {
  .community-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 600px) {
  .community-main {
    grid-template-columns: 1fr;
  }
}

.feed-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Staggered effect */
.feed-column:nth-child(2) {
  padding-top: 40px;
}

@media (max-width: 600px) {
  .feed-column:nth-child(2) {
    padding-top: 0;
  }
}

/* Post Cards */
.post-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.3), 0 20px 40px rgba(0, 0, 0, 0.2);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.post-avatar {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.post-author {
  font-weight: 800;
  color: #fff;
  font-size: 14px;
}

.post-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.post-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.badge-story { background: #fee2e2; color: #991b1b; }
.badge-tip { background: #dcfce7; color: #166534; }
.badge-quiz { background: #f3e8ff; color: #6b21a8; }

.post-title {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.post-body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  font-weight: 600;
  margin-bottom: 20px;
}

.post-actions {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.post-action {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s;
}

.post-action:hover {
  color: var(--primary);
}

/* Sidebar */
.community-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 24px;
}

.sidebar-card-title {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.sidebar-stat-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.sidebar-stat-row:last-child { margin-bottom: 0; }

.stat-val {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
}

.stat-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.sidebar-perk {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.perk-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.perk-name {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.perk-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.coming-soon {
  font-size: 9px;
  background: var(--grad-warm);
  color: #fff;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
}


/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1.5px solid rgba(99, 102, 241, 0.08);
  box-shadow: 0 6px 0 var(--card-edge), 0 4px 20px rgba(99, 102, 241, 0.06);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 var(--card-edge-hover), 0 20px 40px rgba(99, 102, 241, 0.12);
}

.testimonial-card:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--card-edge), 0 2px 8px rgba(99, 102, 241, 0.06);
}

.stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 900;
  color: var(--text);
}

.testimonial-pet {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ================================================
   ROADMAP
   ================================================ */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}

.roadmap-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 6px 0 var(--card-edge), 0 4px 16px rgba(var(--primary-rgb), 0.08);
  border: 1.5px solid rgba(var(--primary-rgb), 0.15);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.roadmap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 var(--card-edge-hover), 0 20px 40px rgba(var(--primary-rgb), 0.14);
}

.roadmap-card:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--card-edge), 0 2px 8px rgba(var(--primary-rgb), 0.08);
}

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

.roadmap-version {
  font-size: 12px;
  font-weight: 900;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.roadmap-status {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
}

.roadmap-status.live {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
}

.roadmap-status.in-prog {
  background: rgba(var(--secondary-rgb), 0.10);
  color: var(--secondary);
}

.roadmap-status.upcoming {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
}

.roadmap-status.premium {
  background: linear-gradient(135deg, #FF6B2B20, #FF9F1C20);
  color: #FF6B2B;
}

.roadmap-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}

.roadmap-desc {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: auto;
  padding-bottom: 20px;
}

.water-bar-container {
  position: relative;
  height: 28px;
  border-radius: 14px;
  overflow: hidden;
  background-color: rgba(var(--primary-rgb), 0.15);
  margin-top: auto;
}

.water-bar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 14px;
}

.water-bar-wave {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(255, 255, 255, 0.4) 21px, rgba(255, 255, 255, 0.4) 22px);
  animation: wave-shift-css 1.5s linear infinite;
  opacity: 0.5;
}

.water-bar-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.water-bar-text-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  z-index: 2;
}

@keyframes wave-shift-css {
  0% {
    background-position-x: 0px;
  }

  100% {
    background-position-x: 22px;
  }
}

/* ================================================
   REFERRAL PROGRAM
   ================================================ */
.side-split-section {
  padding: 80px 0;
}

.side-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 992px) {
  .side-split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.floating-gift {
  position: absolute;
  font-size: 2rem;
  z-index: 0;
  animation: float-gift 6s ease-in-out infinite;
  opacity: 0.8;
}

.gift-1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  font-size: 2.5rem;
}
.gift-2 {
  bottom: 20%;
  left: 5%;
  animation-delay: 1.5s;
}
.gift-3 {
  top: 25%;
  right: 10%;
  animation-delay: 3s;
  font-size: 2.2rem;
}

@keyframes float-gift {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

.referral-card {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(255, 255, 255, 0.95));
  border: 1.5px solid rgba(var(--primary-rgb), 0.3);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.15);
  position: relative;
  overflow: hidden;
}

body.dark-theme .referral-card {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), var(--card-bg));
  border-color: rgba(255, 255, 255, 0.1);
}

.referral-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: float-card 4s ease-in-out infinite;
}

.referral-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.referral-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 600;
  max-width: 500px;
  margin: 0 auto 32px;
}

.referral-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.referral-note {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 700;
  opacity: 0.9;
  margin-top: 16px;
}

/* Rewards Grid */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.reward-item {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  padding: 16px;
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

body.dark-theme .reward-item {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.05);
}

.reward-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.1);
}

.reward-item.highlight {
  border: 2px solid var(--primary);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.15);
}

.reward-val {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.reward-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.reward-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Tweet Preview Box & Templates */
.tweet-preview-box {
  display: none; /* JS will show this */
  text-align: left;
  background: rgba(var(--primary-rgb), 0.05);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
  animation: fade-in-up 0.5s var(--ease-spring) forwards;
}

body.dark-theme .tweet-preview-box {
  background: rgba(255, 255, 255, 0.03);
}

.tweet-template-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.tweet-template-card {
  background: var(--card-bg);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.tweet-template-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 12px;
}

.tweet-template-actions {
  display: flex;
  gap: 8px;
}

.tweet-template-btn {
  font-size: 10px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.1s;
}

.btn-post {
  background: #1DA1F2; /* Twitter Blue */
  color: #fff;
}

.btn-copy {
  background: var(--text);
  color: var(--card-bg);
}

.tweet-template-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.tweet-template-btn:active {
  transform: translateY(1px);
}

body.dark-theme .tweet-preview-box {
  background: rgba(255, 255, 255, 0.03);
}

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

.tweet-user {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.copy-btn {
  background: var(--text);
  color: var(--card-bg);
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s;
}

.copy-btn:hover { opacity: 0.8; }

.tweet-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  font-style: italic;
  font-weight: 600;
}

/* Fine Print */
.fine-print {
  margin-top: 32px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--text-muted);
  opacity: 0.6;
  font-weight: 500;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .rewards-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================
   FAQ
   ================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1.5px solid rgba(var(--primary-rgb), 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.08);
}

.faq-item.open {
  border-color: rgba(var(--primary-rgb), 0.30);
  box-shadow: 0 6px 24px rgba(var(--primary-rgb), 0.12);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
}

.faq-arrow {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1;
}

.faq-item.open .faq-arrow {
  transform: rotate(90deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-muted);
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 24px 20px;
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  max-width: 1240px;
  margin: 60px auto 120px auto;
  background: var(--bg-dark);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.35), 0 32px 80px rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
}

.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.cta-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .cta-section { padding: 60px 32px; }
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .cta-left { align-items: center; text-align: center; }
  .cta-title, .cta-subtitle, .cta-badge, .cta-note { text-align: center; }
  .cta-actions { justify-content: center; }
  .cta-right { justify-content: center; }
}

/* Section Blending Gradient */
.section-blend-top {
  position: absolute;
  top: -150px;
  left: 0;
  width: 100%;
  height: 151px;
  background: linear-gradient(to bottom, transparent, var(--bg-dark));
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

/* In light mode, the gradient smudge looks "dirty" on cream background, 
   so we hide it and let the clean SVG curve handle the transition. */
body:not(.dark-theme) .section-blend-top {
  opacity: 0;
}

.section-divider {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.divider-top {
  top: -99px;
  height: 100px;
}

.divider-top svg {
  display: block;
  width: 100%;
  height: 100%;
}


.cta-bubbles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  border-radius: inherit;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12) 0%, rgba(var(--secondary-rgb), 0.08) 100%);
  pointer-events: none;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.80);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  margin-bottom: 36px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-actions {
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  display: flex;
}

/* CTA main button */
.cta-actions .btn-primary {
  border-radius: 999px;
}

.cta-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.40);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.cta-species-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 32px;
  backdrop-filter: blur(12px);
}

.cta-species-hint {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  margin: 0;
}

.cta-species-label {
  display: flex;
}

.cta-species-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.species-surprise-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  animation: pulse-label 2.5s ease-in-out infinite;
}

@keyframes pulse-label {
  0%, 100% { box-shadow: 0 2px 12px rgba(0,0,0,0.15), 0 0 0 0 rgba(255,255,255,0.2); }
  50% { box-shadow: 0 2px 12px rgba(0,0,0,0.15), 0 0 0 6px rgba(255,255,255,0); }
}

.cta-species {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cta-species-prefix {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.species-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 14px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.species-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.species-pill.active {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ================================================
   FOOTER — Taller, 2-row layout
   ================================================ */
.footer {
  padding: 0;
  background: var(--bg);
  border-top: 1.5px solid rgba(var(--primary-rgb), 0.18);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Top row: brand + nav columns */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.footer-logo-svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-sep {
  font-size: 14px;
  color: var(--text-muted);
  opacity: 0.5;
  font-weight: 700;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 700;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.7;
  max-width: 280px;
  opacity: 0.8;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-label {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 4px;
}

/* Nav links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Bottom row: legal bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(var(--primary-rgb), 0.12);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.6;
  font-weight: 700;
  flex-shrink: 0;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
}

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

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand-col { grid-column: span 2; }
  .footer-inner { padding: 40px 24px 24px; }
}

@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand-col { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---- Hero canvas bubble overlay ---- */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  will-change: transform;
  transform: translateZ(0);
}


/* ================================================
   ANIMATIONS
   ================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate="fade-right"] {
  transform: translateX(-40px);
}

[data-animate].visible {
  opacity: 1;
  transform: translate(0, 0);
}

[data-animate="float"].visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 960px) {
  .hero-inner {
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .float-card-1 {
    left: -10px;
    top: 5%;
  }

  .float-card-2 {
    right: -8px;
  }

  .float-card-3 {
    left: 5px;
  }

  .stats-pill {
    border-radius: 40px;
    padding: 24px 12px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    min-width: 140px;
    padding: 12px;
  }

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

@media (max-width: 640px) {

  .nav-links,
  .nav .btn {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    min-width: 100px;
    padding: 10px 16px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 80px 20px 48px;
  }

  .hero-img {
    max-width: 300px;
  }

  .float-card {
    display: none;
  }
}

/* ================================================
   BACK TO TOP BUTTON
   ================================================ */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 56px;
  height: 56px;
  background: var(--grad-main);
  color: #fff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 6px 0 var(--primary-dark), 0 12px 24px rgba(var(--primary-rgb), 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 0 var(--primary-dark), 0 20px 30px rgba(var(--primary-rgb), 0.4);
}

.back-to-top:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--primary-dark), 0 4px 10px rgba(var(--primary-rgb), 0.4);
}

body.dark-theme .back-to-top {
  box-shadow: 0 6px 0 #1A120B, 0 12px 24px rgba(0, 0, 0, 0.5);
}

body.dark-theme .back-to-top:hover {
  box-shadow: 0 10px 0 #1A120B, 0 20px 30px rgba(0, 0, 0, 0.6);
}
/* ================================================
   INTERACTIONS & EFFECTS
   ================================================ */
.theme-ripple {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  background: var(--primary);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0.25;
  animation: ripple-spread 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  z-index: 10002;
}

@keyframes ripple-spread {
  100% {
    transform: translate(-50%, -50%) scale(150);
    opacity: 0;
  }
}

/* ================================================
   TOAST NOTIFICATIONS
   ================================================ */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10003;
  pointer-events: none;
}

.toast {
  background: var(--card-bg);
  border: 1.5px solid var(--primary);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 0 var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  animation: toast-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, toast-out 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 4s forwards;
}

@keyframes toast-in {
  from {
    transform: translateY(20px) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes toast-out {
  from {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateY(10px) scale(0.9);
    opacity: 0;
  }
}

/* ================================================
   HOVER OVERRIDES — Must come after [data-animate].visible
   to win the cascade (equal specificity, later position wins)
   ================================================ */
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 0 var(--card-edge-hover), 0 18px 40px rgba(var(--primary-rgb), 0.14);
}
.feature-card:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--card-edge), 0 2px 8px rgba(var(--primary-rgb), 0.08);
}
.roadmap-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 0 var(--card-edge-hover), 0 20px 40px rgba(var(--primary-rgb), 0.14);
}
.roadmap-card:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--card-edge), 0 2px 8px rgba(var(--primary-rgb), 0.08);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 0 var(--card-edge-hover), 0 20px 40px rgba(var(--primary-rgb), 0.12);
}
.testimonial-card:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--card-edge), 0 2px 8px rgba(var(--primary-rgb), 0.06);
}
.section-card:hover {
  transform: translateY(-6px);
}
.nav:hover {
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 8px 0 rgba(var(--primary-rgb), 0.25), 0 12px 24px rgba(var(--primary-rgb), 0.15);
}
.nav.scrolled:hover {
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 10px 0 rgba(var(--primary-rgb), 0.25), 0 14px 28px rgba(0, 0, 0, 0.1);
}
