/* ==========================================================================
   POSEIDON SYSTEMS MASTER LANDING PAGE STYLES (FAZ 1)
   Clean High-Tech Industrial B2B Light Design System (DenetGöz Brand Harmonized)
   ========================================================================== */

:root {
  /* Surface & Background Palette (Light Theme) */
  --ps-bg: #f8fafc;              /* Slate 50 - Fresh industrial lab background */
  --ps-bg-alt: #ffffff;          /* Pure White - Alternating sections */
  --ps-bg-card: #ffffff;         /* Pure White - Surface cards */
  --ps-bg-card-hover: #f1f5f9;   /* Slate 100 - Gentle hover elevation */
  
  /* Borders & Dividers */
  --ps-border: #e2e8f0;          /* Slate 200 - Clean crisp divider */
  --ps-border-hover: #0284c7;    /* Sky 600 - High-contrast cyan accent */
  --ps-border-accent: #0284c7;   
  
  /* Brand Accent Colors */
  --ps-cyan: #0284c7;            /* Sky 600 - Poseidon high-contrast primary on light */
  --ps-cyan-dark: #0369a1;       /* Sky 700 - Active / text contrast */
  --ps-cyan-light: #f0f9ff;      /* Sky 50 - Subtle background tints */
  --ps-cyan-pill: #e0f2fe;       /* Sky 100 - Pill backgrounds */
  --ps-cyan-pill-border: #bae6fd;/* Sky 200 - Pill borders */
  
  --ps-orange: #ff6b00;          /* DenetGöz Action Orange */
  --ps-orange-hover: #e65a00;
  --ps-orange-glow: rgba(255, 107, 0, 0.25);
  --ps-navy: #002b5b;            /* DenetGöz Deep Corporate Navy */
  
  /* Text & Typography Hierarchy */
  --ps-text-white: #0f172a;      /* Slate 900 - Dark charcoal for prominent headings */
  --ps-text-main: #334155;       /* Slate 700 - Highly readable body copy */
  --ps-text-muted: #64748b;      /* Slate 500 - Secondary descriptions */
  --ps-text-dim: #94a3b8;        /* Slate 400 - Footnotes / hints */
  
  --ps-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ps-font-heading: 'Montserrat', sans-serif;
  
  /* Shadows & Elevation */
  --ps-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --ps-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --ps-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.07);
  --ps-shadow-glow: 0 4px 20px rgba(2, 132, 199, 0.12);
  --ps-shadow-orange: 0 4px 20px rgba(255, 107, 0, 0.22);
}

/* Seamless Two-Tier Header Architecture on Poseidon Page */
header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--ps-border) !important;
  box-shadow: none !important; /* Seamlessly joins with subnav */
  margin: 0 !important;
}

header .navbar {
  height: 72px !important;
}

/* Base Landing Page Layout */
.poseidon-page {
  background-color: var(--ps-bg);
  color: var(--ps-text-main);
  font-family: var(--ps-font-sans);
  line-height: 1.6;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.poseidon-page h1,
.poseidon-page h2,
.poseidon-page h3,
.poseidon-page h4 {
  font-family: var(--ps-font-heading);
  color: #0f172a;
  font-weight: 700;
}

/* Sticky Sub-Navbar: Flawlessly attached to main header with ZERO gap */
.ps-subnav {
  position: sticky;
  top: 72px; /* Exactly flush with main header bottom on desktop */
  z-index: 998;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: none;
  border-bottom: 1px solid var(--ps-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.ps-subnav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ps-subnav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ps-subnav-brand img.ps-logo {
  height: 30px;
  width: auto;
  background: transparent;
  display: block;
}

.ps-subnav-brand .badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ps-cyan-dark);
  background: var(--ps-cyan-pill);
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid var(--ps-cyan-pill-border);
}

.ps-subnav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ps-subnav-links a {
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.ps-subnav-links a:hover,
.ps-subnav-links a.active {
  color: var(--ps-cyan-dark);
}

.ps-subnav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ps-cyan);
  transition: width 0.25s ease;
}

.ps-subnav-links a:hover::after {
  width: 100%;
}

.ps-subnav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Button System */
.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.ps-btn-orange {
  background: var(--ps-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.25);
}

