@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --brand-primary: #18b28f;
  --brand-primary-dark: #0f9476;
  --brand-glow: rgba(24, 178, 143, 0.24);
  --accent-blue: #4facfe;

  --bg-deep: #f6f8fb;
  --bg-surface: rgba(255, 255, 255, 0.92);
  --bg-surface-hover: #ffffff;

  --border-glass: rgba(15, 23, 42, 0.08);
  --border-glass-hover: rgba(24, 178, 143, 0.28);

  --text-main: #172033;
  --text-muted: #647084;
  --text-light: #8a94a6;
  --text-inverse: #ffffff;
  --hero-text: #101828;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-base: 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 18px 45px rgba(15, 23, 42, 0.11);
  --shadow-button: 0 10px 25px rgba(24, 178, 143, 0.22);

  --container-width: 1180px;
}

/* =========================
   DARK MODE
   ========================= */
body.dark-theme {
  --bg-deep: #07100f;
  --bg-surface: rgba(16, 27, 25, 0.88);
  --bg-surface-hover: #12211e;

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(24, 178, 143, 0.38);

  --text-main: #edf5f3;
  --text-muted: #a7b4b0;
  --text-light: #82908c;
  --hero-text: #ffffff;

  --shadow-base: 0 10px 35px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* =========================
   BASE
   ========================= */
.sd-hero,
.sd-body {
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--bg-deep);
  color: var(--text-main);
  transition: background-color 0.35s ease, color 0.35s ease;
}

.sd-hero *,
.sd-body * {
  box-sizing: border-box;
}

.sd-hero a,
.sd-body a {
  -webkit-tap-highlight-color: transparent;
}

.sd-hero {
  position: relative;
  min-height: 680px;
  padding: 125px 24px 80px;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border-glass);
  --hero-text: #ffffff;
  --text-main: #edf5f3;
  --text-muted: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, rgba(7, 16, 15, 0.94) 0%, rgba(16, 32, 51, 0.82) 48%, rgba(24, 178, 143, 0.48) 100%),
    url('../images/service.jpg') center/cover no-repeat;
}

.sd-hero::before,
.sd-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.sd-hero::before {
  inset: 0;
  background:
    radial-gradient(circle at 24% 35%, rgba(24, 178, 143, 0.24), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(79, 172, 254, 0.16), transparent 30%);
}

.sd-hero::after {
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(7, 16, 15, 0.64));
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, 25px, 0) scale(1.08);
  }
}

.sd-hero .container {
  width: min(100%, var(--container-width));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================
   BREADCRUMB
   ========================= */
.sd-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  margin-bottom: 28px;

  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 999px;

  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-base);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition: all 0.3s ease;
}

.sd-breadcrumb:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-1px);
}

.sd-breadcrumb a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.25s ease;
}

.sd-breadcrumb a:hover {
  color: var(--brand-primary);
}

.sd-breadcrumb span {
  color: var(--brand-primary);
  font-weight: 700;
}

.sd-breadcrumb i {
  font-size: 9px;
  opacity: 0.45;
}

/* =========================
   HERO TYPOGRAPHY
   ========================= */
.sd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;

  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.sd-kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 20px;
  background: var(--brand-primary);
}

.sd-hero h1 {
  max-width: 900px;
  margin: 0 auto 22px;

  color: var(--hero-text);
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;

  transition: color 0.35s ease;
}

.sd-hero-lead {
  max-width: 760px;
  margin: 0 auto 38px;

  color: var(--text-muted);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  line-height: 1.75;

  transition: color 0.35s ease;
}

/* =========================
   BUTTONS
   ========================= */
.sd-hero-ctas,
.sd-cta-band-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 13px;
}

.sd-hero-ctas {
  margin-bottom: 60px;
}

.sd-btn-primary,
.sd-btn-outline {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 14px 26px;
  border-radius: 12px;

  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.sd-btn-primary {
  color: var(--text-inverse) !important;
  background: var(--brand-primary);
  border: 1px solid var(--brand-primary);
  box-shadow: var(--shadow-button);
}

.sd-btn-primary:hover {
  transform: translateY(-3px);
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  box-shadow: 0 15px 32px rgba(24, 178, 143, 0.28);
}

.sd-btn-outline {
  color: var(--text-main) !important;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.04);
}

.sd-btn-outline:hover {
  transform: translateY(-3px);
  color: var(--brand-primary) !important;
  background: var(--bg-surface-hover);
  border-color: var(--border-glass-hover);
}

.sd-hero .sd-btn-outline {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.sd-hero .sd-btn-outline:hover {
  color: #102033 !important;
  background: #ffffff;
  border-color: #ffffff;
}

/* =========================
   HERO STATS
   ========================= */
.sd-hero-stats {
  width: min(100%, 820px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 34px;

  border-top: 1px solid var(--border-glass);
}

.sd-hero-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 25px;
}

.sd-hero-stat + .sd-hero-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 1px;
  height: 42px;
  background: var(--border-glass);
}

.sd-hero-stat strong {
  color: var(--hero-text);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
}

.sd-hero-stat span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =========================
   BODY / MAIN CONTAINER
   ========================= */
