/* Sun Global Group — Brand tokens (Module-02) */
:root {
  --sg-blue: #003399;
  --sg-blue-bright: #0047ab;
  --sg-orange: #ff6600;
  --sg-orange-deep: #cc3300;
  --sg-yellow: #ffcc00;
  --sg-green: #339900;
  --sg-navy: #1a1a2e;
  --sg-purple-ai: #6b3fa0;
  --sg-bg: #ffffff;
  --sg-bg-soft: #f5f7fb;
  --sg-border: #e2e8f0;
  --sg-radius: 0.5rem;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--sg-navy);
  background: var(--sg-bg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.btn {
  font-family: var(--font-display);
}

/* Navbar — full logo must stay visible (no sticky/height clipping) */
.sg-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sg-border);
  transition: box-shadow 0.3s ease;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 0;
  height: auto !important;
  overflow: visible !important;
  z-index: 1030;
  align-items: center;
}

.sg-navbar > .container {
  min-height: 0;
  height: auto;
  overflow: visible !important;
  align-items: center;
  position: relative;
}

.sg-navbar.is-scrolled {
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.08);
}

.sg-navbar .navbar-collapse,
.sg-navbar .navbar-toggler {
  align-self: center;
}

.sg-navbar .navbar-toggler {
  margin-top: 0;
}

.sg-navbar .navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  margin: 0 1.25rem 0 0;
  line-height: 1;
  position: relative;
  z-index: 2;
  height: auto;
  width: auto;
  max-width: min(240px, 46vw);
  overflow: visible;
  display: block;
  flex-shrink: 0;
}

.sg-navbar .navbar-brand img {
  position: static;
  top: auto;
  left: auto;
  height: 160px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  transform: none;
  padding: 0;
  box-sizing: content-box;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 1));
}

.sg-navbar .nav-link {
  color: var(--sg-navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem !important;
}

.sg-navbar .nav-link:hover,
.sg-navbar .nav-link:focus {
  color: var(--sg-orange);
}

.sg-navbar .dropdown-menu {
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  box-shadow: 0 12px 32px rgba(26, 26, 46, 0.08);
}

.sg-navbar .dropdown-item:hover {
  background: var(--sg-bg-soft);
  color: var(--sg-orange);
}

/* Buttons */
.btn-sg-primary {
  background: linear-gradient(180deg, var(--sg-orange) 0%, var(--sg-orange-deep) 100%);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: var(--sg-radius);
  padding: 0.75rem 1.35rem;
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-sg-primary:hover,
.btn-sg-primary:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(204, 51, 0, 0.35);
}

.btn-sg-secondary {
  background: transparent;
  border: 2px solid var(--sg-blue);
  color: var(--sg-blue);
  font-weight: 600;
  border-radius: var(--sg-radius);
  padding: 0.7rem 1.3rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-sg-secondary:hover,
.btn-sg-secondary:focus {
  background: var(--sg-blue);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero — full-bleed */
.sg-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(255, 204, 0, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(0, 51, 153, 0.1), transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #f5f7fb 50%, rgba(255, 102, 0, 0.08) 100%);
}

.sg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 51, 153, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 51, 153, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}

.sg-hero-brand {
  max-width: 220px;
  height: auto;
  margin-bottom: 1.25rem;
  animation: sg-rise 0.8s ease both;
}

.sg-hero h1 {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.15;
  color: var(--sg-navy);
  max-width: 18ch;
  animation: sg-rise 0.8s ease 0.1s both;
}

.sg-hero .lead {
  font-size: 1.15rem;
  color: rgba(26, 26, 46, 0.78);
  max-width: 36ch;
  animation: sg-rise 0.8s ease 0.2s both;
}

.sg-hero-ctas {
  animation: sg-rise 0.8s ease 0.3s both;
}

.sg-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  animation: sg-float-in 1s ease 0.25s both;
}

.sg-hero-visual img,
.sg-hero-photo {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 1.25rem;
  background: transparent;
  box-shadow: 0 28px 56px rgba(0, 51, 153, 0.18);
}

.sg-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sg-hero-orb {
  position: absolute;
  width: min(100%, 360px);
  height: min(100%, 360px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.2), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: sg-pulse 5s ease-in-out infinite;
}

/* Sections */
.sg-section {
  padding: 5rem 0;
}

.sg-section-soft {
  background: var(--sg-bg-soft);
}

.sg-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sg-orange);
  margin-bottom: 0.75rem;
}

.sg-section h2 {
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--sg-navy);
  margin-bottom: 0.75rem;
}

.sg-section .section-lead {
  color: rgba(26, 26, 46, 0.72);
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

/* Why / features */
.sg-feature {
  padding: 1.5rem 0;
  border-top: 1px solid var(--sg-border);
  transition: transform 0.25s ease;
}

.sg-feature:hover {
  transform: translateX(6px);
}

.sg-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.1), rgba(255, 102, 0, 0.12));
  color: var(--sg-blue);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.sg-feature h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* AdXpresS spotlight */
