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

body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: #f8f4f0;
  color: #2d3c34;
}

/* Container for consistent page margins */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

/* Header styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10000;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 100001 !important;
  transform-style: preserve-3d;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  color: #7e8d95;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
}

.logo a:hover {
  color: #16214c;
  transition: color 0.3s ease;
}

.logo img {
  height: 3rem;
  width: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav a {
  text-decoration: none;
  color: #2d3c34;
  font-size: 1.1rem;
}

.dropdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.dropdown-arrow {
  font-size: 0.75rem;
}

/* Navigation Dropdown Menu */
nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 10px;
}

nav .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav .dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #2d3c34;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1rem;
}

nav .dropdown-menu a:hover {
  background-color: #f7f7f7;
  color: #6B46C1;
}

nav .dropdown-menu a:first-child {
  border-radius: 8px 8px 0 0;
}

nav .dropdown-menu a:last-child {
  border-radius: 0 0 8px 8px;
}

.cta-button {
  background: linear-gradient(135deg, #f5f0e6 0%, #e8ddc7 100%);
  color: #5c4a3a;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.55rem 1.5rem;
  border: 1px solid #d4c4a0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 30%, rgba(139, 115, 85, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 70%, rgba(160, 140, 110, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-button:hover {
  transform: translateY(1px);
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.1),
    inset 0 -1px 2px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #ede8de 0%, #e0d5bf 100%);
  color: #4a3a2a;
}

.cta-button:active {
  transform: translateY(2px);
  box-shadow: 
    0 0 1px rgba(0, 0, 0, 0.1),
    inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Hero section styles */
.hero {
  max-width: 1400px;
  margin: 3rem auto 1rem auto;
  padding: 0 4rem;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.hero-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 17 / 18;
  max-width: 600px;
  margin: auto;
  border-radius: 1rem;
}

#hero-video, #hero-video-2, #hero-video-3, .davinci-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  border-radius: 1rem;
  transition: opacity 0.4s ease-in-out;
}

#hero-video {
  z-index: 1;
}

#hero-video-2 {
  z-index: 2;
}

#hero-video-3 {
  z-index: 3;
}

.davinci-image {
  z-index: 0;
}

#sound-toggle {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: rgba(45, 60, 52, 0.85);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  z-index: 100;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  opacity: 0.3;
}

.davinci-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-text h1 {
  font-size: 3.4rem;
}

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 4rem;
  line-height: 1.1;
  color: #2d3c34;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgb(30, 58, 43);
  max-width: 100%;
  margin-bottom: 1rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.feature {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.8rem;
  align-items: start;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.8rem;
  line-height: 1;
  position: relative;
  top: 0.1rem;
}

.feature-icon-star {
  font-size: 1.8rem;
  top: 0.05rem;
}

.feature-icon-rotate {
  font-size: 1.8rem;
  top: 0.05rem;
}

.feature .feature-icon-heart {
  font-size: 1.6rem !important;
  top: 0.15rem !important;
}

.feature-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: #2d3c34;
  line-height: 1.3;
  align-self: start;
  padding-top: 0.15rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.primary-button {
  background-color: #cfdcff;
  color: #2d3c34;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
}

.secondary-button {
  background-color: transparent;
  color: #2d3c34;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgb(45 60 52);
  border-radius: 0.75rem;
  cursor: pointer;
}

/* Enterprise AI section styles */
.enterprise-ai {
  padding: 6rem 4rem 0 4rem;
  background-color: #f8f4f0;
  position: relative;
  overflow: visible;
}

.enterprise-ai::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.enterprise-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.enterprise-header h2 {
  font-family: 'Fraunces', serif;
  font-size: 4rem;
  font-weight: 400;
  color: #1e3a2b;
  margin-bottom: 3rem;
}

.section-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(30, 58, 43, 0.8);
  max-width: 800px;
  margin: 0 auto 3rem;
}

.enterprise-ai .video-background-container {
  position: absolute;
  top: calc(47% + 0px);
  left: 0;
  width: 100%;
  height: 505px;
  transform: translateY(-50%);
  overflow: hidden;
  z-index: 1;
}

.enterprise-ai .background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0%;
  filter: hue-rotate(220deg) saturate(0.3) brightness(0.7);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease-in-out, filter 0.5s ease-in-out;
}

#background-video-default {
  object-position: center 55%;
}

#background-video-panel2 {
  object-position: center 50%;
}

#background-video-panel3 {
  object-position: center 25%;
}

.enterprise-ai .background-video.active {
  opacity: 0.8;
  z-index: 6;
}

.enterprise-ai.hover-panel-1 .background-video.active {
  filter: hue-rotate(280deg) saturate(0.5) brightness(0.9);
}

.enterprise-ai.hover-panel-2 .background-video.active {
  filter: hue-rotate(180deg) saturate(0.6) brightness(0.8);
}

.enterprise-ai.hover-panel-3 .background-video.active {
  filter: hue-rotate(320deg) saturate(0.4) brightness(1);
}

.enterprise-ai.hover-panel-4 .background-video.active {
  filter: hue-rotate(120deg) saturate(0.7) brightness(0.9);
}

.enterprise-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.circular-panels-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: auto;
  min-height: 800px;
  margin: 50px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 4rem 8rem 4rem;
  overflow: visible;
}

.panels-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  grid-template-rows: auto auto;
  grid-row-gap: 10.5rem;
  width: 100%;
  min-height: 600px;
  position: relative;
  z-index: 10;
}