.sd-body {
  position: relative;
  padding: 80px 24px 120px;
}

.sd-shell {
  width: min(100%, 1020px);
  margin: 0 auto;
}

.sd-content-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  margin-bottom: 14px;

  color: var(--brand-primary);
  background: rgba(24, 178, 143, 0.08);
  border: 1px solid rgba(24, 178, 143, 0.16);
  border-radius: 999px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.sd-content-title {
  max-width: 780px;
  margin: 0 0 42px;

  color: var(--hero-text);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;

  transition: color 0.35s ease;
}

/* =========================
   INFORMATION CARDS
   ========================= */
.sd-info-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;

  padding: 30px;
  margin-bottom: 20px;

  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-base);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.sd-info-card:hover {
  transform: translateY(-4px);
  background: var(--bg-surface-hover);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-hover);
}

.sd-info-num {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;

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

  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), var(--accent-blue));
  border-radius: 14px;

  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 9px 22px rgba(24, 178, 143, 0.22);
}

.sd-info-card h2 {
  margin: 1px 0 9px;

  color: var(--hero-text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.sd-info-card p {
  max-width: 820px;
  margin: 0;

  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
}

/* =========================
   FEATURE GRID
   ========================= */
.sd-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 45px 0 20px;
}

.sd-feature-chip {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;

  padding: 27px 24px;

  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.035);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.sd-feature-chip:hover {
  transform: translateY(-6px);
  background: var(--bg-surface-hover);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-hover);
}

.sd-feature-icon {
  width: 48px;
  height: 48px;

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

  color: var(--brand-primary);
  background: rgba(24, 178, 143, 0.08);
  border: 1px solid rgba(24, 178, 143, 0.14);
  border-radius: 12px;

  font-size: 20px;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.sd-feature-chip:hover .sd-feature-icon {
  transform: translateY(-2px);
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.sd-feature-chip strong {
  display: block;
  color: var(--hero-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.sd-feature-chip span {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* =========================
   CTA BAND
   ========================= */
.sd-cta-band {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;

  margin-top: 55px;
  padding: 38px 42px;

  background:
    linear-gradient(
      135deg,
      rgba(24, 178, 143, 0.09),
      rgba(79, 172, 254, 0.07)
    );

  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-base);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sd-cta-band::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -100px;
  border-radius: 50%;
  background: rgba(24, 178, 143, 0.08);
  filter: blur(30px);
  pointer-events: none;
}

.sd-cta-band h3 {
  position: relative;
  z-index: 1;

  margin: 0 0 8px;
  color: var(--hero-text);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
}

.sd-cta-band p {
  position: relative;
  z-index: 1;

  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.sd-cta-band-actions {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* =========================
   ACCESSIBILITY
   ========================= */
.sd-btn-primary:focus-visible,
.sd-btn-outline:focus-visible,
.sd-breadcrumb a:focus-visible {
  outline: 3px solid rgba(24, 178, 143, 0.3);
  outline-offset: 3px;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 991px) {
  .sd-hero {
    min-height: auto;
    padding-top: 110px;
  }

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

  .sd-shell {
    width: min(100%, 900px);
  }
}

@media (max-width: 768px) {
  .sd-hero {
    padding: 95px 20px 65px;
  }

  .sd-hero h1 {
    font-size: clamp(36px, 10vw, 48px);
    letter-spacing: -1.3px;
  }

  .sd-hero-lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .sd-hero-ctas {
    width: 100%;
    margin-bottom: 45px;
  }

  .sd-btn-primary,
  .sd-btn-outline {
    width: 100%;
    max-width: 330px;
  }

  .sd-hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sd-hero-stat + .sd-hero-stat::before {
    display: none;
  }

  .sd-body {
    padding: 60px 20px 80px;
  }

  .sd-content-title {
    margin-bottom: 32px;
  }

  .sd-info-card {
    gap: 17px;
    padding: 24px;
  }

  .sd-info-card h2 {
    font-size: 20px;
  }

  .sd-info-card p {
    font-size: 15px;
  }

  .sd-features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 35px;
  }

  .sd-feature-chip {
    min-height: auto;
  }

  .sd-cta-band {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    margin-top: 42px;
    padding: 30px 24px;
  }

  .sd-cta-band h3 {
    font-size: 23px;
  }

  .sd-cta-band-actions {
    justify-content: stretch;
  }

  .sd-cta-band-actions .sd-btn-primary,
  .sd-cta-band-actions .sd-btn-outline {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .sd-hero {
    padding-top: 80px;
  }

  .sd-breadcrumb {
    max-width: 100%;
    padding: 8px 12px;
    font-size: 12px;
  }

  .sd-kicker {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .sd-hero h1 {
    font-size: 34px;
  }

  .sd-hero-stats {
    padding-top: 28px;
  }

  .sd-hero-stat strong {
    font-size: 29px;
  }

  .sd-info-card {
    flex-direction: column;
  }

  .sd-info-num {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sd-hero::before,
  .sd-hero::after {
    animation: none;
  }

  .sd-hero *,
  .sd-body * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
