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

:root {
  --bg: #080810;
  --bg-2: #0e0e1a;
  --bg-card: #12121f;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --text: #f0f0f8;
  --text-muted: #7a7a9a;
  --accent: #7c6fff;
  --accent-2: #c084fc;
  --accent-glow: rgba(124,111,255,0.25);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(8,8,16,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
}
.nav-icon { width: 32px; height: 32px; border-radius: 8px; }
.nav-icon-svg {
  width: 30px;
  height: 30px;
  fill: url(#star-gradient);
  flex-shrink: 0;
}
/* Gradient def injected via JS — fallback fill */
.nav-icon-svg path { fill: var(--accent); }
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,111,255,0.12);
  border: 1px solid rgba(124,111,255,0.3);
  color: #a89fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  text-align: center;
  font-size: clamp(32px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; justify-content: center; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 32px rgba(124,111,255,0.35);
}
.btn-primary:hover {
  background: #9080ff;
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(124,111,255,0.5);
}
.btn-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── SECTION COMMON ── */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 48px;
}

/* ── FEATURES ── */
.features {
  padding: 120px 0;
  background: var(--bg-2);
}
.features .section-title,
.features .section-label { text-align: center; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(124,111,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── GALLERY ── */
.gallery-section {
  padding: 120px 0;
}
.gallery-section .section-label,
.gallery-section .section-title,
.gallery-section .section-subtitle { text-align: center; }

.model-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.model-tab {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.model-tab:hover {
  border-color: var(--border-hover);
  color: var(--text);
}
.model-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.gallery-panels { position: relative; }
.gallery-panel { display: none; }
.gallery-panel.active { display: block; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-card);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-prompt {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* Compare items */
.compare-item { aspect-ratio: auto; }
.compare-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  min-height: 280px;
}
.compare-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.compare-wrap img:first-child {
  border-right: 2px solid rgba(255,255,255,0.2);
}
.compare-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ── CTA ── */
.cta-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  background: var(--bg-2);
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-subtitle {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 40px;
}

/* ── FOOTER ── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-icon-svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.footer-icon-svg path { fill: var(--accent); }
.footer-name {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.footer-tagline {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .model-tabs { gap: 6px; }
  .model-tab { font-size: 13px; padding: 7px 14px; }
  .features { padding: 80px 0; }
  .gallery-section { padding: 80px 0; }
  .cta-section { padding: 80px 0; }
  .compare-wrap { min-height: 200px; }
}