.sg-flagship {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(0, 51, 153, 0.95) 0%, rgba(0, 71, 171, 0.92) 45%, rgba(255, 102, 0, 0.88) 100%);
  color: #fff;
}

.sg-flagship h2,
.sg-flagship .section-lead {
  color: #fff;
}

.sg-flagship .section-lead {
  opacity: 0.9;
}

.sg-flagship-logo-wrap {
  display: inline-block;
  margin: 0.85rem 0 1.35rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.sg-flagship-logo {
  display: block;
  width: min(320px, 100%);
  max-width: 320px;
  height: auto;
  margin: 0;
  background: #fff;
  object-fit: contain;
  filter: none;
  clip-path: none;
}

.sg-flagship .btn-sg-primary {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.sg-flagship .btn-light {
  font-weight: 600;
  border-radius: var(--sg-radius);
  color: var(--sg-blue);
}

/* Product / service tiles — interaction containers */
.sg-tile {
  display: block;
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--sg-border);
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sg-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.1);
  border-color: rgba(255, 102, 0, 0.35);
  color: inherit;
}

.sg-tile.featured {
  border-color: rgba(255, 102, 0, 0.55);
  background: linear-gradient(180deg, #fff 0%, rgba(255, 102, 0, 0.08) 100%);
  box-shadow: 0 10px 28px rgba(255, 102, 0, 0.12);
}

.sg-service-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, var(--sg-orange) 0%, var(--sg-orange-deep) 100%);
}

.sg-text-highlight {
  color: var(--sg-orange-deep);
  background: linear-gradient(180deg, rgba(255, 204, 0, 0.45) 0%, rgba(255, 102, 0, 0.22) 100%);
  padding: 0.05em 0.28em;
  border-radius: 0.3em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.sg-tile h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sg-tile p {
  color: rgba(26, 26, 46, 0.7);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.sg-tile .sg-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sg-blue);
}

.sg-tile:hover .sg-link {
  color: var(--sg-orange);
}

.sg-badge-flagship {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sg-orange-deep);
  background: rgba(255, 102, 0, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

/* Process steps */
.sg-step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--sg-orange);
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* Testimonials */
.sg-quote {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sg-navy);
  margin-bottom: 1rem;
}

.sg-quote-meta {
  font-size: 0.9rem;
  color: rgba(26, 26, 46, 0.65);
}

/* Lead form */
.sg-lead {
  background:
    radial-gradient(ellipse at top right, rgba(255, 102, 0, 0.12), transparent 50%),
    var(--sg-bg-soft);
}

.sg-lead-form {
  background: #fff;
  border: 1px solid var(--sg-border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.06);
}

.sg-lead-form .form-control,
.sg-lead-form .form-select {
  border-radius: var(--sg-radius);
  border-color: var(--sg-border);
  padding: 0.75rem 1rem;
}

.sg-lead-form .form-control:focus,
.sg-lead-form .form-select:focus {
  border-color: var(--sg-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 51, 153, 0.15);
}

/* Footer */
.sg-footer {
  background: var(--sg-navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 4rem 0 2rem;
}

.sg-footer img {
  max-height: 64px;
  width: auto;
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.35rem 0.5rem;
}

.sg-footer h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.sg-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.sg-footer a:hover {
  color: var(--sg-orange);
}

.sg-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
}

/* Reveal on scroll */
.sg-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.sg-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes sg-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sg-float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sg-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

@media (max-width: 991.98px) {
  .sg-hero {
    min-height: auto;
    padding: 3.5rem 0 2.5rem;
    text-align: center;
  }

  .sg-hero h1 {
    max-width: none;
    margin-inline: auto;
  }

  .sg-hero .lead {
    margin-inline: auto;
  }

  .sg-hero-brand {
    margin-inline: auto;
  }

  .sg-hero-visual {
    margin-top: 2rem;
    width: 100%;
  }

  .sg-hero-visual img,
  .sg-hero-photo {
    max-width: 100%;
    max-height: none;
  }

  .sg-navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .sg-navbar .navbar-brand {
    margin-top: 0;
    height: auto;
    width: auto;
  }

  .sg-navbar .navbar-brand img {
    height: 112px;
    max-width: 190px;
    transform: none;
    padding: 4px 2px;
  }
}

/* Inner page hero */
.sg-page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 90% 10%, rgba(255, 102, 0, 0.1), transparent 55%),
    linear-gradient(135deg, #ffffff 0%, #f5f7fb 100%);
  border-bottom: 1px solid var(--sg-border);
}

.sg-page-hero h1 {
  font-weight: 700;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  color: var(--sg-navy);
  margin-bottom: 0.75rem;
}

