@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;600;700&family=Inter:wght@300;400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --primary: #3b82f6;
  --secondary: #8b5cf6;
  --accent: #ec4899;
  --dark: #0f172a;
  --darker: #020617;
  --light: #f1f5f9;
  --code-bg: rgba(30, 41, 59, 0.4);
  --glass: rgba(15, 23, 42, 0.6);
  --border: rgba(148, 163, 184, 0.1);
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(225deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #f1f5f9;
  overflow-x: hidden;
  position: relative;
}

/* Floating Python code snippets */
.code-background {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 0;
}

.code-snippet {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: rgba(148, 163, 184, 0.2);
  white-space: pre;
  opacity: 0;
  animation: float-code 35s infinite linear;
  pointer-events: none;
  transform: rotate(-12deg);
  line-height: 1.4;
  z-index: 0;
}

@keyframes float-code {
  0% {
    opacity: 0;
    transform: translateY(100vh) translateX(-100px) rotate(-12deg);
  }
  5% {
    opacity: 0.2;
  }
  95% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) translateX(100px) rotate(-12deg);
  }
}

.code-snippet .keyword {
  color: rgba(139, 92, 246, 0.4);
}

.code-snippet .function {
  color: rgba(59, 130, 246, 0.4);
}

.code-snippet .string {
  color: rgba(236, 72, 153, 0.4);
}

.code-snippet .comment {
  color: rgba(100, 116, 139, 0.3);
  font-style: italic;
}

/* Animated gradient orbs */
.gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float-orb 15s infinite ease-in-out;
}

.orb1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  top: -200px;
  right: -200px;
  box-shadow: 0 0 200px rgba(6, 182, 212, 0.4);
}

.orb2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #0891b2, #7c3aed);
  bottom: -100px;
  left: -100px;
  animation-delay: 5s;
  box-shadow: 0 0 150px rgba(139, 92, 246, 0.3);
}

@keyframes float-orb {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 50px) scale(0.9);
  }
}

/* Main container */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem 2rem 2rem;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Glassmorphic card */
.hero-card {
  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 24px;
  padding: 5.5rem 2rem 2.5rem 2rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.03);
  max-width: 750px;
  width: 100%;
  position: relative;
  overflow: visible;
  animation: slideUp 1s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Alternative title design */
.title-wrapper {
  position: relative;
  margin: 2rem 0;
  text-align: center;
  width: 100%;
}

/* Hide original title styles */
.title, .word, .letter, .separator, .title-line { display: none; }

/* New minimalist title design */
.title-alt {
  font-size: clamp(2.5rem, 7vw, 5rem);
  margin: 0;
  padding: 0;
  line-height: 1;
  display: inline-block;
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.08em;
}

.title-first {
  display: block;
  font-size: 0.35em;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: #64748b;
  margin-bottom: -0.2em;
  margin-left: 0;
  margin-right: auto;
  width: fit-content;
  position: relative;
  left: 1.5em;
  opacity: 0;
  transform: translateY(-20px);
  animation: dropIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.profile-pic-main {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(15, 23, 42, 0.6);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: slideInPic 0.8s ease forwards 0.2s;
  transition: all 0.3s ease;
  z-index: 10;
  background: #0f172a;
}

@keyframes slideInPic {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.profile-pic-main:hover {
  transform: translateX(-50%) scale(1.05);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.25);
}

@keyframes dropIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title-main {
  font-weight: 800;
  color: #f1f5f9;
  position: relative;
  display: inline-block;
}

.title-main::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transform: scaleX(0);
  transform-origin: left;
  animation: slideIn 0.8s ease forwards 0.3s;
}

@keyframes slideIn {
  to { transform: scaleX(1); }
}

.title-domain {
  font-weight: 300;
  color: #3b82f6;
  opacity: 0;
  animation: fadeSlide 0.6s ease forwards 0.5s;
  display: inline-block;
  position: relative;
  margin-left: 0;
}

