@charset "utf-8";
/* AFTER WEB DESIGN — WEBSITE PACKAGES (v2) */

@property --awd-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.awd-packages {
  --awd-bg: #121316;
  --awd-card-bg: #1b1c21;
  --awd-border: #2e3038;
  --awd-text: #f5f5f5;
  --awd-muted: #b4b8c2;
  --awd-blue: #2998ff;
  --awd-blue-light: #70bdff;
  --awd-line: #2e3038;
  --awd-rgb: 41, 152, 255;
  --awd-accent2: #8b5cf6;

  position: relative;
  box-sizing: border-box;
  width: auto;
  padding: 64px 24px 68px;
  overflow: hidden;
  overflow: clip;
  contain: paint;
  max-width: 100%;
  isolation: isolate;

  color: var(--awd-text);
  font-family: "Noto Sans Thai", sans-serif;
}
.awd-packages,
.awd-packages *, .awd-packages *::before, .awd-packages *::after { box-sizing: border-box; }

/* Background glow + grid */
.awd-packages::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.awd-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .45; pointer-events: none; }
.awd-orb-1 { width: 420px; height: 420px; top: -120px; left: 0; background: #1670d6; animation: awd-float 14s ease-in-out infinite alternate; }
.awd-orb-2 { width: 360px; height: 360px; bottom: -100px; right: 0; background: #ff7a1a; opacity: .35; animation: awd-float 18s ease-in-out infinite alternate-reverse; }
@keyframes awd-float { to { transform: translate(60px, 40px) scale(1.15); } }

.awd-container { width: 100%; max-width: 1200px; margin: 0 auto; }

/* Heading */
.awd-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.awd-eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 4px 16px;
  border: 1px solid rgba(112,189,255,.35); border-radius: 30px;
  background: rgba(var(--awd-rgb),.08);
  color: var(--awd-blue-light); font-family: "promptregular", sans-serif;
  font-size: 1rem; letter-spacing: 3px; line-height: 1.7;
}
.awd-heading h2 {
  margin: 0; font-family: "serithairegular", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 400; line-height: 1.5;
  background: linear-gradient(90deg, #fff 30%, var(--awd-blue-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.awd-heading p { margin: 12px 0 0; color: var(--awd-muted); font-size: 1rem; line-height: 1.7; }

/* Grid */
.awd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; perspective: 1400px; }

/* Group headings */
.awd-group { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; }
.awd-group:not(:first-child) { margin-top: 18px; }
.awd-group-bar { align-self: stretch; width: 5px; min-height: 36px; border-radius: 4px; background: linear-gradient(180deg, var(--awd-blue-light), var(--awd-blue)); box-shadow: 0 0 18px rgba(var(--awd-rgb), .6); }
.awd-group-text { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.awd-group-text strong { color: #fff; font-family: "serithairegular", sans-serif; font-size: 1.5rem; font-weight: 400; line-height: 1.5; }
.awd-group-en { color: var(--awd-blue-light); font-family: "promptregular", sans-serif; font-size: 1rem; letter-spacing: 1.8px; line-height: 1.7; }
.awd-group-desc { color: var(--awd-muted); font-size: 1rem; line-height: 1.7; }
.awd-group-line { flex: 1 1 60px; height: 1px; background: linear-gradient(90deg, rgba(var(--awd-rgb), .5), transparent); }

/* Card */
.awd-card {
  --mx: 50%; --my: 0%; --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--awd-border); border-radius: 20px;
  background: linear-gradient(180deg, #202229, var(--awd-card-bg));
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .25s ease-out, border-color .3s, box-shadow .3s;
  will-change: transform;
}
/* Cursor spotlight */
.awd-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--awd-rgb),.16), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.awd-card:hover { border-color: rgba(var(--awd-rgb),.55); box-shadow: 0 24px 60px -20px rgba(var(--awd-rgb),.35); }
.awd-card:hover::before { opacity: 1; }
.awd-card > * { position: relative; z-index: 1; }

.awd-card-top { padding: 40px 26px 18px; text-align: center; border-bottom: 1px solid var(--awd-line); }

.awd-tag {
  display: inline-block; padding: 5px 16px; margin-bottom: 10px;
  border: 1px solid #454851; border-radius: 30px; color: #dedede; font-size: 1rem; line-height: 1.6;
}
.awd-tag-blue { border-color: rgba(var(--awd-rgb),.5); background: rgba(var(--awd-rgb),.1); color: var(--awd-blue-light); }

.awd-card-top h3 {
  margin: 0; color: #fff; font-family: "serithairegular", sans-serif;
  font-size: clamp(1.75rem, 2.7vw, 1.95rem); font-weight: 400; line-height: 1.5;
}
.awd-en { margin: 2px 0 12px; color: var(--awd-blue-light); font-family: "promptregular", sans-serif; font-size: 1rem; letter-spacing: 1.8px; line-height: 1.7; }

/* Price */
.awd-price { display: flex; flex-direction: column; align-items: center; margin: 0 auto 10px; }
.awd-price-label { margin-bottom: 2px; padding: 0 12px; border-radius: 30px; background: rgba(var(--awd-rgb), .12); color: var(--awd-blue-light); font-size: 1rem; font-weight: 600; line-height: 1.7; }
.awd-old-price { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 2px; color: #8d919b; font-size: 1rem; line-height: 1.7; }
.awd-old-price s { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.awd-old-label { color: var(--awd-muted); }
.awd-price-main { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.awd-price-number {
  font-family: "KimberleyBl-Regular", sans-serif; font-size: clamp(3.5rem, 6vw, 4.5rem);
  font-weight: 400; line-height: 1.2; letter-spacing: -1px; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--awd-blue-light), var(--awd-blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.awd-unit { color: #fff; font-size: 1.125rem; line-height: 1.7; }
.awd-save {
  margin-top: 6px; padding: 2px 14px; border-radius: 30px;
  background: rgba(52,211,153,.12); color: #6ee7b7; font-size: 1rem; line-height: 1.7;
}

.awd-menu-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; color: #e8e8e8; font-size: 1rem; line-height: 1.7; }
.awd-menu-note strong { color: #fff; font-weight: 600; }
.awd-note-detail { color: var(--awd-muted); }

/* Back Office status: the key difference between Basic and Pro */
.awd-bo {
  display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 12px 14px; text-align: left;
  border-radius: 14px; border: 1px solid; transition: transform .3s, box-shadow .3s;
}
.awd-bo-icon { position: relative; display: inline-flex; flex: 0 0 38px; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; }
.awd-bo-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.awd-bo-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.6; }
.awd-bo-text strong { font-size: 1rem; font-weight: 600; }
.awd-bo-text span { font-size: 1rem; }
.awd-bo--yes {
  border-color: rgba(var(--awd-rgb), .6);
  background: linear-gradient(100deg, rgba(var(--awd-rgb), .22), rgba(var(--awd-rgb), .06));
  box-shadow: 0 8px 28px -14px rgba(var(--awd-rgb), .8);
}
.awd-bo--yes .awd-bo-icon { background: var(--awd-blue); color: #fff; }
.awd-bo--yes .awd-bo-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--awd-blue); animation: awd-bo-ping 2s ease-out infinite; }
@keyframes awd-bo-ping { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.5); } }
.awd-bo--yes .awd-bo-text strong { color: #fff; }
.awd-bo--yes .awd-bo-text span { color: var(--awd-blue-light); }
.awd-bo--no { border-style: dashed; border-color: #44474f; background: rgba(255,255,255,.02); }
.awd-bo--no .awd-bo-icon { background: rgba(255,255,255,.07); color: #8d919b; }
.awd-bo--no .awd-bo-text strong { color: #b4b8c2; }
.awd-bo--no .awd-bo-text span { color: #8d919b; }
.awd-theme-business.awd-card .awd-bo--yes .awd-bo-icon { color: #1a1200; }
.awd-packages .awd-bo-text span { overflow-wrap: anywhere; }

/* Body */
.awd-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px 26px 24px; }
.awd-summary { min-height: 3.4rem; margin: 0 0 14px; color: var(--awd-muted); font-size: 1rem; line-height: 1.7; }
.awd-features-title { margin: 0 0 10px; color: #fff; font-size: 1.125rem; font-weight: 600; line-height: 1.7; }
.awd-features { display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0; padding: 0; }
.awd-features li {
  display: flex; align-items: flex-start; gap: 10px; padding: 3px 8px; margin: 0 -8px;
  border-radius: 8px; color: #e7e7e7; font-size: 1rem; line-height: 1.7; transition: background .2s, transform .2s;
}
.awd-features li:hover { background: rgba(255,255,255,.04); transform: translateX(4px); }
.awd-features li > span:last-child { flex: 1; min-width: 0; }

.awd-check, .awd-cross {
  display: inline-flex; flex: 0 0 22px; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  font-family: Arial, sans-serif; font-size: .875rem; font-weight: 700; transition: transform .25s cubic-bezier(.3,1.6,.5,1);
}
.awd-check { background: rgba(var(--awd-rgb),.16); color: var(--awd-blue-light); }
.awd-cross { background: rgba(255,255,255,.07); color: #8d919b; }
.awd-features li:hover .awd-check { transform: scale(1.25) rotate(-8deg); background: var(--awd-blue); color: #fff; }

.awd-payment {
  display: flex; flex-direction: column; gap: 5px; margin-top: 18px; padding: 12px 14px;
  border: 1px dashed #3d404a; border-radius: 12px; background: rgba(255,255,255,.025);
}
.awd-payment > span { color: var(--awd-muted); font-size: 1rem; line-height: 1.8; }
.awd-payment strong { color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.7; }

.awd-suitable { display: flex; flex-direction: column; gap: 5px; margin: 14px 0 0; color: var(--awd-muted); font-size: 1rem; line-height: 1.7; }
.awd-suitable strong { color: var(--awd-blue-light); font-size: 1rem; font-weight: 600; }

/* Business packages: amber theme (One Page stays blue) */
.awd-theme-business {
  --awd-blue: #f5a524;
  --awd-blue-light: #ffc766;
  --awd-rgb: 245, 165, 36;
  --awd-accent2: #ff6b3d;
}
.awd-theme-business .awd-features li:hover .awd-check { color: #1a1200; }
.awd-theme-business .awd-featured-label { color: #1a1200; font-weight: 600; }

/* Featured: rotating gradient border + shimmer */
.awd-featured { border-color: transparent; box-shadow: 0 0 60px -18px rgba(var(--awd-rgb),.55); }
.awd-featured::after {
  content: ""; position: absolute; inset: -1px; z-index: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--awd-angle), var(--awd-blue), var(--awd-accent2), var(--awd-blue) 40%, transparent 55%, var(--awd-blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: awd-spin 5s linear infinite;
}
@keyframes awd-spin { to { --awd-angle: 360deg; } }
.awd-featured:hover { border-color: transparent; }
.awd-featured .awd-card-top { padding-top: 40px; }
.awd-featured-label {
  position: absolute; top: 0; right: 0; z-index: 2; padding: 7px 16px; border-radius: 0 19px 0 12px;
  background: linear-gradient(90deg, var(--awd-blue), var(--awd-accent2)); color: #fff; font-size: 1rem; line-height: 1.7; overflow: hidden;
}
.awd-featured-label::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-100%); animation: awd-shine 3.2s ease-in-out infinite;
}
@keyframes awd-shine { 60%, 100% { transform: translateX(100%); } }

.awd-common { margin: 24px 0 0; color: var(--awd-muted); font-size: 1rem; line-height: 1.7; text-align: center; }
.awd-disclaimer { margin: 6px auto 0; max-width: 720px; color: #8d919b; font-size: 1rem; line-height: 1.7; text-align: center; }

/* Scroll reveal */
.awd-js .awd-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.awd-js .awd-reveal.awd-in { opacity: 1; transform: none; }
.awd-js .awd-card.awd-reveal.awd-in { transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out, opacity .7s ease, border-color .3s, box-shadow .3s; transition-delay: 0s, var(--d, 0s), 0s, 0s; }

/* Responsive */
@media (max-width: 800px) {
  .awd-packages { padding: 48px 18px 52px; }
  .awd-grid { gap: 18px; }
  .awd-card-top { padding: 40px 20px 16px; }
  .awd-card-body { padding: 18px 20px 22px; }
  .awd-price-number { font-size: 3.625rem; }
  .awd-summary { min-height: 0; }
}
@media (max-width: 600px) {
  .awd-card:not(.awd-featured) .awd-card-top { padding-top: 22px; }
  .awd-group-line { display: none; }
  .awd-group-bar { min-height: 0; }
  .awd-packages { padding: 40px 14px 44px; }
  .awd-heading { margin-bottom: 26px; }
  .awd-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .awd-card { border-radius: 16px; }
  .awd-card-top h3 { font-size: 1.75rem; }
  .awd-price-number { font-size: 4rem; }
  .awd-card-body { padding: 18px 18px 22px; }
  .awd-featured .awd-card-top { padding-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .awd-packages *, .awd-packages *::before, .awd-packages *::after { animation: none !important; transition: none !important; }
  .awd-js .awd-reveal { opacity: 1; transform: none; }
}

/* Thai text wrapping: allow long strings to break instead of overflowing */
.awd-packages, .awd-packages * {
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: auto;
}
.awd-packages .awd-bonus__content, .awd-packages .awd-features li > span:last-child { min-width: 0; }

/* Force long text to wrap inside the card (overrides site-wide rules) */
.awd-packages .awd-card,
.awd-packages .awd-card-top,
.awd-packages .awd-card-body {
  min-width: 0;
  max-width: 100%;
}
.awd-packages .awd-summary,
.awd-packages .awd-features li > span:last-child,
.awd-packages .awd-suitable,
.awd-packages .awd-suitable span,
.awd-packages .awd-payment strong,
.awd-packages .awd-menu-note,
.awd-packages .awd-note-detail,
.awd-packages .awd-card-top h3,
.awd-packages .awd-disclaimer,
.awd-packages .awd-common {
  display: block;
  width: auto;
  max-width: 100%;
  min-width: 0;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  text-wrap: wrap;
}
.awd-packages .awd-summary { width: 100%; }
.awd-packages .awd-menu-note { display: flex; }
.awd-packages .awd-features li > span:last-child { flex: 1 1 0; }

/* Never wider than the page; clip anything that sticks out */
.awd-packages {
  box-sizing: border-box !important;
  width: auto;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  overflow-x: clip;
}
.awd-packages img, .awd-packages svg { max-width: 100%; }