/* ============================================================
   style.css — Sociagroups Web
   Design System: Refined Corporate + Energetic ATM
   ============================================================ */

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --sg-primary:       #FB8192;
  --sg-primary-dark:  #e96070;
  --sg-secondary:     #292C6D;
  --sg-secondary-light: #3a3e8f;
  --sg-white:         #FFFFFF;
  --sg-bg:            #F8F9FA;
  --sg-text:          #333333;
  --sg-text-muted:    #6c757d;
  --sg-border:        rgba(41, 44, 109, 0.1);

  --sg-font-display:  'Open Sans', sans-serif;
  --sg-font-body:     'poppins', sans-serif;

  --sg-shadow-sm:     0 2px 12px rgba(41,44,109,.08);
  --sg-shadow-md:     0 8px 32px rgba(41,44,109,.12);
  --sg-shadow-lg:     0 20px 60px rgba(41,44,109,.18);
  --sg-shadow-primary:0 8px 30px rgba(251,129,146,.35);

  --sg-radius-sm:     8px;
  --sg-radius-md:     14px;
  --sg-radius-lg:     24px;
  --sg-radius-xl:     40px;

  --sg-transition:    all .22s cubic-bezier(.4,0,.2,1);
  --sg-transition-slow: all .45s cubic-bezier(.4,0,.2,1);

  --sg-navbar-h:      72px;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sg-font-body);
  color: var(--sg-text);
  background: var(--sg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sg-font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--sg-secondary);
}

a { color: var(--sg-primary); text-decoration: none; transition: var(--sg-transition); }
a:hover { color: var(--sg-primary-dark); }

img { max-width: 100%; height: auto; }

.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem;
  background: var(--sg-secondary); color: #fff;
  padding: .5rem 1rem; border-radius: var(--sg-radius-sm);
  z-index: 9999; text-decoration: none;
}

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────────── */
.sg-display { font-family: var(--sg-font-display); }
.sg-text-primary  { color: var(--sg-primary) !important; }
.sg-text-secondary{ color: var(--sg-secondary) !important; }
.sg-text-muted    { color: var(--sg-text-muted) !important; }

.sg-lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: #555;
  line-height: 1.75;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.sg-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--sg-primary);
  color: #fff !important;
  border: none;
  border-radius: var(--sg-radius-xl);
  padding: .65rem 1.6rem;
  font-family: var(--sg-font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .01em;
  box-shadow: var(--sg-shadow-primary);
  transition: var(--sg-transition);
  cursor: pointer;
}
.sg-btn-primary:hover, .sg-btn-primary:focus-visible {
  background: var(--sg-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(251,129,146,.45);
  color: #fff !important;
  text-decoration: none;
}
.sg-btn-primary:active { transform: translateY(0); }

.sg-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: transparent;
  color: var(--sg-secondary) !important;
  border: 2px solid var(--sg-secondary);
  border-radius: var(--sg-radius-xl);
  padding: .6rem 1.5rem;
  font-family: var(--sg-font-display);
  font-weight: 700;
  font-size: .9rem;
  transition: var(--sg-transition);
  cursor: pointer;
}
.sg-btn-secondary:hover, .sg-btn-secondary:focus-visible {
  background: var(--sg-secondary);
  color: #fff !important;
  transform: translateY(-2px);
  text-decoration: none;
}

.sg-btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: var(--sg-radius-xl);
  padding: .6rem 1.5rem;
  font-family: var(--sg-font-display);
  font-weight: 700;
  font-size: .9rem;
  transition: var(--sg-transition);
}
.sg-btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff !important;
  transform: translateY(-2px);
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.sg-navbar {
  height: var(--sg-navbar-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sg-border);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: var(--sg-transition);
}

.sg-navbar.scrolled {
  box-shadow: var(--sg-shadow-sm);
}

.sg-logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}

.sg-logo-icon svg { display: block; }

.sg-logo-text {
  font-family: var(--sg-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--sg-secondary);
  letter-spacing: -.02em;
}
.sg-logo-text strong { color: var(--sg-primary); }