.sg-page-hero .lead {
  color: rgba(26, 26, 46, 0.72);
  max-width: 40rem;
  margin-bottom: 0;
}

.sg-breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.sg-breadcrumb a {
  color: var(--sg-blue);
  text-decoration: none;
  font-weight: 600;
}

.sg-breadcrumb a:hover {
  color: var(--sg-orange);
}

.sg-breadcrumb span {
  color: rgba(26, 26, 46, 0.45);
}

/* Product listing */
.sg-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--sg-border);
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sg-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.1);
  border-color: rgba(255, 102, 0, 0.35);
  color: inherit;
}

.sg-product-card.is-flagship {
  border-color: rgba(255, 102, 0, 0.45);
  background: linear-gradient(180deg, #fff 0%, rgba(255, 102, 0, 0.06) 100%);
  flex-direction: column;
  align-items: flex-start;
}

.sg-product-card .product-logo {
  width: 140px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.sg-product-card .product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.1), rgba(255, 102, 0, 0.12));
  color: var(--sg-blue);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.sg-product-card .product-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.sg-product-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sg-product-card.is-flagship h2 {
  font-size: 1.65rem;
}

.sg-product-card p {
  color: rgba(26, 26, 46, 0.7);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.sg-product-card .sg-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sg-blue);
}

.sg-product-card:hover .sg-link {
  color: var(--sg-orange);
}

.sg-nav-link-active {
  color: var(--sg-orange) !important;
}

/* Product landing template */
.sg-product-hero {
  padding: 3.5rem 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(255, 102, 0, 0.16), transparent 55%),
    linear-gradient(120deg, rgba(0, 51, 153, 0.06) 0%, #ffffff 45%, #f5f7fb 100%);
  border-bottom: 1px solid var(--sg-border);
}

.sg-product-hero-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 12px 28px rgba(0, 51, 153, 0.15));
}

.sg-product-hero h1 {
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--sg-navy);
  margin-bottom: 0.5rem;
}

.sg-product-hero .product-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--sg-orange);
  margin-bottom: 1rem;
}

.sg-shot-frame {
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  border: 1px solid var(--sg-border);
  background:
    linear-gradient(145deg, rgba(0, 51, 153, 0.08), rgba(255, 102, 0, 0.1)),
    #fff;
  display: grid;
  place-items: center;
  color: rgba(26, 26, 46, 0.45);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.sg-shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sg-shot-frame img.sg-full-image {
  object-fit: contain; /* show full poster without cropping */
}

.sg-pathasala-poster-frame {
  aspect-ratio: auto;
  min-height: auto;
  padding: 0.4rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.sg-pathasala-poster-frame img.sg-full-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin-inline: auto;
  object-fit: contain;
  object-position: center top;
}

.sg-product-hero-pathasala {
  padding-top: 2.25rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 992px) {
  .sg-pathasala-poster-frame {
    max-height: none;
    overflow: visible;
  }

  .sg-pathasala-poster-frame img.sg-full-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 470px;
    object-fit: contain;
    object-position: center top;
  }
}


.sg-video-tagline {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--sg-orange-deep);
  letter-spacing: 0.01em;
}

.sg-video-frame {
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  border: 1px solid var(--sg-border);
  background: var(--sg-navy);
  display: block;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.sg-video-frame video,
.sg-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: #000;
}


.sg-module-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: var(--sg-radius);
  border: 1px solid var(--sg-border);
  background: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.35rem;
}

.sg-module-pill i {
  color: var(--sg-orange);
}

.sg-benefit-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--sg-border);
}

.sg-benefit-item:last-child {
  border-bottom: none;
}

.sg-benefit-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.sg-price-box {
  height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--sg-border);
  border-radius: 1rem;
  background: #fff;
}

.sg-price-box.is-featured {
  border-color: rgba(255, 102, 0, 0.45);
  background: linear-gradient(180deg, #fff 0%, rgba(255, 102, 0, 0.06) 100%);
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.08);
}

.sg-price-box .price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--sg-navy);
}

.sg-price-box ul {
  padding-left: 1.1rem;
  color: rgba(26, 26, 46, 0.75);
}

.sg-demo-box {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--sg-border);
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.06), rgba(255, 102, 0, 0.08));
}

.sg-accordion .accordion-item {
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.sg-accordion .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--sg-navy);
  box-shadow: none;
}

.sg-accordion .accordion-button:not(.collapsed) {
  background: rgba(255, 102, 0, 0.08);
  color: var(--sg-orange-deep);
}

.sg-accordion .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 51, 153, 0.15);
}

.sg-sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--sg-border);
  padding: 0.85rem 0;
}

