/* ==========================================================================
   SEO Landing Pages Styling - Star Electronic System & Co
   Exact Website Typography (Verdana body + Georgia headings + Poppins accents)
   Rich Animations, Micro-Interactions, and Modern Responsive Aesthetics
   ========================================================================== */

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

:root {
  --primary-navy: #004080;
  --primary-hover: #002d59;
  --accent-red: #c10202;
  --accent-green: #25d366;
  --accent-green-dark: #128c7e;
  --text-dark: #222222;
  --text-muted: #555555;
  --bg-light: #f7f9fc;
  --border-light: #e3e8ee;
  --card-shadow: 0 8px 24px rgba(0, 32, 64, 0.08);
  --card-shadow-hover: 0 16px 36px rgba(0, 48, 96, 0.16);
  --font-body: Verdana, Geneva, sans-serif;
  --font-heading: Georgia, "Times New Roman", Times, serif;
  --font-accent: 'Poppins', Verdana, sans-serif;
}

/* Base resets & typography matching website framework */
.seo-page-wrapper {
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.75;
}

.seo-page-wrapper h1,
.seo-page-wrapper h2,
.seo-page-wrapper h3,
.seo-page-wrapper h4,
.seo-page-wrapper h5,
.seo-page-wrapper h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.2px;
}

.seo-page-wrapper a {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RICH ANIMATION KEYFRAMES
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 35px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-35px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(35px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Animation utility classes */
.anim-fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-fade-down {
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-fade-left {
  animation: fadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-fade-right {
  animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-float {
  animation: floatSlow 4s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Scroll Reveal Elements */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Breadcrumbs */
.seo-breadcrumb-bar {
  background: #f0f4f8;
  padding: 12px 0;
  font-size: 13.5px;
  font-family: var(--font-body);
  border-bottom: 1px solid var(--border-light);
}

.seo-breadcrumb-bar ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.seo-breadcrumb-bar li {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
}

.seo-breadcrumb-bar li+li::before {
  content: "/";
  padding: 0 8px;
  color: #999;
}

.seo-breadcrumb-bar a {
  color: var(--primary-navy);
  text-decoration: none;
  font-weight: 500;
}

.seo-breadcrumb-bar a:hover {
  text-decoration: underline;
  color: var(--accent-red);
}

.seo-breadcrumb-bar li.active {
  color: #333;
  font-weight: 600;
}

/* ==========================================================================
   HERO SECTION WITH RICH ANIMATIONS
   ========================================================================== */
.seo-hero {
  background: linear-gradient(135deg, #002b55 0%, #004080 50%, #001a33 100%);
  color: #ffffff;
  padding: 55px 0 50px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--accent-red);
}

.seo-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  animation: floatSlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.seo-hero h1 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.7s ease-out;
}

.seo-hero p.lead-text {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: #e5effd;
  margin-bottom: 24px;
  max-width: 900px;
  animation: fadeInUp 0.9s ease-out;
}

.seo-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  animation: fadeInUp 1s ease-out;
}

.seo-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  padding: 7px 16px;
  border-radius: 24px;
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.seo-trust-badge:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.seo-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  animation: fadeInUp 1.1s ease-out;
}

/* Call-to-action buttons with rich shimmer & glow */
.btn-cta-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  font-family: var(--font-accent);
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  font-size: 15px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pulseGlow 2.5s infinite;
}

.btn-cta-whatsapp:hover {
  background: #1eb954;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
  color: #ffffff !important;
}

.btn-cta-call {
  background: #ffffff;
  color: var(--primary-navy) !important;
  font-family: var(--font-accent);
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-call:hover {
  background: #f0f5fc;
  color: var(--primary-hover) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

/* Shimmer overlay effect on buttons */
.btn-cta-whatsapp::after,
.btn-cta-call::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.btn-cta-whatsapp:hover::after,
.btn-cta-call:hover::after {
  left: 140%;
  transition: all 0.75s ease;
}

/* ==========================================================================
   MAIN CONTENT AREA
   ========================================================================== */
.seo-main-section {
  padding: 50px 0;
  background: #ffffff;
}

.seo-content-block {
  margin-bottom: 42px;
}

.seo-content-block h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eef2f7;
  position: relative;
}

.seo-content-block h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 70px;
  height: 2px;
  background: var(--accent-red);
  transition: width 0.4s ease;
}

.seo-content-block:hover h2::after {
  width: 120px;
}

.seo-content-block h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  margin-top: 24px;
  margin-bottom: 12px;
}

.seo-content-block p {
  font-family: var(--font-body);
  font-size: 14px;
  color: #444444;
  margin-bottom: 16px;
  line-height: 1.75;
}

.seo-content-block ul {
  padding-left: 20px;
  margin-bottom: 22px;
}

.seo-content-block ul li {
  margin-bottom: 9px;
  color: #444444;
  font-size: 14px;
  line-height: 1.65;
}

/* Feature & Benefit Cards with 3D Hover Lift */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 28px 0;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-navy);
  transition: height 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: #00408033;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card-icon {
  font-size: 32px;
  color: var(--primary-navy);
  margin-bottom: 14px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-card-icon {
  transform: scale(1.15) rotate(5deg);
  color: var(--accent-red);
}

