@import url('https://fonts.cdnfonts.com/css/halyard-display');

:root {
  --color-purple: #bc60f0;
  --color-green: #b9f258;
  --color-dark-purple: #0a0a15;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --background-dark: #0a0a15;
  --font-inter: "Halyard Display", sans-serif;
  --font-fundamental: "Halyard Display", sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-size-small: 10px;
  --font-size-regular: 1rem;
  --font-size-medium: 1.5rem;
  --font-size-large: 4rem;
  --spacing-small: 0.5rem;
  --spacing-medium: 1rem;
  --spacing-large: 2rem;
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* Scroll optimizations */
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: subpixel-antialiased;
}

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

@media (min-width: 1200px) {
  html {
    font-size: 20px;
  }
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-primary);
  background-color: var(--background-dark);
  font-family: var(--font-inter);
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-small);
  /* GPU Acceleration */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: scroll-position;
  /* Prevent text size adjustment on orientation change */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.section {
  width: 100vw;
  height: 100vh;
  position: relative;
  /* GPU Acceleration */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-section {
  padding: var(--spacing-large);
}


body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://img.freepik.com/premium-photo/white-dust-scratches-black-background_279525-2.jpg?w=640");
  background-repeat: repeat;
  opacity: 0.03;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
  filter: invert(0);
}

#container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-dark-purple);
  z-index: 0;
  pointer-events: none;
  /* GPU Acceleration for canvas container */
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.header-area {
  position: fixed;
  top: var(--spacing-large);
  right: var(--spacing-large);
  z-index: 10;
  display: flex;
  align-items: center;
}

.left-logo {
  z-index: 10;
  height: 2rem;
}

.left-logo img {
  height: 2rem;
  width: auto;
  max-width: 150px;
  transition: all var(--transition-fast);
  display: block;
}

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

.center-logo {
  display: none;
}

#logo-text {
  font-size: var(--font-size-medium);
  line-height: 1.2;
  margin: 0;
  text-transform: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo-inter {
  font-family: var(--font-inter);
  font-weight: var(--font-weight-light);
  color: var(--color-purple);
}

.logo-fundamental {
  font-family: var(--font-fundamental);
  font-weight: var(--font-weight-regular);
  color: var(--color-green);
}

.hero {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  text-align: center;
  z-index: 10;
  color: var(--text-primary);
  width: 90%;
  max-width: 800px;
  /* GPU Acceleration */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero h1 {
  font-family: var(--font-inter);
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-large);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-transform: none;
  margin-bottom: 2rem;
  margin: 0 0 2rem 0;
}

.hero h2 {
  font-family: var(--font-fundamental);
  font-weight: var(--font-weight-regular);
  font-size: 1.2rem;
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
  transition: opacity var(--transition-fast);
  margin: 0;
}

/* Gradient Ring Animation */
.hero-ring-wrapper {
  position: relative;
  display: inline-block;
  padding: 3rem;
}

.gradient-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  max-width: 90vw;
  max-height: 90vw;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.gradient-ring::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 12px;
  background: conic-gradient(
    from 0deg,
    var(--color-purple),
    var(--color-green),
    var(--color-purple),
    var(--color-green),
    var(--color-purple)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: rotateGradient 8s linear infinite;
  z-index: 1;
}



.hero-content {
  position: relative;
  z-index: 2;
}

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

.contact-info {
  position: fixed;
  top: 50%;
  left: var(--spacing-large);
  transform: translateY(-50%);
  z-index: 10;
  font-family: var(--font-inter);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.02em;
  font-size: var(--font-size-small);
  color: var(--text-primary);
  text-transform: none;
}

.contact-heading {
  font-size: var(--font-size-small);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-small);
}

.contact-email {
  display: block;
  color: var(--color-green);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  /* Better touch target */
  padding: 0.2rem 0;
}

.contact-email:hover {
  color: var(--color-purple);
}

