/* ============================================
   KEPLER AEROSPACE — gsaas.css
   Page-specific styles for Explore GSaaS
   ============================================ */

/* ---- Shared page utilities ---- */
.page-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(35,165,220,0.3);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 22px;
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.75;
  margin-bottom: 10px;
}

.gsaas-product-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}

.closing-line {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  border-left: 2px solid rgba(35,165,220,0.35);
  padding-left: 14px;
  margin-top: 20px;
  line-height: 1.7;
}

/* ---- Header bottom border ---- */
.header-border {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(35,165,220,0.5), rgba(44,161,153,0.3), transparent);
}

/* ---- Header CTA button (desktop only) ---- */
.header-cta { display: flex; align-items: center; }
.header-cta .btn { font-size: 13px; padding: 9px 20px; }

@media (max-width: 991px) {
  .header-cta { display: none; }
}

/* ============================================
   HERO / INTRO
   ============================================ */
.gsaas-hero {
  padding: calc(var(--header-h) + 100px) 0 120px;
  background:
    radial-gradient(ellipse 70% 60% at 70% 30%, rgba(10,45,80,0.5) 0%, transparent 68%),
    linear-gradient(170deg, #02080f 0%, #040c18 50%, #000000 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle star dots */
.gsaas-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 10%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 28%, rgba(255,255,255,0.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 15%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 75%, rgba(255,255,255,0.3) 0%, transparent 100%);
}

/* Bottom glow line (same as homepage hero) */
.gsaas-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(35,165,220,0.5), transparent);
}

.gsaas-hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.gsaas-hero-content h1 {
  font-size: clamp(28px, 4vw, 47px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 26px;
}
.gsaas-hero-content h1 span { font-weight: 700; color: var(--accent2); }

.gsaas-hero-content p {
  font-size: 16px;
  color: rgba(245,245,244,0.78);
  line-height: 1.78;
}

/* Hero image */
.gsaas-hero-image { position: relative; }
.gsaas-hero-image figure {
  border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(35,165,220,0.15);
}
.gsaas-hero-image img {
  width: 100%; aspect-ratio: 1/0; object-fit: cover;
  display: block; transition: transform 0.55s ease;
}
.gsaas-hero-image figure:hover img { transform: scale(1.03); }

/* Floating badge */
.hero-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(4,18,32,0.95);
  border: 1px solid rgba(35,165,220,0.35);
  padding: 14px 20px;
  border-radius: 3px;
  backdrop-filter: blur(12px);
}
.badge-num {
  font-size: 32px; font-weight: 800; color: var(--accent); line-height: 1;
}
.badge-text {
  font-size: 12px; color: var(--muted); line-height: 1.45;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ============================================
   GLOBAL NETWORK ARCHITECTURE
   ============================================ */
.network-section {
  padding: clamp(80px, 9vw, 120px) 0;
  background: linear-gradient(88deg, #041E2A, #000);
}

.network-section .section-title { margin-bottom: 56px; }

.network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.network-card {
  position: relative;
  padding: 36px 28px 32px;
  background: rgba(35,165,220,0.05);
  border: 1px solid rgba(35,165,220,0.18);
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  overflow: hidden;
}

.network-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
  transition: height 0.4s ease;
}
.network-card:hover::before { height: 100%; }

.network-card:hover {
  background: rgba(35,165,220,0.1);
  border-color: rgba(35,165,220,0.45);
  transform: translateY(-3px);
}

.network-card-num {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.network-card-num span {
  font-size: 0.45em;
  font-weight: 400;
  color: var(--accent);
  vertical-align: middle;
  margin-left: 2px;
}

.network-card-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.network-card-icon {
  font-size: 22px;
  color: rgba(35,165,220,0.3);
  margin-top: 8px;
  transition: color 0.3s;
}
.network-card:hover .network-card-icon { color: rgba(35,165,220,0.7); }

/* ============================================
   DESIGNED FOR MODERN OPS
   ============================================ */
.modern-ops-section {
  padding: clamp(80px, 9vw, 120px) 0;
  background: var(--bg);
  position: relative;
}

.modern-ops-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/bg-2.jpg') bottom/cover no-repeat;
  opacity: 0.15;
}

.modern-ops-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.modern-ops-image figure {
  border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(35,165,220,0.15);
  position: relative;
}
.modern-ops-image figure::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(35,165,220,0.06) 0%, transparent 60%);
}
.modern-ops-image img {
  width: 100%; aspect-ratio: 1/0; object-fit: cover;
  transition: transform 0.5s ease;
}
.modern-ops-image figure:hover img { transform: scale(1.04); }