/* Shimmer effect for entire title */
.title-main.shimmer,
.title-domain.shimmer {
  background: linear-gradient(
    45deg,
    #f1f5f9 20%,
    #e2e8f0 30%,
    #cbd5e1 40%,
    #ffffff 50%,
    #cbd5e1 60%,
    #e2e8f0 70%,
    #f1f5f9 80%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}

.title-domain.shimmer {
  opacity: 1 !important;
  background: linear-gradient(
    45deg,
    #3b82f6 20%,
    #60a5fa 30%,
    #93c5fd 40%,
    #dbeafe 50%,
    #93c5fd 60%,
    #60a5fa 70%,
    #3b82f6 80%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
}

.title-cursor {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background: #8b5cf6;
  margin-left: 2px;
  animation: blink 1.2s infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.title-tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  text-align: center;
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  font-family: 'Inter', -apple-system, sans-serif;
  position: relative;
  letter-spacing: -0.02em;
}

.word {
  display: inline-flex;
  position: relative;
}

.letter {
  display: inline-block;
  position: relative;
  color: #f1f5f9;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

/* SAMSON styling */
.word.samson .letter {
  font-weight: 700;
  opacity: 0;
  animation: fadeInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.word.samson .letter:nth-child(1) { animation-delay: 0.1s; }
.word.samson .letter:nth-child(2) { animation-delay: 0.15s; }
.word.samson .letter:nth-child(3) { animation-delay: 0.2s; }
.word.samson .letter:nth-child(4) { animation-delay: 0.25s; }
.word.samson .letter:nth-child(5) { animation-delay: 0.3s; }
.word.samson .letter:nth-child(6) { animation-delay: 0.35s; }

/* ZONE styling */
.word.zone .letter {
  font-weight: 200;
  font-style: italic;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: fadeInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.word.zone .letter:nth-child(1) { animation-delay: 0.5s; }
.word.zone .letter:nth-child(2) { animation-delay: 0.55s; }
.word.zone .letter:nth-child(3) { animation-delay: 0.6s; }
.word.zone .letter:nth-child(4) { animation-delay: 0.65s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effects */
.letter:hover {
  transform: translateY(-5px) scale(1.1);
  color: #3b82f6;
}

.word.zone .letter:hover {
  filter: brightness(1.3);
  transform: translateY(-5px) scale(1.1);
}

/* Separator dot */
.separator {
  width: 6px;
  height: 6px;
  background: #3b82f6;
  border-radius: 50%;
  margin: 0 1rem;
  align-self: center;
  position: relative;
  top: 0.2em;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards 0.45s, pulse 3s ease infinite 1s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  50% { 
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
}

/* Accent lines */
.title-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
  width: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: expandLine 1s ease forwards 0.8s;
}

.title-line.top {
  top: -10px;
}

.title-line.bottom {
  bottom: -10px;
}

@keyframes expandLine {
  to {
    width: 60%;
  }
}

/* Subtle background effect */
.title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05), transparent 70%);
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1s;
}

.subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #94a3b8;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
  animation: fadeIn 1s ease-out 0.3s both;
}

/* Bio Section */
.bio-section {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(30, 41, 59, 0.3);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  animation: fadeIn 1s ease-out 0.6s both;
}

.bio-content {
  max-width: 700px;
  margin: 0 auto;
}

.bio-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  text-align: center;
}

.bio-highlights {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.highlight-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.highlight-stat i {
  font-size: 1.5rem;
  color: #3b82f6;
}

.highlight-number {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-icon {
  font-size: 1.8rem;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.highlight-label {
  font-size: 0.9rem;
  color: #94a3b8;
  text-align: center;
}

.bio-tagline {
  font-size: 1rem;
  color: #cbd5e1;
  text-align: center;
  font-style: italic;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .bio-highlights {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Simple Menu */
.simple-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

/* Blur background content when menu is active */
body.menu-open .container,
body.menu-open .modern-footer,
body.menu-open .code-background,
body.menu-open .gradient-orb {
  filter: blur(8px);
  transition: filter 0.4s ease;
}

.simple-menu.active {
  opacity: 1;
  visibility: visible;
}

.simple-menu-content {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 24px;
  padding: 2rem;
  max-width: 900px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

/* Scrollbar for simple menus */
.simple-menu-content::-webkit-scrollbar {
  width: 8px;
}

.simple-menu-content::-webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.3);
  border-radius: 10px;
}

.simple-menu-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.simple-menu-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #22d3ee, #a855f7);
}

.simple-menu-content {
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 rgba(30, 41, 59, 0.3);
}

/* Blue background for political menu */
#politicalMenu .simple-menu-content {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.simple-menu-title {
  text-align: center;
  color: #f1f5f9;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  grid-column: 1 / -1;
}

.simple-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.values-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(148, 163, 184, 0.3) 20%, rgba(148, 163, 184, 0.6) 50%, rgba(148, 163, 184, 0.3) 80%, transparent 100%);
  margin: 1.5rem 0 2rem 0;
  position: relative;
}

.section-header {
  grid-column: 1 / -1;
  color: rgba(148, 163, 184, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-align: left;
}

.simple-menu-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.25rem;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  color: #f1f5f9;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  height: 100%;
}

.menu-item-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.menu-item-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.menu-item-title {
  font-weight: 700;
  font-size: 1rem;
}

.menu-item-description {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.3;
  margin-top: 0.5rem;
  text-align: left;
}

.simple-menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1));
  transition: width 0.3s ease;
  z-index: -1;
}

