@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

:root {
  --bg-color: #000;
  --text-color: #fff;
  --accent-color: #7a28ff;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Geist', ui-sans-serif, system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
}

section {
  min-h-screen: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
}

.hero .max-w-2xl {
  max-width: 55rem; /* Increased to accommodate single line title */
}

.content-section {
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.max-w-2xl {
  max-width: 42rem;
  width: 100%;
}

.outline-style {
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 3.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(12px);
}

.geist-h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1rem;
  white-space: nowrap; /* Prevent line breaks */
}

@media (max-width: 600px) {
  .geist-h1 {
    font-size: clamp(1.8rem, 10vw, 2.5rem); /* Smaller font on mobile to keep it in one line */
  }
}

.geist-h2 {
  font-size: clamp(1.1rem, 4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.outline-btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.outline-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.animate-seq {
  animation: slideInUp 0.8s both;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 1000px;
}

.feature-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

/* Scan Section */
.scan-section {
  min-height: auto;
  padding: 5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.scan-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 30rem;
  width: 100%;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  text-align: center;
}

.scan-title {
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.02em;
}

.scan-image-wrapper {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  padding: 1.5rem;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.scan-card:hover .scan-image-wrapper {
  transform: scale(1.05);
}

.scan-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Gallery Section */
.max-w-4xl {
  max-width: 64rem;
  width: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 1100px;
}

.gallery-item {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-image-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-info {
  padding: 1.5rem;
  text-align: left;
}

.gallery-info h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #fff;
}

.gallery-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.gallery-item:hover {
  transform: translateY(-8px);
  border-color: rgba(122, 40, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(122, 40, 255, 0.1);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-section {
  background: rgba(10, 10, 10, 0.6);
}

/* Lightbox Styles */
#lightbox {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

#lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 1rem;
  box-shadow: 0 0 50px rgba(122, 40, 255, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

#lightbox.active img {
  transform: scale(1);
}

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