.footer-links {
  position: fixed;
  top: var(--spacing-large);
  left: var(--spacing-large);
  z-index: 10;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-inter);
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-regular);
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  padding-left: 0;
  text-transform: none;
  font-size: 1rem;
  /* Better touch targets for mobile */
  padding: 0.3rem 0;
  display: inline-block;
  /* Ensure proper touch interaction */
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(185, 242, 88, 0.3);
  cursor: pointer;
}

.footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background-color: var(--color-green);
  transform: translateY(-50%);
  transition: width var(--transition-fast), opacity var(--transition-fast);
  opacity: 0;
}

.footer-link:hover {
  color: var(--color-green);
  padding-left: 1.2rem;
}

.footer-link:hover::before {
  width: 0.8rem;
  opacity: 1;
}

/* Active page indicator with gradient underline */
.footer-link.active {
  color: var(--text-primary);
  position: relative;
}

.footer-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-purple), var(--color-green));
  border-radius: 1px;
}

.footer-link.active:hover {
  padding-left: 0;
  color: var(--text-primary);
}

.footer-link.active:hover::before {
  width: 0;
  opacity: 0;
}

.coordinates {
  position: fixed;
  bottom: var(--spacing-large);
  right: var(--spacing-large);
  text-align: right;
  z-index: 10;
  font-family: var(--font-inter);
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-small);
  color: var(--text-secondary);
}

.section {
  transition: all 0.6s ease;
}

/* Tablet responsiveness */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
    line-height: 1;
  }

  .hero h2 {
    font-size: 1.1rem;
  }

  #logo-text {
    font-size: 1.4rem;
  }

  .hero-ring-wrapper {
    padding: 2.5rem;
  }

  .gradient-ring {
    width: 500px;
    height: 500px;
    max-width: 85vw;
    max-height: 85vw;
  }
}

/* Mobile landscape and smaller tablets */
@media (max-width: 768px) {
  .left-logo img {
    height: 1.7rem;
    max-width: 135px;
  }

  .hero {
    width: 85%;
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: 1.5rem;
  }

  .hero h2 {
    font-size: 1rem;
    line-height: 1.5;
  }

  #logo-text {
    font-size: 1.3rem;
  }

  .contact-info {
    display: none; /* Hide on tablet for cleaner layout */
  }

  .footer-links {
    gap: 1rem;
  }

  .footer-link {
    font-size: 0.95rem;
  }

  .coordinates {
    font-size: 9px;
    line-height: 1.3;
  }

  .hero-ring-wrapper {
    padding: 2rem;
  }

  .gradient-ring {
    width: 450px;
    height: 450px;
    max-width: 85vw;
    max-height: 85vw;
  }

  .gradient-ring::before {
    padding: 10px;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero-section {
    padding: var(--spacing-medium);
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }

  .header-area {
    top: var(--spacing-medium);
    right: var(--spacing-medium);
  }

  .left-logo img {
    height: 1.5rem;
    max-width: 120px;
  }

  .hero {
    width: 90%;
    padding: 0 0.5rem;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
  }

  .hero h2 {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  #logo-text {
    font-size: 1.2rem;
  }

  .contact-info {
    display: none; /* Hide on mobile for cleaner layout */
  }

  .footer-links {
    left: var(--spacing-medium);
    gap: 0.8rem;
    max-width: 60%;
  }

  .footer-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.5rem;
    /* Ensure minimum touch target size on mobile */
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer-link:hover,
  .footer-link:active {
    padding-left: 1rem;
  }

  .footer-link::before {
    height: 1px;
  }

  .footer-link:hover::before,
  .footer-link:active::before {
    width: 0.6rem;
  }

  .coordinates {
    right: var(--spacing-medium);
    bottom: var(--spacing-medium);
    font-size: 8px;
    line-height: 1.4;
    max-width: 35%;
  }

  .coordinates p {
    margin: 0.1rem 0;
  }

  .hero-ring-wrapper {
    padding: 1.5rem;
  }

  .gradient-ring {
    width: 350px;
    height: 350px;
    max-width: 80vw;
    max-height: 80vw;
  }

  .gradient-ring::before {
    padding: 8px;
  }
}