.simple-menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

.simple-menu-item:hover::before {
  width: 100%;
}

.simple-menu-item img, .simple-menu-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.simple-menu-item i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #94a3b8;
  font-size: 18px;
  text-align: center;
}

/* Modal Close Button */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  transform: scale(1.1);
}

/* Floating quotes background */
.quotes-background {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.quote-snippet {
  position: absolute;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(148, 163, 184, 0.4);
  font-weight: 600;
  white-space: normal;
  word-wrap: break-word;
  opacity: 0;
  animation: float-quote 25s infinite linear;
  pointer-events: none;
  transform: rotate(-10deg);
  max-width: 280px;
  width: 280px;
  font-style: italic;
  line-height: 1.4;
  padding: 0.5rem;
}

@keyframes float-quote {
  0% {
    opacity: 0;
    transform: translateY(100vh) translateX(-100px) rotate(-10deg);
  }
  2% {
    opacity: 0.25;
  }
  98% {
    opacity: 0.25;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) translateX(100px) rotate(-10deg);
  }
}

.quote-snippet .author {
  color: rgba(59, 130, 246, 0.3);
  font-weight: 600;
  margin-left: 1rem;
}

/* Contact Form Styles */
.contact-menu-content {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 24px;
  padding: 3rem;
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

/* Scrollbar for contact menu */
.contact-menu-content::-webkit-scrollbar {
  width: 8px;
}

.contact-menu-content::-webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.3);
  border-radius: 10px;
}

.contact-menu-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #0891b2, #7c3aed);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.contact-menu-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #67e8f9, #c084fc);
}

.contact-menu-content {
  scrollbar-width: thin;
  scrollbar-color: #ec4899 rgba(30, 41, 59, 0.3);
}

