/* =====================================================
   Smart Plugs & Lighting Automation Page — v2.0 LEAN
   ===================================================== */

/* =====================================================
   Hero Section
   ===================================================== */
.spl-hero-wrap {
  position: relative;
  overflow: hidden;
  padding: 8rem 0 7rem;
}

.spl-hero-bg {
  background-image: url('../../images/spl-hero-bg.png');
  background-size: cover;
  background-position: center top;
  position: absolute;
  inset: 0;
}

.spl-hero-overlay {
  background: linear-gradient(135deg, rgba(4, 15, 40, .90) 0%, rgba(6, 14, 31, .82) 50%, rgba(10, 22, 55, .88) 100%);
  position: absolute;
  inset: 0;
}

.spl-hero-orb {
  position: absolute;
}

.spl-hero-orb.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(21, 87, 192, .35) 0%, transparent 70%);
  top: -100px;
  left: -120px;
  animation: splHeroOrb1 9s ease-in-out infinite;
}

.spl-hero-orb.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, .25) 0%, transparent 70%);
  bottom: -80px;
  right: -60px;
  animation: splHeroOrb2 12s ease-in-out infinite;
}

@keyframes splHeroOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.08); }
}

@keyframes splHeroOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, -15px) scale(1.05); }
}

.spl-hero-inner {
  position: relative;
  z-index: 3;
}

.spl-hero-breadcrumb {
  background: transparent;
  padding: 0;
  font-size: .8rem;
}

.spl-hero-breadcrumb a {
  color: rgba(255, 255, 255, .4);
  text-decoration: none;
}

.spl-hero-breadcrumb .active {
  color: rgba(255, 255, 255, .65);
}

.spl-hero-eyebrow {
  background: rgba(21, 87, 192, .3);
  border: 1px solid rgba(96, 165, 250, .4);
  backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #93c5fd;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 1.5rem;
}

.spl-hero-h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 32px rgba(0, 0, 0, .4);
}

.spl-hero-grad {
  background: linear-gradient(90deg, #60a5fa 0%, #38bdf8 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.spl-hero-sub {
  font-size: 1.12rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .72);
  max-width: 720px;
  margin: 0 auto 2rem;
}

.spl-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
  align-items: center;
}

.spl-hero-cta-btn {
  font-size: 1.02rem;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(21, 87, 192, .45);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.spl-hero-cta-call {
  color: rgba(255, 255, 255, .75);
  font-weight: 600;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 12px 24px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  transition: all .2s;
}

.spl-hero-cta-call:hover {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

/* =====================================================
   Shared Utilities
   ===================================================== */
.spl-grad {
  background: linear-gradient(90deg, #1d4ed8 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.spl-mini-cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  margin-top: 1rem;
}

.spl-advisor-callout {
  background: #eff6ff;
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.spl-advisor-callout-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.spl-advisor-callout-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 0.25rem;
}

.spl-advisor-callout-text {
  font-size: 0.97rem;
  color: #1e3a8a;
  line-height: 1.65;
}

/* =====================================================
   Intro Section
   ===================================================== */
.spl-intro-section {
  padding: 7rem 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.spl-intro-glow-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.spl-intro-glow-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.spl-intro-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.spl-intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================================================
   Features Section (Three Device Types)
   ===================================================== */
.spl-features-section {
  padding: 7rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.spl-tier-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
  position: relative;
}

.spl-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.2);
}

.spl-tier-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #2563eb;
  margin-bottom: 1.5rem;
}

.spl-tier-title {
  font-family: var(--fh);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.spl-tier-intro {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* =====================================================
   Vacation Mode Section (Dark)
   ===================================================== */
.spl-vacation-section {
  padding: 8rem 0;
  background: #0f172a;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.spl-vacation-glow-1 {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.spl-vacation-glow-2 {
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.spl-vacation-content-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
}

.spl-vacation-content-card p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.75;
}

.spl-vacation-card-title {
  font-family: var(--fh);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spl-vacation-callout {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.spl-vacation-callout-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.spl-vacation-callout-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 0.25rem;
}

.spl-vacation-callout-text {
  font-size: 0.97rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.spl-vacation-integrated-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #60a5fa;
  border-radius: 18px;
  padding: 2rem 2.5rem;
}

.spl-vacation-integrated-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto;
}

.spl-vacation-cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(29, 78, 216, 0.2) 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

.spl-access-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spl-access-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================================================
   Emergency Response Section (Dark)
   ===================================================== */
.spl-emergency-section {
  padding: 6rem 0 7rem;
  background: #0b1120;
  color: #ffffff;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.spl-emergency-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  height: 100%;
  transition: all 0.25s ease;
  position: relative;
}

.spl-emergency-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(96, 165, 250, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1);
}

.spl-emergency-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.spl-emergency-card h4 {
  font-family: var(--fh);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.spl-emergency-card p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
}

/* =====================================================
   What Else You Can Automate (Scenarios)
   ===================================================== */
.spl-scenarios-section {
  padding: 7rem 0;
  background: #ffffff;
}

.spl-monitoring-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.spl-monitoring-image img {
  width: 100%;
  height: auto;
  display: block;
}

.spl-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  height: 100%;
  transition: all 0.25s ease;
  position: relative;
}

