html.js .premium-reveal,
html.js .feature-card,
html.js .service-card,
html.js .module-card,
html.js .plan-card,
html.js .benefit-card,
html.js .internal-link-panel,
html.js .portfolio-details,
html.js .blog-card,
html.js .faq-item,
html.js .contact-info-box {
  opacity: 0;
  transform: translateY(28px);
}

html.js .is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s ease, transform 0.75s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.landing-premium {
  background:
    radial-gradient(circle at 8% 6%, rgba(59, 130, 246, 0.12), transparent 30rem),
    radial-gradient(circle at 90% 15%, rgba(15, 118, 110, 0.10), transparent 28rem),
    #ffffff;
}

body.landing-premium .tab-content {
  display: block !important;
  position: relative;
}

body.landing-premium .tab-content + .tab-content {
  border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.public-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.scroll-progress {
  display: none !important;
}

.nav-container {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.7rem clamp(1rem, 2vw, 2.25rem);
}

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.logo img {
  height: clamp(86px, 8vw, 138px);
  width: auto;
  display: block;
  object-fit: contain;
  filter: none !important;
  box-shadow: none !important;
  background: transparent !important;
  transition: none;
}

.logo:hover img {
  transform: none;
}

.public-site-header nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.public-site-header nav ul {
  list-style: none;
  display: flex;
  gap: 0.18rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
}

.public-site-header nav li {
  white-space: nowrap;
}

.public-site-header nav a {
  display: inline-block;
  padding: 0.64rem 0.58rem;
  border-radius: 8px;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.public-site-header nav a:hover,
.public-site-header nav a.active {
  background: #1E3A8A;
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #1E3A8A;
  margin: 3px 0;
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--header-height, 110px) + 0.5rem);
  left: 1rem;
  right: 1rem;
  bottom: auto;
  background: rgba(255, 255, 255, 0.98);
  z-index: 999;
  padding: 0.4rem;
  text-align: center;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  max-height: min(72vh, 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.mobile-nav.open,
.mobile-nav.active {
  max-height: calc(100dvh - var(--public-header-height, var(--header-height)) - 18px);
  overflow-y: auto;
}

body.mobile-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.mobile-nav li {
  margin: 0;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  border-bottom: 1px solid #E5E7EB;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: #1E3A8A;
  color: #fff;
}

body.landing-premium nav a,
body.landing-premium .mobile-nav a {
  font-weight: 700;
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #0F172A;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.login-button:hover {
  background: #1E3A8A;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(30, 58, 138, 0.22);
}

.mobile-login {
  margin: 0.5rem 0.75rem 0.75rem;
}

body.landing-premium .hero {
  min-height: calc(100svh - var(--header-height));
  max-height: none;
  justify-content: center;
  background-position: center;
}

body.landing-premium .hero::before {
  background:
    linear-gradient(110deg, rgba(15, 23, 42, 0.82), rgba(30, 58, 138, 0.62) 46%, rgba(15, 23, 42, 0.48)),
    radial-gradient(circle at 75% 20%, rgba(59, 130, 246, 0.32), transparent 24rem);
}

body.landing-premium .hero-content {
  max-width: min(1560px, 94vw);
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 980px);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.hero-copy {
  max-width: 760px;
}

body.landing-premium .hero-eyebrow {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  letter-spacing: 0.02em;
}

body.landing-premium .hero-content h1 {
  font-size: clamp(2.55rem, 5.1vw, 5.7rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 1.2rem;
}

body.landing-premium .hero-content p {
  max-width: 620px;
  font-size: clamp(1.08rem, 1.55vw, 1.45rem);
  margin-bottom: 1rem;
}

body.landing-premium .hero-support {
  max-width: 680px;
  margin: 0 0 1.8rem;
  line-height: 1.65;
}

body.landing-premium .hero-actions {
  justify-content: flex-start;
}

.premium-stats {
  max-width: 1500px;
  margin: 0 auto 4.5rem;
  padding: 0 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  min-height: 160px;
  padding: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #F8FAFC);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.stat-number {
  display: block;
  margin-bottom: 0.45rem;
  color: #1E3A8A;
  font-family: Montserrat, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
}

.stat-card span:last-child {
  color: #475569;
  font-weight: 800;
}

.why-sticky {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 1500px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.why-sticky-left {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
}

.why-sticky-left h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.why-sticky-left h2::after {
  left: 0;
  transform: none;
}

.why-sticky-left p {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.8;
}

.why-card-stack {
  display: grid;
  gap: 1rem;
}

.why-card {
  padding: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.why-card i {
  color: #0F766E;
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
}

.why-card h3 {
  font-family: Montserrat, sans-serif;
  color: #0F172A;
  margin-bottom: 0.45rem;
}

.why-card p {
  color: #475569;
}

.premium-module-showcase {
  padding: 5rem 2rem;
  background: #0F172A;
  color: #fff;
  overflow: hidden;
}

.premium-module-inner {
  max-width: 1500px;
  margin: 0 auto;
}

.premium-module-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.premium-module-heading h2 {
  color: #fff;
  text-align: left;
  margin-bottom: 1.5rem;
}

.premium-module-heading h2::after {
  left: 0;
  transform: none;
}

.premium-module-heading p {
  color: #CBD5E1;
  font-size: 1.1rem;
}

.premium-module-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.premium-module-card {
  min-height: 170px;
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.premium-module-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

.premium-module-card i {
  color: #60A5FA;
  font-size: 1.55rem;
  margin-bottom: 1rem;
}

.premium-module-card h3 {
  font-family: Montserrat, sans-serif;
  margin-bottom: 0.45rem;
}

.premium-module-card p {
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.55;
}

body.landing-premium .home-info,
body.landing-premium .about-intro,
body.landing-premium .feature-card,
body.landing-premium .service-card,
body.landing-premium .module-card,
body.landing-premium .plan-card,
body.landing-premium .blog-card,
body.landing-premium .contact-info-box,
body.landing-premium .internal-link-panel {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

body.landing-premium .internal-link-panel {
  background: linear-gradient(180deg, #fff, #F8FAFC);
}

body.landing-premium .internal-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.landing-premium .internal-link-grid a {
  border-radius: 14px;
  min-height: 56px;
}

.premium-cta {
  width: 100%;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #1E3A8A, #0F172A);
  color: #fff;
  text-align: center;
}

.premium-cta-inner {
  max-width: 980px;
  margin: 0 auto;
}

.premium-cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.premium-cta h2::after {
  background: #60A5FA;
}

.premium-cta p {
  max-width: 760px;
  margin: 0 auto 1.7rem;
  color: #DBEAFE;
  font-size: 1.12rem;
}

.premium-cta .section-btn {
  border-color: rgba(255, 255, 255, 0.85);
}

.premium-cta .section-btn:not(.primary) {
  color: #fff;
  background: transparent;
}

body.landing-premium .contact {
  max-width: none;
  margin: 0;
  padding: 5rem 2rem;
  background:
    radial-gradient(circle at 8% 0%, rgba(59, 130, 246, 0.12), transparent 28rem),
    #F8FAFC;
}

body.landing-premium .contact h2,
body.landing-premium .contact-container {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

body.landing-premium footer .footer-seo {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

body.landing-premium .modal.open {
  align-items: flex-start;
  overflow-y: auto;
  padding: 3vh 1rem;
}

body.landing-premium .modal-dialog {
  max-height: 94vh;
}

body.landing-premium .modal-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.solution-page {
  background: #fff;
}

.solution-page .public-site-header,
.gallery-page .public-site-header {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  backdrop-filter: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.solution-page .hero {
  min-height: clamp(430px, 52vh, 620px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(110deg, rgba(15, 23, 42, 0.86), rgba(30, 58, 138, 0.68) 48%, rgba(15, 23, 42, 0.55)),
    url('../../photo/websitebanner.png') center/cover no-repeat;
}

.solution-page .hero-inner {
  width: min(1500px, 100%);
}

.solution-page .btn {
  border-radius: 999px;
}

.solution-page .hero .btn {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.solution-page .hero .btn.primary {
  border-color: #2563EB;
  background: #2563EB;
}

.solution-page .hero .btn:hover {
  background: #fff;
  color: #1E3A8A;
}

.solution-page .links {
  margin-top: 2rem;
}

.solution-page .page-cta {
  display: none !important;
}

.solution-page footer .footer-positioning {
  display: none;
}

.gallery-page {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 8%, rgba(59, 130, 246, 0.12), transparent 30rem),
    radial-gradient(circle at 92% 18%, rgba(15, 118, 110, 0.10), transparent 28rem),
    #fff;
  color: #111827;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

.gallery-page *,
.gallery-page *::before,
.gallery-page *::after {
  box-sizing: border-box;
}

.gallery-hero {
  padding: clamp(4rem, 7vw, 7rem) 1.5rem 3rem;
  background:
    linear-gradient(110deg, rgba(15, 23, 42, 0.86), rgba(30, 58, 138, 0.68) 48%, rgba(15, 23, 42, 0.55)),
    url('../../photo/websitebanner.png') center/cover no-repeat;
  color: #fff;
  text-align: left;
}

.gallery-hero-inner {
  width: min(1500px, 100%);
  margin: 0 auto;
}

.gallery-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #DBEAFE;
  font-size: 0.82rem;
  font-weight: 800;
}

.gallery-hero h1 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
  margin: 0 0 1rem;
}

.gallery-hero p,
.gallery-intro {
  max-width: 850px;
  margin: 0 auto;
  color: #DBEAFE;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.7;
}

.gallery-section {
  padding: clamp(3rem, 5vw, 5.5rem) 1.5rem;
}

.website-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: min(1500px, 100%);
  margin: 0 auto;
  align-items: stretch;
}

.website-gallery-grid.is-empty {
  grid-template-columns: 1fr;
  width: min(720px, 100%);
}

.website-gallery-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1);
  line-height: 1.5;
  transform-style: flat;
  display: flex;
  flex-direction: column;
}

.website-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.website-gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.website-gallery-card:hover img {
  transform: none;
  filter: saturate(1.04) contrast(1.02);
}

.website-gallery-card:hover::after {
  opacity: 1;
}

.website-gallery-empty {
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  color: #4B5563;
  font-size: 1rem;
  line-height: 1.6;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.gallery-page footer {
  padding: 2rem 1rem;
  text-align: center;
  color: #E5E7EB;
  background: linear-gradient(135deg, #1E3A8A, #0F172A);
}

.gallery-page footer p {
  margin: 0;
}

.review-cta {
  margin: 1.15rem 0 0;
  display: flex;
  justify-content: center;
}

.trustpilot-review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 54px;
  width: min(100%, 360px);
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #00B67A, #009B69);
  color: #fff !important;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 18px 40px rgba(0,182,122,0.30);
  border: 1px solid rgba(255,255,255,0.24);
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.trustpilot-review-button span {
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
}

.trustpilot-review-button img {
  width: 132px;
  height: auto;
  display: block;
}

.trustpilot-review-button:hover {
  background: linear-gradient(135deg, #09C987, #00A875);
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 20px 44px rgba(0,182,122,0.36);
}

.feature-card,
.service-card,
.module-card,
.plan-card,
.premium-module-card,
.why-card,
.stat-card,
.card,
.website-gallery-card,
.solution-page .premium-reveal {
  transform: none !important;
}

.feature-card:hover,
.service-card:hover,
.module-card:hover,
.plan-card:hover,
.premium-module-card:hover,
.why-card:hover,
.stat-card:hover,
.card:hover,
.website-gallery-card:hover,
.internal-link-grid a:hover,
.section-btn:hover,
.hero-actions a:hover,
.contact-buttons button:hover,
.contact-form button:hover,
.modal-footer .btn:hover,
.solution-page .btn:hover,
.solution-page .links a:hover {
  transform: none !important;
}

@media (max-width: 1240px) {
  .public-site-header nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-container {
    padding: 0.65rem 1rem;
  }

  .logo img {
    height: 104px;
  }

  .site-actions .login-button {
    display: none;
  }

  body.landing-premium .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    max-width: 820px;
    margin: 0 auto;
  }

  body.landing-premium .hero-support,
  body.landing-premium .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  body.landing-premium .hero-actions {
    justify-content: center;
  }

  .premium-module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-sticky {
    grid-template-columns: 1fr;
    padding: 4rem 1.5rem;
  }

  .why-sticky-left {
    position: static;
  }

  body.landing-premium .internal-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .website-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0.55rem 0.9rem;
  }

  .logo img {
    height: 86px;
  }

  body.landing-premium .hero-content h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .premium-stats {
    padding: 0 1rem;
    margin-bottom: 3rem;
  }

  .stats-grid,
  .premium-module-grid,
  body.landing-premium .internal-link-grid,
  .website-gallery-grid {
    grid-template-columns: 1fr;
  }

  .trustpilot-review-button {
    width: min(100%, 330px);
    min-height: 52px;
    padding: 0.85rem 1rem;
  }

  .trustpilot-review-button span {
    font-size: 0.95rem;
  }

  .trustpilot-review-button img {
    width: 118px;
  }

  .premium-module-showcase,
  .premium-cta,
  body.landing-premium .contact {
    padding: 4rem 1rem;
  }

  .why-sticky-left h2,
  .premium-module-heading h2 {
    text-align: center;
  }

  .why-sticky-left h2::after,
  .premium-module-heading h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0.45rem 0.8rem;
  }

  .logo img {
    height: 80px;
  }

  .hamburger {
    padding: 8px;
  }

  .hamburger span {
    width: 24px;
    height: 3px;
    margin: 2.5px 0;
  }

  .mobile-nav {
    left: 0.75rem;
    right: 0.75rem;
  }

  .stat-card,
  .why-card,
  .premium-module-card {
    border-radius: 14px;
  }

  .login-button.mobile-login {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js .premium-reveal,
  html.js .feature-card,
  html.js .service-card,
  html.js .module-card,
  html.js .plan-card,
  html.js .benefit-card,
  html.js .internal-link-panel,
  html.js .portfolio-details,
  html.js .blog-card,
  html.js .faq-item,
  html.js .contact-info-box {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