.modern-ops-content .section-title { margin-bottom: 24px; }
.modern-ops-content .section-title h2 span { color: var(--accent2); }

.ops-intro {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px !important;
}

.styled-list {
  list-style: none; margin: 0 0 20px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.styled-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: rgba(255,255,255,0.82);
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 3px;
  transition: background 0.25s, border-color 0.25s;
}
.styled-list li:hover {
  background: rgba(35,165,220,0.07);
  border-color: rgba(35,165,220,0.2);
}
.styled-list li i { color: var(--accent2); font-size: 14px; flex-shrink: 0; }

/* ============================================
   OPERATIONAL CAPABILITIES
   ============================================ */
.capabilities-section {
  padding: clamp(80px, 9vw, 120px) 0;
  background: linear-gradient(180deg, #000 0%, #041118 100%);
}

.capabilities-inner { }

.capabilities-header {
  margin-bottom: 52px;
}
.capabilities-header h2 {
  font-size: clamp(28px, 4vw, 47px);
  font-weight: 300;
}
.capabilities-header h2 span { font-weight: 700; color: var(--accent2); }

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.cap-card {
  padding: 36px 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.cap-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.cap-card:hover::after { transform: scaleX(1); }

.cap-card:hover {
  background: rgba(35,165,220,0.06);
  border-color: rgba(35,165,220,0.25);
  transform: translateY(-3px);
}

.cap-card-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(35,165,220,0.1);
  border: 1px solid rgba(35,165,220,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent);
  margin-bottom: 20px;
  transition: background 0.3s, transform 0.3s;
}
.cap-card:hover .cap-card-icon { background: rgba(35,165,220,0.2); transform: scale(1.1); }

.cap-card h3 {
  font-size: 17px; font-weight: 700;
  color: var(--primary); margin-bottom: 12px;
  line-height: 1.35;
}
.cap-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.65; }

/* ============================================
   INFRASTRUCTURE & SECURITY
   ============================================ */
.infra-section {
  padding: clamp(80px, 9vw, 120px) 0;
  background: linear-gradient(88deg, #041E2A, #000);
  position: relative;
  overflow: hidden;
}

.infra-section::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(35,165,220,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.infra-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.infra-content .section-title h2 span { color: var(--accent2); }
.infra-content .section-title p { margin-bottom: 0; }

.infra-stack-col { }

.stack-label {
  font-size: 12px; font-weight: 600;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px !important;
  opacity: 0.85;
}

.infra-stack-list {
  display: flex; flex-direction: column; gap: 3px;
}

.infra-stack-item {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 2px solid rgba(35,165,220,0.4);
  transition: background 0.28s, border-color 0.28s, padding-left 0.28s;
}
.infra-stack-item:hover {
  background: rgba(35,165,220,0.08);
  border-color: rgba(35,165,220,0.35);
  border-left-color: var(--accent);
  padding-left: 22px;
}

.stack-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(35,165,220,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--accent);
  transition: background 0.28s;
}
.infra-stack-item:hover .stack-icon { background: rgba(35,165,220,0.22); }

.infra-stack-item span {
  font-size: 14px; color: rgba(255,255,255,0.8);
  line-height: 1.45;
}

/* ============================================
   COMMERCIAL MODEL
   ============================================ */
.commercial-section {
  padding: clamp(80px, 9vw, 120px) 0;
  background: var(--bg);
  position: relative;
}

.commercial-header { margin-bottom: 52px; }
.commercial-header .section-title h2 span { color: var(--accent2); }
.commercial-header .section-title p { color: var(--muted); }

.commercial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}

