:root {
  --bg: #040611;
  --card: rgba(255, 255, 255, 0.08);
  --accent: #ffb347;
  --accent-strong: #f25f4c;
  --text: #f6f4f0;
  --muted: rgba(246, 244, 240, 0.7);
  --border: rgba(255, 255, 255, 0.16);
  --font-heading: "Space Grotesk", "Noto Sans TC", sans-serif;
  --font-body: "Noto Sans TC", "Space Grotesk", sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 60%),
    #05040b;
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  background: rgba(5, 4, 11, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 2px;
}

nav a {
  margin-left: 1.25rem;
  color: var(--muted);
  transition: color 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: var(--text);
}

nav .pill {
  padding: 0.45rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}

main {
  padding: 0 clamp(1.5rem, 6vw, 6rem) 4rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 3rem;
  padding: 4rem 0 2rem;
}

.hero__content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
}

.hero__content h1 span {
  color: var(--accent);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease, color 0.3s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #050505;
}

.btn.ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.pulse {
  animation: pulse 0.9s ease;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 95, 76, 0.6);
  }
  100% {
    box-shadow: 0 0 0 24px rgba(242, 95, 76, 0);
  }
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.stat-grid strong {
  font-size: 1.7rem;
  display: block;
}

.hero__mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(320px, 70vw);
  border-radius: 32px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(4, 6, 17, 0.9));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  border-radius: 24px;
  padding: 1.5rem;
  background: #050612;
  border: 1px solid var(--border);
}

.screen-eyebrow {
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.screen-title {
  margin: 0.5rem 0 1rem;
}

.screen-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.screen-menu li {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem;
  border-radius: 12px;
}

.screen-menu small {
  color: var(--muted);
}

.screen-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  color: var(--accent);
}

.section {
  padding: 3.5rem 0;
}

.section__header {
  max-width: 640px;
}

.section__header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.5rem 0;
}

.feature-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

article {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  background: var(--card);
}

.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.story-list {
  margin-top: 1rem;
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--muted);
}

.card {
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(242, 95, 76, 0.18), rgba(255, 179, 71, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
}

.menu-preview {
  margin: 1.5rem 0;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.3);
  padding: 1.25rem;
}

.menu-preview p {
  margin-bottom: 0.6rem;
}

.menu-preview .preview-name {
  font-size: 1.3rem;
  font-weight: 600;
}

.highlight {
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(242, 95, 76, 0.3), rgba(10, 12, 30, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: clamp(2rem, 6vw, 4rem);
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cta-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.95rem 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 1rem;
}

.cta-form input:focus {
  border-color: var(--accent);
  outline: none;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem clamp(1.5rem, 5vw, 4rem) 3rem;
  text-align: center;
  color: var(--muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
}

@media (max-width: 640px) {
  nav {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}
