:root {
  --bg: #f8fafc;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #0ea5e9;
  --accent-glow: rgba(14, 165, 233, 0.1);
  --accent-2: #10b981;
  --accent-3: #f59e0b;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  --radius: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(at 0% 0%, hsla(199,89%,48%,0.05) 0, transparent 50%),
    radial-gradient(at 100% 0%, hsla(170,78%,45%,0.05) 0, transparent 50%);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* Hero Section */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-text {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.play-btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.2);
}

.secondary-link {
  padding: 1rem 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  transition: background 0.2s;
}

.secondary-link:hover {
  background: var(--surface-hover);
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  color: var(--muted);
  font-size: 0.875rem;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

/* Sections */
.section {
  padding: 8rem 0;
}

.section-heading {
  margin-bottom: 4rem;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

/* Gallery / Screenshots */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.screenshot-card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.screenshot-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  cursor: pointer;
  border: 1px solid var(--border);
  background: #f1f5f9;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.review-card {
  background: #fff;
}

.stars {
  color: var(--accent-3);
  margin-bottom: 1rem;
}

.reviewer {
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

/* Info & About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.info-card ul {
  list-style: none;
  margin-top: 1.5rem;
}

.info-card li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.info-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 900;
}

/* Contact */
.contact-box {
  background: #fff;
  padding: 4rem;
  border-radius: 32px;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

/* Footer */
.site-footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
}

.lightbox.active { display: flex; }

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Adjustments */
@media (max-width: 968px) {
  .hero-grid, .about-grid, .feature-grid, .review-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero { padding-top: 8rem; }

  .contact-box {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    font-size: 0.8rem;
  }
  .hero-actions { flex-direction: column; }
  .footer-row { flex-direction: column; gap: 2rem; align-items: center; }
}

/* Bottle Animations for Hero Section */
.bottle-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.bottle {
  height: 180px;
  border-radius: 0 0 20px 20px;
  background: rgba(15, 23, 42, 0.05);
  border: 2px solid rgba(15, 23, 42, 0.1);
  position: relative;
  overflow: hidden;
}

.bottle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  transition: height 0.5s ease;
}

.bottle-a::after {
  background: linear-gradient(180deg, #38bdf8, #0ea5e9);
  height: 90%;
  animation: wave 3s infinite ease-in-out;
}
.bottle-b::after {
  background: linear-gradient(180deg, #f43f5e, #e11d48);
  height: 60%;
  animation: wave 3s infinite ease-in-out 0.5s;
}
.bottle-c::after {
  background: linear-gradient(180deg, #10b981, #059669);
  height: 75%;
  animation: wave 3s infinite ease-in-out 1s;
}

@keyframes wave {
  0%, 100% { transform: scaleY(1); opacity: 0.9; }
  50% { transform: scaleY(1.05); opacity: 1; }
}

.glass-panel {
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--border);
}
