:root {
  --bg: #0d0d12;
  --bg2: #13131a;
  --bg3: #1a1a24;
  --border: #2a2a3a;
  --indigo: #6366f1;
  --indigo-dim: #3d3f8f;
  --indigo-dark: #4f46e5;
  --amber: #f59e0b;
  --flame: #ff6b2b;
  --text: #e8e6f0;
  --text-dim: #8b89a0;
  --text-muted: #4a4860;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--indigo-dim);
  border-radius: 3px;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--amber), var(--flame));
  z-index: 1000;
}

nav {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(13, 13, 18, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 42, 58, 0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-wordmark {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
}

.nav-wordmark span {
  color: var(--indigo);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--indigo);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  border-color: var(--indigo-dim);
  color: var(--indigo);
  background: rgba(99, 102, 241, 0.08);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 140px 48px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glow1 {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.glow2 {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
}

.glow3 {
  position: absolute;
  top: 35%;
  left: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(255, 107, 43, 0.05) 0%, transparent 70%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(99, 102, 241, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 860px;
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 20px;
  padding: 6px 18px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
  animation: fadeUp 0.9s ease 0.1s both;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}

.hero-mark {
  margin-bottom: 24px;
  animation: fadeUp 0.9s ease 0.15s both;
  filter: drop-shadow(0 0 28px rgba(245, 158, 11, 0.35));
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 20px;
  animation: fadeUp 0.9s ease 0.2s both;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--indigo-dim);
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(44px, 7.5vw, 86px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 14px;
  animation: fadeUp 0.9s ease 0.25s both;
}

.hero-title span {
  color: transparent;
  background: linear-gradient(135deg, var(--indigo), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-tagline {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 21px);
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  animation: fadeUp 0.9s ease 0.3s both;
}

.hero-sub {
  font-size: clamp(19px, 2.5vw, 24px);
  color: var(--text);
  animation: fadeUp 0.9s ease 0.35s both;
  max-width: 580px;
  margin: 0 auto 48px;
}

.hero-sub strong {
  color: var(--amber);
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s ease 0.4s both;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 6px;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(99, 102, 241, 0.28);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--indigo-dark);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 14px 30px;
  border-radius: 6px;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost:hover {
  border-color: var(--indigo-dim);
  color: var(--indigo);
}

.hero-shot {
  position: relative;
  margin-top: 72px;
  max-width: 1100px;
  width: 100%;
  animation: fadeUp 0.9s ease 0.5s both;
}

.shot-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.08), 0 40px 80px rgba(0, 0, 0, 0.65);
}

.shot-frame img {
  width: 100%;
  display: block;
}

.shot-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 2s ease 1.4s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.bounce {
  animation: ab 2s ease infinite;
}

@keyframes ab {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
}

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--indigo-dim), transparent);
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.section-title span {
  color: var(--indigo);
}

.section-body {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 580px;
  line-height: 1.82;
}

.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.panel-stack {
  position: relative;
  height: 500px;
}

.panel-card {
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.panel-card:hover {
  transform: scale(1.03) rotate(0deg) !important;
  z-index: 10;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 30px rgba(99, 102, 241, 0.15);
}

.panel-card img {
  display: block;
  width: 100%;
}

.pc-back1 {
  width: 55%;
  top: 0;
  right: 0;
  transform: rotate(3.5deg);
  opacity: 0.65;
}

.pc-back2 {
  width: 55%;
  top: 50px;
  right: 115px;
  transform: rotate(1.5deg);
  opacity: 0.82;
}

.pc-front {
  width: 62%;
  top: 100px;
  left: 0;
  transform: rotate(-1.5deg);
  z-index: 5;
}

.features-band {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-band .wrap {
  padding-top: 80px;
  padding-bottom: 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feat {
  background: var(--bg2);
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.25s;
}

.feat:hover {
  background: var(--bg3);
}

.feat:nth-child(3n) {
  border-right: none;
}

.feat:nth-last-child(-n+3) {
  border-bottom: none;
}

.feat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.feat:hover::before {
  opacity: 1;
}

.feat-icon {
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
}

.feat-name {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.feat-desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.72;
}

.tabs-bar {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-top: 40px;
}

.tab-btn {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 22px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.18s;
}

.tab-btn:hover {
  color: var(--text-dim);
}

.tab-btn.active {
  color: var(--indigo);
  border-bottom-color: var(--indigo);
}

.tab-panel {
  display: none;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  background: var(--bg2);
}

.tab-panel.active {
  display: flex;
}

.tab-img {
  flex: 1;
  overflow: hidden;
}

.tab-img img {
  width: 100%;
  display: block;
  max-height: 500px;
  object-fit: cover;
  object-position: top;
}

.tab-info {
  width: 270px;
  flex-shrink: 0;
  padding: 32px 26px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.tab-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--indigo-dim);
  color: var(--indigo);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
}

.tab-title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}

.tab-body {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.75;
}

.map-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 100px;
}

.map-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.map-frame img {
  width: 100%;
  display: block;
}

.map-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(13, 13, 18, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 18px;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 48px;
}

.origin-quote {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: clamp(19px, 2.2vw, 25px);
  color: var(--text);
  line-height: 1.65;
  position: relative;
  padding-left: 26px;
}

.origin-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: linear-gradient(180deg, var(--indigo), var(--amber));
  border-radius: 2px;
}

.story-body {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.88;
}

.story-body p {
  margin-bottom: 16px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.foot-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.foot-wm {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.foot-wm span {
  color: var(--indigo-dim);
}

.foot-tag {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 3px;
}

.foot-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.foot-socials {
  display: flex;
  gap: 10px;
}

.foot-copy {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hr-dim {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 48px;
}

@media(max-width:900px) {
  nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .wrap {
    padding: 60px 24px;
  }

  .what-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .panel-stack {
    height: 340px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tab-panel {
    flex-direction: column;
  }

  .tab-info {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  footer {
    padding: 36px 24px;
  }

  .hero {
    padding: 110px 24px 60px;
  }

  .map-wrap {
    padding: 0 24px 60px;
  }
}

@media(max-width:600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    justify-content: center;
  }
}