/* TNR Viral — landing (orange + gray, dark) */
html {
  scroll-behavior: smooth;
}

:root {
  --ln-bg: #0a0a0a;
  --ln-bg-elev: #171717;
  --ln-surface: #1f1f1f;
  --ln-grid: rgba(255, 255, 255, 0.045);
  --ln-text: #fafafa;
  --ln-muted: #a3a3a3;
  --ln-subtle: #737373;
  --ln-orange: #ff6a00;
  --ln-orange-hot: #ff4500;
  --ln-orange-deep: #ff3300;
  --ln-border: rgba(255, 255, 255, 0.12);
  --ln-border-warm: rgba(255, 140, 80, 0.35);
  --ln-glow: rgba(255, 106, 0, 0.5);
  --ln-glow-soft: rgba(255, 255, 255, 0.08);
}

.landing-page {
  min-height: 100vh;
  background-color: var(--ln-bg);
  background-image:
    linear-gradient(var(--ln-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ln-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  color: var(--ln-text);
  font-family: "Kanit", "Sarabun", system-ui, sans-serif;
}

.landing-page a {
  color: inherit;
  text-decoration: none;
}

.ln-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  gap: 1rem;
  flex-wrap: wrap;
}

.ln-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.ln-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8a00 0%, var(--ln-orange-hot) 50%, #404040 100%);
  display: grid;
  place-items: center;
  box-shadow:
    0 0 20px var(--ln-glow),
    0 0 24px var(--ln-glow-soft);
}

.ln-brand-mark svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.ln-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--ln-muted);
}

.ln-menu a:hover {
  color: #e5e5e5;
}

.ln-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ln-pill-lang {
  font-size: 0.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--ln-border);
  color: var(--ln-muted);
}

.ln-link-login {
  color: var(--ln-muted);
  font-size: 0.95rem;
}

.ln-link-login:hover {
  color: var(--ln-text);
}

.ln-btn-start {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #ff8a00 0%, var(--ln-orange) 40%, var(--ln-orange-deep) 100%);
  color: #fff !important;
  box-shadow:
    0 4px 24px var(--ln-glow),
    0 0 0 1px var(--ln-border-warm),
    0 0 18px var(--ln-glow-soft);
}

.ln-btn-start:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

