/* ============================================
   Footer Redesign - Modern Minimal Style
   ============================================ */

/* Footer Base */
.site-footer-new {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: background-color 0.7s ease, color 0.7s ease;
}

/* Dark Mode (default) - Enhanced bluish undertone with glassmorphic border */
.site-footer-new {
  background:
    radial-gradient(ellipse 100% 40% at 50% 0%, rgba(20, 40, 80, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, #0c1128 0%, #060912 100%);
  color: #e5e5e5;
  border-top: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  box-shadow:
    inset 0 3px 0 rgba(140, 182, 255, 0.25),
    0 0 60px -20px rgba(140, 182, 255, 0.15);
}

/* Gradient border at top - glassmorphic effect */
.site-footer-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(140, 182, 255, 0.08) 0%,
    rgba(140, 182, 255, 0.35) 30%,
    rgba(140, 182, 255, 0.4) 50%,
    rgba(140, 182, 255, 0.35) 70%,
    rgba(140, 182, 255, 0.08) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Top glow effect - light from top */
.site-footer-new::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background:
    radial-gradient(
      ellipse 80% 100% at center top,
      rgba(140, 182, 255, 0.18) 0%,
      rgba(140, 182, 255, 0.1) 25%,
      rgba(140, 182, 255, 0.04) 50%,
      transparent 80%
    );
  pointer-events: none;
  z-index: 0;
}

/* Light Mode - class-based */
.site-footer-new.light-mode {
  background-color: var(--surface-1);
  color: #171717;
  border-top: 2px solid transparent;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.02);
}

/* Light mode gradient border at top */
.site-footer-new.light-mode::before {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.08) 30%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.08) 70%,
    rgba(0, 0, 0, 0.02) 100%
  );
}

/* Light mode top glow effect */
.site-footer-new.light-mode::after {
  background:
    radial-gradient(
      ellipse 80% 100% at center top,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.6) 25%,
      rgba(255, 255, 255, 0.3) 50%,
      transparent 80%
    );
}

/* Light Mode - follows global data-theme attribute */
:root:not([data-theme="dark"]) .site-footer-new {
  background:
    radial-gradient(ellipse 100% 40% at 50% 0%, rgba(255, 255, 255, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
  color: #171717;
  border-top: 2px solid transparent;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);
}

:root:not([data-theme="dark"]) .site-footer-new::before {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.08) 30%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.08) 70%,
    rgba(0, 0, 0, 0.02) 100%
  );
}

:root:not([data-theme="dark"]) .site-footer-new::after {
  background:
    radial-gradient(
      ellipse 80% 100% at center top,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.7) 25%,
      rgba(255, 255, 255, 0.4) 50%,
      transparent 80%
    );
}

/* Theme Toggle Button - Hidden (follows global theme) */
.footer-theme-toggle {
  display: none;
}

/* Footer Content Container - Compact padding */
.footer-content-wrapper {
  flex-grow: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1.5rem;
  position: relative;
  z-index: 2;
}

/* CTA Section - Compact */
.footer-cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
  align-items: end;
}

.footer-cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0;
}

.footer-cta-right {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-cta-subtitle {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.site-footer-new .footer-cta-subtitle {
  color: #a3a3a3;
}

.site-footer-new.light-mode .footer-cta-subtitle {
  color: #525252;
}

/* Email Input Field - Text input style */
.email-input-wrapper {
  position: relative;
  width: fit-content;
}

.email-input-field {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.site-footer-new .email-input-field {
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, rgba(15, 22, 41, 0.8) 0%, rgba(10, 15, 30, 0.85) 100%) padding-box,
    linear-gradient(180deg, rgba(140, 182, 255, 0.3), rgba(140, 182, 255, 0.08)) border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 8px 24px -8px rgba(0, 0, 0, 0.6),
    inset 0 2px 0 rgba(140, 182, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(140, 182, 255, 0.12);
}

@media (hover: hover) {
  .site-footer-new .email-input-field:hover {
    background:
      linear-gradient(180deg, rgba(18, 26, 48, 0.85) 0%, rgba(12, 18, 35, 0.9) 100%) padding-box,
      linear-gradient(180deg, rgba(140, 182, 255, 0.4), rgba(140, 182, 255, 0.12)) border-box;
    background-clip: padding-box, border-box;
    box-shadow:
      0 12px 32px -8px rgba(0, 0, 0, 0.7),
      inset 0 2px 0 rgba(140, 182, 255, 0.25),
      inset 0 -1px 0 rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(140, 182, 255, 0.18);
  }
}

.site-footer-new.light-mode .email-input-field {
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 252, 253, 0.95) 100%) padding-box,
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.03)) border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 6px 20px -6px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);
}