.contact-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-title {
  font-size: 2rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  background: rgba(30, 41, 59, 0.6);
  border: 2px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 1rem;
  color: #f1f5f9;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background: rgba(30, 41, 59, 0.8);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.contact-submit {
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  border: none;
  border-radius: 12px;
  padding: 1rem 2.5rem;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.contact-submit:active {
  transform: translateY(0);
}

.contact-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.contact-footer p {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-status.show {
  opacity: 1;
}

.form-status.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-status.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.contact-submit.loading {
  pointer-events: none;
  opacity: 0.7;
}

/* Mobile responsiveness for contact form */
@media (max-width: 768px) {
  .contact-menu-content {
    padding: 2rem;
    width: 95%;
  }

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

  .contact-title {
    font-size: 1.75rem;
  }

  .contact-subtitle {
    font-size: 1rem;
  }

  .contact-submit {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/* CTA buttons */
.cta-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn 1s ease-out 0.6s both;
}

.cta-button {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cta-primary {
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-secondary {
  background: rgba(30, 41, 59, 0.7);
  color: #f1f5f9;
  border: 2px solid rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(30, 41, 59, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.cta-secondary:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.3);
}

.cta-tertiary {
  background: linear-gradient(135deg, #0891b2, #7c3aed);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

/* Floating Contact Button */
.floating-contact-btn {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0891b2, #7c3aed);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 
    0 8px 25px rgba(236, 72, 153, 0.4),
    0 4px 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  animation: float-gentle 3s ease-in-out infinite;
}

.floating-contact-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 12px 35px rgba(236, 72, 153, 0.5),
    0 6px 15px rgba(0, 0, 0, 0.4);
}

.floating-contact-btn:active {
  transform: translateY(-1px) scale(1.02);
}

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

/* Adjust floating button on mobile */
@media (max-width: 768px) {
  .floating-contact-btn {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    top: 10px;
    right: 10px;
    box-shadow: 
      0 6px 20px rgba(236, 72, 153, 0.4),
      0 3px 8px rgba(0, 0, 0, 0.3);
  }
  
  .floating-contact-btn:hover {
    transform: translateY(-2px) scale(1.03);
  }
  
  /* Footer mobile positioning */
  .modern-footer {
    margin: 0;
    padding: 0;
  }
  
  .disclaimer {
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.7rem;
  }
}

/* Footer */
.modern-footer {
  position: relative;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
  z-index: 2;
  animation: fadeIn 1s ease-out 0.8s both;
}

.modern-footer a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.modern-footer a:hover {
  color: #8b5cf6;
}

.footer-social {
  margin-top: 0.5rem;
}

.social-link {
  margin: 0 0.75rem;
  color: #64748b;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #3b82f6;
}

/* Disclaimer */
.disclaimer {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.7);
  font-style: italic;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.disclaimer:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  
  .container {
    padding: 0.5rem;
    min-height: calc(100vh - 120px);
    margin-bottom: 0;
    overflow: visible;
  }
  
  .hero-card {
    padding-top: 120px; /* Much more space for profile pic */
    padding-bottom: 4rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin: 0;
    max-width: 100%;
    min-height: auto;
    position: relative;
    overflow: visible;
  }

  .title-wrapper {
    padding: 0;
    margin: 1.5rem 0;
  }

  .title-alt {
    font-size: clamp(3rem, 10vw, 4.5rem);
  }

  .title-first {
    font-size: 0.3em;
    left: 1em;
  }

  .profile-pic-main {
    width: 100px;
    height: 100px;
    top: 10px;
    position: relative;
    transform: translateX(-50%);
    left: 50%;
    margin-bottom: 1rem;
  }

  .title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .separator {
    margin: 0 0.75rem;
    width: 6px;
    height: 6px;
  }

  .title-line {
    display: none;
  }

  .subtitle {
    font-size: 1rem;
    padding: 0;
    margin-bottom: 1.5rem;
  }

  .bio-section {
    padding: 1.5rem 1rem;
    margin: 1.5rem 0;
  }

  .bio-text {
    font-size: 1rem;
  }

  .bio-highlights {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .highlight-number,
  .highlight-icon {
    font-size: 1.5rem;
  }

  .cta-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    min-height: 48px; /* Touch target minimum */
    border-radius: 12px;
  }

  /* Adjust floating code for mobile */
  .code-snippet {
    font-size: 10px;
    animation-duration: 40s !important; /* Slower on mobile for performance */
  }
  
  /* Reduce floating animations on mobile for battery life */
  @media (prefers-reduced-motion: reduce) {
    .code-snippet,
    .quote-snippet,
    .title-main.shimmer,
    .title-domain.shimmer {
      animation: none !important;
    }
    
    .gradient-orb {
      animation: none !important;
    }
  }

  /* Adjust orbs for mobile */
  .orb1 {
    width: 300px;
    height: 300px;
  }

  .orb2 {
    width: 200px;
    height: 200px;
  }

  /* Simple menu items for mobile */
  .simple-menu-content {
    padding: 1.5rem;
    width: 95%;
    max-height: 90vh;
  }

  .simple-menu-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .simple-menu-item {
    font-size: 0.95rem;
    padding: 1rem;
    min-height: 44px; /* Apple touch target guideline */
    display: flex;
    align-items: center;
  }

  .menu-item-content {
    width: 100%;
  }

  .menu-item-header {
    margin-bottom: 0.4rem;
  }

  .menu-item-description {
    margin-left: 2.2rem;
    font-size: 0.85rem;
    line-height: 1.3;
    text-align: left;
  }

  .simple-menu-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
}

/* Small mobile devices */
@media (max-width: 375px) {
  .container {
    padding: 0.75rem 0.75rem 6rem 0.75rem;
  }
  
  .hero-card {
    padding: 4.5rem 1rem 3rem 1rem;
  }
  
  .title-alt {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }
  
  .title-first {
    font-size: 0.28em;
    left: 0.8em;
  }
  
  .profile-pic-main {
    width: 90px;
    height: 90px;
    top: 15px;
    position: relative;
    transform: translateX(-50%);
    left: 50%;
    margin-bottom: 1rem;
  }

  .title {
    font-size: clamp(1.75rem, 12vw, 3rem);
  }

  .word.samson .letter,
  .word.zone .letter {
    letter-spacing: -0.03em;
  }
  
  .subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .bio-section {
    padding: 1rem 0.75rem;
    margin: 1rem 0;
  }

  .bio-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .bio-tagline {
    font-size: 0.85rem;
  }
  
  .floating-contact-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    top: 15px;
    right: 15px;
  }
}

/* Content Overlay System */
.content-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.65) 0%, 
    rgba(30, 41, 59, 0.65) 100%);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  animation: overlayEntrance 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.content-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(212, 175, 55, 0.05) 25%, 
    rgba(245, 158, 11, 0.08) 50%, 
    rgba(212, 175, 55, 0.05) 75%, 
    transparent 100%);
  animation: backgroundShimmer 8s ease-in-out infinite;
  pointer-events: none;
  opacity: 0;
  animation-delay: 2s;
}

