/* === Reset & Base === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0C1424;
  color: #DDE6F0;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.65;
}
.base { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
a { color: #3E97FF; text-decoration: none; }
a:hover { text-decoration: underline; }

/* === CTA Button === */
.action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #3E97FF;
  color: #0C1424;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: opacity .18s;
}
.action:hover { opacity: .85; text-decoration: none; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  background: #0C1424;
  border-bottom: 1px solid #1E2E4A;
  z-index: 100;
  padding: 15px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo { display: flex; align-items: center; }
.header-logo img { height: 30px; }
.header-logo:hover { text-decoration: none; }
.header-nav { display: flex; gap: 24px; align-items: center; }
.header-nav a {
  color: #4D6880;
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.header-nav a:hover { color: #DDE6F0; text-decoration: none; }
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #DDE6F0;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* === Footer === */
.site-footer {
  color: #4D6880;
  border-top: 1px solid #1E2E4A;
  padding: 28px 0;
  font-size: 14px;
  text-align: center;
}
.site-footer a { color: #3E97FF; }

/* === Hero === */
.hero {
  padding: 100px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #3E97FF;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hero p {
  color: #4D6880;
  margin: 20px 0 36px;
}
.hero-img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #1E2E4A;
}

/* === Feature Rows === */
.feature-row {
  border-top: 1px solid #1E2E4A;
  padding: 72px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
}
.feature-row p {
  color: #4D6880;
  margin-top: 16px;
}

/* === UI Mock (Room Tree) === */
.ui-mock {
  background: #111D33;
  border: 1px solid #1E2E4A;
  border-radius: 10px;
  padding: 24px;
  font-size: 14px;
  font-family: monospace;
  line-height: 2;
  max-width: 100%;
  overflow: hidden;
}
.mock-room { color: #DDE6F0; font-weight: 600; }
.mock-spot { color: #4D6880; padding-left: 16px; }
.mock-item { color: #4D6880; padding-left: 32px; }
.mock-item span { color: #3E97FF; }

/* === Search Mock === */
.search-mock {
  background: #111D33;
  border: 1px solid #1E2E4A;
  border-radius: 10px;
  padding: 20px;
  max-width: 100%;
  overflow: hidden;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #172240;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.search-text { color: #DDE6F0; font-size: 15px; }
.search-cursor { color: #3E97FF; animation: blink 1s step-end infinite; }
.search-result {
  padding: 12px 0;
  border-top: 1px solid #1E2E4A;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.result-loc { font-size: 12px; color: #3E97FF; }
.result-name { font-size: 14px; color: #DDE6F0; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* === Secondary Features Grid === */
.secondary-section {
  border-top: 1px solid #1E2E4A;
  padding: 72px 0;
}
.secondary-section .eyebrow {
  text-align: center;
  margin-bottom: 32px;
}
.secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.secondary-card {
  background: #111D33;
  border: 1px solid #1E2E4A;
  border-radius: 8px;
  padding: 22px;
}
.secondary-card .card-emoji {
  font-size: 24px;
  margin-bottom: 12px;
}
.secondary-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.secondary-card p {
  font-size: 13px;
  color: #4D6880;
}

/* === Screenshot Reel === */
.reel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  margin-top: 48px;
}
.reel img {
  height: 400px;
  width: auto;
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid #1E2E4A;
}

/* === Inner Pages (Help, Privacy, Terms) === */
.page-section {
  padding: 80px 0 60px;
}
.page-section h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.page-section .page-intro {
  color: #4D6880;
  margin-bottom: 32px;
  font-size: 16px;
}
.page-section .page-date {
  color: #4D6880;
  font-size: 13px;
  margin-bottom: 8px;
}
.content-card {
  background: #111D33;
  border: 1px solid #1E2E4A;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 10px;
}
.content-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.content-card p,
.content-card ul {
  color: #4D6880;
  font-size: 14px;
  line-height: 1.7;
}
.content-card ul {
  list-style: disc;
  padding-left: 20px;
}
.content-card ul li { margin-bottom: 4px; }
.content-card a { color: #3E97FF; }
.footer-note {
  color: #4D6880;
  font-size: 13px;
  margin-top: 24px;
  text-align: center;
}

/* === Responsive === */
@media (max-width: 900px) {
  .secondary-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  /* Nav hamburger */
  .hamburger { display: block; }
  .header-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0C1424;
    border-bottom: 1px solid #1E2E4A;
    padding: 16px 24px;
    gap: 12px;
  }
  .header-nav.open { display: flex; }
  .header-inner { position: relative; }

  /* Hero & feature rows stack */
  .hero-grid,
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* Image always below text on mobile */
  .hero-grid .hero-image-col { order: 2; }
  .hero-grid .hero-text-col { order: 1; }
  .feature-grid .visual-col { order: 2; }
  .feature-grid .text-col { order: 1; }

  .hero { padding: 60px 0 48px; }
  .feature-row { padding: 48px 0; }
}
@media (max-width: 600px) {
  .secondary-grid { grid-template-columns: 1fr; }
}