/* Hero: เต็มความสูงหน้าจอถึงแถวสถิติสุดท้าย */
.ln-hero {
  box-sizing: border-box;
  width: 100%;
  max-width: min(1120px, 100%);
  margin: 0 auto;
  min-height: calc(100vh - 5rem);
  min-height: calc(100dvh - 5rem);
  padding: clamp(0.75rem, 2vh, 1.5rem) clamp(1rem, 4vw, 2.5rem) clamp(0.75rem, 2vh, 1.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.ln-hero-stack {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(1.1rem, 3.2vh, 2.5rem);
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
  min-height: 0;
}

.ln-hero-features {
  scroll-margin-top: 5rem;
}

.ln-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: clamp(0.88rem, 1.6vw, 1.05rem);
  color: var(--ln-muted);
  background: rgba(30, 30, 30, 0.9);
  border: 1px solid var(--ln-border);
  margin-bottom: 0;
  box-shadow: 0 0 16px var(--ln-glow-soft);
}

.ln-badge .spark {
  color: var(--ln-orange);
}

.ln-title {
  font-size: clamp(2.35rem, 5.5vw + 0.6rem, 4.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
}

.ln-title .ln-line1 {
  display: block;
  color: #f5f5f5;
}

.ln-title .ln-line2 {
  display: block;
  background: linear-gradient(
    105deg,
    #ff9500 0%,
    var(--ln-orange) 28%,
    var(--ln-orange-hot) 52%,
    #d4d4d4 78%,
    #a3a3a3 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: saturate(1.1);
}

.ln-desc {
  color: var(--ln-muted);
  font-size: clamp(1.08rem, 1.9vw, 1.38rem);
  line-height: 1.7;
  max-width: 40em;
  margin: 0;
  font-weight: 400;
}

.ln-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1.1rem);
  justify-content: center;
  margin-bottom: 0;
}

.ln-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(0.95rem, 2vh, 1.15rem) clamp(1.75rem, 4vw, 2.35rem);
  border-radius: 999px;
  font-weight: 600;
  background: linear-gradient(135deg, #ff9500 0%, var(--ln-orange) 35%, var(--ln-orange-hot) 70%, var(--ln-orange-deep) 100%);
  color: #fff !important;
  box-shadow:
    0 8px 36px var(--ln-glow),
    0 0 0 1px var(--ln-border-warm),
    0 0 24px var(--ln-glow-soft);
  border: none;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

.ln-btn-primary:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

.ln-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: clamp(0.95rem, 2vh, 1.15rem) clamp(1.5rem, 3.5vw, 2rem);
  border-radius: 999px;
  font-weight: 500;
  background: linear-gradient(180deg, rgba(50, 50, 50, 0.6) 0%, var(--ln-bg-elev) 100%);
  color: var(--ln-text) !important;
  border: 1px solid var(--ln-border);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ln-btn-secondary:hover {
  border-color: rgba(255, 140, 80, 0.45);
  color: #e5e5e5 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 20px rgba(255, 106, 0, 0.12);
}

.ln-platforms-label {
  font-size: clamp(0.85rem, 1.4vw, 1.02rem);
  color: var(--ln-muted);
  margin-bottom: clamp(0.65rem, 1.5vh, 1rem);
}

.ln-pills {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
  justify-content: center;
  margin-bottom: 0;
}

.ln-pill {
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  font-size: clamp(0.82rem, 1.25vw, 0.95rem);
  font-weight: 500;
  color: #fff;
}

.ln-pill.tt { background: linear-gradient(135deg, #ff0050, #00f2ea); }
.ln-pill.yt { background: #ff0000; }
.ln-pill.ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.ln-pill.fb { background: #1877f2; }
.ln-pill.x { background: #000; border: 1px solid #333; }

.ln-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  max-width: min(56rem, 100%);
  width: 100%;
  margin: 0 auto;
  padding-top: clamp(1.15rem, 2.5vh, 2.25rem);
  flex-shrink: 0;
  border-top: 1px solid var(--ln-border);
  text-align: center;
}

@media (min-width: 640px) {
  .ln-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ln-stat-num {
  font-size: clamp(1.7rem, 3.2vw + 0.35rem, 2.5rem);
  font-weight: 700;
  background: linear-gradient(90deg, #ff9100, var(--ln-orange-hot), #d4d4d4, #a3a3a3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: saturate(1.15);
}

.ln-stat-label {
  font-size: clamp(0.82rem, 1.35vw, 0.98rem);
  color: var(--ln-muted);
  margin-top: 0.35rem;
}

@media (max-width: 768px) {
  .ln-menu {
    display: none;
  }
}

.ln-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  color: var(--ln-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.ln-section h2 {
  color: var(--ln-text);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.ln-section p {
  margin: 0;
}

.ln-section--spaced {
  padding-bottom: 5rem;
}

/* —— Pricing (#pricing) —— */
.ln-pricing {
  padding: 3rem 1.25rem 4rem;
  max-width: 1040px;
  margin: 0 auto;
}

.ln-pricing-inner {
  text-align: center;
  min-width: 0;
}

.ln-pricing-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--ln-text);
  letter-spacing: -0.02em;
}

.ln-pricing-lead {
  margin: 0 auto 2.5rem;
  max-width: 520px;
  color: var(--ln-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.ln-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: left;
  align-items: stretch;
  min-width: 0;
  padding-top: 0.5rem;
}

@media (min-width: 900px) {
  .ln-pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: stretch;
    padding-top: 0.75rem;
  }
}

.ln-price-card {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(36, 36, 36, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
  border: 1px solid var(--ln-border);
  border-radius: 20px;
  padding: 1.5rem 1.25rem 1.35rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.ln-price-card--featured {
  border: 1px solid var(--ln-border-warm);
  background: linear-gradient(180deg, rgba(40, 36, 34, 0.98) 0%, rgba(18, 18, 18, 1) 100%);
  padding-top: 2.1rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 28px rgba(255, 106, 0, 0.15),
    0 20px 56px rgba(0, 0, 0, 0.4);
}

.ln-price-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  color: #141414;
  background: linear-gradient(105deg, #ff9500, var(--ln-orange), #d4d4d4);
  box-shadow:
    0 0 24px var(--ln-glow),
    0 0 16px var(--ln-glow-soft);
}

.ln-price-ribbon-star {
  font-size: 0.75rem;
}

.ln-price-card-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.ln-price-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}

.ln-price-icon svg {
  width: 22px;
  height: 22px;
}

.ln-price-icon--cal {
  background: linear-gradient(135deg, #ff9500, var(--ln-orange-hot));
  box-shadow: 0 4px 16px var(--ln-glow);
}

.ln-price-icon--star {
  background: linear-gradient(135deg, #525252, #404040);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.ln-price-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ln-text);
}

.ln-price-tagline {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--ln-muted);
  line-height: 1.4;
}

.ln-price-block {
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
}

.ln-price-num {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--ln-orange);
  line-height: 1.15;
}

.ln-pricing .ln-num {
  color: var(--ln-orange);
  font-weight: 700;
}

.ln-price-unit {
  font-size: 0.95rem;
  color: var(--ln-muted);
  font-weight: 500;
}

.ln-price-per {
  font-size: 0.85rem;
}

.ln-price-save {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ln-orange);
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.45);
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.2);
}

.ln-price-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.9rem;
  color: #d4d4d4;
  line-height: 1.55;
}

.ln-price-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.45rem;
}

.ln-price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.ln-price-list--gray {
  color: #d4d4d4;
}

.ln-price-list--gray li::before {
  color: #a3a3a3;
  text-shadow: none;
}

.ln-price-list--orange li::before {
  color: var(--ln-orange);
  text-shadow: 0 0 10px var(--ln-glow);
}

.ln-price-perks {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.ln-price-perk {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.82rem;
  color: #e5e5e5;
  background: rgba(38, 38, 38, 0.8);
  border: 1px solid var(--ln-border);
}

.ln-price-perk-ic {
  font-size: 1rem;
  opacity: 0.95;
  filter: drop-shadow(0 0 6px rgba(255, 140, 0, 0.35));
}

.ln-price-note {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 80, 80, 0.2);
  font-size: 0.78rem;
  line-height: 1.55;
  color: #a3a3a3;
}

.ln-price-note-title {
  margin: 0 0 0.45rem;
  font-weight: 600;
  color: #ff8a8a;
}

.ln-price-note ul {
  margin: 0;
  padding-left: 1.1rem;
}

.ln-price-note li {
  margin-bottom: 0.25rem;
}

.ln-price-cta-wrap {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 0.15rem;
}

.ln-price-cta {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  color: #fff !important;
  border: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.ln-price-cta:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

.ln-price-cta--orange {
  background: linear-gradient(135deg, #ff9500 0%, var(--ln-orange) 40%, var(--ln-orange-deep) 100%);
  box-shadow:
    0 8px 28px var(--ln-glow),
    0 0 0 1px var(--ln-border-warm);
}