/* Demo Center */
.sg-demo-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 15% 20%, rgba(0, 51, 153, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 70% at 90% 80%, rgba(255, 102, 0, 0.12), transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #f5f7fb 100%);
  border-bottom: 1px solid var(--sg-border);
}

.sg-demo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--sg-border);
  border-radius: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sg-demo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.1);
}

.sg-demo-card.is-flagship {
  border-color: rgba(255, 102, 0, 0.4);
  background: linear-gradient(180deg, #fff 0%, rgba(255, 102, 0, 0.06) 100%);
}

.sg-demo-card img.demo-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 1rem;
}

.sg-demo-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sg-green);
  background: rgba(51, 153, 0, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.sg-demo-status.is-soon {
  color: var(--sg-orange-deep);
  background: rgba(255, 102, 0, 0.12);
}

.sg-demo-login {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--sg-border);
  background: #fff;
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.06);
}

.sg-demo-creds {
  background: var(--sg-bg-soft);
  border-radius: var(--sg-radius);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
}

.sg-demo-steps {
  counter-reset: demo-step;
}

.sg-demo-steps li {
  position: relative;
  list-style: none;
  padding-left: 3rem;
  margin-bottom: 1.25rem;
}

.sg-demo-steps li::before {
  counter-increment: demo-step;
  content: counter(demo-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sg-orange), var(--sg-orange-deep));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

/* Lead engine channels */
.sg-channel-list {
  display: grid;
  gap: 0.75rem;
}

.sg-channel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sg-channel:hover {
  border-color: rgba(255, 102, 0, 0.4);
  color: inherit;
  transform: translateY(-2px);
}

.sg-channel-card {
  height: 100%;
}

.sg-channel i {
  font-size: 1.35rem;
  color: var(--sg-blue);
}

.sg-channel .bi-whatsapp {
  color: #25d366;
}

.sg-channel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.sg-channel small {
  display: block;
  color: rgba(26, 26, 46, 0.65);
}

.sg-qr-box {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--sg-border);
  border-radius: 1rem;
  background: #fff;
}

.sg-qr-placeholder {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: var(--sg-radius);
  border: 1px dashed var(--sg-border);
  display: grid;
  place-items: center;
  background: var(--sg-bg-soft);
  color: var(--sg-navy);
  font-size: 2.5rem;
}

.sg-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.75);
  background: rgba(51, 153, 0, 0.08);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.sg-trust-badge i {
  color: var(--sg-green);
}

/* Portfolio */
.sg-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sg-filter-btn {
  border: 1px solid var(--sg-border);
  background: #fff;
  color: var(--sg-navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sg-filter-btn:hover,
.sg-filter-btn.is-active {
  background: var(--sg-blue);
  border-color: var(--sg-blue);
  color: #fff;
}

.sg-portfolio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--sg-border);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sg-portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.1);
  color: inherit;
}

.sg-portfolio-thumb {
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  position: relative;
  background: var(--sg-bg-soft);
}

.sg-portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.sg-portfolio-card:hover .sg-portfolio-thumb img {
  transform: scale(1.05);
}

.sg-portfolio-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sg-portfolio-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sg-orange-deep);
  margin-bottom: 0.5rem;
}

.sg-portfolio-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sg-portfolio-body p {
  color: rgba(26, 26, 46, 0.7);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 0.75rem;
}

.sg-case-hero-art {
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 3rem;
}

.sg-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: rgba(26, 26, 46, 0.7);
  margin-bottom: 1.5rem;
}

.sg-case-meta strong {
  color: var(--sg-navy);
}

/* Blog */
.sg-blog-card {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--sg-border);
  border-radius: 1rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .sg-blog-card {
    grid-template-columns: 240px 1fr;
  }
}

.sg-blog-thumb {
  display: block;
  min-height: 180px;
  overflow: hidden;
  background: var(--sg-bg-soft);
}

.sg-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.sg-blog-card:hover .sg-blog-thumb img {
  transform: scale(1.04);
}

.sg-blog-body {
  padding: 1.25rem 1.35rem;
}

.sg-blog-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.sg-blog-body h2 a {
  color: var(--sg-navy);
  text-decoration: none;
}

.sg-blog-body h2 a:hover {
  color: var(--sg-orange);
}

.sg-blog-meta {
  font-size: 0.85rem;
  color: rgba(26, 26, 46, 0.55);
  margin-bottom: 0.65rem;
}

.sg-blog-aside {
  position: sticky;
  top: 5.5rem;
  background: #fff;
  border: 1px solid var(--sg-border);
  border-radius: 1rem;
  padding: 1.25rem;
}

.sg-article {
  max-width: 720px;
}

.sg-article .sg-article-hero {
  width: 100%;
  border-radius: 1rem;
  margin: 1.25rem 0 1.75rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sg-article h2 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.sg-article p,
.sg-article li {
  color: rgba(26, 26, 46, 0.82);
}