@keyframes backgroundShimmer {
  0% { 
    opacity: 0;
    transform: translateX(-100%);
  }
  20% {
    opacity: 0.6;
  }
  80% {
    opacity: 0.6;
  }
  100% { 
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes overlayEntrance {
  0% {
    opacity: 0;
    transform: scale(0.8) rotateX(15deg);
    filter: blur(20px);
  }
  30% {
    opacity: 0.3;
    transform: scale(0.95) rotateX(8deg);
    filter: blur(10px);
  }
  60% {
    opacity: 0.7;
    transform: scale(1.02) rotateX(-2deg);
    filter: blur(3px);
  }
  85% {
    opacity: 0.9;
    transform: scale(0.99) rotateX(1deg);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateX(0deg);
    filter: blur(0px);
  }
}

.overlay-content {
  max-width: 800px;
  height: 80vh;
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  animation: contentSlideIn 1s ease-out 0.3s forwards;
}

.content-header {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #d4af37 0%, #f59e0b 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
  animation: titleGlow 3s ease-in-out infinite alternate;
  flex-shrink: 0;
  z-index: 10;
  opacity: 0;
  animation: titleSimpleFadeIn 1s ease-out 0.6s forwards, titleGlow 3s ease-in-out infinite alternate 1.6s;
}

@keyframes titleGlow {
  0% { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3)); }
  100% { filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.6)); }
}

@keyframes contentSlideIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes titleSimpleFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes subtitleSimpleFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.8;
  }
}

@keyframes textSimpleFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.content-subheader {
  font-size: 1.2rem;
  text-align: center;
  color: #cbd5e1;
  margin-bottom: 2rem;
  font-style: italic;
  opacity: 0;
  flex-shrink: 0;
  z-index: 10;
  animation: subtitleSimpleFadeIn 0.8s ease-out 1s forwards;
}