.sg-navbar .nav-link {
  font-family: var(--sg-font-body);
  font-weight: 500;
  font-size: .9rem;
  color: var(--sg-text) !important;
  padding: .5rem .75rem;
  border-radius: var(--sg-radius-sm);
  transition: var(--sg-transition);
}
.sg-navbar .nav-link:hover,
.sg-navbar .nav-link.active { color: var(--sg-secondary) !important; background: var(--sg-bg); }

.sg-nav-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: var(--sg-radius-xl);
}
.sg-nav-badge.brand {
  background: rgba(251,129,146,.12);
  color: var(--sg-primary-dark);
}
.sg-nav-badge.creator {
  background: rgba(41,44,109,.1);
  color: var(--sg-secondary);
}

.sg-dropdown {
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius-md);
  box-shadow: var(--sg-shadow-lg);
  padding: .75rem;
  min-width: 260px;
  animation: dropIn .2s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: var(--sg-white);
  z-index: 1050;
}
.sg-dropdown .dropdown-item {
  border-radius: var(--sg-radius-sm);
  padding: .75rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--sg-text);
  transition: var(--sg-transition);
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.sg-dropdown .dropdown-item:hover {
  background: linear-gradient(135deg, rgba(251,129,146,.08) 0%, rgba(41,44,109,.05) 100%);
  color: var(--sg-primary);
  padding-left: 1.05rem;
}
.sg-dropdown .dropdown-item small {
  font-size: .75rem;
  margin-top: .1rem;
  color: var(--sg-text-muted);
  font-weight: 400;
}
.sg-dropdown .dropdown-item:hover small {
  color: var(--sg-primary-dark);
}

/* Dropdown open state */
.dropdown > .sg-dropdown.show {
  display: block;
  opacity: 1;
  visibility: visible;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-12px); visibility: hidden; }
  to   { opacity: 1; transform: translateY(0); visibility: visible; }
}

/* ── OFFCANVAS ──────────────────────────────────────────────── */
.sg-offcanvas { width: 300px !important; }
.sg-offcanvas-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--sg-text-muted);
  padding: 0 .75rem;
}
.sg-offcanvas-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--sg-text) !important;
  border-radius: var(--sg-radius-sm);
  padding: .6rem .75rem;
}
.sg-offcanvas-link:hover { background: var(--sg-bg); color: var(--sg-secondary) !important; }

/* ── SECTION UTILITIES ──────────────────────────────────────── */
.sg-section { padding: 5rem 0; }
.sg-section-sm { padding: 3rem 0; }
.sg-section-lg { padding: 7rem 0; }

.sg-section-bg { background: var(--sg-bg); }
.sg-section-dark {
  background: var(--sg-secondary);
  color: var(--sg-white);
}
.sg-section-dark h1, .sg-section-dark h2,
.sg-section-dark h3, .sg-section-dark h4 { color: #fff; }

.sg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sg-primary);
  margin-bottom: 1rem;
}
.sg-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--sg-primary);
  border-radius: 2px;
}

.sg-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}

.sg-section-subtitle {
  font-size: 1.05rem;
  color: var(--sg-text-muted);
  max-width: 560px;
  line-height: 1.75;
}

/* ── HERO SECTION ───────────────────────────────────────────── */
.sg-hero {
  min-height: calc(100vh - var(--sg-navbar-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sg-secondary) 0%, #1e2055 50%, #151740 100%);
  padding: 5rem 0 4rem;
}

.sg-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.sg-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .4;
  animation: blobPulse 8s ease-in-out infinite;
}
.sg-hero-blob-1 {
  width: 400px; height: 400px;
  background: var(--sg-primary);
  top: -100px; right: -80px;
  animation-delay: 0s;
}
.sg-hero-blob-2 {
  width: 300px; height: 300px;
  background: rgba(251,129,146,.6);
  bottom: -80px; left: 10%;
  animation-delay: -3s;
}
.sg-hero-blob-3 {
  width: 200px; height: 200px;
  background: rgba(255,200,210,.4);
  top: 40%; right: 30%;
  animation-delay: -5s;
}