/* Mobile landscape orientation */
@media (max-width: 768px) and (max-height: 500px) and (orientation: landscape) {
  .hero {
    width: 70%;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  .hero h2 {
    font-size: 0.9rem;
  }

  .header-area {
    top: 1rem;
    right: 1rem;
  }

  .footer-links {
    top: 1rem;
  }

  .coordinates {
    bottom: 1rem;
    font-size: 8px;
  }

  .hero-ring-wrapper {
    padding: 1.5rem;
  }

  .gradient-ring {
    width: 350px;
    height: 350px;
    max-width: 75vw;
    max-height: 75vw;
  }

  .gradient-ring::before {
    padding: 8px;
  }
}

/* Very small mobile devices */
@media (max-width: 360px) {
  html {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 1.75rem;
    margin-bottom: 0.8rem;
  }

  .hero h2 {
    font-size: 0.8rem;
  }

  #logo-text {
    font-size: 1.1rem;
  }

  .left-logo img {
    height: 1.2rem;
    max-width: 100px;
  }

  .footer-links {
    gap: 0.5rem;
    max-width: 55%;
  }

  .footer-link {
    font-size: 0.8rem;
    padding: 0.35rem 0;
  }

  .coordinates {
    font-size: 7px;
    max-width: 40%;
  }

  .hero-ring-wrapper {
    padding: 1.2rem;
  }

  .gradient-ring {
    width: 300px;
    height: 300px;
    max-width: 75vw;
    max-height: 75vw;
  }

  .gradient-ring::before {
    padding: 6px;
  }
}

/* Glassmorphism Styles */

.glass-card {
  position: relative;
  width: 100%;
  padding: 2em;
  color: white;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(188, 96, 240, 0.2);
  border: 1px solid rgba(188, 96, 240, 0.3);
}


.glass-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.content-section {
  background: var(--background-dark);
  min-height: 100vh;
  padding: 6rem 2rem 2rem;
  position: relative;
}

.page-title {
  font-family: var(--font-inter);
  font-weight: var(--font-weight-light);
  font-size: 3rem;
  color: var(--color-purple);
  margin-bottom: 3rem;
  text-align: center;
}

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

.team-card {
  position: relative;
  width: 100%;
  padding: 2rem;
  color: white;
  border-radius: 16px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  z-index: 1;
}

.team-card:hover {
  transform: translateY(-8px);
  border: 1px solid rgba(185, 242, 88, 0.3);
  box-shadow: 0 12px 40px 0 rgba(185, 242, 88, 0.1);
}


.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-purple), var(--color-green));
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-name {
  font-family: var(--font-inter);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.team-role {
  font-family: var(--font-fundamental);
  font-size: 1rem;
  color: var(--color-green);
  margin-bottom: 1rem;
}

.team-bio {
  font-family: var(--font-fundamental);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-family: var(--font-inter);
  color: var(--color-purple);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-card p {
  font-family: var(--font-fundamental);
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

.contact-card a {
  color: var(--color-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--color-purple);
}

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

  .page-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

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

  .glass-card {
    padding: 1.5rem;
  }

  .content-section {
    padding: 5rem 1rem 3rem;
  }
}

/* Scroll Prompt Button */
.scroll-prompt {
  position: fixed;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: transparent;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--background-dark), var(--background-dark)), 
                    linear-gradient(90deg, var(--color-purple), var(--color-green));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-inter);
  font-size: 0.9rem;
  color: var(--text-primary);
  opacity: 0;
  transition: all 0.3s ease;
  animation: fadeInBounce 1s ease forwards;
  animation-delay: 2s;
}