@media (hover: hover) {
  .site-footer-new.light-mode .email-input-field:hover {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(252, 252, 253, 0.98) 100%) padding-box,
      linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.05)) border-box;
    background-clip: padding-box, border-box;
    box-shadow:
      0 8px 26px -6px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -1px 0 rgba(0, 0, 0, 0.04);
  }
}

.email-input-text {
  flex: 1;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  border: none;
  background: transparent;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

@media (hover: hover) {
  .email-input-text:hover {
    opacity: 0.7;
  }
}

.site-footer-new .email-input-text {
  color: #e5e5e5;
}

.site-footer-new.light-mode .email-input-text {
  color: #171717;
}

.email-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  margin: 4px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-slow) var(--ease-smooth);
  white-space: nowrap;
  min-width: 90px;
  position: relative;
  overflow: hidden;
}

.site-footer-new .email-copy-btn {
  background:
    linear-gradient(135deg, rgba(15, 20, 35, 0.9) 0%, rgba(8, 12, 20, 0.95) 100%) padding-box,
    linear-gradient(180deg, rgba(140, 182, 255, 0.3), rgba(140, 182, 255, 0.08)) border-box;
  background-clip: padding-box, border-box;
  color: #e5e5e5;
  box-shadow:
    0 8px 24px -8px rgba(0, 0, 0, 0.6),
    inset 0 2px 0 rgba(140, 182, 255, 0.25),
    0 0 0 1px rgba(140, 182, 255, 0.15),
    0 0 30px -10px rgba(140, 182, 255, 0.1);
}

.site-footer-new .email-copy-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: radial-gradient(
    ellipse 100% 100% at center top,
    rgba(140, 182, 255, 0.15) 0%,
    rgba(140, 182, 255, 0.06) 50%,
    transparent 80%
  );
  border-radius: 6px 6px 0 0;
  pointer-events: none;
  z-index: 0;
}

@media (hover: hover) {
  .site-footer-new .email-copy-btn:hover {
    box-shadow:
      0 12px 32px -8px rgba(0, 0, 0, 0.8),
      inset 0 2px 0 rgba(140, 182, 255, 0.35),
      0 0 0 1px rgba(140, 182, 255, 0.25),
      0 0 40px -8px rgba(140, 182, 255, 0.15);
    transform: translateY(-2px);
  }
}