@keyframes blobPulse {
  0%, 100% { transform: scale(1) translate(0,0); }
  33%       { transform: scale(1.1) translate(20px,-20px); }
  66%       { transform: scale(.95) translate(-15px,10px); }
}

/* Grid dots overlay */
.sg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.sg-hero-content { position: relative; z-index: 2; }

.sg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(251,129,146,.2);
  border: 1px solid rgba(251,129,146,.4);
  color: var(--sg-primary);
  border-radius: var(--sg-radius-xl);
  padding: .35rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
}
.sg-hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--sg-primary);
  border-radius: 50%;
  animation: blinkDot 1.5s ease-in-out infinite;
}
@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

.sg-hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.sg-hero-title .sg-highlight {
  position: relative;
  color: var(--sg-primary);
  display: inline-block;
}
.sg-hero-title .sg-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: var(--sg-primary);
  border-radius: 2px;
  opacity: .5;
}

.sg-hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,.78);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.sg-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.sg-hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.sg-hero-stat-num {
  font-family: var(--sg-font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.sg-hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: .3rem;
}

/* Hero Visual Card (Right Side) */
.sg-hero-visual { position: relative; z-index: 2; }

.sg-hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--sg-radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  animation: heroCardFloat 6s ease-in-out infinite;
}
@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.sg-hero-card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.sg-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.sg-metric-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--sg-radius-md);
  padding: 1rem;
  text-align: center;
}

.sg-metric-value {
  font-family: var(--sg-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sg-primary);
  line-height: 1;
  margin-bottom: .2rem;
}

.sg-metric-label {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.sg-trust-bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
  color: rgba(255,255,255,.6);
}
.sg-trust-avatars { display: flex; }
.sg-trust-avatars span {
  width: 28px; height: 28px;
  background: var(--sg-primary);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: #fff;
  font-weight: 700;
  margin-left: -8px;
}
.sg-trust-avatars span:first-child { margin-left: 0; }

/* Floating Badge */
.sg-float-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--sg-radius-md);
  box-shadow: var(--sg-shadow-lg);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--sg-secondary);
  white-space: nowrap;
  z-index: 3;
}
.sg-float-badge-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}
.sg-float-badge-1 {
  top: -18px; left: -24px;
  animation: floatBadge1 5s ease-in-out infinite;
}
.sg-float-badge-2 {
  bottom: -18px; right: -24px;
  animation: floatBadge2 6s ease-in-out infinite;
}
@keyframes floatBadge1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-8px) rotate(0deg); }
}
@keyframes floatBadge2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%       { transform: translateY(8px) rotate(0deg); }
}

/* ── SERVICE CARDS ──────────────────────────────────────────── */
.sg-service-card {
  background: var(--sg-white);
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--sg-transition);
  position: relative;
  overflow: hidden;
}
.sg-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sg-primary), var(--sg-primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--sg-transition-slow);
}
.sg-service-card:hover {
  box-shadow: var(--sg-shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}
.sg-service-card:hover::before { transform: scaleX(1); }

.sg-service-icon {
  width: 60px; height: 60px;
  background: rgba(251,129,146,.12);
  border-radius: var(--sg-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--sg-primary);
  margin-bottom: 1.25rem;
  transition: var(--sg-transition);
}
.sg-service-card:hover .sg-service-icon {
  background: var(--sg-primary);
  color: #fff;
}

.sg-service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sg-secondary);
  margin-bottom: .75rem;
}

.sg-service-card p {
  font-size: .9rem;
  color: var(--sg-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.sg-service-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--sg-primary);
  transition: var(--sg-transition);
}
.sg-service-link i { transition: var(--sg-transition); }
.sg-service-link:hover { color: var(--sg-primary-dark); }
.sg-service-link:hover i { transform: translateX(4px); }

/* ── BENEFIT / FEATURE ITEMS ────────────────────────────────── */
.sg-benefit-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--sg-radius-md);
  transition: var(--sg-transition);
}
.sg-benefit-item:hover { background: var(--sg-bg); }