.ps-btn-orange:hover {
  background: var(--ps-orange-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.ps-btn-outline {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.ps-btn-outline:hover {
  background: #f0f9ff;
  border-color: var(--ps-cyan);
  color: var(--ps-cyan-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
}

.ps-btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Sections Global */
.ps-section {
  padding: 5rem 1.5rem;
  position: relative;
}

.ps-section-alt {
  background: var(--ps-bg-alt);
}

.ps-container {
  max-width: 1240px;
  margin: 0 auto;
}

.ps-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
}

.ps-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ps-cyan-dark);
  background: var(--ps-cyan-pill);
  border: 1px solid var(--ps-cyan-pill-border);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.ps-section-title {
  font-size: 2.3rem;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  color: #0f172a;
}

.ps-section-desc {
  font-size: 1.05rem;
  color: var(--ps-text-muted);
  line-height: 1.7;
}

/* HERO SECTION */
.ps-hero {
  position: relative;
  padding: 6.5rem 1.5rem 5rem 1.5rem;
  background: radial-gradient(circle at 50% 10%, rgba(2, 132, 199, 0.07) 0%, rgba(248, 250, 252, 0.94) 65%),
              url('../images/hero-sensor.png') center center/cover no-repeat;
  border-bottom: 1px solid var(--ps-border);
  overflow: hidden;
}

.ps-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(240, 249, 255, 0.86) 0%, rgba(248, 250, 252, 0.98) 100%);
  z-index: 1;
}

.ps-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.ps-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ps-cyan-pill);
  border: 1px solid var(--ps-cyan-pill-border);
  color: var(--ps-cyan-dark);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.75rem;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.12);
}

.ps-hero-title {
  font-size: 3.1rem;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  color: #0f172a;
}

.ps-hero-title span.highlight {
  background: linear-gradient(135deg, #002b5b 15%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ps-hero-subtitle {
  font-size: 1.22rem;
  color: #475569;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
}

.ps-hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* 4 Metric Badges in Hero */
.ps-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.ps-metric-card {
  background: #ffffff;
  border: 1px solid var(--ps-border);
  padding: 1.5rem 1.25rem;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.ps-metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--ps-cyan);
  box-shadow: var(--ps-shadow-glow);
  background: #ffffff;
}

.ps-metric-val {
  font-family: var(--ps-font-heading);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--ps-cyan-dark);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.ps-metric-label {
  font-size: 0.82rem;
  color: var(--ps-text-muted);
  line-height: 1.45;
  font-weight: 500;
}

/* SECTION 2: TECHNOLOGICAL DIFFERENCE (BLIND SPOT) */
.ps-blindspot-box {
  background: var(--ps-bg-card);
  border: 1px solid var(--ps-border);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--ps-shadow-sm);
}

.ps-blindspot-text {
  font-size: 1.05rem;
  color: var(--ps-text-main);
  line-height: 1.8;
}

.ps-blindspot-text strong {
  color: #0f172a;
}

.ps-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.ps-compare-card {
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.ps-compare-card.legacy {
  background: #fff5f5;
  border: 1px solid #fecaca;
}

.ps-compare-card.poseidon-diff {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

.ps-compare-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.ps-compare-head .icon {
  font-size: 1.75rem;
}

.ps-compare-head h3 {
  font-size: 1.25rem;
  margin: 0;
}

.ps-compare-card.legacy .ps-compare-head h3 {
  color: #991b1b;
}

.ps-compare-card.poseidon-diff .ps-compare-head h3 {
  color: #065f46;
}

.ps-timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.ps-timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ps-timeline-day {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  min-width: 65px;
  text-align: center;
}

.ps-compare-card.legacy .ps-timeline-day {
  color: #b91c1c;
  border-color: #fca5a5;
  background: #fee2e2;
}

.ps-compare-card.poseidon-diff .ps-timeline-day {
  color: #15803d;
  border-color: #86efac;
  background: #dcfce7;
}

.ps-timeline-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ps-text-main);
}

.ps-compare-verdict {
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.ps-compare-card.legacy .ps-compare-verdict {
  color: #dc2626;
  border-top: 1px dashed #fca5a5;
}

.ps-compare-card.poseidon-diff .ps-compare-verdict {
  color: #15803d;
  border-top: 1px dashed #86efac;
}

/* SECTION 3: INTERACTIVE SECTOR MATRIX */
.ps-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2.5rem;
}

