:root {
  --bg-dark: #0f1416;
  --bg-darker: #080b0c;
  --neon-cyan: #00f0ff;
  --stone-grey: #586365;
  --text-main: #f0f4f5;
  --text-muted: #9aa8ab;
  --card-bg: rgba(18, 24, 26, 0.6);
  --card-border: rgba(0, 240, 255, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-darker);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--neon-cyan);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(90deg, #ffffff, var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 38px;
  width: auto;
}

.beta-tag {
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-left: 6px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.2);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  padding-top: 5rem;
  background: url('assets/bg.png') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at right 30%, rgba(88, 99, 101, 0.4) 0%, transparent 40%),
              radial-gradient(circle at left 70%, rgba(0, 240, 255, 0.15) 0%, transparent 40%),
              linear-gradient(to bottom, transparent 60%, var(--bg-darker) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom right, #fff, #a0aec0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 2.5rem;
  max-width: 650px;
  line-height: 1.7;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 1);
}

.cta-group {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--stone-grey), var(--neon-cyan));
  color: white;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Features Section */
.features {
  padding: 8rem 5%;
  background: var(--bg-darker);
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  background: linear-gradient(90deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 210, 255, 0.3);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(88, 99, 101, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.icon-wrapper svg {
  width: 32px;
  height: 32px;
  stroke: var(--neon-cyan);
  stroke-width: 1.5;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Screenshots Section */
.screenshots {
  padding: 4rem 5%;
  background: var(--bg-dark);
  position: relative;
}

.screenshots-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .screenshots-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.screenshot-wrapper {
  flex: 1 1 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--card-border);
  transition: transform 0.4s ease;
  background: var(--card-bg);
  cursor: pointer;
}

@media (min-width: 900px) {
  .screenshot-wrapper:first-child {
    flex: 1 1 100%;
  }
}

.screenshot-wrapper:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 240, 255, 0.4);
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(5, 5, 8, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {transform:scale(0.9); opacity:0;}
  to {transform:scale(1); opacity:1;}
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 40px;
  color: var(--text-muted);
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
}

.close-lightbox:hover,
.close-lightbox:focus {
  color: var(--neon-cyan);
  text-decoration: none;
}

/* Supported Platforms */
.platforms {
  padding: 6rem 5%;
  background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
  text-align: center;
}

.platforms-container {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.platform:hover {
  opacity: 1;
  transform: scale(1.05);
}

.platform-img {
  width: 140px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.platform:hover .platform-img {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 15px rgba(0, 240, 255, 0.3));
}

.platform p {
  font-weight: 600;
  letter-spacing: 1px;
}

/* Footer */
footer {
  padding: 4rem 5%;
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--text-muted);
}

footer .logo {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: inline-flex;
}

footer p {
  margin-top: 1rem;
  font-size: 0.9rem;
}

footer .legal-disclaimer {
  max-width: 800px;
  margin: 1.5rem auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  line-height: 1.5;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .nav-links { display: none; } /* Add hamburger menu logic later if needed */
  .section-title { font-size: 2.5rem; }
  .cta-group { flex-direction: column; }
}