.sg-benefit-icon {
  width: 48px; height: 48px;
  border-radius: var(--sg-radius-sm);
  background: rgba(251,129,146,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--sg-primary);
  flex-shrink: 0;
}

.sg-benefit-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sg-secondary);
  margin-bottom: .3rem;
}

.sg-benefit-desc {
  font-size: .875rem;
  color: var(--sg-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── PROCESS STEPS ──────────────────────────────────────────── */
.sg-step-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--sg-primary), var(--sg-primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sg-font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* ── SOCIAL PROOF / TRUST ───────────────────────────────────── */
.sg-client-logo {
  height: 40px;
  width: auto;
  opacity: .5;
  filter: grayscale(100%);
  transition: var(--sg-transition);
}
.sg-client-logo:hover { opacity: 1; filter: none; }

/* ── STATS BAR ──────────────────────────────────────────────── */
.sg-stats-bar {
  background: var(--sg-secondary);
  padding: 3rem 0;
}
.sg-stat-item {
  text-align: center;
  padding: 1rem;
}
.sg-stat-number {
  font-family: var(--sg-font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--sg-primary);
  display: block;
  line-height: 1;
  margin-bottom: .4rem;
}
.sg-stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}

/* ── CTA SECTION ────────────────────────────────────────────── */
.sg-cta-section {
  background: linear-gradient(135deg, var(--sg-secondary), #1e2055);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.sg-cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(251,129,146,.2), transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}

/* ── FAQ ACCORDION ──────────────────────────────────────────── */
.sg-accordion .accordion-item {
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius-md) !important;
  margin-bottom: .75rem;
  overflow: hidden;
}
.sg-accordion .accordion-button {
  font-weight: 600;
  font-size: .95rem;
  color: var(--sg-secondary);
  background: var(--sg-white);
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}
.sg-accordion .accordion-button:not(.collapsed) {
  color: var(--sg-primary);
  background: rgba(251,129,146,.05);
  box-shadow: none;
}
.sg-accordion .accordion-button::after {
  filter: invert(58%) sepia(62%) saturate(4000%) hue-rotate(317deg);
}
.sg-accordion .accordion-body {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--sg-text-muted);
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--sg-border);
}

/* ── ROI CALCULATOR ─────────────────────────────────────────── */
.sg-calculator {
  background: var(--sg-white);
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--sg-shadow-md);
}
.sg-calculator-result {
  background: linear-gradient(135deg, var(--sg-secondary), #1e2055);
  border-radius: var(--sg-radius-md);
  padding: 1.75rem;
  text-align: center;
  color: #fff;
}
.sg-result-value {
  font-family: var(--sg-font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--sg-primary);
}

/* ── FORM STYLES ────────────────────────────────────────────── */
.sg-form-control {
  border: 1.5px solid var(--sg-border);
  border-radius: var(--sg-radius-sm);
  padding: .75rem 1rem;
  font-family: var(--sg-font-body);
  font-size: .9rem;
  color: var(--sg-text);
  width: 100%;
  transition: var(--sg-transition);
  background: var(--sg-white);
}
.sg-form-control:focus {
  outline: none;
  border-color: var(--sg-primary);
  box-shadow: 0 0 0 3px rgba(251,129,146,.18);
}
.sg-form-control::placeholder { color: var(--sg-text-muted); }

.sg-form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--sg-secondary);
  margin-bottom: .4rem;
  display: block;
}

/* ── BADGE/PILL ─────────────────────────────────────────────── */
.sg-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .75rem;
  border-radius: var(--sg-radius-xl);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.sg-badge-primary { background: rgba(251,129,146,.15); color: var(--sg-primary-dark); }
.sg-badge-secondary { background: rgba(41,44,109,.1); color: var(--sg-secondary); }
.sg-badge-success { background: rgba(25,135,84,.1); color: #157347; }

/* ── FLOATING ACTION BUTTON ─────────────────────────────────── */
.sg-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1020;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #25D366;
  color: #fff !important;
  border-radius: var(--sg-radius-xl);
  padding: .75rem 1.4rem .75rem 1.1rem;
  font-family: var(--sg-font-display);
  font-weight: 700;
  font-size: .85rem;
  box-shadow: 0 8px 30px rgba(37,211,102,.4);
  transition: var(--sg-transition);
  text-decoration: none;
  max-width: 220px;
  overflow: hidden;
  white-space: nowrap;
}
.sg-fab:hover {
  background: #1ebe59;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(37,211,102,.5);
  color: #fff !important;
}

