:root {
  --bg: #fff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --soft: #f5f7fb;
  --line: #e8eaf0;
  --primary: #0a5cff;
  --primary-dark: #0847c2;
  --secondary: #111827;
  --card: #fff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    "Inter",
    "Noto Sans Thai",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}
.section-pad {
  padding: 96px 0;
}
.section-pad.compact {
  padding-top: 56px;
}
.soft-bg {
  background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(232, 234, 240, 0.75);
}
.nav-wrap {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.16);
}
.brand-text {
  font-size: 22px;
}
.brand-text span {
  color: var(--primary);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
  color: #3a3a3c;
}
.nav-menu a:not(.nav-cta):hover {
  color: var(--primary);
}
.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111827;
  margin: 5px 0;
  border-radius: 10px;
}
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 18%,
      rgba(10, 92, 255, 0.14),
      transparent 30%
    ),
    linear-gradient(180deg, #fff, #f8faff);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 64px;
  min-height: 660px;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}
.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(10, 92, 255, 0.12);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  margin: 18px 0 22px;
}
h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 8px 0 18px;
}
h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.lead {
  font-size: 21px;
  color: var(--muted);
  max-width: 650px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0;
}
.hero-actions.center {
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 34px rgba(10, 92, 255, 0.22);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn-secondary {
  background: #fff;
  color: #111827;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}
.btn-secondary:hover {
  border-color: #cfd5e3;
  transform: translateY(-1px);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 580px;
}
.trust-row div {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
}
.trust-row strong {
  display: block;
  font-size: 18px;
}
.trust-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.browser-card {
  background: #fff;
  border: 1px solid rgba(209, 214, 227, 0.9);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.browser-top {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: #8a8f9c;
  font-size: 13px;
}
.browser-top i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6dbe8;
}
.browser-top span {
  margin-left: 8px;
}
.book-stage {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 25%, #e9f0ff, transparent 42%),
    linear-gradient(135deg, #f9fbff, #edf3ff);
}
.book {
  display: flex;
  width: min(82%, 420px);
  height: 285px;
  filter: drop-shadow(0 25px 35px rgba(15, 23, 42, 0.18));
  perspective: 900px;
}
.page {
  width: 50%;
  padding: 26px;
  background: #fff;
  border: 1px solid #e3e7f1;
}
.page-left {
  border-radius: 18px 0 0 18px;
  background: linear-gradient(145deg, #111827, #225eff);
  color: #fff;
}
.page-right {
  border-radius: 0 18px 18px 0;
  transform-origin: left;
  animation: pageFlip 4.8s ease-in-out infinite;
}
.doc-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.page-left h3 {
  font-size: 36px;
  color: #fff;
  margin: 28px 0 16px;
}
.page-left p {
  font-size: 13px;
  opacity: 0.78;
}
.page-lines,
.page-lines.small {
  height: 92px;
  border-radius: 12px;
  background: repeating-linear-gradient(
    to bottom,
    #d9deeb 0,
    #d9deeb 8px,
    transparent 8px,
    transparent 18px
  );
  opacity: 0.9;
}
.page-photo {
  height: 86px;
  border-radius: 16px;
  background: linear-gradient(135deg, #80b7ff, #dfe9ff);
  margin: 22px 0;
}
.page-lines.small {
  height: 42px;
}
.floating-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  font-size: 14px;
}
.card-one {
  left: 28px;
  bottom: 64px;
}
.card-two {
  right: 28px;
  top: 82px;
}
@keyframes pageFlip {
  0%,
  70%,
  100% {
    transform: rotateY(0);
  }
  82% {
    transform: rotateY(-14deg);
  }
}
.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}
.section-heading p:not(.section-kicker),
.quality-copy p,
.hosting-card p,
.cta-card p {
  color: var(--muted);
  font-size: 18px;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.compare-card {
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--line);
  background: #fff;
}
.compare-card.muted {
  background: #fafbfe;
}
.compare-card.highlight {
  background: #111827;
  color: #fff;
  border-color: #111827;
  box-shadow: var(--shadow);
}
.compare-card ul,
.price-card ul {
  padding-left: 22px;
  margin: 18px 0 0;
}
.compare-card li,
.price-card li {
  margin: 10px 0;
}
.compare-card.highlight li::marker {
  color: #7fb0ff;
}
.quality-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  align-items: center;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature-card,
.price-card,
.portfolio-card,
.steps > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.045);
}
.feature-card p,
.price-card p,
.portfolio-card p,
.steps p,
.faq-list p {
  color: var(--muted);
}
.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eef4ff;
  color: var(--primary);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 18px;
}
.text-link {
  display: inline-flex;
  color: var(--primary);
  font-weight: 800;
  margin-top: 10px;
}
.hosting-card {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: center;
  background: #111827;
  color: #fff;
  border-radius: 36px;
  padding: 48px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.hosting-card:before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 320px;
  height: 320px;
  background: rgba(10, 92, 255, 0.35);
  filter: blur(30px);
  border-radius: 50%;
}
.hosting-card p {
  color: rgba(255, 255, 255, 0.72);
}
.hosting-badge {
  position: relative;
  background: #fff;
  color: #111827;
  border-radius: 28px;
  padding: 30px;
  text-align: center;
}
.hosting-badge strong {
  display: block;
  font-size: 56px;
  line-height: 1;
  color: var(--primary);
}
.hosting-badge span {
  display: block;
  font-size: 22px;
  font-weight: 800;
  margin: 8px 0;
}
.hosting-badge small {
  display: block;
  color: var(--muted);
}
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.usecase-grid div {
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
}
.price-card.featured {
  border-color: rgba(10, 92, 255, 0.35);
  box-shadow: 0 24px 70px rgba(10, 92, 255, 0.12);
}
.tag {
  position: absolute;
  right: 22px;
  top: 22px;
  background: #eaf1ff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  padding: 7px 12px;
  border-radius: 999px;
}
.price {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 20px 0;
}
.price span {
  font-size: 17px;
  color: var(--muted);
  font-weight: 700;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cover {
  height: 210px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.cover.blue {
  background: linear-gradient(135deg, #dfeaff, #0a5cff);
}
.cover.green {
  background: linear-gradient(135deg, #e7fff3, #20b486);
}
.cover.purple {
  background: linear-gradient(135deg, #f1e8ff, #7b3ff2);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #111827;
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}
.faq-wrap {
  max-width: 900px;
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
}
.faq-list p {
  margin: 12px 0 0;
}
.cta-section {
  background: #fff;
}
.cta-card {
  text-align: center;
  background: linear-gradient(180deg, #f8fbff, #fff);
  border: 1px solid var(--line);
  border-radius: 38px;
  padding: 58px 32px;
  box-shadow: var(--shadow);
}
.cta-card small {
  color: var(--muted);
}
.site-footer {
  background: #0b1020;
  color: #fff;
  padding: 56px 0 22px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 32px;
}
.footer-brand .brand-mark {
  background: #fff;
  color: #111827;
}
.footer-brand .brand-text {
  color: #fff;
}
.site-footer p {
  color: rgba(255, 255, 255, 0.62);
  max-width: 480px;
  margin: 18px 0 0;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}
.copyright {
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  padding-top: 22px;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.delay-1 {
  transition-delay: 0.12s;
}
@media (max-width: 980px) {
  .section-pad {
    padding: 76px 0;
  }
  .hero-grid,
  .quality-grid,
  .hosting-card {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    min-height: auto;
    gap: 44px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow);
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu a {
    padding: 10px;
  }
  .nav-cta {
    text-align: center;
  }
  .compare-grid,
  .pricing-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .usecase-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }
  .section-pad {
    padding: 62px 0;
  }
  .nav-wrap {
    height: 66px;
  }
  .brand-text {
    font-size: 20px;
  }
  h1 {
    font-size: 42px;
    letter-spacing: -0.05em;
  }
  h2 {
    font-size: 34px;
  }
  .lead {
    font-size: 18px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .trust-row {
    grid-template-columns: 1fr;
  }
  .browser-top span {
    display: none;
  }
  .book-stage {
    min-height: 360px;
  }
  .book {
    height: 230px;
    width: 88%;
  }
  .page {
    padding: 18px;
  }
  .page-left h3 {
    font-size: 28px;
  }
  .floating-card {
    display: none;
  }
  .feature-grid,
  .usecase-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .hosting-card {
    padding: 32px 22px;
    border-radius: 28px;
  }
  .hosting-badge strong {
    font-size: 44px;
  }
  .footer-grid {
    flex-direction: column;
  }
  .cover {
    height: 180px;
  }
}

/* V2 multi-page SEO extensions */
.page-hero {
  background:
    radial-gradient(
      circle at 82% 16%,
      rgba(10, 92, 255, 0.13),
      transparent 28%
    ),
    linear-gradient(180deg, #fff, #f8faff);
  border-bottom: 1px solid var(--line);
}
.narrow {
  max-width: 900px;
  text-align: center;
}
.narrow .lead {
  margin-left: auto;
  margin-right: auto;
}
.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}
.two-col p,
.article-content p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}
.seo-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 30px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.045);
  color: var(--text);
}
.seo-card ul {
  margin: 18px 0 0;
  padding-left: 22px;
}
.seo-card li {
  margin: 12px 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.article-content {
  max-width: 860px;
}
.article-content h2 {
  font-size: 34px;
  margin-top: 28px;
}
.article-cta {
  margin-top: 44px;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f8fbff, #fff);
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.045);
}
@media (max-width: 980px) {
  .two-col,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* V3 polish: SEO authority sections, AI-friendly pages, subtle futuristic motion */
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(10, 92, 255, 0.035) 44%,
    transparent 64%
  );
  transform: translateX(-100%);
  animation: scanLight 8s ease-in-out infinite;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.48;
  pointer-events: none;
  animation: floatOrb 9s ease-in-out infinite;
}
.orb-one {
  width: 180px;
  height: 180px;
  background: rgba(10, 92, 255, 0.2);
  right: 7%;
  top: 16%;
}
.orb-two {
  width: 120px;
  height: 120px;
  background: rgba(82, 196, 255, 0.22);
  left: 8%;
  bottom: 12%;
  animation-delay: 1.6s;
}
.browser-card {
  animation: floatDevice 6.8s ease-in-out infinite;
}
.floating-card {
  animation: floatBadge 4.5s ease-in-out infinite;
}
.card-two {
  animation-delay: 0.8s;
}
.feature-card,
.price-card,
.portfolio-card,
.seo-card,
.compare-card {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.feature-card:hover,
.price-card:hover,
.portfolio-card:hover,
.seo-card:hover,
.compare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.1);
  border-color: rgba(10, 92, 255, 0.2);
}
.authority-band {
  background: linear-gradient(180deg, #fff, #f8faff);
}
.authority-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 38px;
  padding: 46px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.authority-card:before {
  content: "";
  position: absolute;
  right: -110px;
  top: -110px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(10, 92, 255, 0.12);
  filter: blur(18px);
}
.authority-card p {
  color: var(--muted);
  font-size: 18px;
}
.authority-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.authority-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
}
.authority-list span:before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(10, 92, 255, 0.1);
}
.nav-menu a {
  position: relative;
}
.nav-menu a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}
.nav-menu a:not(.nav-cta):hover:after {
  transform: scaleX(1);
}
@keyframes scanLight {
  0%,
  55%,
  100% {
    transform: translateX(-100%);
  }
  72% {
    transform: translateX(100%);
  }
}
@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -24px, 0) scale(1.05);
  }
}
@keyframes floatDevice {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 980px) {
  .authority-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .authority-card {
    padding: 28px 20px;
    border-radius: 28px;
  }
  .authority-list {
    grid-template-columns: 1fr;
  }
  .hero:before,
  .orb {
    display: none;
  }
  .browser-card {
    animation: none;
  }
}