.feature-card h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.feature-card p {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #555555;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Product Spotlight Card */
.product-spotlight {
  background: linear-gradient(145deg, #ffffff 0%, #fbfcfe 100%);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  margin-bottom: 38px;
  transition: all 0.35s ease;
}

.product-spotlight:hover {
  box-shadow: 0 16px 40px rgba(0, 48, 96, 0.12);
  transform: translateY(-3px);
}

.product-spotlight-img {
  text-align: center;
  padding: 10px;
}

.product-spotlight-img img {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-spotlight:hover .product-spotlight-img img {
  transform: scale(1.06);
}

/* Technical Specification Table with Rich Hover */
.table-spec-wrapper {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.table-spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  font-family: var(--font-body);
  background: #ffffff;
}

.table-spec th {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.3px;
}

.table-spec td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-light);
  color: #333333;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.table-spec tr:nth-child(even) td {
  background: #fbfcfe;
}

.table-spec tr:hover td {
  background: #f0f6ff;
  color: #002d59;
}

/* Industrial Coverage Belts */
.coverage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.coverage-pill {
  background: #edf4fc;
  color: var(--primary-navy);
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid #d4e2f0;
  transition: all 0.25s ease;
}

.coverage-pill:hover {
  background: var(--primary-navy);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 64, 128, 0.2);
}

/* FAQ Accordion Cards */
.faq-container {
  margin: 32px 0;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-card:hover {
  border-color: #00408044;
  box-shadow: 0 6px 18px rgba(0, 32, 64, 0.08);
  transform: translateX(4px);
}

.faq-question {
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fcfdfe;
  border-bottom: 1px solid #f0f4f8;
}

.faq-question i {
  color: var(--accent-red);
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-card:hover .faq-question i {
  transform: rotate(15deg);
}

.faq-answer {
  padding: 16px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #444444;
  line-height: 1.7;
  background: #ffffff;
}

/* ==========================================================================
   SIDEBAR & INQUIRY FORM
   ========================================================================== */
.seo-sidebar {
  position: sticky;
  top: 20px;
}

.quick-inquiry-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--card-shadow);
  margin-bottom: 26px;
  transition: box-shadow 0.3s ease;
}

.quick-inquiry-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.quick-inquiry-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f4f8;
}

.quick-inquiry-card .form-control {
  font-family: var(--font-body);
  font-size: 13.5px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  transition: all 0.25s ease;
}

.quick-inquiry-card .form-control:focus {
  border-color: #25d366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
  outline: none;
}

.sidebar-contact-info {
  margin: 20px 0;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
}

.sidebar-contact-info div {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sidebar-contact-info i {
  color: var(--primary-navy);
  font-size: 16px;
  margin-top: 3px;
}

/* ==========================================================================
   RELATED KEYWORDS NAVIGATION HUB
   ========================================================================== */
.related-hub {
  background: #f7f9fc;
  padding: 45px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.related-hub h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 20px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 15px;
}

.related-link-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 15px 18px;
  text-decoration: none !important;
  color: var(--primary-navy);
  font-family: var(--font-accent);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.related-link-card:hover {
  background: #004080;
  color: #ffffff !important;
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.related-link-card i {
  color: var(--accent-red);
  font-size: 16px;
  transition: transform 0.3s ease;
}

.related-link-card:hover i {
  color: #ffffff;
  transform: scale(1.2);
}

/* ==========================================================================
   UNIVERSAL FLOATING CALL & WHATSAPP BUTTONS (DESKTOP & MOBILE)
   ========================================================================== */
.desktop-floating-cta {
  display: block;
  z-index: 99999;
}

.float-btn-left {
  position: fixed;
  bottom: 25px;
  left: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #004080 0%, #002244 100%);
  color: #ffffff !important;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 32, 64, 0.3);
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  z-index: 99999;
}

.float-btn-left i {
  font-size: 18px;
}

.float-btn-left:hover {
  background: #003366;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 48, 96, 0.45);
  color: #ffffff !important;
}

.float-btn-right {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  animation: pulseGlow 2.5s infinite;
  z-index: 99999;
}

.float-btn-right i {
  font-size: 20px;
}

.float-btn-right:hover {
  background: #1eb954;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
  color: #ffffff !important;
}

/* Mobile Sticky Bottom Bar */
.mobile-floating-bar,
.mobile-floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.16);
  padding: 8px 12px;
  z-index: 99999;
}

.mobile-floating-bar-inner,
.mobile-floating-cta-inner {
  display: flex;
  gap: 10px;
}

.mobile-bar-btn,
.mobile-floating-cta-inner a {
  flex: 1;
  padding: 12px 10px;
  border-radius: 8px;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.mobile-btn-call,
.btn-float-call {
  background: #004080;
  color: #ffffff !important;
}

.mobile-btn-whatsapp,
.btn-float-whatsapp {
  background: #25d366;
  color: #ffffff !important;
  animation: pulseGlow 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .seo-sidebar {
    margin-top: 40px;
    position: static;
  }
}

@media (max-width: 767px) {
  .seo-hero {
    padding: 38px 0 32px;
  }
  .seo-hero h1 {
    font-size: 26px;
  }
  .seo-hero p.lead-text {
    font-size: 14.5px;
  }
  .seo-content-block h2 {
    font-size: 22px;
  }
  .desktop-floating-cta {
    display: none !important;
  }
  .mobile-floating-bar,
  .mobile-floating-cta {
    display: block !important;
  }
  body {
    padding-bottom: 65px !important;
  }
  #backtotop {
    bottom: 75px !important;
  }
}