.commercial-card {
  padding: 32px 24px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid rgba(35,165,220,0.3);
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.commercial-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,165,220,0.04) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.commercial-card:hover {
  background: rgba(35,165,220,0.07);
  border-top-color: var(--accent);
  border-color: rgba(35,165,220,0.25);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(35,165,220,0.1);
}
.commercial-card:hover::before { opacity: 1; }

.commercial-card-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(35,165,220,0.1);
  border: 1px solid rgba(35,165,220,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent);
  margin-bottom: 18px;
  transition: background 0.3s, transform 0.3s;
}
.commercial-card:hover .commercial-card-icon { background: rgba(35,165,220,0.22); transform: scale(1.08); }

.commercial-card h3 {
  font-size: 15px; font-weight: 700;
  color: var(--primary); margin-bottom: 10px;
  line-height: 1.3;
}
.commercial-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

/* Closing line */
.commercial-closing {
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    font-style: normal;
    padding: 25px;
    border: 1px solid rgb(35 165 220 / 62%);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 700;
    color: var(--accent2);
}

/* ============================================
   DEPLOYMENT & VALIDATION
   ============================================ */
.deployment-section {
  padding: clamp(80px, 9vw, 120px) 0;
  background: linear-gradient(88deg, #041E2A, #000);
  position: relative;
  overflow: hidden;
}

.deployment-section::before {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(44,161,153,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.deployment-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.deployment-content .section-title h2 span { color: var(--accent2); }

.deployment-stack-col { }

.deployment-stack-list {
  display: flex; flex-direction: column; gap: 3px;
}

.deployment-stack-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: rgba(44,161,153,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 2px solid rgba(44,161,153,0.4);
  transition: background 0.28s, border-color 0.28s, padding-left 0.28s;
}
.deployment-stack-item:hover {
  background: rgba(44,161,153,0.1);
  border-color: rgba(44,161,153,0.3);
  border-left-color: var(--accent2);
  padding-left: 26px;
}
.deployment-stack-item .stack-icon {
  background: rgba(44,161,153,0.1);
  color: var(--accent2);
}
.deployment-stack-item:hover .stack-icon { background: rgba(44,161,153,0.22); }

.deployment-stack-item span {
  font-size: 14px; color: rgba(255,255,255,0.82); line-height: 1.45;
}

/* ============================================
   WORLD MAP
   ============================================ */
.gsaas-map-section {
  background: #000;
  /*padding: clamp(40px, 5vw, 70px) 0 0;*/
  text-align: center;
  overflow: hidden;
}

.map-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); opacity: 0.7;
  margin-bottom: 28px;
}

.map-img-wrap { position: relative; }
.map-img-wrap img { width: 100%; display: block; max-width: 100%; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .gsaas-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-badge { left: 0; bottom: -16px; }

  .network-grid { grid-template-columns: repeat(2, 1fr); }

  .modern-ops-inner { grid-template-columns: 1fr; gap: 40px; }
  .modern-ops-image { max-width: 560px; }

  .capabilities-grid { grid-template-columns: 1fr 1fr; }

  .infra-inner { grid-template-columns: 1fr; gap: 40px; }
  .deployment-inner { grid-template-columns: 1fr; gap: 40px; }
  .commercial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .gsaas-hero { padding-top: calc(var(--header-h) + 32px); }
  .network-grid { grid-template-columns: 1fr; gap: 2px; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .commercial-grid { grid-template-columns: 1fr; }
  .hero-badge { position: static; margin-top: 20px; display: inline-flex; }
  .network-card-num { font-size: 40px; }
}