/* ========================================================================== */
/* ========== CSS Variables ========== */
/* ========================================================================== */
:root {
  /* Brand Colors */
  --bluesky: #00A9E0;
  --hummingbird: #3AB87F;
  --mistymint: #9ADBC5;
  --dewdrop: #F0F8FF;
  --blackbeetle: #1B1F23;
  --pippapop: #D22D7F;
  --darkpop: #820054;
  --beakblue: #003B64;
  --leafy: #006241;
  --lemonglow: #FFF68F;
  --lightmint: #9DD6C3;
  --thunder: #75808F;
  --pinkpetal: #FFB5D9;
  --pollen: #D99824;
  --treetrunk: #353330;
  
  /* Gradients */
  --shimmer-gradient: linear-gradient(90deg, #00A9E0, #D92583);
  --glowmint-gradient: linear-gradient(90deg, #9ADBC5, #FFF68F);
  --flyaway-gradient: linear-gradient(90deg, #00A9E0, #3AB87F);
  --breezy-gradient: linear-gradient(90deg, #02A9E0, #9DD6C3);
}

/* ========================================================================== */
/* ========== Reset & Base Styles ========== */
/* ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  margin: 0;
  padding: 0;
  color: var(--blackbeetle);
  min-height: 100vh;
  background: var(--dewdrop);
}

body.no-scroll {
  overflow: hidden;
}

body.pip-page {
  background: #ffffff;
}

/* ========================================================================== */
/* ========== Typography ========== */
/* ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

h2 {
  font-size: 1.8rem;
  font-weight: 700;
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

p, li {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
  margin: 0 0 1rem 0;
  color: var(--blackbeetle);
}

.p-large {
  font-size: 1.2rem;
  line-height: 1.8rem;
}

/* Gradient Text Classes */
.gradient-text,
.flyaway-gradient-text {
  background: var(--flyaway-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shimmer-gradient-text {
  background: var(--shimmer-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glowmint-gradient-text {
  background: var(--glowmint-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========================================================================== */
/* ========== Layout Components ========== */
/* ========================================================================== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: left;
}

.section {
  max-width: 840px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section-narrow {
  max-width: 650px;
  margin: 0 auto;
}

.section-hero {
  max-width: 840px;
  margin: 0 auto;
  padding: 3rem 2rem;
  color: var(--thunder);
  text-align: center;
}

.section-hero p {
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.section-white-bg {
  max-width: 840px;
  margin: 1rem auto;
  padding: 3rem;
  text-align: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.section-frictionless-bg {
  background: #fff;
  width: 100vw;
}

.section-frictionless {
  max-width: 1080px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  background: none;
}

.section-what-pippa-can-do-bg {
  background: linear-gradient(180deg, #f1f8fd 0%, #9dd6c3 100%);
  width: 100vw;
}

.section-what-pippa-can-do {
  max-width: 1080px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  background: none;
}

/* ========================================================================== */
/* ========== Dividers ========== */
/* ========================================================================== */
.divider {
  height: 4px;
  width: 60px;
  margin: 2rem 0;
  background: linear-gradient(90deg, var(--bluesky), var(--hummingbird));
  border-radius: 2px;
}

.divider-ctr {
  height: 4px;
  width: 60px;
  margin: 2rem auto;
  background: linear-gradient(90deg, var(--bluesky), var(--hummingbird));
  border-radius: 2px;
}

/* ========================================================================== */
/* ========== Navigation ========== */
/* ========================================================================== */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.top-nav .logo img {
  height: 40px;
  display: block;
}

.top-nav .nav-links {
  font-size: 1rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-end;
}

.top-nav .nav-links a {
  text-decoration: none;
  color: var(--blackbeetle);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.top-nav .nav-links a:hover {
  color: var(--bluesky);
}

.desktop-nav {
  display: none;
}

/* Mobile Menu Button & Hamburger Animation */
.mobile-menu-btn {
  font-weight: 500;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 20;
  color: var(--blackbeetle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn:focus {
  outline: none;
  color: var(--blackbeetle);
}

.hamburger {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 18px;
}

.hamburger-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: all 200ms ease;
  transform-origin: center;
}

.hamburger-line:nth-child(1) {
  top: 0;
}

.hamburger-line:nth-child(2) {
  bottom: 0;
}

/* Transform to X when active */
.mobile-menu-btn.is-active .hamburger-line:nth-child(1),
#closeMobileMenu .hamburger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.is-active .hamburger-line:nth-child(2),
#closeMobileMenu .hamburger-line:nth-child(2) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  transform: translateX(100%);
  transition: transform 200ms ease, opacity 200ms ease;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.mobile-menu.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.menu-logo {
  height: 40px;
}

.mobile-menu .nav-links {
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.25rem;
  font-weight: 500;
  gap: 1.5rem;
  width: 100%;
  margin-top: 2rem;
  padding: 0 2rem;
}

.mobile-menu .nav-links a {
  color: var(--blackbeetle);
  text-decoration: none;
  padding: 0.75rem 0;
  width: 100%;
  text-align: left;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu .nav-links a:focus {
  outline: none;
}

.mobile-menu .nav-links a.meet-pip-btn:focus {
  outline: none;
  background: var(--leafy) !important;
  color: #ffffff !important;
}

/* ========================================================================== */
/* ========== Buttons ========== */
/* ========================================================================== */
.cta-button {
  background: var(--hummingbird);
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(58, 184, 127, 0.15);
}

.cta-button:hover {
  background: var(--leafy);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(58, 184, 127, 0.25);
}

.meet-pip-btn {
  background: var(--hummingbird) !important;
  color: #ffffff !important;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(58, 184, 127, 0.15);
}

.meet-pip-btn:hover {
  background: var(--leafy) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(58, 184, 127, 0.25);
}

.btn-helper-text {
  display: inline-block;
  margin: 12px 0;
  color: #666;
  font-size: 16px;
  font-style: normal;
}

.mobile-menu .nav-links a.meet-pip-btn {
  background: var(--hummingbird);
  color: #ffffff !important;
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  padding: 1rem;
  text-align: center;
  border: none;
  box-shadow: 0 2px 8px rgba(58, 184, 127, 0.15);
}

/* ========================================================================== */
/* ========== Header ========== */
/* ========================================================================== */
header {
  text-align: center;
  padding: 4rem 2rem 3rem;
}

.header-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.header-logo-bird {
  height: 100px;
  width: auto;
}

.header-logo-coffee {
  height: 90px;
  width: auto;
}

.header-logo-robot {
  height: 160px;
  width: auto;
}

.header-logo-plus {
  font-size: 3rem;
  font-weight: 300;
  color: #999;
  line-height: 1;
}

.hero-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-subtext {
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.bubble-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.pippa-demo-video {
  width: 50%;
  max-width: 300px;
  border-radius: 12px;
  margin: 2rem auto;
  display: block;
}

.cta-container {
  margin-top: 2rem;
  padding: 0 1rem;
}

/* ========================================================================== */
/* ========== Profile Section ========== */
/* ========================================================================== */
.profile {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: left;
}

.profile img {
  width: 208px;
  height: 208px;
  object-fit: contain;
  flex-shrink: 0;
}

.bio {
  flex: 1;
}

.bio a {
  text-decoration: none;
  color: #0077b5;
  font-weight: bold;
}

/* ========================================================================== */
/* ========== Quote Carousel ========== */
/* ========================================================================== */
.quote-carousel {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.quote-slide {
  display: none;
  padding: 4rem 2rem;
  transition: background-color 0.5s ease;
}

.quote-slide.active {
  display: block;
}

.quote-slide h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.quote-slide p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* ========================================================================== */
/* ========== Chat Bubbles ========== */
/* ========================================================================== */
.chat-bubble,
.chat-bubble-left {
  display: inline-block;
  background: linear-gradient(135deg, #fff 90%, var(--dewdrop) 100%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  max-width: 560px;
  width: 100%;
  position: relative;
  text-align: left;
  margin: 1.5rem auto;
  color: var(--blackbeetle);
}

.chat-bubble {
  border-radius: 24px 24px 24px 8px;
}

.chat-bubble-left {
  border-radius: 24px 24px 8px 24px;
  background: linear-gradient(225deg, #fff 90%, var(--dewdrop) 100%);
}

.chat-bubble h2,
.chat-bubble-left h2 {
  margin-bottom: 1rem;
}

.chat-bubble p,
.chat-bubble-left p {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.chat-bubble p:last-child,
.chat-bubble-left p:last-child {
  margin-bottom: 0;
}

/* ========================================================================== */
/* ========== Forms ========== */
/* ========================================================================== */
/* Pip Form */
.inline-logo-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.inline-logo-title h2,
.inline-logo-title h3 {
  margin-bottom: 0;
}

.pip-logo-inline {
  height: 100px;
  margin-bottom: 24px;
  width: auto;
}

/* Pip Form Layout */
#pip-form {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

#pip-form .input-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.input-field-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.input-field-wrap input {
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  padding-right: 36px;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  color: var(--blackbeetle);
  line-height: normal;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field-wrap input:hover,
.input-field-wrap input:focus {
  border-color: var(--hummingbird);
  outline: none;
  box-shadow: 0 0 0 2px rgba(58, 184, 127, 0.15);
}

/* Multi-location textarea styles */
.input-field-textarea {
  width: 100%;
  height: 58px;
  min-height: 58px;
  max-height: 120px;
  padding: 16px 50px 16px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  resize: none;
  overflow-y: auto;
  transition: border-color 0.3s;
  line-height: 1.4;
  box-sizing: border-box;
  vertical-align: top;
}

.input-field-textarea:focus {
  outline: none;
  border-color: var(--hummingbird);
}

.input-field-textarea.input-error {
  border-color: #c00;
}

/* Clear button */
.input-field-wrap .clear-button {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  font-size: 20px;
  font-weight: 400;
  color: var(--hummingbird);
  cursor: pointer;
  padding: 0;
  margin: 0;
  width: 24px;
  height: 24px;
  line-height: 1;
  display: none;
  z-index: 1;
  align-items: center;
  justify-content: center;
}

.input-field-wrap .clear-button.show {
  display: flex;
}

/* Input hint */
.input-hint {
  font-size: 0.85em;
  color: #666;
  margin-top: 6px;
  display: none;
}

.location-separator {
  display: inline-block;
  margin: 5px 0;
  color: #666;
  font-size: 16px;
  font-style: italic;
}

/* Submit button */
#pip-form #submit-btn {
  background: var(--pippapop);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(210,45,127,0.07);
  transition: background 0.2s ease, transform 0.2s ease;
  min-width: 90px;
  white-space: nowrap;
  flex-shrink: 0;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#pip-form #submit-btn:hover {
  background: var(--darkpop);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(210,45,127,0.25);
}

#pip-form #submit-btn:focus,
#pip-form #submit-btn:active {
  background: var(--pippapop);
  outline: none;
  box-shadow: 0 4px 12px rgba(210,45,127,0.25);
}

#pip-form #submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Input validation styles */
.input-error {
  border-color: #c00 !important;
  box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.2) !important;
}

.error-message {
  background: #ffe6e6;
  border: 1px solid #ffcccc;
  border-radius: 8px;
  padding: 1rem;
  color: #c00;
  margin-top: 1rem;
}

.loading-spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #ccc;
  border-top: 2px solid var(--pippapop);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 0.5rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#pip-response {
  margin: 3rem auto;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  text-align: left;
  max-width: 600px;
  color: var(--blackbeetle);
  line-height: 1.6;
}

/* Contact Form */
.contact-form-container {
  max-width: 480px;
  margin: 3rem auto 4rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  padding: 2.5rem 2rem;
}

.contact-form-container form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form-container input,
.contact-form-container textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-container input::placeholder,
.contact-form-container textarea::placeholder {
  color: #bfc6ce;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  opacity: 1;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
  border-color: var(--pippapop);
  outline: none;
  box-shadow: 0 0 0 2px rgba(210, 45, 127, 0.15);
}

.contact-form-container button {
  width: 100%;
  background: var(--pippapop);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px rgba(210,45,127,0.07);
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form-container button:hover {
  background: var(--darkpop);
}

/* ========================================================================== */
/* ========== Signup Components ========== */
/* ========================================================================== */
.gradient-bg {
  background: 
    radial-gradient(circle at 15% 85%, var(--lemonglow) 0%, transparent 60%),
    radial-gradient(circle at 30% 20%, var(--mistymint) 0%, transparent 80%),
    radial-gradient(circle at 70% 30%, var(--lightmint) 0%, transparent 70%),
    radial-gradient(120% 120% at 0% 0%, #e8ffd4 0%, #c9f2d8 45%, #bfe9ff 100%);
  background-color: #ffffff;
  background-repeat: no-repeat;
  animation: drift 20s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
}

.gradient-bg-breezy {
  background:
    radial-gradient(circle at -20% -20%, var(--bluesky) 0%, transparent 65%),
    radial-gradient(circle at 60% 20%, var(--mistymint) 0%, transparent 90%),
    radial-gradient(circle at 70% 30%, var(--lemonglow) 0%, transparent 70%);
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: 15% 85%, 30% 20%, 70% 30%;
  animation: drift 17s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
}

.signup-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.or-divider-index {
  align-self: center;
  color: #9aa3af;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-size: 1rem;
}

.text-option, 
.form-option {
  flex: 1 1 45%;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 160px;
}

.text-option small {
  font-size: 0.75rem;
  display: block;
  margin-top: 0.5rem;
}

.form-option form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  justify-content: center;
}

.form-option input {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  color: var(--thunder);
}

.form-option input:focus {
  border-color: var(--pippapop);
  outline: none;
  box-shadow: 0 0 0 2px rgba(210, 45, 127, 0.3);
}

.form-option button {
  padding: 1rem 2rem;
  background: var(--pippapop);
  color: white;
  font-size: 1.25rem;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-option button:hover {
  background: var(--darkpop);
}

.form-option button:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

/* Consent styling */
.consent-container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  text-align: left;
}

.consent-container input[type="checkbox"] {
  margin: 0.2rem 0 0 0;
  width: 16px;
  height: 16px;
  accent-color: var(--pippapop);
  flex-shrink: 0;
}

.consent-container input[type="checkbox"]:focus {
  outline: none;
  box-shadow: none;
}

.consent-label {
  font-size: 0.85em;
  color: var(--thunder);
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}

.text-join {
  color: var(--bluesky);
  font-size: 1.5rem;
}

.phone-number {
  color: var(--pippapop);
  font-size: 2rem;
  font-weight: 800;
  display: block;
  margin-top: 0.2rem;
}

.phone-number a {
  color: var(--pippapop);
}

.phone-disclaimer {
  font-size: 0.8rem;
  display: block;
  margin-top: 0.5rem;
}

.phone-disclaimer a {
  color: var(--thunder);
}

/* QR Code option */
.qr-option {
  margin-top: 1.2rem;
}

.qr-option p {
  margin-bottom: 0.25rem;
}

.qr-option img {
  width: 120px;
  height: auto;
  margin-top: 0.25rem;
}

#scan-or-click-text-index {
  color: var(--thunder);
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

/* ========================================================================== */
/* ========== Footer ========== */
footer {
  background-color: #ffffff;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 3rem solid var(--mistymint);
  margin-top: 0;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-top a {
  text-decoration: none;
  color: var(--blackbeetle);
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-top a:hover {
  color: var(--bluesky);
}

.footer-bottom {
  font-size: 0.8rem;
  color: var(--blackbeetle);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-bottom a {
  color: var(--thunder);
  text-decoration: underline;
}

.footer-icon img {
  height: 30px;
  width: auto;
  margin-top: 1rem;
  opacity: 0.7;
}

/* ========================================================================== */
/* ========== Utility Classes ========== */
/* ========================================================================== */
.placeholder-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 2rem auto;
  display: block;
  border-radius: 12px;
}

.image-bounce {
  width: 250px;
  height: auto;
  animation: intermittent-bounce 6s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* ========================================================================== */
/* ========== Animations ========== */
/* ========================================================================== */
@keyframes drift {
  0%, 100% {
    background-position: 
      15% 85%,   /* color 1 */
      30% 20%,   /* color 2 */
      70% 30%;   /* color 3 */
  }
  50% {
    background-position: 
      20% 80%,   /* color 1 shifts slightly up/right */
      35% 25%,   /* color 2 shifts slightly down/right */
      65% 35%;   /* color 3 shifts slightly left/down */
  }
}

@keyframes intermittent-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  
  /* First bounce - smoother motion */
  16% {
    transform: translateY(0);
  }
  18% {
    transform: translateY(-10px);
  }
  20% {
    transform: translateY(-20px);
  }
  22% {
    transform: translateY(-10px);
  }
  24% {
    transform: translateY(0);
  }
  
  /* Second bounce */
  36% {
    transform: translateY(0);
  }
  38% {
    transform: translateY(-10px);
  }
  40% {
    transform: translateY(-20px);
  }
  42% {
    transform: translateY(-10px);
  }
  44% {
    transform: translateY(0);
  }
  
  /* Third bounce */
  56% {
    transform: translateY(0);
  }
  58% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-20px);
  }
  62% {
    transform: translateY(-10px);
  }
  64% {
    transform: translateY(0);
  }
  
  /* Long pause */
  65%, 99% {
    transform: translateY(0);
  }
}

/* ========================================================================== */
/* ========== Responsive Design ========== */
/* ========================================================================== */
@media (min-width: 769px) {
  .desktop-nav {
    display: flex;
    gap: 1rem;
  }
  
  .mobile-menu-btn {
    display: none;
  }

  /* Desktop: Two columns for signup */
  .signup-options {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: 
      "text-option divider form-option"
      "qr-option qr-option qr-option";
    align-items: start;
    gap: 2rem;
  }
  
  .text-option {
    grid-area: text-option;
  }
  
  .or-divider-index {
    grid-area: divider;
    align-self: center;
  }
  
  .form-option {
    grid-area: form-option;
  }
  
  .qr-option {
    grid-area: qr-option;
    margin-top: 2rem;
  }
  
  .option-row {
    display: contents;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 18px;
  }

  /* Navigation */
  .top-nav .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  /* Typography */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  p {
    font-size: 1.1rem;
  }
  
  /* Header */
  .header-logos {
    gap: 1rem;
  }
  
  .header-logo-bird {
    height: 70px;
  }
  
  .header-logo-coffee {
    height: 80px;
  }
  
  .header-logo-robot {
    height: 100px;
  }
  
  .header-logo-plus {
    font-size: 2rem;
  }
  
  /* Chat Bubbles */
  .chat-bubble,
  .chat-bubble-left {
    padding: 1.5rem;
    margin: 1rem auto;
  }
  
  /* Forms */
  #pip-form {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  #pip-form .input-container {
    min-width: unset;
    width: 100%;
  }
  
  #pip-form .input-field-wrap {
    width: 100%;
  }
  
  #pip-form .input-field-wrap input {
    width: 100%;
    padding: 1rem;
    padding-right: 36px;
  }
  
  #pip-form #submit-btn {
    width: 100%;
    min-width: unset;
  }
  
  /* Logo title */
  .inline-logo-title {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  /* Sections */
  .section,
  .section-white-bg {
    padding: 3rem 2rem;
  }
  
  .section-hero {
    padding: 2rem 0;
  }

  .section-hero h1 {
    font-size: 1.8rem;
  }
  
  .gradient-bg,
  .gradient-bg-breezy {
    min-height: auto;
    padding: 3rem 1rem;
  }
  
  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Profile */
  .profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .bio a {
    display: inline-block;
    margin-top: 1rem;
  }
  
  /* Signup options responsive - stack vertically */
  .signup-options {
    display: flex;
    flex-direction: column;
  }
  
  .text-option {
    order: 1;
    margin-bottom: 1.5rem;
  }
  
  .or-divider-index {
    order: 2;
    text-align: center;
  }
  
  .form-option {
    order: 3;
    margin-bottom: 1.5rem;
  }
  
  /* Text options mobile styling */
  .text-option strong:first-child {
    color: var(--hummingbird);
    font-size: 1.5rem;
  }
  
  .text-option strong:last-child {
    color: var(--pippapop);
    font-size: 2.2rem;
    margin-top: 0.2rem;
  }
  
  .text-option br {
    line-height: 0.5;
  }
  
  /* Consent container mobile adjustments */
  .consent-container {
    gap: 0.35rem;
  }
  
  .consent-container input[type="checkbox"] {
    width: 14px;
    height: 14px;
  }
  
  /* Form and text options mobile */
  .text-option,
  .form-option {
    min-height: unset;
  }
}

/* ========================================================================== */
/* ========== Reduced Motion ========== */
/* ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .hamburger-line {
    transition: none;
  }
  
  .gradient-bg,
  .gradient-bg-breezy {
    animation: none;
  }
}

.img-fixed {
  position: fixed;         /* Keeps the image fixed on the page */
  bottom: 40px;            /* Adjust position: bottom/right/left/top as needed */
  right: 40px;             
  width: 80px;             /* Set desired size */
  z-index: 9999;           /* Ensures it stays on top */
}

@media (max-width: 768px) {
  .img-fixed {
  position: fixed;         /* Keeps the image fixed on the page */
  bottom: 24px;            /* Adjust position: bottom/right/left/top as needed */
  right: 24px;             
  width: 60px;             /* Set desired size */
  z-index: 9999;           /* Ensures it stays on top */
}