.site-footer-new.light-mode .email-copy-btn {
  background:
    linear-gradient(135deg, rgba(23, 23, 23, 0.98) 0%, rgba(23, 23, 23, 0.95) 100%) padding-box,
    linear-gradient(180deg, rgba(139, 111, 71, 0.28), rgba(139, 111, 71, 0.06)) border-box;
  background-clip: padding-box, border-box;
  color: #fff;
  box-shadow:
    0 8px 24px -8px rgba(139, 111, 71, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(139, 111, 71, 0.08);
}

.site-footer-new.light-mode .email-copy-btn::before {
  background: radial-gradient(
    ellipse 100% 100% at center top,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 80%
  );
}

@media (hover: hover) {
  .site-footer-new.light-mode .email-copy-btn:hover {
    box-shadow:
      0 12px 32px -8px rgba(139, 111, 71, 0.15),
      inset 0 2px 0 rgba(255, 255, 255, 0.15),
      0 0 0 1px rgba(139, 111, 71, 0.12);
    transform: translateY(-2px);
  }
}

.email-copy-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.email-copy-btn .check-icon {
  display: none;
}

.email-copy-btn .btn-text {
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Copied State - White button with circle check */
.site-footer-new .email-copy-btn.copied {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%) padding-box,
    linear-gradient(180deg, rgba(52, 211, 153, 0.35), rgba(52, 211, 153, 0.12)) border-box !important;
  background-clip: padding-box, border-box !important;
  color: #171717 !important;
  box-shadow:
    0 8px 24px -8px rgba(52, 211, 153, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(52, 211, 153, 0.25),
    0 0 30px -10px rgba(52, 211, 153, 0.15) !important;
}

.site-footer-new .email-copy-btn.copied::before {
  background: radial-gradient(
    ellipse 100% 100% at center top,
    rgba(52, 211, 153, 0.12) 0%,
    rgba(52, 211, 153, 0.04) 50%,
    transparent 80%
  ) !important;
}

.site-footer-new.light-mode .email-copy-btn.copied {
  background:
    linear-gradient(135deg, rgba(23, 23, 23, 0.98) 0%, rgba(23, 23, 23, 0.95) 100%) padding-box,
    linear-gradient(180deg, rgba(52, 211, 153, 0.35), rgba(52, 211, 153, 0.12)) border-box !important;
  background-clip: padding-box, border-box !important;
  color: #fff !important;
  box-shadow:
    0 8px 24px -8px rgba(52, 211, 153, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(52, 211, 153, 0.25),
    0 0 30px -10px rgba(52, 211, 153, 0.15) !important;
}

.site-footer-new.light-mode .email-copy-btn.copied::before {
  background: radial-gradient(
    ellipse 100% 100% at center top,
    rgba(52, 211, 153, 0.08) 0%,
    rgba(52, 211, 153, 0.02) 50%,
    transparent 80%
  ) !important;
}

.email-copy-btn.copied .copy-icon {
  display: none;
}

.email-copy-btn.copied .check-icon {
  display: block;
  animation: circleCheckIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.email-copy-btn.copied .btn-text {
  animation: textSwap 0.3s ease;
}

/* Cute Copied Toast */
.copy-toast {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
  z-index: 100;
}

.site-footer-new .copy-toast {
  background: #3f3f3f;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.site-footer-new.light-mode .copy-toast {
  background: #525252;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copy-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.copy-toast-content {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.copy-toast-content svg {
  width: 14px;
  height: 14px;
}

@keyframes checkPop {
  0% {
    transform: scale(0) rotate(-45deg);
  }
  50% {
    transform: scale(1.2) rotate(0deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* Smart animate circle check */
@keyframes circleCheckIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  40% {
    transform: scale(1.15);
    opacity: 1;
  }
  60% {
    transform: scale(0.95);
  }
  80% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes textSwap {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Confetti animation for extra cuteness */
.email-input-wrapper.copied::before,
.email-input-wrapper.copied::after {
  content: '';
  position: absolute;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: confetti 0.6s ease-out forwards;
  pointer-events: none;
}

.email-input-wrapper.copied::before {
  left: 30%;
  background: #ffffff;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

.email-input-wrapper.copied::after {
  right: 30%;
  background: #d4d4d4;
  box-shadow: 0 0 4px rgba(212, 212, 212, 0.6);
  animation-delay: 0.1s;
}

@keyframes confetti {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(0.5);
  }
}

/* Footer Links Grid - Compact */
.footer-links-grid {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 2rem 0 0;
  border-top: 1px solid;
}

/* Location column - pushed to the right */
.footer-location-column {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-end;
  text-align: right;
}

.site-footer-new .footer-links-grid {
  border-color: rgba(140, 182, 255, 0.12);
}

.site-footer-new.light-mode .footer-links-grid {
  border-color: #d4d4d4;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-links-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.4;
  margin-bottom: 0;
  height: 22px;
  display: flex;
  align-items: center;
}

.footer-links-column a {
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  line-height: 1;
  height: 22px;
}

.site-footer-new .footer-links-column a {
  color: #d4d4d4;
}

@media (hover: hover) {
  .site-footer-new .footer-links-column a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

.site-footer-new.light-mode .footer-links-column a {
  color: #404040;
}

@media (hover: hover) {
  .site-footer-new.light-mode .footer-links-column a:hover {
    color: #000;
  }
}

.footer-links-column p {
  font-size: 0.85rem;
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

.site-footer-new .footer-links-column p {
  color: #d4d4d4;
}

.site-footer-new.light-mode .footer-links-column p {
  color: #404040;
}

.footer-links-column p.opacity-60 {
  opacity: 0.6;
}

/* Live Time Display */
#footer-live-time {
  display: inline-flex;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

#footer-live-time .time-char {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#footer-live-time .time-char.digit-shift {
  animation: digitShift 0.3s ease;
}

@keyframes digitShift {
  0% {
    opacity: 0.3;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Social Link Arrow */
.social-link-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

@media (hover: hover) {
  .footer-links-column a:hover .social-link-arrow {
    opacity: 1;
    transform: translateX(0);
  }
}

.social-link-arrow svg {
  width: 11px;
  height: 11px;
}

/* Location & Time Ticker Pill */
.location-time-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 2px solid transparent;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  width: fit-content;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.site-footer-new .location-time-pill {
  background:
    linear-gradient(135deg, rgba(15, 20, 35, 0.85) 0%, rgba(8, 12, 20, 0.9) 100%) padding-box,
    linear-gradient(180deg, rgba(140, 182, 255, 0.25), rgba(140, 182, 255, 0.06)) border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 6px 20px -8px rgba(0, 0, 0, 0.6),
    inset 0 2px 0 rgba(140, 182, 255, 0.2),
    0 0 0 1px rgba(140, 182, 255, 0.12),
    0 0 30px -12px rgba(140, 182, 255, 0.08);
}

.site-footer-new .location-time-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: radial-gradient(
    ellipse 100% 100% at center top,
    rgba(140, 182, 255, 0.12) 0%,
    rgba(140, 182, 255, 0.05) 50%,
    transparent 80%
  );
  border-radius: 8px 8px 0 0;
  pointer-events: none;
  z-index: 0;
}

.site-footer-new.light-mode .location-time-pill {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%) padding-box,
    linear-gradient(180deg, rgba(139, 111, 71, 0.28), rgba(139, 111, 71, 0.06)) border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 8px 24px -8px rgba(139, 111, 71, 0.08),
    inset 0 2px 0 rgba(255, 255, 255, 0.8),
    0 0 0 1px rgba(139, 111, 71, 0.08);
}

.site-footer-new.light-mode .location-time-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: radial-gradient(
    ellipse 100% 100% at center top,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 80%
  );
  border-radius: 8px 8px 0 0;
  pointer-events: none;
  z-index: 0;
}

.location-side {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  position: relative;
  z-index: 1;
}

.location-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.site-footer-new .location-icon {
  color: #a3a3a3;
}

.site-footer-new.light-mode .location-icon {
  color: #737373;
}

.location-text {
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.site-footer-new .location-text {
  color: #e5e5e5;
}

.site-footer-new.light-mode .location-text {
  color: #262626;
}

.pill-separator {
  width: 1px;
  height: 1rem;
  opacity: 0.3;
  position: relative;
  z-index: 1;
}

.site-footer-new .pill-separator {
  background: #737373;
}

.site-footer-new.light-mode .pill-separator {
  background: #a3a3a3;
}

.time-side {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  position: relative;
  z-index: 1;
}

.time-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.site-footer-new .time-icon {
  color: #a3a3a3;
}

.site-footer-new.light-mode .time-icon {
  color: #737373;
}

.time-value {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
}

.site-footer-new .time-value {
  color: #e5e5e5;
}

.site-footer-new.light-mode .time-value {
  color: #262626;
}

.time-icon {
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.site-footer-new .time-icon {
  color: #a3a3a3;
}

.site-footer-new.light-mode .time-icon {
  color: #737373;
}

/* Time icon states */
.time-icon.morning { color: #fb923c; }
.time-icon.working { color: #10b981; }
.time-icon.evening { color: #a78bfa; }
.time-icon.night { color: #737373; }

.status-display {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.status-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
}

.status-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #10b981;
  animation: statusPing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #10b981;
}

/* Status dot colors */
.status-dot.morning::before,
.status-dot.morning::after { background: #fb923c; }

.status-dot.working::before,
.status-dot.working::after { background: #10b981; }

.status-dot.evening::before,
.status-dot.evening::after { background: #a78bfa; }

.status-dot.night::before,
.status-dot.night::after { background: #737373; }

.status-dot.night::before { animation: none; }

@keyframes statusPing {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.status-text {
  font-size: 0.625rem;
  font-weight: 500;
}

.site-footer-new .status-text {
  color: #737373;
}

.site-footer-new.light-mode .status-text {
  color: #737373;
}

/* SVG Name Section - Seamless with main footer */
.footer-svg-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.site-footer-new .footer-svg-section {
  background: transparent;
  border-top: 1px solid rgba(140, 182, 255, 0.08);
}

.site-footer-new.light-mode .footer-svg-section {
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-svg-container {
  width: 100%;
  padding: 0.25rem 1rem 0.75rem;
}

.footer-svg-name {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

.footer-svg-name text {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  opacity: 0.18;
}

/* Dark mode gradient - fades to dark background */
.site-footer-new .footer-svg-name text {
  fill: url(#footer-text-gradient-dark);
}

.site-footer-new.light-mode .footer-svg-name text {
  fill: url(#footer-text-gradient-light);
}

/* ============================================
   Global Theme Support - Footer follows data-theme
   ============================================ */

/* Light theme text colors */
:root:not([data-theme="dark"]) .site-footer-new .footer-cta-subtitle {
  color: #525252;
}

:root:not([data-theme="dark"]) .site-footer-new .footer-links-column a {
  color: #404040;
}

@media (hover: hover) {
  :root:not([data-theme="dark"]) .site-footer-new .footer-links-column a:hover {
    color: #000;
  }
}

:root:not([data-theme="dark"]) .site-footer-new .footer-links-column p {
  color: #404040;
}

:root:not([data-theme="dark"]) .site-footer-new .footer-links-grid {
  border-color: #d4d4d4;
}

:root:not([data-theme="dark"]) .site-footer-new .location-text,
:root:not([data-theme="dark"]) .site-footer-new .time-value {
  color: #262626;
}

:root:not([data-theme="dark"]) .site-footer-new .location-icon,
:root:not([data-theme="dark"]) .site-footer-new .time-icon {
  color: #737373;
}

:root:not([data-theme="dark"]) .site-footer-new .status-text {
  color: #737373;
}

:root:not([data-theme="dark"]) .site-footer-new .pill-separator {
  background: #a3a3a3;
}

:root:not([data-theme="dark"]) .site-footer-new .email-input-text {
  color: #171717;
}

:root:not([data-theme="dark"]) .site-footer-new .footer-svg-section {
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

:root:not([data-theme="dark"]) .site-footer-new .footer-svg-name text {
  fill: url(#footer-text-gradient-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .footer-cta-section {
    gap: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .footer-cta-title {
    font-size: clamp(1.85rem, 4.5vw, 3rem);
  }

  .footer-cta-right {
    padding-left: 1rem;
  }
}

@media (max-width: 900px) {
  .footer-content-wrapper {
    padding: 2.25rem 1.5rem 1.25rem;
  }

  .footer-cta-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .footer-links-grid {
    gap: 2rem;
    padding: 1.25rem 0;
  }

  .footer-cta-right {
    padding-left: 0;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .footer-content-wrapper {
    padding: 2rem 1.5rem 1.25rem;
  }

  .footer-cta-section {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .footer-cta-right {
    padding-left: 0;
    align-items: flex-start;
    text-align: left;
  }

  .footer-cta-title {
    font-size: clamp(1.6rem, 7vw, 2.25rem);
    line-height: 1.15;
  }

  .footer-links-grid {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.25rem 0;
  }

  .footer-location-column {
    margin-left: 0;
    width: 100%;
  }

  .email-input-wrapper {
    width: fit-content;
    max-width: 100%;
  }

  .footer-theme-toggle {
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-content-wrapper {
    padding: 1.75rem 1rem 1rem;
  }

  .footer-cta-section {
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .footer-cta-title {
    font-size: clamp(1.35rem, 9vw, 1.75rem);
    line-height: 1.2;
  }

  .footer-links-grid {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .email-input-text {
    font-size: 0.8rem;
    padding: 0.75rem;
  }

  .email-copy-btn {
    padding: 0.6rem 0.75rem;
    font-size: 0.75rem;
  }

  .footer-svg-container {
    padding: 0.15rem 0.5rem 0.5rem;
  }

  .copy-toast {
    top: -35px;
    font-size: 0.7rem;
    padding: 0.4rem 0.75rem;
  }
}

/* Light mode fallback when data-theme is set but class is missing */
:root[data-theme="light"] .site-footer-new {
  background-color: var(--surface-1);
  color: #171717;
  border-top: 2px solid transparent;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.02);
}

:root[data-theme="light"] .site-footer-new::before {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.08) 30%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.08) 70%,
    rgba(0, 0, 0, 0.02) 100%
  );
}

:root[data-theme="light"] .site-footer-new::after {
  background:
    radial-gradient(
      ellipse 80% 100% at center top,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.6) 25%,
      rgba(255, 255, 255, 0.3) 50%,
      transparent 80%
    );
}

:root[data-theme="light"] .site-footer-new .footer-cta-subtitle,
:root[data-theme="light"] .site-footer-new .email-input-text,
:root[data-theme="light"] .site-footer-new .footer-links-column a,
:root[data-theme="light"] .site-footer-new .footer-links-column p,
:root[data-theme="light"] .site-footer-new .location-text,
:root[data-theme="light"] .site-footer-new .time-value,
:root[data-theme="light"] .site-footer-new .status-text {
  color: #171717;
}

:root[data-theme="light"] .site-footer-new .footer-svg-name text {
  fill: url(#footer-text-gradient-light);
}