.content-body {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  line-height: 1.8;
  color: #f1f5f9;
  font-family: 'Crimson Text', serif;
  text-align: justify;
  position: absolute;
  top: 300px;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  overflow: hidden;
  -webkit-mask: linear-gradient(to bottom, transparent 0%, black 150px, black calc(100% - 40px), transparent 100%);
  mask: linear-gradient(to bottom, transparent 0%, black 150px, black calc(100% - 40px), transparent 100%);
  opacity: 0;
  animation: textSimpleFadeIn 0.8s ease-out 1.4s forwards;
}

.scrollable-text {
  transform: translateY(100px);
  padding-top: 300px;
  padding-bottom: 150vh;
  opacity: 0;
}

@keyframes contentScroll {
  0% { 
    transform: translateY(50px); 
  }
  100% { 
    transform: translateY(-100%); 
  }
}

.content-overlay.scrolling .scrollable-text {
  animation: contentScroll 60s linear 2.8s forwards;
  opacity: 1;
}

.content-body p {
  margin-bottom: 1.5rem;
}

.content-body strong {
  color: #dc2626;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(220, 38, 38, 0.6);
  background: linear-gradient(135deg, #ef4444 0%, #fca5a5 25%, #dc2626 50%, #b91c1c 75%, #dc2626 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: emphasizedGlow 4s ease-in-out infinite alternate, emphasizedShimmer 6s ease-in-out infinite;
  position: relative;
}

@keyframes emphasizedGlow {
  0% { 
    filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.4));
    text-shadow: 0 0 15px rgba(220, 38, 38, 0.6);
  }
  100% { 
    filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.8));
    text-shadow: 0 0 25px rgba(220, 38, 38, 0.9);
  }
}

@keyframes emphasizedShimmer {
  0% { background-position: -200% 0; }
  50% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.overlay-fade-out {
  animation: overlayFadeOut 2s ease-in forwards;
}

.overlay-exit {
  animation: overlayFadeOut 1s ease-in forwards;
}

@keyframes overlayFadeOut {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.02);
  }
  100% { 
    opacity: 0;
    transform: scale(0.95);
    filter: blur(5px);
  }
}

/* Background blur when content overlay is active */
.content-active #quotesBackground {
  filter: brightness(0.6) blur(3px);
  transition: all 1s ease;
}

.content-active .code-background {
  filter: brightness(0.8) blur(2px);
  transition: all 1s ease;
}

.content-active .container {
  filter: blur(1px) brightness(0.8);
  transition: all 1s ease;
}

.content-active .modern-footer {
  filter: blur(1px) brightness(0.7);
  transition: all 1s ease;
}

.content-active .gradient-orb {
  filter: blur(2px) brightness(0.7);
  transition: all 1s ease;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .overlay-content {
    padding: 1rem;
    height: 85vh;
  }
  
  .content-body {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .content-header {
    font-size: 2rem;
  }
}

/* Interactive Text Element */
.text-trigger {
  cursor: pointer;
  color: #3b82f6;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.text-trigger:hover {
  color: #1d4ed8;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
  transform: scale(1.05);
}

.text-trigger:active {
  color: #1e40af;
  transform: scale(0.98);
  text-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
}

.quotes-showcase {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  overflow: hidden;
}

.quotes-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, 
    rgba(59, 130, 246, 0.1) 0%, 
    rgba(139, 92, 246, 0.05) 50%, 
    transparent 70%);
  animation: backgroundPulse 8s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes backgroundPulse {
  0% { 
    transform: scale(1);
    opacity: 0.3;
  }
  100% { 
    transform: scale(1.2);
    opacity: 0.6;
  }
}

.quote-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 2rem;
  z-index: 1;
}

.quote-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: quoteEntrance 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes quoteEntrance {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8) rotateX(15deg);
  }
  60% {
    transform: translateY(-10px) scale(1.02) rotateX(-5deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
  }
}