.spl-feature-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.05);
}

.spl-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.spl-feature-card h4 {
  font-family: var(--fh);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.spl-feature-card p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* =====================================================
   Why HSC Grid
   ===================================================== */
.spl-why-section {
  padding: 7rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.spl-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.spl-why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2rem;
  transition: all 0.22s ease;
}

.spl-why-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.03);
}

.spl-why-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.spl-why-card h4 {
  font-family: var(--fh);
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.spl-why-card p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* =====================================================
   FAQ Section
   ===================================================== */
.spl-faq-section {
  padding: 8rem 0;
  background: #0f172a;
  position: relative;
  overflow: hidden;
}

.spl-faq-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.spl-faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spl-faq-accordion-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.spl-faq-accordion-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.spl-faq-accordion-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.spl-faq-accordion-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  padding-right: 1.5rem;
}

.spl-faq-accordion-icon-wrap {
  font-size: 1.25rem;
  color: #60a5fa;
  font-weight: 300;
  transition: transform 0.25s ease;
  line-height: 1;
}

.spl-faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s cubic-bezier(0, 1, 0, 1), padding 0.2s;
  padding: 0 1.5rem;
}

.spl-faq-accordion-text {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
}

/* =====================================================
   Final CTA Section
   ===================================================== */
.spl-final-cta-section {
  position: relative;
  background: #0f172a;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spl-final-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../images/spl-hero-bg.png');
  background-size: cover;
  background-position: center center;
  opacity: 0.2;
}

.spl-final-cta-desc {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.spl-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.spl-final-cta-btn-primary {
  border-radius: 12px;
  font-weight: 700;
}

.spl-final-cta-hours {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* =====================================================
   Responsive Adjustments
   ===================================================== */
@media (max-width: 1199px) {
  .spl-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .spl-mini-cta-banner {
    padding: 1.75rem 2rem;
  }

  .spl-why-grid {
    grid-template-columns: 1fr;
  }

  .spl-vacation-content-card {
    padding: 2rem;
  }

  .spl-vacation-integrated-card {
    padding: 1.75rem 2rem;
  }

  .spl-vacation-cta-banner {
    padding: 1.75rem 2rem;
  }
}

@media (max-width: 767px) {
  .spl-hero-wrap {
    padding: 6rem 0 5rem;
  }

  .spl-intro-section,
  .spl-features-section,
  .spl-vacation-section,
  .spl-emergency-section,
  .spl-scenarios-section,
  .spl-comparison-section,
  .spl-why-section,
  .spl-faq-section {
    padding: 5rem 0;
  }

  .spl-hero-ctas {
    flex-direction: column;
  }

  .spl-hero-cta-call {
    width: 100%;
    justify-content: center;
  }

  .spl-hero-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .spl-advisor-callout {
    flex-direction: column;
    gap: 1rem;
  }

  .spl-vacation-callout {
    flex-direction: column;
    gap: 1rem;
  }

  .spl-vacation-content-card {
    padding: 1.5rem;
  }

  .spl-emergency-card {
    padding: 1.75rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .spl-hero-h1 {
    font-size: 1.8rem;
    letter-spacing: -1px;
  }

  .spl-hero-sub {
    font-size: 1rem;
  }

  .spl-why-card {
    padding: 1.5rem;
  }
}