.sg-fab-icon { font-size: 1.2rem; flex-shrink: 0; }
.sg-fab-label { font-size: .8rem; }

/* Pulse ring on fab */
.sg-fab::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid #25D366;
  opacity: .6;
  animation: fabPulse 2s ease-out infinite;
}
@keyframes fabPulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* ── DIVIDER ────────────────────────────────────────────────── */
.sg-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--sg-primary), var(--sg-primary-dark));
  border-radius: 4px;
  margin: 1rem 0 1.5rem;
}
.sg-divider-center { margin: 1rem auto 1.5rem; }

/* ── BEFORE/AFTER COMP ──────────────────────────────────────── */
.sg-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.sg-comp-col {
  border-radius: var(--sg-radius-md);
  padding: 1.75rem;
}
.sg-comp-before {
  background: rgba(220,53,69,.05);
  border: 1px solid rgba(220,53,69,.15);
}
.sg-comp-after {
  background: rgba(25,135,84,.05);
  border: 1px solid rgba(25,135,84,.15);
}
.sg-comp-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sg-font-display);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.sg-footer {
  background: var(--sg-secondary);
  color: rgba(255,255,255,.75);
}
.sg-footer-heading {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
}
.sg-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sg-footer-list li { margin-bottom: .6rem; }
.sg-footer-list a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: var(--sg-transition);
}
.sg-footer-list a:hover { color: var(--sg-primary); }
.sg-footer-list .disabled-link { pointer-events: none; }

.sg-footer-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.sg-social-links { display: flex; gap: .6rem; }
.sg-social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: var(--sg-transition);
}
.sg-social-link:hover {
  background: var(--sg-primary);
  border-color: var(--sg-primary);
  color: #fff;
  transform: translateY(-2px);
}

.sg-footer-divider {
  border-color: rgba(255,255,255,.1);
  margin: 0;
}

.sg-footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.sg-footer-copy a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
}
.sg-footer-copy a:hover { color: var(--sg-primary); }

/* ── ANIMATIONS & UTILITIES ─────────────────────────────────── */
.sg-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .55s ease, transform .55s ease;
}
.sg-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.sg-delay-1 { transition-delay: .1s; }
.sg-delay-2 { transition-delay: .2s; }
.sg-delay-3 { transition-delay: .3s; }
.sg-delay-4 { transition-delay: .4s; }

/* ===== SCROLL TO TOP ===== */
.sg-scroll-top {
  position: fixed;
  bottom: 6rem; /* di atas FAB WhatsApp */
  right: 1.5rem;
  z-index: 1040;

  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  background: var(--sg-primary, #6c3fc5); /* sesuaikan dengan warna brand */
  color: #fff;
  font-size: 1.1rem;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.sg-scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sg-scroll-top:hover {
  filter: brightness(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .sg-scroll-top { transition: none; }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .sg-hero { min-height: auto; padding: 4rem 0 3rem; }
  .sg-hero-title { font-size: clamp(2rem, 6vw, 3rem); }
  .sg-hero-visual { margin-top: 3rem; }
  .sg-float-badge-1, .sg-float-badge-2 { display: none; }
  .sg-comparison { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .sg-section, .sg-section-lg { padding: 4rem 0; }
  .sg-hero-stats { gap: 1.5rem; }
  .sg-fab-label { display: none; }
  .sg-fab { padding: .85rem; border-radius: 50%; }
  .sg-fab::before { border-radius: 50%; }
}

@media (max-width: 575.98px) {
  .sg-hero-actions { flex-direction: column; align-items: flex-start; }
  .sg-hero-actions .sg-btn-primary,
  .sg-hero-actions .sg-btn-outline-white { width: 100%; justify-content: center; }
}