.scroll-prompt:hover {
  transform: translateX(-50%) translateY(-5px);
  box-shadow: 0 8px 20px rgba(188, 96, 240, 0.4);
}

.scroll-prompt-text {
  font-weight: var(--font-weight-light);
  letter-spacing: 0.02em;
}

.scroll-prompt-arrow {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  display: inline-block;
}

@keyframes fadeInBounce {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

.scroll-prompt.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Responsive adjustments for scroll prompt */
@media (max-width: 768px) {
  .scroll-prompt {
    bottom: 2rem;
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .scroll-prompt {
    bottom: 1.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .scroll-prompt-arrow {
    font-size: 1rem;
  }
}

/* Parallax Mountains */
.parallax-mountains {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.mountain-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

/* Back mountain - furthest */
.mountain-back {
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(188, 96, 240, 0.1) 100%);
  clip-path: polygon(
    0% 100%,
    0% 70%,
    10% 65%,
    20% 68%,
    30% 60%,
    40% 62%,
    50% 55%,
    60% 58%,
    70% 62%,
    80% 65%,
    90% 68%,
    100% 70%,
    100% 100%
  );
  transform: translateZ(0);
}

/* Middle mountain */
.mountain-mid {
  background: linear-gradient(to bottom, transparent 0%, transparent 60%, rgba(185, 242, 88, 0.15) 100%);
  clip-path: polygon(
    0% 100%,
    0% 75%,
    8% 72%,
    15% 68%,
    25% 65%,
    35% 70%,
    45% 62%,
    55% 65%,
    65% 70%,
    75% 68%,
    85% 72%,
    92% 75%,
    100% 78%,
    100% 100%
  );
  transform: translateZ(0);
}

/* Front mountain - closest */
.mountain-front {
  background: linear-gradient(to bottom, transparent 0%, transparent 70%, rgba(188, 96, 240, 0.2) 90%, rgba(185, 242, 88, 0.1) 100%);
  clip-path: polygon(
    0% 100%,
    0% 82%,
    5% 80%,
    12% 78%,
    20% 75%,
    28% 78%,
    38% 72%,
    48% 75%,
    58% 78%,
    68% 75%,
    78% 78%,
    88% 80%,
    95% 82%,
    100% 85%,
    100% 100%
  );
  transform: translateZ(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mountain-back {
    clip-path: polygon(
      0% 100%,
      0% 75%,
      20% 70%,
      40% 68%,
      60% 70%,
      80% 72%,
      100% 75%,
      100% 100%
    );
  }

  .mountain-mid {
    clip-path: polygon(
      0% 100%,
      0% 80%,
      25% 75%,
      50% 72%,
      75% 75%,
      100% 80%,
      100% 100%
    );
  }

  .mountain-front {
    clip-path: polygon(
      0% 100%,
      0% 85%,
      20% 82%,
      40% 80%,
      60% 82%,
      80% 85%,
      100% 87%,
      100% 100%
    );
  }
}

/* Square Card Carousel and Demo Layout Styles */

.main-content-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
  align-items: start;
}

.carousel-section {
  display: flex;
  flex-direction: column;
}

.square-card-carousel {
  position: relative;
  width: 100%;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
}

.square-card {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.square-card:hover {
  transform: translateY(-8px);
  border: 1px solid rgba(188, 96, 240, 0.3);
  box-shadow: 0 12px 40px 0 rgba(188, 96, 240, 0.2);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.square-card h4 {
  font-family: var(--font-inter);
  font-size: 1.5rem;
  color: var(--color-purple);
  margin-bottom: 1rem;
  font-weight: var(--font-weight-regular);
}

.square-card p {
  font-family: var(--font-fundamental);
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  background: transparent;
  border: 2px solid var(--color-purple);
  color: var(--color-purple);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--color-purple);
  color: var(--background-dark);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 0.8rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--color-purple);
  transform: scale(1.2);
}

.dot:hover {
  background: var(--color-green);
}

/* Demo Section */
.demo-section {
  display: flex;
  flex-direction: column;
}

.demo-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
}

.demo-gif-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.demo-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.demo-placeholder:hover {
  border: 1px solid rgba(185, 242, 88, 0.3);
  box-shadow: 0 12px 40px 0 rgba(185, 242, 88, 0.1);
}

.demo-content {
  text-align: center;
  padding: 2rem;
}

.demo-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.demo-content h4 {
  font-family: var(--font-inter);
  font-size: 1.5rem;
  color: var(--color-green);
  margin-bottom: 1rem;
  font-weight: var(--font-weight-regular);
}

.demo-content p {
  font-family: var(--font-fundamental);
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.demo-video {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  position: relative;
}

.demo-gif {
  width: 100% !important;
  height: auto !important;
  border-radius: 15px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-purple), var(--color-green));
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.video-placeholder:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(188, 96, 240, 0.4);
}

.play-button {
  font-size: 3rem;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-placeholder span {
  color: white;
  font-family: var(--font-fundamental);
  font-weight: var(--font-weight-regular);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Carousel and Demo */
@media (max-width: 1024px) {
  .main-content-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .carousel-container,
  .demo-container {
    height: 350px;
  }
  
  .square-card {
    width: 280px;
    height: 280px;
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .main-content-layout {
    gap: 2rem;
    margin: 2rem 0;
  }
  
  .carousel-container,
  .demo-container {
    height: 300px;
  }
  
  .square-card {
    width: 250px;
    height: 250px;
    padding: 1.2rem;
  }
  
  .card-icon,
  .demo-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .square-card h4,
  .demo-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  .square-card p,
  .demo-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .carousel-controls {
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .main-content-layout {
    gap: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .carousel-container,
  .demo-container {
    height: 280px;
  }
  
  .square-card {
    width: 220px;
    height: 220px;
    padding: 1rem;
  }
  
  .card-icon,
  .demo-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }
  
  .square-card h4,
  .demo-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }
  
  .square-card p,
  .demo-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .demo-content {
    padding: 1.5rem;
  }
  
  .carousel-controls {
    gap: 0.8rem;
    margin-top: 1rem;
  }
  
  .video-placeholder {
    max-width: 250px;
  }
  
  .play-button {
    font-size: 2.5rem;
  }
}

/* Coming Soon Styles */
.coming-soon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 2rem;
}

.coming-soon-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 3rem;
  text-align: center;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.3s ease;
}

.coming-soon-card:hover {
  transform: translateY(-5px);
  border: 1px solid rgba(188, 96, 240, 0.3);
  box-shadow: 0 12px 40px 0 rgba(188, 96, 240, 0.2);
}

.coming-soon-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
  animation: float 3s ease-in-out infinite;
}

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

.coming-soon-title {
  font-family: var(--font-inter);
  font-size: 2.5rem;
  color: var(--color-purple);
  margin-bottom: 1.5rem;
  font-weight: var(--font-weight-regular);
}

.coming-soon-description {
  font-family: var(--font-fundamental);
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.coming-soon-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(188, 96, 240, 0.1);
  border: 1px solid rgba(188, 96, 240, 0.2);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.5rem;
  display: block;
}

.feature-item span:last-child {
  font-family: var(--font-fundamental);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: var(--font-weight-regular);
}

.coming-soon-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.coming-soon-footer p {
  font-family: var(--font-fundamental);
  color: var(--color-green);
  font-size: 1rem;
  font-weight: var(--font-weight-regular);
  margin: 0;
}

/* Responsive Design for Coming Soon */
@media (max-width: 768px) {
  .coming-soon-container {
    padding: 1rem;
    min-height: 50vh;
  }
  
  .coming-soon-card {
    padding: 2rem;
  }
  
  .coming-soon-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .coming-soon-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .coming-soon-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .coming-soon-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-item {
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .coming-soon-card {
    padding: 1.5rem;
  }
  
  .coming-soon-icon {
    font-size: 2.5rem;
  }
  
  .coming-soon-title {
    font-size: 1.8rem;
  }
  
  .coming-soon-description {
    font-size: 0.95rem;
  }
  
  .feature-item {
    padding: 0.6rem;
  }
  
  .feature-icon {
    font-size: 1.2rem;
  }
  
  .feature-item span:last-child {
    font-size: 0.9rem;
  }
}

/* Coming Soon Prompt Styles */
.coming-soon-prompt {
  background: transparent;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--background-dark), var(--background-dark)), 
                    linear-gradient(90deg, var(--color-green), var(--color-purple));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-inter);
  font-size: 0.9rem;
  color: var(--text-primary);
  opacity: 0;
  transition: all 0.3s ease;
  animation: fadeInBounce 1s ease forwards;
  animation-delay: 2s;
}