/* V3 polish: full-width blue page hero + Back to Top */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(10, 92, 255, 0.1);
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(255, 255, 255, 0.92),
      transparent 26%
    ),
    radial-gradient(
      circle at 82% 22%,
      rgba(10, 92, 255, 0.22),
      transparent 34%
    ),
    linear-gradient(135deg, #edf5ff 0%, #dcebff 48%, #f8fbff 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -180px auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(10, 92, 255, 0.2);
  filter: blur(34px);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #0a5cff;
  box-shadow: 0 16px 36px rgba(10, 92, 255, 0.28);
  cursor: pointer;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: #0847c2;
}

@media (max-width: 640px) {
  .page-hero {
    min-height: 360px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}

/* =========================================================
   FlipBooks.cc V4 Theme
   Deep blue / white premium direction inspired by The7 style,
   while keeping V3 hybrid SEO structure intact.
   ========================================================= */
:root {
  --bg: #ffffff;
  --text: #071829;
  --muted: #526579;
  --soft: #f3f8ff;
  --line: #ddeaf7;
  --primary: #08a9ee;
  --primary-dark: #057fc5;
  --secondary: #07136f;
  --navy: #080e6f;
  --navy-2: #003a9f;
  --blue-soft: #eaf5ff;
  --card: #ffffff;
  --shadow: 0 28px 70px rgba(0, 45, 130, 0.14);
  --shadow-soft: 0 18px 46px rgba(0, 45, 130, 0.08);
}

body {
  color: var(--text);
  background: #fff;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(221, 234, 247, 0.72);
  box-shadow: 0 10px 34px rgba(0, 28, 90, 0.06);
}

.nav-wrap {
  height: 66px;
}

.brand-mark {
  background: transparent;
  color: var(--primary);
  box-shadow: none;
  border-radius: 0;
  width: auto;
  height: auto;
  font-size: 24px;
  letter-spacing: -0.08em;
}

.brand-text {
  color: #071829;
  font-size: 24px;
}

.brand-text span {
  color: var(--primary);
}

.nav-menu {
  color: #071829;
  gap: 28px;
}

.nav-menu a:not(.nav-cta):hover {
  color: var(--primary);
}

.nav-cta,
.btn-primary {
  background: linear-gradient(180deg, #16bafb 0%, #049ce8 100%);
  color: #fff;
  border: 0;
  box-shadow: 0 14px 30px rgba(4, 156, 232, 0.28);
}

.nav-cta:hover,
.btn-primary:hover {
  background: linear-gradient(180deg, #12aef1 0%, #067fc8 100%);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.hero {
  color: #fff;
  background:
    radial-gradient(
      circle at 18% 16%,
      rgba(19, 209, 255, 0.22),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 26%,
      rgba(0, 172, 255, 0.22),
      transparent 30%
    ),
    linear-gradient(180deg, #07096b 0%, #082993 54%, #0573c9 100%);
  min-height: calc(100vh - 66px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8vw -12vw -8vw;
  height: 24vw;
  min-height: 230px;
  background: rgba(9, 177, 239, 0.28);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: rotate(-2deg);
  pointer-events: none;
}

.hero-grid {
  min-height: calc(100vh - 66px);
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  color: var(--primary);
}

.hero .eyebrow {
  color: #58dbff;
}

.hero .eyebrow span {
  background: #58dbff;
  box-shadow: 0 0 0 7px rgba(88, 219, 255, 0.16);
}

.hero h1 {
  color: #fff;
  letter-spacing: -0.06em;
  text-shadow: 0 12px 44px rgba(0, 0, 0, 0.12);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.84);
}

.trust-row div {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(14px);
}

.trust-row span {
  color: rgba(255, 255, 255, 0.72);
}

.browser-card {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.22);
}

.browser-top {
  background: #fff;
}

.book-stage {
  background:
    radial-gradient(
      circle at 50% 22%,
      rgba(75, 210, 255, 0.34),
      transparent 42%
    ),
    linear-gradient(180deg, #eef8ff 0%, #d7edff 100%);
}

.page-left {
  background: linear-gradient(145deg, #080d70, #078ee3);
}

.page-photo {
  background: linear-gradient(135deg, #09b1ef, #c7eaff);
}

.floating-card {
  color: #071829;
  border-color: rgba(0, 78, 158, 0.12);
}

.soft-bg {
  background: linear-gradient(180deg, #eef7ff 0%, #ffffff 100%);
}

.compare-card,
.feature-card,
.price-card,
.portfolio-card,
.steps > div,
.faq-list details,
.mini-card {
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.compare-card.highlight,
.hosting-card,
.cta-card {
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(33, 204, 255, 0.22),
      transparent 26%
    ),
    linear-gradient(180deg, #080e6f 0%, #07349b 58%, #0578ca 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.compare-card.highlight li::marker {
  color: #50d4ff;
}

.icon {
  background: #e7f6ff;
  color: var(--primary);
}

.hosting-badge strong,
.price,
.text-link {
  color: var(--primary);
}

.usecase-grid div:hover,
.portfolio-card:hover,
.price-card.featured {
  border-color: rgba(8, 169, 238, 0.38);
  box-shadow: 0 26px 65px rgba(0, 92, 190, 0.13);
}

.cta-card .btn-secondary,
.compare-card.highlight .btn-secondary,
.hosting-card .btn-secondary {
  color: #fff;
}

.site-footer {
  background: #071829;
  color: #fff;
}

.site-footer p,
.site-footer a,
.copyright {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .brand-text,
.site-footer .brand-mark {
  color: #fff;
}

.site-footer .brand-text span {
  color: #25c5ff;
}

.back-to-top {
  background: #fff;
  color: #071829;
  border: 1px solid rgba(8, 169, 238, 0.28);
  box-shadow: 0 12px 32px rgba(0, 37, 112, 0.16);
}

.back-to-top:hover {
  background: #08a9ee;
  color: #fff;
}

/* Inner SEO pages: full-width blue hero like the reference screenshots */
.page-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(
      circle at 50% 4%,
      rgba(42, 218, 255, 0.22),
      transparent 26%
    ),
    linear-gradient(180deg, #080e6f 0%, #07359e 58%, #057cca 100%);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: auto -7vw -13vw -7vw;
  height: 24vw;
  min-height: 220px;
  background: rgba(7, 170, 232, 0.24);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: rotate(-2deg);
}

.page-hero::after {
  display: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero .section-kicker {
  color: #53d9ff;
}

.page-hero h1 {
  color: #fff;
  max-width: 980px;
  margin-inline: auto;
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.13);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.84);
  margin-inline: auto;
}

.page-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 980px) {
  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding: 78px 0 86px;
  }

  .page-hero {
    min-height: 460px;
  }
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero .btn-secondary {
    color: #fff;
  }

  .page-hero {
    min-height: 420px;
  }
}

/* V5 refinements */
.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-mark {
  background: linear-gradient(180deg, #18bafa 0%, #049ce8 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(4, 156, 232, 0.24);
}

.footer-brand .brand-text {
  color: #fff !important;
}

.footer-brand .brand-text span {
  color: #20c7ff !important;
}

.back-to-top {
  will-change: transform, opacity;
}

/* V7 refinements: Master Logo, cleaner footer links, clearer CTA, no hero wave */
.brand-logo-link {
  min-width: 0;
  gap: 0;
}

.brand-logo {
  width: 210px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.nav-wrap .brand-logo-link {
  flex: 0 0 auto;
}

.hero::before,
.page-hero::before {
  display: none !important;
}

.cta-card {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(77, 217, 255, 0.2),
    transparent 34%
  );
  pointer-events: none;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card .section-kicker {
  color: #5bdcff;
}

.cta-card h2 {
  color: #fff;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.cta-card p {
  color: rgba(255, 255, 255, 0.86);
}

.cta-card small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 10px;
}

.cta-card .btn-primary {
  background: #16b8f3;
  color: #fff;
}

.cta-card .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.footer-logo-link {
  display: inline-flex;
  padding: 10px 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.footer-logo {
  width: 250px;
  height: auto;
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.9fr);
  align-items: start;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px 12px;
  align-items: stretch;
  justify-self: end;
  width: min(100%, 420px);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  border-color: rgba(37, 197, 255, 0.42);
  background: rgba(37, 197, 255, 0.12);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .brand-logo {
    width: 185px;
    max-height: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 165px;
  }

  .footer-logo {
    width: 220px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* V8 refinements: feature owl icons, 3-column footer, cleaner contact CTA */
.feature-card {
  text-align: center;
}

.feature-card .owl-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 82, 220, 0.12);
  overflow: hidden;
}

.feature-card .owl-icon img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  display: block;
}

.footer-grid {
  grid-template-columns: minmax(280px, 1.1fr) minmax(320px, 0.9fr) minmax(
      240px,
      0.75fr
    ) !important;
  gap: 32px;
}

.footer-contact {
  color: rgba(255, 255, 255, 0.78);
}

.footer-contact h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1.05rem;
}

.footer-contact p {
  margin: 0 0 10px;
  line-height: 1.75;
}

.footer-contact strong {
  color: #fff;
}

.footer-contact a {
  color: #55d7ff;
  font-weight: 800;
}

.footer-contact a:hover {
  color: #fff;
}

.cta-card h2,
.cta-card p,
.cta-card small {
  opacity: 1;
}

.cta-card small {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-contact {
    grid-column: auto;
  }

  .feature-card .owl-icon,
  .feature-card .owl-icon img {
    width: 66px;
    height: 66px;
  }
}

/* V9 refinements: package pricing, JPG portfolio covers, cleaner footer */
.pricing-grid-v9 {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 22px;
}

.package-card {
  min-height: 0;
}

.package-card h3 {
  color: #08245f;
}

.package-card p {
  min-height: 0;
  margin-bottom: 10px;
}

.hosting-renewal-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(32, 199, 255, 0.26);
  background: linear-gradient(135deg, #eefcff, #f8fbff 58%, #ffffff);
  box-shadow: 0 18px 46px rgba(10, 92, 255, 0.08);
}

.hosting-renewal-card h3 {
  margin: 4px 0 8px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: -0.03em;
}

.hosting-renewal-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.hosting-renewal-price {
  min-width: 220px;
  padding: 20px 24px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(135deg, #08245f, #0a5cff);
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: 0 18px 44px rgba(10, 92, 255, 0.2);
}

.hosting-renewal-price span {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.78);
}

.portfolio-cover {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  margin-bottom: 22px;
}

/* Portfolio Card External Links */
.portfolio-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.portfolio-card-link .portfolio-card {
  height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.portfolio-card-link:hover .portfolio-card {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.site-footer {
  padding-top: 54px;
}

.site-footer .footer-grid {
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.85fr) minmax(
      260px,
      0.85fr
    ) !important;
  align-items: start;
  gap: 42px;
}

.footer-brand,
.footer-contact {
  text-align: left;
}

.footer-links {
  justify-self: center;
  width: 100%;
  max-width: 360px;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
}

.footer-contact {
  justify-self: end;
  max-width: 300px;
}

.copyright {
  text-align: center;
}

@media (max-width: 1100px) {
  .pricing-grid-v9 {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .footer-contact {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .pricing-grid-v9,
  .hosting-renewal-card {
    grid-template-columns: 1fr;
  }

  .hosting-renewal-price {
    width: 100%;
    min-width: 0;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .footer-brand,
  .footer-contact,
  .copyright {
    text-align: center;
  }

  .footer-logo-link,
  .footer-contact {
    justify-self: center;
  }

  .footer-links {
    max-width: 100%;
  }
}

/* V10 refinements: cleaner hero, balanced compare cards, colored pricing cards */
.hero-title-soft {
  display: block;
  font-size: 0.88em;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.hero .hero-actions {
  margin-bottom: 0;
}

.compare-card.muted {
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(85, 220, 255, 0.18),
      transparent 28%
    ),
    linear-gradient(180deg, #0b5eb8 0%, #0a7fc7 100%);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.compare-card.muted h3,
.compare-card.muted li {
  color: #fff;
}

.compare-card.muted li::marker {
  color: #9ee8ff;
}

.pricing-grid-v9 .package-card {
  display: flex;
  min-height: 295px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 22px;
  text-align: center;
  border: 1px solid rgba(20, 61, 114, 0.1);
  box-shadow: 0 22px 52px rgba(14, 56, 120, 0.08);
}

.pricing-grid-v9 .package-card h3 {
  margin-bottom: 8px;
  color: #08245f;
  font-size: 24px;
}

.pricing-grid-v9 .package-card p {
  margin: 0 0 10px;
  color: #47627f;
  font-weight: 700;
}

.pricing-grid-v9 .package-card .price {
  margin: 12px 0 18px;
  color: #08245f;
  font-size: clamp(38px, 4vw, 48px);
}

.pricing-grid-v9 .package-card .price span {
  color: #47627f;
  font-size: 16px;
}

.package-features {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #243b5a;
  font-size: 14px;
  font-weight: 700;
}

.package-features li::before {
  content: "✓";
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #0a5cff;
  font-size: 12px;
  font-weight: 900;
}

.package-a {
  background: linear-gradient(135deg, #f5fbff 0%, #e5f5ff 100%);
}

.package-b {
  background: linear-gradient(135deg, #f7faff 0%, #e9eeff 100%);
}

.package-c {
  background: linear-gradient(135deg, #f3fffb 0%, #dff8f0 100%);
}

.package-d {
  background: linear-gradient(135deg, #fffaf2 0%, #fff0d8 100%);
}

.package-e {
  background: linear-gradient(135deg, #fff7fb 0%, #ffe5f0 100%);
}

.package-f {
  background: linear-gradient(135deg, #f8f6ff 0%, #ebe5ff 100%);
}

@media (max-width: 760px) {
  .hero-title-soft {
    font-size: 0.84em;
  }

  .pricing-grid-v9 .package-card {
    min-height: 260px;
  }
}

/* V11 refinements: gold compare card, stronger package colors, improved footer contact */
.compare-card.muted {
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(255, 240, 189, 0.28),
      transparent 26%
    ),
    linear-gradient(135deg, #9b6710 0%, #c88712 45%, #e0a62c 100%);
  border-color: rgba(255, 244, 220, 0.32);
  color: #fffaf0;
  box-shadow: 0 22px 54px rgba(145, 93, 3, 0.22);
}

.compare-card.muted h3,
.compare-card.muted li {
  color: #fffaf0;
}

.compare-card.muted li::marker {
  color: #fff4c7;
}

.pricing-grid-v9 .package-card {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 56px rgba(10, 32, 90, 0.12);
}

.pricing-grid-v9 .package-card h3,
.pricing-grid-v9 .package-card p,
.pricing-grid-v9 .package-card .price,
.pricing-grid-v9 .package-card .price span,
.pricing-grid-v9 .package-card .package-features {
  color: #ffffff;
}

.pricing-grid-v9 .package-card p {
  opacity: 0.95;
}

.pricing-grid-v9 .package-card .price {
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
}

.package-features {
  gap: 10px;
}

.package-features li {
  color: #ffffff;
}

.package-features li::before {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.package-a {
  background: linear-gradient(135deg, #0b4ecf 0%, #178df5 100%);
}

.package-b {
  background: linear-gradient(135deg, #0b6f83 0%, #12b5df 100%);
}

.package-c {
  background: linear-gradient(135deg, #0d8f5f 0%, #33c776 100%);
}

.package-d {
  background: linear-gradient(135deg, #d27a06 0%, #f2a022 100%);
}

.package-e {
  background: linear-gradient(135deg, #c83c72 0%, #ef6da0 100%);
}

.package-f {
  background: linear-gradient(135deg, #6e3ccb 0%, #9b68ff 100%);
}

.footer-contact {
  justify-self: end;
  max-width: 320px;
  padding: 24px 26px;
  border-radius: 26px;
  background: linear-gradient(
    180deg,
    rgba(18, 155, 244, 0.12),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(84, 160, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-contact h3 {
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.footer-contact p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.footer-contact p:last-child {
  margin-bottom: 0;
}

.footer-contact strong {
  display: inline-block;
  min-width: 86px;
  color: #ffffff;
}

.footer-contact a {
  color: #60d5ff;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .footer-contact {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .footer-contact {
    max-width: 100%;
    width: 100%;
    text-align: left;
  }
}

/* V12 refinements: blue compare card, swap package B/F colors, boxed footer columns */
.compare-card.muted {
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(148, 235, 255, 0.24),
      transparent 28%
    ),
    linear-gradient(135deg, #1492d6 0%, #1c84d5 42%, #38bdf8 100%);
  border-color: rgba(191, 240, 255, 0.34);
  color: #f4fdff;
  box-shadow: 0 22px 54px rgba(16, 116, 185, 0.22);
}

.compare-card.muted h3,
.compare-card.muted li {
  color: #f7fdff;
}

.compare-card.muted li::marker {
  color: #d7f5ff;
}

/* Swap B and F so they differ more clearly */
.package-b {
  background: linear-gradient(135deg, #6e3ccb 0%, #9b68ff 100%);
}

.package-f {
  background: linear-gradient(135deg, #0b6f83 0%, #12b5df 100%);
}

/* Footer cards with equal heights */
.site-footer .footer-grid {
  align-items: stretch;
}

.footer-brand,
.footer-links,
.footer-contact {
  height: 100%;
  padding: 26px 28px;
  border-radius: 26px;
  background: linear-gradient(
    180deg,
    rgba(18, 155, 244, 0.1),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(84, 160, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.footer-links {
  justify-self: stretch;
  align-self: stretch;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  align-content: start;
}

.footer-links a {
  position: relative;
  display: block;
  padding: 0 0 0 18px;
  min-height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  line-height: 1.5;
}

.footer-links a::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-52%);
  color: #5dd4ff;
  font-size: 18px;
  line-height: 1;
}

.footer-links a:hover {
  color: #ffffff;
  transform: none;
}

.footer-contact {
  justify-self: stretch;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-contact h3 {
  margin-bottom: 18px;
}

.footer-contact p {
  margin-bottom: 14px;
}

@media (max-width: 1100px) {
  .footer-links,
  .footer-contact,
  .footer-brand {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .footer-brand,
  .footer-links,
  .footer-contact {
    padding: 22px 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-brand,
  .footer-contact,
  .copyright {
    text-align: center;
  }

  .footer-links a {
    text-align: left;
  }
}

/* V13 refinements: no annual software subscription, no ads, comparison table */
.subscription-section {
  position: relative;
}

.subscription-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: stretch;
  padding: 38px;
  border-radius: 34px;
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(93, 212, 255, 0.24),
      transparent 34%
    ),
    linear-gradient(135deg, #eefaff 0%, #ffffff 56%, #eff6ff 100%);
  border: 1px solid rgba(84, 160, 255, 0.2);
  box-shadow: 0 26px 74px rgba(13, 71, 130, 0.1);
}

.subscription-copy h2 {
  margin-bottom: 14px;
}

.subscription-copy p {
  color: #516276;
  font-size: 18px;
}

.usp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.usp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #062664;
  font-weight: 800;
  border: 1px solid rgba(84, 160, 255, 0.18);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.compare-table-wrap {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(84, 160, 255, 0.2);
  background: #ffffff;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e8f0fb;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table th {
  color: #062664;
  background: linear-gradient(180deg, #f7fbff 0%, #edf7ff 100%);
  font-size: 17px;
}

.compare-table td {
  color: #43566f;
  line-height: 1.65;
}

.compare-table td:nth-child(2) {
  color: #082b70;
  font-weight: 700;
}

.service-note-card {
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0a43b7 0%, #0ba4df 100%);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(4, 80, 170, 0.18);
}

.service-note-card h3,
.service-note-card p,
.service-note-card li {
  color: #ffffff;
}

.service-note-card ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

.service-note-card li {
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .subscription-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .compare-table th,
  .compare-table td {
    padding: 14px 12px;
    font-size: 14px;
  }

  .usp-pill {
    width: 100%;
    justify-content: center;
  }
}

/* V14 refinements: responsive hero, clearer comparison, tracking-ready CTA */
.hero-title-soft {
  font-size: 0.7em;
  white-space: nowrap;
}

.browser-top span {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Separate both comparison columns into clearly distinguishable surfaces. */
.subscription-card .compare-table-wrap {
  padding: 12px;
  overflow-x: auto;
  border: 0;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(84, 160, 255, 0.18);
}

.subscription-card .compare-table {
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 12px 10px;
}

.subscription-card .compare-table th,
.subscription-card .compare-table td {
  border: 1px solid transparent;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 50, 100, 0.06);
}

.subscription-card .compare-table th:first-child {
  color: #41546c;
  background: linear-gradient(180deg, #f3f6fa 0%, #e9eef5 100%);
  border-color: #dbe4ee;
}

.subscription-card .compare-table th:last-child {
  color: #073377;
  background: linear-gradient(180deg, #e7f7ff 0%, #d9efff 100%);
  border-color: #bfe4fb;
}

.subscription-card .compare-table td:first-child {
  color: #53657a;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.subscription-card .compare-table td:last-child {
  color: #073377;
  background: #f0f9ff;
  border-color: #ccecff;
}

/* Remove the decorative glow from the upper-right corner. */
.authority-card::before {
  display: none !important;
}

.contact-actions .btn-call {
  background: linear-gradient(135deg, #ff8a00 0%, #ff6200 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 16px 34px rgba(255, 105, 0, 0.32);
}

.contact-actions .btn-call:hover {
  background: linear-gradient(135deg, #ff7600 0%, #e94f00 100%);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .hero-title-soft {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .hero.section-pad {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-grid {
    padding-top: 42px;
    padding-bottom: 62px;
  }

  .hero-title-soft {
    font-size: 0.82em;
    line-height: 1.08;
  }

  .browser-top {
    gap: 6px;
    padding-inline: 14px;
  }

  .browser-top span {
    display: inline-block;
    max-width: calc(100% - 58px);
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .hero-grid {
    padding-top: 38px;
  }

  .subscription-card .compare-table-wrap {
    margin-inline: -10px;
  }
}

@media (max-width: 640px) {
  .compare-table-wrap {
    overflow: visible;
  }

  .compare-table,
  .subscription-card .compare-table {
    display: block;
    min-width: 0;
    border-spacing: 0;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tbody,
  .compare-table tr,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table tr {
    margin-bottom: 16px;
  }

  .compare-table td {
    margin-bottom: 8px;
  }

  .compare-table td::before {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .compare-table td:first-child::before {
    content: "ทำเองผ่านโปรแกรมออนไลน์";
    color: #607188;
  }

  .compare-table td:last-child::before {
    content: "ใช้บริการ FlipBooks.cc";
    color: #0879b8;
  }
}


/* V15 refinements: navigation, smooth anchors, comparison cards, shared service UI */
.nav-menu {
  gap: 24px;
  font-size: 16px;
}

.nav-cta,
.nav-cta:hover {
  box-shadow: none;
}

.page-hero .hero-actions {
  justify-content: center;
}

.comparison-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.comparison-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d9e4f2;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.comparison-panel-negative {
  border-color: #f4cccc;
  background: linear-gradient(180deg, #fff8f8 0%, #ffffff 100%);
}

.comparison-panel-positive {
  border-color: #bfe8cf;
  background: linear-gradient(180deg, #f1fff6 0%, #ffffff 100%);
}

.comparison-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.comparison-heading h3 {
  margin: 0;
  color: #08245d;
  font-size: 20px;
}

.comparison-symbol {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.comparison-panel-negative .comparison-symbol {
  background: #e5484d;
  box-shadow: 0 8px 20px rgba(229, 72, 77, 0.22);
}

.comparison-panel-positive .comparison-symbol {
  background: #17a864;
  box-shadow: 0 8px 20px rgba(23, 168, 100, 0.22);
}

.comparison-list {
  list-style: none;
  margin: 0;
  padding: 10px 22px 20px;
}

.comparison-list li {
  position: relative;
  margin: 0;
  padding: 15px 0 15px 34px;
  color: #53657a;
  font-size: 16px;
  line-height: 1.65;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.comparison-list li:last-child {
  border-bottom: 0;
}

.comparison-list li::before {
  position: absolute;
  left: 0;
  top: 17px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.comparison-panel-negative .comparison-list li::before {
  content: "×";
  background: #e5484d;
}

.comparison-panel-positive .comparison-list li::before {
  content: "✓";
  background: #17a864;
}

.subscription-card .comparison-columns {
  align-self: stretch;
}

.quality-feature-grid .feature-card {
  text-align: center;
}

.text-benefit-grid .feature-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.article-content {
  max-width: 920px;
}

.article-content h2 {
  margin-top: 48px;
  scroll-margin-top: 100px;
}

.article-content h3 {
  margin-top: 30px;
}

.article-content ul,
.article-content ol {
  padding-left: 26px;
  color: #53657a;
  font-size: 18px;
  line-height: 1.85;
}

.article-content li {
  margin: 8px 0;
}

.article-toc {
  display: grid;
  gap: 10px;
  margin-bottom: 40px;
  padding: 26px 28px;
  border: 1px solid #d8e8fa;
  border-radius: 24px;
  background: linear-gradient(135deg, #f3faff 0%, #ffffff 100%);
}

.article-toc strong {
  color: #062664;
  font-size: 20px;
}

.article-toc a {
  color: #075bbf;
  font-weight: 700;
}

.article-toc a:hover {
  color: #0a8fd8;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 28px 0 40px;
  border: 1px solid #d8e8fa;
  border-radius: 22px;
}

.article-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.article-table th,
.article-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e4edf7;
}

.article-table th {
  color: #062664;
  background: #eef7ff;
}

.article-table tr:last-child td {
  border-bottom: 0;
}

.article-cta {
  margin-top: 56px;
  padding: 38px;
  text-align: center;
  border-radius: 30px;
  background: linear-gradient(135deg, #081c78 0%, #087bc9 100%);
  color: #ffffff;
}

.article-cta h2,
.article-cta p {
  color: #ffffff;
}

.article-cta h2 {
  margin-top: 0;
}

@media (max-width: 1120px) {
  .nav-menu {
    gap: 18px;
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .comparison-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .comparison-heading {
    min-height: auto;
    padding: 18px;
  }

  .comparison-list {
    padding-inline: 18px;
  }

  .article-cta {
    padding: 28px 20px;
  }
}