.ps-tab-btn {
  background: #ffffff;
  border: 1px solid var(--ps-border);
  color: #475569;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.ps-tab-btn:hover {
  color: var(--ps-cyan-dark);
  border-color: #cbd5e1;
  background: #f8fafc;
}

.ps-tab-btn.active {
  background: var(--ps-navy);
  border-color: var(--ps-navy);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 43, 91, 0.25);
}

.ps-tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ps-tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.ps-sector-card {
  background: var(--ps-bg-card);
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: var(--ps-shadow-lg);
}

.ps-sector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--ps-border);
  padding-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.ps-sector-header h3 {
  font-size: 1.7rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
}

.ps-sector-badge {
  background: var(--ps-cyan-pill);
  color: var(--ps-cyan-dark);
  border: 1px solid var(--ps-cyan-pill-border);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}

.ps-sector-details-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.ps-sector-col h4 {
  font-size: 1.1rem;
  color: var(--ps-navy);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ps-sector-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.ps-sector-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--ps-text-main);
  line-height: 1.55;
}

.ps-sector-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--ps-cyan);
  font-weight: bold;
}

.ps-hardware-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.75rem;
}

.ps-hw-tag {
  background: #f1f5f9;
  border: 1px solid var(--ps-border);
  color: #0f172a;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.ps-roi-box {
  background: #f0f9ff;
  border: 1px solid var(--ps-cyan-pill-border);
  border-radius: 10px;
  padding: 1.5rem;
}

.ps-roi-box h5 {
  color: #0369a1;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.ps-roi-box p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ps-text-main);
  margin: 0;
}

/* SECTION 4: MOUNTING ARCHITECTURE */
.ps-mount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ps-mount-card {
  background: var(--ps-bg-card);
  border: 1px solid var(--ps-border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ps-mount-card:hover {
  transform: translateY(-5px);
  border-color: var(--ps-cyan);
  box-shadow: var(--ps-shadow-glow);
}

.ps-mount-step-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--ps-font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1;
}

.ps-mount-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--ps-cyan-pill);
  border: 1px solid var(--ps-cyan-pill-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--ps-cyan-dark);
}

.ps-mount-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  color: #0f172a;
}

.ps-mount-card p {
  font-size: 0.88rem;
  color: var(--ps-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.ps-mount-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ps-cyan-dark);
  background: #f0f9ff;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--ps-cyan-pill-border);
  width: fit-content;
}

/* SECTION 5: POSEIDON HARDWARE FAMILY (PRODUCT CARDS) */
.ps-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.ps-product-card {
  background: var(--ps-bg-card);
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  padding: 2.25rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.ps-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--ps-cyan);
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.12);
}

.ps-product-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.ps-product-code {
  font-family: var(--ps-font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ps-cyan-dark);
  text-transform: uppercase;
}

.ps-product-atex {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.ps-product-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
  line-height: 1.25;
  color: #0f172a;
}