.coming-soon-prompt:hover {
  transform: translateX(-50%) translateY(-5px);
  box-shadow: 0 8px 20px rgba(185, 242, 88, 0.4);
  background-image: linear-gradient(var(--background-dark), var(--background-dark)), 
                    linear-gradient(90deg, var(--color-purple), var(--color-green));
}

.coming-soon-prompt .scroll-prompt-text {
  font-weight: var(--font-weight-light);
  letter-spacing: 0.02em;
}

.coming-soon-prompt .scroll-prompt-arrow {
  font-size: 1.2rem;
  animation: pulse 2s infinite;
  display: inline-block;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* TearSense Link Button */
.tearsense-link {
  background: transparent;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--background-dark), var(--background-dark)), 
                    linear-gradient(90deg, var(--color-green), var(--color-purple));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-inter);
  font-size: 0.9rem;
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0;
  transition: all 0.3s ease;
  animation: fadeInBounce 1s ease forwards;
  animation-delay: 2s;
}

.tearsense-link:hover {
  transform: translateX(-50%) translateY(-5px);
  box-shadow: 0 8px 20px rgba(185, 242, 88, 0.4);
  background-image: linear-gradient(var(--background-dark), var(--background-dark)), 
                    linear-gradient(90deg, var(--color-purple), var(--color-green));
}

