:root {
  --brand-red: #c0392b;
  --brand-red-dark: #922b21;
  --ink: #1c1c1c;
  --muted: #6b7280;
  --bg-soft: #faf9f8;
  --border: #ececec;
  --font-kanit: "Kanit";
  --font-outfit: "Outfit";
}

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

body {
  font-family: var(--font-outfit), var(--font-kanit), sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  height: 30px;
}

.nav-links a {
  margin-left: 28px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

@media (max-width: 560px) {
  nav {
    flex-direction: column;
    gap: 10px;
    padding: 14px 20px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
  }

  .nav-links a {
    margin-left: 0;
  }

  .hero-logo {
    width: 110px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }
}

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

.hero {
  text-align: center;
  padding: 70px 20px 60px;
  background: radial-gradient(circle at top, #fff 0%, var(--bg-soft) 100%);
}

.hero-logo {
  width: 140px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.3rem;
  margin-bottom: 14px;
  color: var(--ink);
}

.subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 30px;
}

.cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-line {
  background: #06c755;
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--brand-red);
  border: 2px solid var(--brand-red);
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 20px;
}

section {
  margin: 80px 0;
}

h2 {
  text-align: center;
  margin-bottom: 14px;
  font-size: 1.8rem;
  color: var(--ink);
}

.packages h2 {
  margin-bottom: 36px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.card.featured {
  border-color: var(--brand-red);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.15);
}

.badge-pop {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-red);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 600;
}

.card h3 {
  margin-bottom: 8px;
  color: var(--brand-red);
  font-size: 1.15rem;
}

.card .price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.card .hosting {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.card .desc {
  font-size: 0.88rem;
  color: #444;
}

.demos-intro {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}

.demo-group {
  margin-bottom: 40px;
}

.demo-group-title {
  font-size: 1.1rem;
  color: var(--brand-red);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.demo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 16px;
  border-radius: 12px;
  background: var(--bg-soft);
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demo-card:not(.disabled):hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-red);
}

.demo-card.disabled {
  opacity: 0.55;
  cursor: default;
}

.demo-icon {
  font-size: 2rem;
}

.demo-name {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.demo-status {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.demo-status.live {
  background: var(--brand-red);
  color: #fff;
}

.demo-status.soon {
  background: #e5e7eb;
  color: var(--muted);
}

.how {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 50px 20px;
}

.how ol {
  max-width: 520px;
  margin: 0 auto;
  padding-left: 20px;
}

.how li {
  margin-bottom: 10px;
}

.how code {
  background: #fff;
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
}

.contact {
  text-align: center;
}

.contact p {
  color: var(--muted);
  margin-bottom: 24px;
}

footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--border);
}

.footer-logo {
  height: 26px;
  margin-bottom: 12px;
  opacity: 0.85;
}

footer p {
  color: var(--muted);
  font-size: 0.85rem;
}