.panel {
  background-color: rgb(255 255 255 / 37%);
  padding: 0.5rem 1.5em 0.3em;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  text-align: left;
  position: relative;
  width: 100%;
  height: auto;
  max-height: 200px;
  min-height: 180px;
  transform-origin: center center;
  transition: all 0.3s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.panels-container .panel:nth-child(3),
.panels-container .panel:nth-child(4) {
  margin-top: -250px;
  position: relative;
  z-index: 10;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.panel h3,
.panel p {
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.panel-art {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  opacity: 0.15;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out, stroke 0.3s ease-out;
}

.panel:hover .panel-art {
  transform: scale(1.1);
  opacity: 0.3;
}

.panel-art svg {
  width: 100%;
  height: 100%;
}

.panel-art svg path, .panel-art svg circle {
  stroke: #a0a0a0;
  stroke-dasharray: 5 5;
  stroke-linecap: round;
  filter: url(#fresco-texture);
  transition: stroke 0.3s ease-out;
}

.panels-container .panel:nth-child(1) .panel-art {
  top: -10px;
  left: -10px;
  width: 140px;
  height: 140px;
}

.panels-container .panel:nth-child(1):hover .panel-art {
  transform: rotate(20deg) scale(1.15);
}

.panels-container .panel:nth-child(1):hover .panel-art svg path,
.panels-container .panel:nth-child(1):hover .panel-art svg circle {
  animation: color-cycle-green 2s ease-in-out infinite;
}

.panels-container .panel:nth-child(1):hover .panel-art svg path:first-child {
  animation: color-cycle-green 2s ease-in-out infinite, svg-counter-rotate-1 4s linear infinite;
  transform-origin: 50px 50px;
}

.panels-container .panel:nth-child(1):hover .panel-art svg path:last-child {
  animation: color-cycle-green 2s ease-in-out infinite, svg-counter-rotate-2 4s linear infinite;
  transform-origin: 50px 50px;
}

.panels-container .panel:nth-child(2) .panel-art {
  top: -15px;
  right: -15px;
  width: 160px;
  height: 160px;
}

.panels-container .panel:nth-child(2):hover .panel-art {
  transform: scale(1.2);
}

.panels-container .panel:nth-child(2):hover .panel-art svg path,
.panels-container .panel:nth-child(2):hover .panel-art svg circle {
  animation: color-cycle-blue 2.5s ease-in-out infinite, svg-rotate 6s linear infinite;
  transform-origin: 50px 50px;
}

.panels-container .panel:nth-child(3) .panel-art {
  bottom: -10px;
  left: -10px;
  width: 150px;
  height: 150px;
}

.panels-container .panel:nth-child(3):hover .panel-art {
  transform: translateY(-15px) scale(1.1);
}

.panels-container .panel:nth-child(3):hover .panel-art svg .fibonacci-spiral {
  animation: color-cycle-yellow 3s ease-in-out infinite, fibonacci-rotate 8s linear infinite;
  transform-origin: 50px 50px;
}

.panels-container .panel:nth-child(3):hover .panel-art svg .golden-rect-1 {
  animation: color-cycle-yellow 3s ease-in-out infinite, golden-pulse-1 2s ease-in-out infinite;
  transform-origin: 46px 54px;
}

.panels-container .panel:nth-child(3):hover .panel-art svg .golden-rect-2 {
  animation: color-cycle-yellow 3s ease-in-out infinite, golden-pulse-2 2.5s ease-in-out infinite;
  transform-origin: 35.5px 51.5px;
}

.panels-container .panel:nth-child(3):hover .panel-art svg .golden-rect-3 {
  animation: color-cycle-yellow 3s ease-in-out infinite, golden-pulse-3 3s ease-in-out infinite;
  transform-origin: 39.5px 34.5px;
}

.panels-container .panel:nth-child(3):hover .panel-art svg .golden-rect-4 {
  animation: color-cycle-yellow 3s ease-in-out infinite, golden-pulse-4 3.5s ease-in-out infinite;
  transform-origin: 67px 41px;
}

.panels-container .panel:nth-child(4) .panel-art {
  bottom: -15px;
  right: -15px;
  width: 170px;
  height: 170px;
}

.panels-container .panel:nth-child(4):hover .panel-art {
  transform: rotate(-15deg) scale(1.15);
}

.panels-container .panel:nth-child(4):hover .panel-art svg path,
.panels-container .panel:nth-child(4):hover .panel-art svg circle {
  animation: color-cycle-pink 2.2s ease-in-out infinite;
}

.panels-container .panel:nth-child(4):hover .panel-art svg path:first-child {
  animation: color-cycle-pink 2.2s ease-in-out infinite, svg-rotate 5s linear infinite;
  transform-origin: 50px 50px;
}

.panels-container .panel:nth-child(4):hover .panel-art svg path:last-child {
  animation: color-cycle-pink 2.2s ease-in-out infinite, svg-rotate-reverse 5s linear infinite;
  transform-origin: 50px 50px;
}

/* Keyframes for animations */
@keyframes subtle-rotate {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}

@keyframes subtle-scale {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@keyframes subtle-flow {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(2px) translateY(2px); }
  100% { transform: translateX(0) translateY(0); }
}

@keyframes color-cycle-green {
  0% { stroke: #4CAF50; }
  25% { stroke: #8BC34A; }
  50% { stroke: #CDDC39; }
  75% { stroke: #66BB6A; }
  100% { stroke: #4CAF50; }
}

@keyframes color-cycle-blue {
  0% { stroke: #2196F3; }
  25% { stroke: #03A9F4; }
  50% { stroke: #00BCD4; }
  75% { stroke: #3F51B5; }
  100% { stroke: #2196F3; }
}

@keyframes color-cycle-yellow {
  0% { stroke: #FFC107; }
  25% { stroke: #FFEB3B; }
  50% { stroke: #FF9800; }
  75% { stroke: #FFD54F; }
  100% { stroke: #FFC107; }
}

@keyframes color-cycle-pink {
  0% { stroke: #E91E63; }
  25% { stroke: #F06292; }
  50% { stroke: #FF4081; }
  75% { stroke: #C2185B; }
  100% { stroke: #E91E63; }
}

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

@keyframes svg-rotate-reverse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes svg-counter-rotate-1 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes svg-counter-rotate-2 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

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

@keyframes golden-pulse-1 {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

@keyframes golden-pulse-2 {
  0% { transform: scale(1); opacity: 0.7; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}

@keyframes golden-pulse-3 {
  0% { transform: scale(1); opacity: 0.6; }
  40% { transform: scale(1.08); opacity: 0.9; }
  100% { transform: scale(1); opacity: 0.6; }
}

@keyframes golden-pulse-4 {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 0.5; }
}

/* Apply continuous animations */
.panels-container .panel:nth-child(1) .panel-art svg {
  animation: subtle-rotate 8s ease-in-out infinite alternate;
}

.panels-container .panel:nth-child(2) .panel-art svg {
  animation: subtle-scale 7s ease-in-out infinite alternate;
}

.panels-container .panel:nth-child(3) .panel-art svg {
  animation: subtle-flow 9s ease-in-out infinite alternate;
}

.panels-container .panel:nth-child(4) .panel-art svg {
  animation: subtle-rotate 10s ease-in-out infinite alternate reverse;
}

/* Language Switcher Styles */
.language-switcher {
  position: relative;
  font-family: 'Source Sans 3', sans-serif;
  z-index: 99999 !important;
  margin-left: 15px;
  isolation: isolate;
}

.language-switcher-current {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-switcher-current:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.language-icon {
  margin-right: 8px;
  font-size: 18px;
  color: #7e8d95;
}

.current-language {
  margin: 0 8px;
  font-size: 14px;
  color: #2d3c34;
  font-weight: 500;
}

.dropdown-icon {
  font-size: 10px;
  color: #7e8d95;
  transition: transform 0.3s ease;
}

.language-switcher.active .dropdown-icon {
  transform: rotate(180deg);
}

.language-switcher-dropdown {
  position: fixed;
  width: 180px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: none;
  z-index: 999999 !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Dropdown display is now controlled by JavaScript since it's moved to body */

.language-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: #2d3c34;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background-color: #f8f4f0;
  color: #1e3a2b;
}

.language-name {
  font-size: 14px;
  font-weight: 500;
}

.language-native {
  font-size: 13px;
  color: #7e8d95;
  font-weight: 400;
}

.language-option:hover .language-native {
  color: #1e3a2b;
}

/* RTL Support */
html[dir="rtl"] .language-switcher {
  margin-left: 0;
  margin-right: 15px;
}

html[dir="rtl"] .language-switcher-dropdown {
  right: auto;
  left: 0;
}

html[dir="rtl"] .language-icon {
  margin-right: 0;
  margin-left: 8px;
}

/* Light beam removed - z-index styling cleaned up */

/* Video and footer styling restored to normal */
.background-video, .enterprise-ai .background-video {
  display: block;
  opacity: 1;
}

.enterprise-ai .background-video.active {
  opacity: 0.8;
}

.hero-video, .hero-video-2, .hero-video-3 {
  display: block;
}

/* Hero video initial states - videos 2 and 3 start hidden but can be shown by JS */
#hero-video-2, #hero-video-3 {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

/* Sound toggle initial state */
#sound-toggle {
  display: none;
}

/* Show button fully when hovering over video container */
.hero-image:hover #sound-toggle {
  opacity: 1;
}

#sound-toggle:hover {
  background-color: rgba(45, 60, 52, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  opacity: 1;
}

#sound-toggle:active {
  transform: translateY(0);
}

/* SVG utility styles */
.svg-hidden {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.svg-definitions {
  display: none;
}

/* Intelligent futuristic pulsing animations */
@keyframes futuristicPulse {
  0%, 100% { 
    opacity: 0.6;
    filter: brightness(1) blur(0px);
  }
  25% { 
    opacity: 0.8;
    filter: brightness(1.1) blur(0.5px);
  }
  50% { 
    opacity: 0.7;
    filter: brightness(1.05) blur(0.2px);
  }
  75% { 
    opacity: 0.9;
    filter: brightness(1.15) blur(0.8px);
  }
}

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

@keyframes energyWave {
  0%, 100% { 
    transform: scaleY(1) scaleX(1);
  }
  33% { 
    transform: scaleY(1.02) scaleX(0.99);
  }
  66% { 
    transform: scaleY(0.98) scaleX(1.01);
  }
}

/* All lighting effects removed */








/* Footer Styles */
.contact-footer-wrapper {
  background: linear-gradient(rgba(30, 58, 43, 0.75), rgba(30, 58, 43, 0.85)), 
              url('../images/leonardo-with-his-robot_u4943574663_httpss.mj.run8ThJxQrJV2Q_Young_Leonardo_da_Vinci__5164e288-3884-4f03-a261-12389cd0999f_2.png');
  background-size: cover;
  background-position: center 15%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  margin-top: 4rem;
  overflow: hidden;
}

/* Removed parchment texture background art */

/* Removed pencil sketch background art */

.site-footer {
  background: transparent;
  color: #f8f4f0;
  padding: 3rem 0 1rem;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

/* Add Renaissance-themed parchment background for footer on non-homepage pages */
body:not(.homepage) .site-footer {
  background: 
    /* Parchment texture base */
    radial-gradient(circle at 20% 80%, rgba(245, 230, 200, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(230, 210, 180, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(215, 195, 165, 0.08) 0%, transparent 50%),
    /* Radial aged paper gradient - light center to dark edges */
    radial-gradient(ellipse at center top, 
      rgba(45, 35, 25, 0.25) 0%,     /* Light center */
      rgba(35, 30, 25, 0.35) 30%,    /* Getting darker */
      rgba(40, 32, 28, 0.55) 60%,    /* Medium darkness */
      rgba(38, 28, 22, 0.85) 85%,    /* Dark edges */
      rgba(42, 30, 25, 0.90) 100%    /* Darkest corners */
    );
  
  /* Fix background sizing and positioning for mobile/iPhone */
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: scroll, scroll, scroll, scroll;
}

/* Sacred geometry background layer - horizontally flipped */
body:not(.homepage) .site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/u4943574663_httpss.mj.runclv3aUm6SU0_Flat_sacred_geometry_Rus_f2e3fde5-6320-49e3-9c39-e5bbbf571e50_2.png');
  background-size: 100% auto; /* Full width, maintain aspect ratio, allow vertical overflow */
  background-position: center -814px;
  background-repeat: no-repeat;
  transform: scaleX(-1); /* Flip horizontally */
  opacity: 0.15; /* Very subtle for text readability */
  mix-blend-mode: multiply; /* Blend with the parchment background */
  z-index: 0;
  pointer-events: none;
}


/* SVG art pieces removed for cleaner footer design */

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

/* Footer decorative SVG elements removed for cleaner design */

.footer-section h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #cfdcff;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #f8f4f0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #cfdcff;
}

/* Position-specific gradient text colors for each footer column */

/* Column 1 (Brand Section - Left) - Darkest since it's on lightest background */
body:not(.homepage) .footer-content .footer-section:nth-child(1) h3,
body:not(.homepage) .footer-content .footer-section:nth-child(1) a,
body:not(.homepage) .footer-content .footer-section:nth-child(1) .footer-logo span,
body:not(.homepage) .footer-content .footer-section:nth-child(1) .footer-tagline {
  background: linear-gradient(180deg, 
    #1a0f0a 0%,        /* Very dark at top */
    #2d1f19 100%       /* Dark at bottom */
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.9; /* 10% transparency */
}

/* Column 2 (Product) - Medium-dark */
body:not(.homepage) .footer-content .footer-section:nth-child(2) h3,
body:not(.homepage) .footer-content .footer-section:nth-child(2) a {
  background: linear-gradient(180deg, 
    #2d1f19 0%,        /* Dark at top */
    #3d2a1e 100%       /* Medium-dark at bottom */
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.9; /* 10% transparency */
}

/* Column 3 (Resources) - Medium */
body:not(.homepage) .footer-content .footer-section:nth-child(3) h3,
body:not(.homepage) .footer-content .footer-section:nth-child(3) a {
  background: linear-gradient(180deg, 
    #3d2a1e 0%,        /* Medium-dark at top */
    #5a453a 100%       /* Medium at bottom */
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.9; /* 10% transparency */
}

/* Column 4 (Company) - Keep similar to first columns */
body:not(.homepage) .footer-content .footer-section:nth-child(4) h3,
body:not(.homepage) .footer-content .footer-section:nth-child(4) a {
  background: linear-gradient(180deg, 
    #3d2a1e 0%,        /* Medium-dark at top */
    #4a3528 100%       /* Medium at bottom */
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.9; /* 10% transparency */
}

/* Column 5 (Legal) - Darker for better contrast against light background */
body:not(.homepage) .footer-content .footer-section:nth-child(5) h3,
body:not(.homepage) .footer-content .footer-section:nth-child(5) a {
  background: linear-gradient(180deg, 
    #2d1f19 0%,        /* Dark at top for contrast */
    #3d2a1e 100%       /* Medium-dark at bottom */
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.9; /* 10% transparency */
}

/* Footer bottom section (spans full width) - Better contrast for readability */
body:not(.homepage) .copyright,
body:not(.homepage) .footer-bottom-links a,
body:not(.homepage) .privacy-settings-link {
  color: white !important; /* Pure white for maximum contrast */
  background: none !important; /* Remove gradient that was causing poor contrast */
  -webkit-text-fill-color: initial !important; /* Reset webkit text fill */
  opacity: 0.7 !important; /* 70% opacity for perfect balance */
}

/* Hover states for each column */
body:not(.homepage) .footer-content .footer-section:nth-child(1) a:hover {
  background: linear-gradient(180deg, #0f0803 0%, #1a0f0a 100%);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
body:not(.homepage) .footer-content .footer-section:nth-child(2) a:hover {
  background: linear-gradient(180deg, #1a0f0a 0%, #2d1f19 100%);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
body:not(.homepage) .footer-content .footer-section:nth-child(3) a:hover {
  background: linear-gradient(180deg, #2d1f19 0%, #4a3528 100%);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
body:not(.homepage) .footer-content .footer-section:nth-child(4) a:hover {
  background: linear-gradient(180deg, #2d1f19 0%, #3d2a1e 100%);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
body:not(.homepage) .footer-content .footer-section:nth-child(5) a:hover {
  background: linear-gradient(180deg, #1a0f0a 0%, #2d1f19 100%);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
body:not(.homepage) .footer-bottom-links a:hover,
body:not(.homepage) .privacy-settings-link:hover {
  color: #cfdcff !important; /* Light blue hover for nice contrast against cream base */
}

.brand-section .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

.footer-logo-link span {
  color: inherit;
}

.brand-section .footer-logo img {
  height: 2rem;
  width: auto;
}

.brand-section .footer-logo span {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #cfdcff;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #a0b0a8;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(207, 220, 255, 0.1);
  border-radius: 50%;
  color: #cfdcff;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
  background-color: #cfdcff;
  color: #1e3a2b;
}

.footer-bottom {
  border-top: 1px solid rgba(248, 244, 240, 0.2);
  margin-top: 2rem;
  padding-top: 2rem;
  position: relative;
  z-index: 2;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.85rem;
  color: #a0b0a8;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: #a0b0a8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #cfdcff;
}

/* Features Section Styles */
.features-section {
  padding: 0;
  background-color: rgba(248, 244, 240, 0.85);
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: -12rem;
  /* transform: translateY(-6rem); - removed to fix stacking context */
  z-index: 1000 !important;
  isolation: isolate;
  backdrop-filter: blur(0.5px);
}

/* Light beam window effect removed */

.features-container {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

.features-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem 0;
  position: relative;
  z-index: 10;
}

/* Splotchy background for features header - removed */
.features-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 70%;
  max-width: 600px;
  height: 150%;
  /* background removed */
  /* filter removed */
  z-index: -1;
  /* border-radius removed */
  /* animation removed */
}

.features-header h2 {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 400;
  color: #4a3a2a;
  margin-bottom: 1rem;
  text-shadow:
    0 2px 4px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1000 !important;
  mix-blend-mode: multiply;
}

.features-header p {
  color: #5c4a3a;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.8),
    0 0 15px rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1000 !important;
}

/* Desktop layout for journal showcase */
@media (min-width: 769px) {
  .davinci-journal-showcase {
    display: flex;
    width: 100%;
    min-height: 700px;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    align-items: center;
    flex-direction: row;
  }
  
  .feature-details {
    flex: 0 0 60%;
    padding: 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 15;
    height: 700px;
    transform: translateY(-80px) translateX(-40px);
  }
}

/* Mobile and tablet fallback */
.davinci-journal-showcase {
  display: flex;
  width: 100%;
  min-height: 700px;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.journal-stack {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  padding-top: 0;
  padding-left: 10rem;
  position: relative;
  z-index: 10;
  margin-left: 4.44em;
  padding-right: 0;
  margin-right: -2.222em;
}

.journal-title {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  color: #5c4a3a;
  margin-bottom: 2rem;
  text-align: center;
  font-style: italic;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Journal Navigation Buttons */
.journal-navigation {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: -4.44rem;
  margin-bottom: 4.44rem;
  z-index: 15;
}

.nav-button {
  width: 60px;
  height: 40px;
  background: linear-gradient(135deg, rgba(245, 240, 230, 0.85) 0%, rgba(232, 221, 199, 0.85) 100%);
  border: 1px solid #d4c4a0;
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.nav-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 30%, rgba(139, 115, 85, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 70%, rgba(160, 140, 110, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.nav-button svg {
  width: 100%;
  height: 100%;
}

.nav-button:hover {
  transform: translateY(1px);
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.1),
    inset 0 -1px 2px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #ede8de 0%, #e0d5bf 100%);
}

.nav-button:active {
  transform: translateY(2px);
  box-shadow: 
    0 0 1px rgba(0, 0, 0, 0.1),
    inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

.nav-button:hover svg rect,
.nav-button:hover svg path {
  stroke: #6b5a44;
}

.nav-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.nav-button:disabled:hover {
  transform: none;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #f5f0e6 0%, #e8ddc7 100%);
}

.journal-pages-container {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 500px;
  perspective: 1000px;
  margin-top: 80px;
}

.journal-stack {
  position: relative;
}

/* Da Vinci Journal Page Styles */
.journal-page {
  position: absolute;
  width: 250px;
  height: 350px;
  background: linear-gradient(135deg, rgba(245, 240, 230, 1.0) 0%, rgba(232, 221, 199, 1.0) 100%);
  border: 1px solid #d4c4a0;
  border-radius: 3px;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.1),
    inset 0 0 30px rgba(139, 115, 85, 0.1);
  cursor: pointer;
  transition: all 0.4s ease, opacity 0.3s ease;
  transform-style: preserve-3d;
  overflow: hidden;
}

/* Multi-layered aged paper texture */
.journal-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(139, 115, 85, 0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(160, 140, 110, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(100, 80, 60, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 80%, rgba(120, 100, 70, 0.1) 0%, transparent 35%),
    radial-gradient(ellipse at 85% 20%, rgba(140, 120, 90, 0.09) 0%, transparent 40%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

.page-content {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.page-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: #8b7355;
  font-style: italic;
}

.sketch-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 40px 0;
}

.sketch-area .feature-icon {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.3;
  filter: sepia(0.5);
}

.davinci-sketch {
  width: 100%;
  height: 100%;
  max-width: 180px;
  max-height: 180px;
  filter: blur(0.3px);
  opacity: 0.8;
}

.mirror-text {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) scaleX(-1);
  font-family: 'Fraunces', serif;
  font-size: 14px;
  color: #8b7355;
  opacity: 0.4;
  font-style: italic;
  letter-spacing: 2px;
}

.annotations {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.annotation {
  position: absolute;
  font-family: 'Fraunces', serif;
  font-size: 12px;
  color: #8b7355;
  opacity: 0.5;
  font-style: italic;
}

.annotation.top-right {
  top: 40px;
  right: 25px;
}

.annotation.bottom-left {
  bottom: 30px;
  left: 25px;
}

/* Journal Page Stack Positioning - Simple stacked layout */
.journal-page:nth-child(1) { 
  transform: translateX(0px) translateY(0px) rotate(-2deg) scale(1.0); 
  z-index: 10; 
  background: linear-gradient(135deg, rgba(245, 240, 230, 1.0) 0%, rgba(232, 221, 199, 1.0) 100%);
}
.journal-page:nth-child(2) { transform: translateX(5px) translateY(2px) rotate(-1.5deg) scale(1.0); z-index: 9; }
.journal-page:nth-child(3) { transform: translateX(10px) translateY(4px) rotate(-1deg) scale(1.0); z-index: 8; }
.journal-page:nth-child(4) { transform: translateX(15px) translateY(6px) rotate(-0.5deg) scale(1.0); z-index: 7; }
.journal-page:nth-child(5) { transform: translateX(20px) translateY(8px) rotate(0deg) scale(1.0); z-index: 6; }
.journal-page:nth-child(6) { transform: translateX(25px) translateY(10px) rotate(0.5deg) scale(1.0); z-index: 5; }
.journal-page:nth-child(7) { transform: translateX(30px) translateY(12px) rotate(1deg) scale(1.0); z-index: 4; }
.journal-page:nth-child(8) { transform: translateX(35px) translateY(14px) rotate(1.5deg) scale(1.0); z-index: 3; }
.journal-page:nth-child(9) { transform: translateX(40px) translateY(16px) rotate(2deg) scale(1.0); z-index: 2; }
.journal-page:nth-child(10) { transform: translateX(45px) translateY(18px) rotate(2.5deg) scale(1.0); z-index: 1; }

/* Scroll animation removed - clean CSS */

/* Active Journal Page */
.journal-page.active {
  transform: translateX(-80px) translateY(-30px) rotate(-5deg) scale(1.15);
  z-index: 20;
  background: linear-gradient(135deg, rgba(245, 240, 230, 1.0) 0%, rgba(232, 221, 199, 1.0) 100%) !important;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.2),
    inset 0 0 40px rgba(139, 115, 85, 0.15);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Da Vinci sketch hand-drawing animations - only on active page */
.journal-page.active .davinci-sketch path,
.journal-page.active .davinci-sketch line,
.journal-page.active .davinci-sketch circle {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: handDraw 3s ease-out forwards;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* Performance optimizations */
  will-change: stroke-dashoffset, opacity;
  transform: translateZ(0); /* Hardware acceleration */
}

/* More realistic staggered timing like an artist would draw */
.journal-page.active .davinci-sketch path:nth-child(1) { animation-delay: 0.3s; animation-duration: 2.5s; }
.journal-page.active .davinci-sketch path:nth-child(2) { animation-delay: 0.8s; animation-duration: 2.8s; }
.journal-page.active .davinci-sketch path:nth-child(3) { animation-delay: 1.4s; animation-duration: 2.2s; }
.journal-page.active .davinci-sketch path:nth-child(4) { animation-delay: 2.1s; animation-duration: 2.6s; }
.journal-page.active .davinci-sketch line:nth-child(1) { animation-delay: 0.5s; animation-duration: 1.8s; }
.journal-page.active .davinci-sketch line:nth-child(2) { animation-delay: 1.2s; animation-duration: 2.1s; }
.journal-page.active .davinci-sketch line:nth-child(3) { animation-delay: 1.8s; animation-duration: 1.9s; }
.journal-page.active .davinci-sketch line:nth-child(4) { animation-delay: 2.4s; animation-duration: 1.7s; }
.journal-page.active .davinci-sketch circle:nth-child(1) { animation-delay: 0.7s; animation-duration: 3.2s; }
.journal-page.active .davinci-sketch circle:nth-child(2) { animation-delay: 1.6s; animation-duration: 2.9s; }
.journal-page.active .davinci-sketch circle:nth-child(3) { animation-delay: 2.3s; animation-duration: 3.1s; }

/* Hand-drawing animation with natural pen movement */
@keyframes handDraw {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  5% {
    opacity: 0.4;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.7;
  }
}

/* Also animate the feature icons with a subtle pulse */
.journal-page.active .sacred-icon {
  animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
  0%, 100% { 
    opacity: 0.8;
    transform: scale(1);
  }
  50% { 
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Animate handwritten annotations appearing */
.journal-page.active .annotations .annotation {
  opacity: 0;
  animation: fadeInAnnotation 0.8s ease-out forwards;
}

.journal-page.active .annotations .annotation:nth-child(1) { animation-delay: 1.5s; }
.journal-page.active .annotations .annotation:nth-child(2) { animation-delay: 1.8s; }

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

/* Hand-written effect for mirror text */
.journal-page.active .mirror-text {
  opacity: 0;
  transform: translateX(-10px) rotate(-1deg);
  animation: handWrite 2.5s ease-out 3.5s forwards;
  position: relative;
}

/* Add ink blot effect as text appears */
.journal-page.active .mirror-text::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 50%;
  width: 3px;
  height: 3px;
  background: rgba(139, 115, 85, 0.4);
  border-radius: 50%;
  opacity: 0;
  animation: inkBlot 0.3s ease-out 3.5s forwards;
}

@keyframes handWrite {
  0% {
    opacity: 0;
    transform: translateX(-10px) rotate(-1deg) scale(0.95);
  }
  20% {
    opacity: 0.3;
    transform: translateX(-5px) rotate(-0.5deg) scale(0.98);
  }
  100% {
    opacity: 0.8;
    transform: translateX(0) rotate(0deg) scale(1);
  }
}

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

.journal-page:hover:not(.active) {
  transform: translateY(-10px);
  box-shadow: 
    0 5px 15px rgba(0, 0, 0, 0.15),
    inset 0 0 30px rgba(139, 115, 85, 0.1);
}
.journal-page:focus {
  outline: 3px solid #8b7355;
  outline-offset: 2px;
}

/* Ink stains and aging effects */
.journal-page.active::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(139, 115, 85, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: rotate(45deg);
}

/* Renaissance-style handwriting */
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400&display=swap');

.renaissance-handwriting {
  font-family: 'Kalam', cursive;
  letter-spacing: 0.5px;
  text-shadow: 0 0 1px rgba(139, 115, 85, 0.3);
}

/* Multiple overlapping text layers */
.journal-page .handwritten-notes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.journal-page .handwritten-notes::before {
  content: 'φ = (1 + √5) / 2';
  position: absolute;
  top: 25px;
  left: 20px;
  font-family: 'Kalam', cursive;
  font-size: 10px;
  font-weight: 300;
  color: rgba(139, 115, 85, 0.4);
  transform: rotate(-3deg) skewX(-5deg);
  filter: blur(0.2px);
  letter-spacing: 0.5px;
}

.journal-page .handwritten-notes::after {
  content: 'Proportio divina';
  position: absolute;
  bottom: 40px;
  right: 25px;
  font-family: 'Kalam', cursive;
  font-size: 9px;
  font-weight: 400;
  color: rgba(120, 100, 70, 0.35);
  transform: rotate(2deg) skewX(3deg);
  font-style: italic;
  letter-spacing: 0.8px;
}

/* Additional sketch overlays */
.journal-page .sketch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.journal-page .sketch-overlay::before {
  content: '';
  position: absolute;
  top: 45px;
  right: 40px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(139, 115, 85, 0.2);
  border-radius: 50%;
  transform: rotate(15deg);
}

.journal-page .sketch-overlay::after {
  content: '';
  position: absolute;
  bottom: 80px;
  left: 35px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 25px solid rgba(160, 140, 110, 0.15);
  transform: rotate(-10deg);
}

/* Mathematical annotations layer */
.journal-page .math-annotations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  font-family: 'Kalam', cursive;
  font-size: 8px;
  color: rgba(100, 80, 60, 0.3);
  font-weight: 300;
}

.journal-page .math-annotations::before {
  content: '∑∞';
  position: absolute;
  top: calc(70px + var(--math-offset-y, 0px));
  left: calc(40px + var(--math-offset-x, 0px));
  transform: rotate(-5deg) skewY(-3deg);
  filter: blur(0.4px);
  letter-spacing: 1px;
}

.journal-page .math-annotations::after {
  content: '∫ƒ(x)dx';
  position: absolute;
  top: calc(110px + var(--math-offset-y, 0px));
  right: calc(50px - var(--math-offset-x, 0px));
  transform: rotate(4deg) skewY(2deg);
  opacity: 0.6;
  letter-spacing: 0.8px;
}

/* Page-specific handwritten notes for QA/Release Management context */
.journal-page[data-feature="multiplayer"] .handwritten-notes::before {
  content: 'Review cycles: n=3';
  font-size: 9px;
  top: 35px;
  left: 25px;
}

.journal-page[data-feature="multiplayer"] .handwritten-notes::after {
  content: 'consensus.threshold = 0.75';
  font-size: 8px;
  bottom: 45px;
  right: 25px;
  transform: rotate(-3deg);
  font-style: italic;
}

.journal-page[data-feature="ai_family"] .handwritten-notes::before {
  content: 'v2.3.1 → v2.4.0';
  font-size: 10px;
  top: 30px;
  right: 30px;
  left: auto;
  transform: rotate(5deg);
}

.journal-page[data-feature="ai_family"] .math-annotations::after {
  content: 'rollback.enabled = true';
  top: 140px;
  left: 35px;
  font-size: 7px;
  transform: rotate(-2deg);
  opacity: 0.5;
}

.journal-page[data-feature="voice_io"] .handwritten-notes::before {
  content: 'waveform.sample_rate = 48kHz';
  font-size: 8px;
  top: 45px;
  left: 20px;
  transform: rotate(-4deg);
}

.journal-page[data-feature="performance_analytics"] .handwritten-notes::after {
  content: 'p95 < 200ms';
  bottom: 50px;
  right: 20px;
  font-size: 8px;
  opacity: 0.4;
}

.journal-page[data-feature="performance_analytics"] .math-annotations::before {
  content: 'σ² = 0.03';
  top: 90px;
  right: 40px;
  left: auto;
  transform: rotate(3deg);
}

.journal-page[data-feature="enterprise_security"] .handwritten-notes::before {
  content: 'SOC2 Type II';
  top: 40px;
  left: 30px;
  font-size: 9px;
  text-decoration: underline;
  opacity: 0.35;
}

.journal-page[data-feature="enterprise_security"] .handwritten-notes::after {
  content: 'encrypt(AES-256)';
  bottom: 55px;
  left: 45px;
  font-size: 8px;
  transform: rotate(2deg);
}

.journal-page[data-feature="lightning_responses"] .handwritten-notes::before {
  content: 'deploy.time = 1.2s';
  font-size: 9px;
  top: 50px;
  right: 35px;
  left: auto;
  transform: rotate(-3deg);
}

.journal-page[data-feature="domain_specialization"] .handwritten-notes::after {
  content: 'BLEU: 0.89';
  bottom: 35px;
  left: 40px;
  font-size: 9px;
}

.journal-page[data-feature="domain_specialization"] .math-annotations::before {
  content: 'medical.accuracy = 97.3%';
  top: 75px;
  right: 30px;
  left: auto;
  font-size: 8px;
  transform: rotate(4deg);
}

.journal-page[data-feature="smart_workflows"] .math-annotations::before {
  content: 'CI/CD: t < 15min';
  top: 85px;
  left: 30px;
}

.journal-page[data-feature="smart_workflows"] .handwritten-notes::after {
  content: 'pipeline.stages = 5';
  bottom: 40px;
  right: 35px;
  font-size: 8px;
  transform: rotate(-2deg);
}

.journal-page[data-feature="api_integration"] .handwritten-notes::before {
  content: 'REST → GraphQL';
  font-size: 9px;
  top: 40px;
  left: 35px;
  transform: rotate(3deg);
}

.journal-page[data-feature="api_integration"] .math-annotations::after {
  content: 'webhook.retry = 3';
  bottom: 60px;
  right: 30px;
  font-size: 8px;
  opacity: 0.5;
}

.journal-page[data-feature="scalability"] .handwritten-notes::before {
  content: 'horizontal.scale(∞)';
  font-size: 9px;
  top: 35px;
  right: 25px;
  left: auto;
  transform: rotate(-4deg);
}

.journal-page[data-feature="scalability"] .math-annotations::before {
  content: 'O(log n)';
  top: 100px;
  left: 45px;
  font-size: 10px;
  font-weight: bold;
  opacity: 0.6;
}

/* Background Sketches */
.background-sketches {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.feature-bg-sketch {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.sketch-layer {
  transition: all 0.6s ease;
  pointer-events: all;
}

.sketch-layer * {
  transition: opacity 0.4s ease, stroke-width 0.4s ease;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* Pencil-like texture for sketches */
.sketch-layer path {
  filter: url(#pencil-texture);
}

@supports not (filter: url(#pencil-texture)) {
  .sketch-layer path {
    stroke-dasharray: 0.5 0.5;
    stroke-dashoffset: 0;
  }
}

/* Drawing animations */
@keyframes drawPath {
  from {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  to {
    stroke-dashoffset: 0;
    opacity: var(--target-opacity, 0.1);
  }
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: var(--target-opacity, 0.15);
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: var(--target-opacity, 0.1);
  }
}

/* Animated elements */
.sketch-layer path.draw-animated {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawPath 3s ease-out forwards;
  animation-delay: var(--animation-delay, 0s);
}

.sketch-layer text {
  opacity: 0;
  animation: fadeInText 1s ease-out forwards;
  animation-delay: var(--animation-delay, 2s);
}

.sketch-layer circle.scale-animated,
.sketch-layer rect.scale-animated {
  transform-origin: center;
  opacity: 0;
  animation: scaleIn 1.5s ease-out forwards;
  animation-delay: var(--animation-delay, 0.5s);
}

/* Continuous subtle animations */
@keyframes floatSubtle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes pulseSubtle {
  0%, 100% {
    opacity: var(--base-opacity, 0.1);
  }
  50% {
    opacity: calc(var(--base-opacity, 0.1) * 1.3);
  }
}

.sketch-layer .floating {
  animation: floatSubtle 6s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.sketch-layer .pulsing {
  animation: pulseSubtle 4s ease-in-out infinite;
  animation-delay: var(--pulse-delay, 0s);
}

/* Interactive opacity on hover */
.sketch-layer.highlighted * {
  opacity: 0.25 !important;
  stroke-width: 2;
}

.sketch-layer.highlighted circle,
.sketch-layer.highlighted rect {
  opacity: 0.2 !important;
}

.sketch-layer.highlighted path {
  opacity: 0.3 !important;
}

/* Active state for background sketches */
.sketch-layer.active-sketch * {
  opacity: 0.2 !important;
  stroke-width: 2;
}

.sketch-layer.active-sketch circle,
.sketch-layer.active-sketch rect {
  opacity: 0.15 !important;
}

.sketch-layer.active-sketch path {
  opacity: 0.25 !important;
}

.sketch-layer.active-sketch text {
  opacity: 0.18 !important;
}

/* Feature Details Area - moved to desktop media query above */

.feature-content {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
  position: relative;
  z-index: 20;
}

/* Splotchy background for text readability - removed */
.feature-content::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: -2rem;
  right: -2rem;
  bottom: -2rem;
  /* background removed */
  /* filter removed */
  /* transform removed */
  z-index: -1;
  /* border-radius removed */
  /* animation removed */
}

@keyframes splotchyMove {
  0% {
    transform: rotate(-2deg) scale(1.1);
  }
  50% {
    transform: rotate(1deg) scale(1.15);
  }
  100% {
    transform: rotate(-1deg) scale(1.1);
  }
}

.feature-content.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
  margin-top: 0;
  padding-top: 0;
}

.feature-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  color: #4a3a2a;
  margin-bottom: 1.5rem;
  text-shadow:
    0 2px 4px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1000 !important;
}

.feature-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #5c4a3a;
  max-width: 600px;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.8),
    0 0 15px rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1000 !important;
}

/* Responsive styles for playing cards layout */
@media (max-width: 1024px) {
  .features-showcase {
    flex-direction: column;
  }
  
  .playing-cards-deck {
    flex: 1;
    width: 100%;
    min-height: 400px;
  }
  
  .feature-details {
    flex: 1;
    width: 100%;
    padding: 0 2rem 2em;
  }
  
  .cards-container {
    height: 300px;
  }
  
  .playing-card {
    width: 100px;
    height: 140px;
  }
  
  .card-value {
    font-size: 16px;
  }
  
  .card-suit {
    font-size: 18px;
  }
  
  .card-center {
    font-size: 2.5rem;
  }
  
  /* Journal pages responsive */
  .davinci-journal-showcase {
    flex-direction: column;
  }
  
  .journal-stack {
    flex: 1;
    padding: 1rem;
  }
  
  .journal-pages-container {
    max-width: 300px;
    height: 450px;
  }
  
  .journal-page {
    width: 220px;
    height: 320px;
  }
  
  .journal-navigation {
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .nav-button {
    width: 50px;
    height: 35px;
  }
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* Sacred Geometry Icon Styles */
.sacred-icon {
  width: 40px;
  height: 40px;
  color: #8b7355;
  display: inline-block;
  vertical-align: middle;
}

.feature-icon .sacred-icon {
  width: 48px;
  height: 48px;
  color: #1e3a2b;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.journal-page:hover .feature-icon .sacred-icon {
  opacity: 1;
  transform: scale(1.1);
}

.principle-icon .sacred-icon {
  width: 60px;
  height: 60px;
  color: #4a63e0;
}

.ai-for-good-principles .principle:hover .sacred-icon {
  transform: rotate(15deg) scale(1.1);
  transition: all 0.3s ease;
}

/* Override sketch area icon styles for SVG */
.sketch-area .feature-icon {
  position: absolute;
  font-size: inherit;
  opacity: 1;
  filter: none;
}

.sketch-area .feature-icon .sacred-icon {
  position: relative;
  opacity: 0.3;
}

.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e3a2b;
  margin-bottom: 1rem;
}

.feature-card p {
  color: rgba(30, 58, 43, 0.8);
  line-height: 1.6;
}

/* Team Section Styles */
.team-section {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.85);
  position: relative;
}

/* Light beam overlay removed - using main beam instead */

.team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1000 !important;
}

.team-header {
  text-align: center;
  margin-bottom: 3rem;
}

.team-header h2 {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 400;
  color: #1e3a2b;
  margin-bottom: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background-color: #f8f4f0;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-member-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 3px solid #cfdcff;
}

.team-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e3a2b;
  margin-bottom: 0.5rem;
}

.team-member .role {
  color: #7e8d95;
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-member .bio {
  color: rgba(30, 58, 43, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.team-member .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2d3c34;
  text-decoration: none;
  transition: color 0.3s ease;
}

.team-member .social-link:hover {
  color: #1e3a2b;
}

/* Signup Section Styles */
.signup-section {
  padding: 4rem 0;
  background: rgba(207, 220, 255, 0.85);
  position: relative;
}

/* Light beam overlay removed - using main beam instead */

.signup-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 1000 !important;
}

.signup-section h2 {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 400;
  color: #1e3a2b;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1000 !important;
}

.signup-intro {
  font-size: 1.2rem;
  color: rgba(30, 58, 43, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.signup-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group input {
  flex: 1;
  padding: 1rem;
  border: 2px solid rgba(30, 58, 43, 0.2);
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: 'Source Sans 3', sans-serif;
  background-color: #fff;
  color: #2d3c34;
}

.form-group input:focus {
  outline: none;
  border-color: #2d3c34;
  box-shadow: 0 0 0 3px rgba(45, 60, 52, 0.1);
}

.signup-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #2d3c34;
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  text-align: center;
}

.signup-button:hover {
  background-color: #1e3a2b;
  color: #fff;
  text-decoration: none;
}

.signup-note {
  font-size: 0.9rem;
  color: rgba(30, 58, 43, 0.6);
  margin-top: 0.5rem;
}

/* AI for Good Section Styles */
.ai-for-good-section {
  padding: 4rem 0;
  background: rgba(248, 244, 240, 0.85);
  position: relative;
}

/* Light beam overlay removed - using main beam instead */

.ai-for-good-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1000 !important;
}

.ai-for-good-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ai-for-good-text h2 {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 400;
  color: #1e3a2b;
  margin-bottom: 1.5rem;
}

.ai-for-good-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(30, 58, 43, 0.8);
  margin-bottom: 2rem;
}

.ai-for-good-principles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.principle {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.principle-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.principle-text h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e3a2b;
  margin-bottom: 0.5rem;
}

.principle-text p {
  font-size: 1rem;
  color: rgba(30, 58, 43, 0.7);
  margin-bottom: 0;
}

.ai-for-good-image {
  text-align: center;
}

.ai-for-good-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.ai-for-good-image a:hover img {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive styles */
@media (max-width: 1200px) {
  header {
    padding: 2rem;
  }
  
  .hero {
    padding: 0 2rem;
  }
  
  .hero-content {
    gap: 3rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .ai-for-good-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .signup-section h2,
  .ai-for-good-text h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  header {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  nav ul {
    gap: 1.5rem;
  }
  
  h1 {
    font-size: 3rem;
  }
  .features {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  /* Journal pages mobile */
  .journal-pages-container {
    max-width: 250px;
    height: 300px;
  }

  .journal-stack {
    margin-left: 0;
  }
  
  .journal-page {
    width: 180px;
    height: 260px;
  }
  
  .page-number {
    font-size: 14px;
  }
  
  .davinci-sketch {
    max-width: 140px;
    max-height: 140px;
  }
  
  .annotations {
    font-size: 8px;
  }
  
  .handwritten-notes::before,
  .handwritten-notes::after,
  .math-annotations::before,
  .math-annotations::after {
    font-size: 7px;
  }
  
  .feature {
    flex-direction: row;
    text-align: left;
  }
  
  .enterprise-content h2 {
    font-size: 2.5rem;
  }
  
  .panels-container {
    grid-template-columns: 1fr;
  }
  
  .form-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .signup-section h2,
  .ai-for-good-text h2 {
    font-size: 2rem;
  }
  
  .ai-for-good-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .principle {
    flex-direction: column;
    text-align: center;
  }
  
  .principle-icon {
    font-size: 3rem;
    width: 100%;
  }
}

/* Expert Answers Section */
.expert-answers-section {
  padding: 5rem 0;
  background-color: #f5f5f5;
  position: relative;
}

.expert-answers-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.expert-answers-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 400;
  color: #1e3a2b;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.expert-answers-description {
  font-size: 1.1rem;
  color: rgba(30, 58, 43, 0.8);
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background-color: transparent;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e3a2b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f8f8f8;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(30, 58, 43, 0.6);
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(107, 70, 193, 0.3) rgba(107, 70, 193, 0.1);
}

.faq-answer.active::-webkit-scrollbar {
  width: 8px;
}

.faq-answer.active::-webkit-scrollbar-track {
  background: rgba(107, 70, 193, 0.1);
  border-radius: 4px;
}

.faq-answer.active::-webkit-scrollbar-thumb {
  background: rgba(107, 70, 193, 0.3);
  border-radius: 4px;
}

.faq-answer.active::-webkit-scrollbar-thumb:hover {
  background: rgba(107, 70, 193, 0.5);
}

.faq-answer p {
  font-size: 1rem;
  color: rgba(30, 58, 43, 0.8);
  line-height: 1.6;
  margin: 0;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background-color: transparent;
  position: relative;
  color: #f8f4f0;
  z-index: 2;
}

/* Removed chart/diagram background art */

/* Removed chat bubble background art */

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.contact-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cfdcff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.contact-header h2 {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 400;
  color: #f8f4f0;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: rgba(248, 244, 240, 0.9);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-method {
  text-align: center;
  padding: 2rem;
  background-color: rgb(255 255 255 / 25%);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.4s ease, filter 0.4s ease;
  filter: brightness(1);
}

.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  background-color: rgb(255 255 255 / 35%);
  filter: brightness(1.1);
}

.contact-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  color: rgba(30, 58, 43, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-method h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e3a2b;
  margin-bottom: 1rem;
}

.contact-method p {
  font-size: 1rem;
  color: rgba(30, 58, 43, 0.8);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.contact-link {
  font-size: 1rem;
  font-weight: 600;
  color: #1e3a2b;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.contact-link:hover {
  border-bottom-color: #1e3a2b;
}

@media (max-width: 768px) {
  .expert-answers-content h2,
  .contact-header h2 {
    font-size: 2rem;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-method {
    padding: 1.5rem;
  }
}

/* Accessibility: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  /* Disable all animations and transitions for users who prefer reduced motion */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Pause all videos for users who prefer reduced motion */
  .hero-video,
  .background-video,
  video {
    animation: none !important;
  }
  
  /* Disable journal page animations */
  .journal-page.active .davinci-sketch path,
  .journal-page.active .davinci-sketch line,
  .journal-page.active .davinci-sketch circle {
    animation: none !important;
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }
  
  /* Disable parallax scrolling */
  .panel {
    transform: none !important;
  }
  
  /* Disable hover animations */
  .journal-page:hover:not(.active) {
    transform: none !important;
  }
  
  /* Disable journal page transitions */
  .journal-page {
    transition: none !important;
  }
}

/* Mobile-first video optimizations */
@media (max-width: 768px) {
  /* Reduce video quality and disable autoplay on small screens */
  .background-video {
    display: none; /* Replace with static images on mobile */
  }
  
  /* Ensure hero videos are optimized for mobile */
  .hero-video {
    max-width: 100%;
    height: auto;
  }
  
  /* Disable complex animations on mobile for better performance */
  .journal-page.active .davinci-sketch path,
  .journal-page.active .davinci-sketch line,
  .journal-page.active .davinci-sketch circle {
    animation-duration: 1s !important; /* Faster animations */
  }
}

/* Battery-aware optimizations */
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  /* Only load videos on mobile if user hasn't requested reduced motion and battery allows */
  .hero-video[data-battery-aware="true"] {
    display: none;
  }
}

/* Privacy Settings Dropdown in Footer */
.privacy-dropdown {
  position: relative;
  display: inline-block;
}

.privacy-settings-link {
  color: rgba(248, 244, 240, 0.8);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
}

.privacy-settings-link:hover {
  color: #cfdcff;
}

.privacy-dropdown-content {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(45, 60, 52, 0.95);
  min-width: 160px;
  padding: 0.75rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(248, 244, 240, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.privacy-dropdown:hover .privacy-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.privacy-dropdown-content a,
.privacy-dropdown-content button {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  color: rgba(248, 244, 240, 0.9);
  text-decoration: none;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.privacy-dropdown-content a:hover,
.privacy-dropdown-content button:hover {
  background-color: rgba(207, 220, 255, 0.1);
  color: #cfdcff;
}

/* Arrow indicator */
.privacy-dropdown-content::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(45, 60, 52, 0.95);
}

@media (max-width: 768px) {
  .privacy-dropdown-content {
    left: 0;
    transform: none;
    min-width: 140px;
  }
  
  .privacy-dropdown:hover .privacy-dropdown-content {
    transform: translateY(0);
  }
  
  .privacy-dropdown-content::before {
    left: 20px;
    transform: none;
  }
}