.tearsense-link .scroll-prompt-text {
  font-weight: var(--font-weight-light);
  letter-spacing: 0.02em;
}

.tearsense-link .scroll-prompt-arrow {
  font-size: 1.2rem;
  animation: pulse 2s infinite;
  display: inline-block;
}

/* Footer Styles */
.site-footer {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  margin-top: 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  margin-bottom: 1rem;
  align-items: start;
}

.footer-section h3 {
  font-family: var(--font-inter);
  font-size: 0.9rem;
  color: var(--color-purple);
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-regular);
}

.footer-section p,
.footer-section a {
  font-family: var(--font-fundamental);
  color: var(--text-secondary);
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.8rem;
}

.footer-section a:hover {
  color: var(--color-green);
}

.footer-address {
  font-style: normal;
}

.footer-pages {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-pages a {
  display: inline-block;
  padding: 0.1rem 0;
  position: relative;
}

.footer-pages a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background-color: var(--color-green);
  transform: translateY(-50%);
  transition: width 0.3s ease;
}

.footer-pages a:hover::before {
  width: 0.8rem;
}

.footer-copyright {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 0.75rem 1rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .footer-section h3 {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 0.75rem;
  }
  
  .footer-copyright {
    padding-top: 0.75rem;
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 0.5rem;
  }
  
  .footer-container {
    gap: 0.5rem;
  }
  
  .footer-section h3 {
    font-size: 0.8rem;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 0.7rem;
  }
  
  .footer-copyright {
    padding-top: 0.5rem;
    font-size: 0.6rem;
  }
}
