:root {
  --bg: #120e14;
  --bg-card: #1e1721;
  --bg-card-hover: #2a1f2e;
  --accent: #e5484d;
  --accent-glow: rgba(229, 72, 77, 0.3);
  --text-main: #f4eef4;
  --text-sub: #b39fb3;
  --border: #3a2b3f;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-main);
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--text-sub);
  font-size: 15px;
  margin-bottom: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e5484d, #c92a2e);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
}
.btn-outline:hover {
  background: var(--bg-card-hover);
  box-shadow: none;
}

/* Header */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(18, 14, 20, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 32px;
  width: auto;
  border-radius: 8px;
}
.brand span {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}
.header-nav {
  display: none;
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 700;
}
.hero p {
  color: var(--text-sub);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.hero-cta .btn {
  width: 100%;
  max-width: 280px;
}
.hero-gallery {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
}
.hero-gallery::-webkit-scrollbar {
  display: none;
}
.hero-gallery img {
  width: 160px;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

/* Plaza */
.plaza {
  padding: 60px 0;
}
.tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab {
  padding: 8px 20px;
  border-radius: 20px;
  background: var(--bg-card);
  color: var(--text-sub);
  font-size: 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}
.tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}
.card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}
.card-title {
  font-size: 16px;
  font-weight: 600;
}
.card-desc {
  font-size: 13px;
  color: var(--text-sub);
  flex-grow: 1;
}

/* Demo */
.demo {
  padding: 60px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.demo-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.demo-text h2 {
  text-align: left;
  margin-bottom: 16px;
}
.demo-text p {
  color: var(--text-sub);
  margin-bottom: 24px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}
.feature-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 0;
}
.demo-img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* Creator */
.creator {
  padding: 60px 0;
}
.creator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.creator-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.creator-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}
.creator-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.creator-card p {
  color: var(--text-sub);
  font-size: 14px;
}

/* API */
.api {
  padding: 60px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.api-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.api-box {
  background: var(--bg);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.api-box h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.api-box p {
  font-size: 14px;
  color: var(--text-sub);
}

/* Reviews */
.reviews {
  padding: 60px 0;
}
.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.review-text {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 12px;
  font-style: italic;
}
.review-author {
  font-size: 13px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 8px;
}
.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  color: #fff;
}

/* Privacy & FAQ */
.faq {
  padding: 60px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.privacy-note {
  background: var(--bg);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-sub);
  border-left: 4px solid var(--accent);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
details {
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 16px;
  cursor: pointer;
}
details summary {
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details summary::-webkit-details-marker {
  display: none;
}
details summary::after {
  content: '+';
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.2s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-sub);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Footer */
.site-footer {
  padding: 40px 0 30px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-cta h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
.footer-cta .btn {
  margin-bottom: 40px;
}
.footer-info {
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
    gap: 24px;
  }
  .header-nav a {
    font-size: 14px;
    color: var(--text-sub);
    transition: color 0.2s;
  }
  .header-nav a:hover {
    color: var(--text-main);
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
  .hero-cta .btn {
    width: auto;
  }
  .hero-gallery {
    justify-content: center;
  }
  .hero-gallery img {
    width: 200px;
    height: 280px;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .demo-inner {
    flex-direction: row;
    align-items: center;
  }
  .demo-text {
    flex: 1;
  }
  .demo-visual {
    flex: 1;
  }
  .creator-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .api-inner {
    flex-direction: row;
  }
  .api-box {
    flex: 1;
  }
  .review-list {
    flex-direction: row;
  }
  .review-card {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 56px;
  }
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-gallery img {
    width: 220px;
    height: 300px;
  }
}