.ps-product-subtitle {
  font-size: 0.9rem;
  color: var(--ps-text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.ps-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

.ps-spec-table tr {
  border-bottom: 1px solid #f1f5f9;
}

.ps-spec-table tr:last-child {
  border-bottom: none;
}

.ps-spec-table td {
  padding: 0.6rem 0;
  vertical-align: top;
}

.ps-spec-label {
  color: var(--ps-text-muted);
  width: 38%;
  font-weight: 500;
}

.ps-spec-val {
  color: #0f172a;
  font-weight: 600;
}

.ps-product-diff {
  background: #f8fafc;
  border-left: 3px solid var(--ps-cyan);
  padding: 0.85rem 1rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  color: var(--ps-text-main);
  line-height: 1.55;
  margin-top: auto;
}

/* SECTION 6: POSEIDON LIVE & DIGITAL INFRASTRUCTURE */
.ps-live-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ps-live-card {
  background: var(--ps-bg-card);
  border: 1px solid var(--ps-border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ps-live-card:hover {
  transform: translateY(-4px);
  border-color: var(--ps-cyan);
  box-shadow: var(--ps-shadow-glow);
}

.ps-live-icon {
  width: 48px;
  height: 48px;
  background: var(--ps-cyan-pill);
  border: 1px solid var(--ps-cyan-pill-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--ps-cyan-dark);
  margin-bottom: 1.25rem;
}

.ps-live-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  color: #0f172a;
}

.ps-live-card p {
  font-size: 0.88rem;
  color: var(--ps-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* SECTION 7: GLOBAL CREDIBILITY & REFERENCES */
.ps-cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.ps-cred-card {
  background: #ffffff;
  border: 1px solid var(--ps-border);
  border-radius: 12px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ps-cred-card:hover {
  border-color: var(--ps-cyan);
  box-shadow: var(--ps-shadow-glow);
  transform: translateY(-4px);
}

.ps-cred-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.ps-cred-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: #0f172a;
}

.ps-cred-card p {
  font-size: 0.92rem;
  color: var(--ps-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* SECTION 8: FAQ ACCORDION */
.ps-faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ps-faq-item {
  background: var(--ps-bg-card);
  border: 1px solid var(--ps-border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.ps-faq-item.open {
  border-color: var(--ps-cyan);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.08);
}

.ps-faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.4rem 1.75rem;
  color: #0f172a;
  font-family: var(--ps-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.ps-faq-question:hover {
  color: var(--ps-cyan-dark);
}

.ps-faq-chevron {
  width: 22px;
  height: 22px;
  min-width: 22px;
  stroke: var(--ps-cyan-dark);
  transition: transform 0.3s ease;
}

.ps-faq-item.open .ps-faq-chevron {
  transform: rotate(180deg);
}

.ps-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.75rem;
}

.ps-faq-item.open .ps-faq-answer {
  max-height: 600px;
  padding: 0 1.75rem 1.5rem 1.75rem;
}

.ps-faq-answer p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
}

/* SECTION 9: BOTTOM CTA & CONTACT */
.ps-cta-section {
  background: linear-gradient(180deg, #f0f7ff 0%, #f8fafc 100%);
  border-top: 1px solid var(--ps-border);
  padding: 6rem 1.5rem;
}

.ps-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.ps-cta-info {
  background: var(--ps-bg-card);
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ps-cta-info h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.ps-cta-info p {
  color: var(--ps-text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.ps-contact-direct-card {
  background: #f8fafc;
  border: 1px solid var(--ps-border);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.ps-contact-direct-card h4 {
  font-size: 0.95rem;
  color: var(--ps-navy);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.ps-direct-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ps-direct-links li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #334155;
}

.ps-direct-links a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.ps-direct-links a:hover {
  color: var(--ps-cyan-dark);
}

.ps-rep-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1.25rem;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: 8px;
}

.ps-rep-badge-text strong {
  display: block;
  font-size: 0.98rem;
  color: #0f172a;
}

.ps-rep-badge-text span {
  font-size: 0.82rem;
  color: #ea580c;
  font-weight: 600;
}

/* Inquiry Form */
.ps-form-card {
  background: var(--ps-bg-card);
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  padding: 2.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ps-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.ps-form-card .form-subtitle {
  font-size: 0.9rem;
  color: var(--ps-text-muted);
  margin-bottom: 2rem;
}

.ps-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.ps-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.ps-form-group.full {
  grid-column: span 2;
}

.ps-form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ps-form-group input,
.ps-form-group select,
.ps-form-group textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: #0f172a;
  font-family: var(--ps-font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
}

.ps-form-group input:focus,
.ps-form-group select:focus,
.ps-form-group textarea:focus {
  border-color: var(--ps-cyan);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  background: #ffffff;
}

.ps-form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.ps-form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.ps-form-note {
  font-size: 0.78rem;
  color: var(--ps-text-dim);
  line-height: 1.4;
  flex: 1;
  min-width: 200px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .ps-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ps-mount-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ps-products-grid {
    grid-template-columns: 1fr;
  }
  
  .ps-live-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ps-cred-grid {
    grid-template-columns: 1fr;
  }
  
  .ps-cta-grid {
    grid-template-columns: 1fr;
  }
  
  .ps-sector-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Smart Mobile Header Architecture: Top white header scrolls out naturally */
  header {
    position: relative !important;
    box-shadow: none !important;
  }

  header .navbar {
    height: 54px !important;
    padding: 0 1rem !important;
  }

  header .logo img {
    height: 36px !important;
  }

  /* Sleek, Non-Intrusive Sticky Poseidon Sub-bar */
  .ps-subnav {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  }

  .ps-subnav-container {
    padding: 0.45rem 1rem !important;
    gap: 0.75rem !important;
  }

  /* Unclutter Mobile Subnav */
  .ps-subnav-brand {
    gap: 8px !important;
  }

  .ps-subnav-brand .badge-tag {
    display: none !important; /* Hero badge already has this info */
  }

  /* Compact, crisp Poseidon logo */
  .ps-subnav-brand img.ps-logo {
    height: 24px !important;
    padding: 0 !important;
    border-radius: 4px !important;
  }

  .ps-subnav-links {
    display: none !important;
  }

  .ps-subnav-cta .ps-btn {
    padding: 0.38rem 0.85rem !important;
    font-size: 0.78rem !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
  }
  
  .ps-hero {
    padding: 3.5rem 1rem 3rem 1rem;
  }
  
  .ps-hero-title {
    font-size: 2.1rem;
  }
  
  .ps-hero-subtitle {
    font-size: 1.05rem;
  }
  
  .ps-metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .ps-compare-grid {
    grid-template-columns: 1fr;
  }
  
  .ps-mount-grid {
    grid-template-columns: 1fr;
  }
  
  .ps-live-grid {
    grid-template-columns: 1fr;
  }
  
  .ps-form-grid {
    grid-template-columns: 1fr;
  }
  
  .ps-form-group.full {
    grid-column: span 1;
  }
  
  .ps-tabs-nav {
    flex-direction: column;
    width: 100%;
  }
  
  .ps-tab-btn {
    width: 100%;
    justify-content: flex-start;
  }
  
  .ps-sector-card {
    padding: 1.5rem;
  }
  
  .ps-form-card {
    padding: 1.5rem;
  }
  
  .ps-cta-info {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   MID-PAGE CTA BANNERS & FLOATING CONTACT BAR
   ========================================================================== */
.ps-mid-cta-wrapper {
  padding: 1.5rem 0 3.5rem 0;
}

.ps-mid-cta {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border: 1px solid #bae6fd;
  border-left: 4px solid var(--ps-orange);
  border-radius: 14px;
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ps-mid-cta:hover {
  border-color: #7dd3fc;
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.15);
  transform: translateY(-2px);
}

.ps-mid-cta-content {
  flex: 1;
  min-width: 280px;
}

.ps-mid-cta-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ps-cyan-dark);
  margin-bottom: 0.5rem;
}

.ps-mid-cta-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.ps-mid-cta-desc {
  font-size: 0.92rem;
  color: var(--ps-text-muted);
  line-height: 1.6;
  margin: 0;
}

.ps-mid-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ps-btn-phone {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.ps-btn-phone:hover {
  background: #f0f9ff;
  border-color: var(--ps-cyan);
  color: var(--ps-cyan-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
}

/* Floating Quick Contact Bar */
.ps-floating-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ps-floating-bar.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ps-floating-bar a.float-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 8px;
  transition: color 0.2s ease;
}

.ps-floating-bar a.float-phone:hover {
  color: var(--ps-cyan-dark);
}

.ps-floating-bar .float-divider {
  width: 1px;
  height: 20px;
  background: #cbd5e1;
}

.ps-floating-bar .float-btn {
  background: var(--ps-orange);
  color: #ffffff;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 25px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
  transition: all 0.2s ease;
}

.ps-floating-bar .float-btn:hover {
  background: var(--ps-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.4);
}

@media (max-width: 768px) {
  .ps-mid-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.5rem;
    gap: 1.25rem;
  }
  
  .ps-mid-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .ps-mid-cta-actions .ps-btn {
    width: 100%;
  }

  .ps-floating-bar {
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: space-between;
    border-radius: 30px;
    padding: 6px 12px;
  }
  
  .ps-floating-bar a.float-phone {
    font-size: 0.8rem;
  }
  
  .ps-floating-bar .float-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}