.quote-text {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 100;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 3rem;
  max-width: 900px;
  position: relative;
  background: linear-gradient(135deg, 
    #ffffff 0%, 
    #e2e8f0 20%, 
    #3b82f6 40%, 
    #8b5cf6 60%, 
    #ec4899 80%, 
    #f59e0b 100%);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowFlow 6s ease-in-out infinite, textFloat 4s ease-in-out infinite alternate;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.5);
  filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
}

@keyframes rainbowFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes textFloat {
  0% { 
    transform: translateY(0px);
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
  }
  100% { 
    transform: translateY(-8px);
    filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.6));
  }
}

.quote-text::before {
  content: '"';
  position: absolute;
  left: -0.3em;
  top: -0.1em;
  font-size: 1.5em;
  opacity: 0.3;
  color: #3b82f6;
  animation: quoteGlow 3s ease-in-out infinite alternate;
}

.quote-text::after {
  content: '"';
  position: absolute;
  right: -0.3em;
  bottom: 0.1em;
  font-size: 1.5em;
  opacity: 0.3;
  color: #8b5cf6;
  animation: quoteGlow 3s ease-in-out infinite alternate-reverse;
}

@keyframes quoteGlow {
  0% { 
    opacity: 0.3;
    transform: scale(1);
  }
  100% { 
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.quote-author {
  font-size: 1.8rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.1em;
  position: relative;
  text-transform: uppercase;
  animation: authorGlow 4s ease-in-out infinite alternate;
}

@keyframes authorGlow {
  0% { 
    color: #cbd5e1;
    text-shadow: 0 0 20px rgba(203, 213, 225, 0.3);
  }
  100% { 
    color: #f1f5f9;
    text-shadow: 0 0 40px rgba(241, 245, 249, 0.6);
  }
}

.quote-author::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent, 
    #3b82f6, 
    #8b5cf6, 
    #ec4899, 
    transparent);
  border-radius: 2px;
  animation: lineGlow 4s ease-in-out infinite;
}

@keyframes lineGlow {
  0% { 
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transform: translateX(-50%) scaleX(0.8);
  }
  100% { 
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
    transform: translateX(-50%) scaleX(1.2);
  }
}

.quote-navigation {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid transparent;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent) top / 100% 2px no-repeat;
  position: relative;
}

.quote-navigation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, #ec4899, transparent);
  animation: navLineFlow 4s ease-in-out infinite;
}

@keyframes navLineFlow {
  0% { opacity: 0.3; transform: scaleX(0.5); }
  50% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0.3; transform: scaleX(0.5); }
}

.nav-dots {
  display: flex;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.2);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 3px solid rgba(59, 130, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, #3b82f6, #8b5cf6);
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
}

.dot:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.5);
  transform: scale(1.4) rotate(180deg);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.dot:hover::before {
  width: 200%;
  height: 200%;
}

.dot.active {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.6);
  box-shadow: 
    0 0 40px rgba(59, 130, 246, 0.8),
    0 0 80px rgba(139, 92, 246, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  animation: activeDotPulse 2s ease-in-out infinite;
}

@keyframes activeDotPulse {
  0%, 100% { 
    transform: scale(1.6);
    box-shadow: 
      0 0 40px rgba(59, 130, 246, 0.8),
      0 0 80px rgba(139, 92, 246, 0.4),
      inset 0 0 20px rgba(255, 255, 255, 0.2);
  }
  50% { 
    transform: scale(1.8);
    box-shadow: 
      0 0 60px rgba(59, 130, 246, 1),
      0 0 120px rgba(139, 92, 246, 0.6),
      inset 0 0 30px rgba(255, 255, 255, 0.4);
  }
}

.special-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-quote {
  font-style: italic;
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 1rem;
}

.quote-author {
  display: block;
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #64748b;
  opacity: 0.8;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .special-content {
    width: 95%;
    padding: 1.5rem;
    border-radius: 16px;
    max-height: 95vh;
  }

  .special-header {
    padding: 0 1rem;
    margin-bottom: 2rem;
  }

  .special-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .metric-card {
    padding: 1.25rem;
  }

  .metric-icon {
    font-size: 2rem;
  }

  .metric-value {
    font-size: 1.25rem;
  }
}