/* ==========================================================================
   PERPETUAL BACKEND DEV SERVICES - MODERN GLASS & NEON DARK SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-main: #060609;
  --bg-card: rgba(15, 15, 25, 0.65);
  --bg-card-solid: #0d0d16;
  --bg-card-hover: rgba(24, 24, 40, 0.85);
  --accent-purple: #8b5cf6;
  --accent-violet: #a855f7;
  --accent-cyan: #38bdf8;
  --accent-pink: #ec4899;
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(168, 85, 247, 0.4);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-code: 'Fira Code', monospace;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* High Contrast Global Text Definitions */
body, p, span, div, li {
  color: #e2e8f0;
}

.text-muted, .glass-card p, .hero-subtitle, .tier-card p, .statement-card p {
  color: #cbd5e1 !important;
}

.text-dim {
  color: #a0aec0 !important;
}

h1, h2, h3, h4, h5, h6, .text-white {
  color: #ffffff !important;
}

.fs-7 {
  font-size: 0.85rem !important;
}

/* Ensure reveal-on-scroll elements default to visible */
.reveal-on-scroll {
  opacity: 1;
}

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Lights */
.ambient-spotlight {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  transition: var(--transition-smooth);
}

.spotlight-purple {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(139, 92, 246, 0) 70%);
  top: -100px;
  right: -100px;
}

.spotlight-cyan {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(59, 130, 246, 0) 70%);
  top: 40%;
  left: -150px;
}

.spotlight-bottom {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(6, 6, 9, 0) 70%);
  bottom: 0;
  right: 10%;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-purple) 60%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Glass Navbar */
.navbar-glass {
  background: rgba(7, 7, 10, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 18px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar-glass.scrolled {
  padding: 12px 0;
  background: rgba(6, 6, 9, 0.92);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #8b5cf6, #38bdf8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  position: relative;
}

.brand-icon::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent);
  border-radius: 10px;
  pointer-events: none;
}

.nav-link-custom {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  margin: 0 14px;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link-custom:hover, .nav-link-custom.active {
  color: #ffffff;
}

.nav-link-custom.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--accent-violet);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-violet);
}

/* Glass Buttons */
.btn-glass-primary {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(168, 85, 247, 0.7));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-glass-primary:hover {

  box-shadow: 0 0 35px rgba(168, 85, 247, 0.6);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-glass-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-glass-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(168, 85, 247, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

/* Neon Pill Badges */
.badge-neon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--accent-violet);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-violet);
  box-shadow: 0 0 8px var(--accent-violet);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
  100% { opacity: 0.4; transform: scale(0.9); }
}

/* Glass Card Components */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 32px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(168, 85, 247, 0.08), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.15);
}

/* Hero Section */
.hero-section {
  padding-top: 170px;
  padding-bottom: 90px;
  position: relative;
  z-index: 1;
  background: #000;
}

.hero-title {
  font-size: 3.75rem;
  line-height: 1.15;
  font-weight: 800;
  margin-top: 24px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  font-weight: 400;
  margin-bottom: 36px;
}

/* Hero Interactive Terminal Visual */
.hero-visual-card {
  background: rgba(10, 10, 18, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(139, 92, 246, 0.2);
  position: relative;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 20px;
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-family: var(--font-code);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.code-window {
  font-family: var(--font-code);
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.7;
}

.code-keyword { color: #c084fc; }
.code-func { color: #38bdf8; }
.code-str { color: #4ade80; }
.code-num { color: #f43f5e; }
.code-comment { color: #64748b; font-style: italic; }

/* Metrics Counter Box */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
}

.metric-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.metric-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tech Marquee */
.tech-marquee-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(10, 10, 16, 0.4);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee-slide 28s linear infinite;
  white-space: nowrap;
  align-items: center;
}

@keyframes marquee-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tech-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 10px 22px;
  border-radius: 40px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.tech-chip i {
  color: var(--accent-violet);
  font-size: 1.1rem;
}

/* Statement Banner / Quote Card */
.statement-card {
  background: linear-gradient(135deg, rgba(20, 15, 35, 0.9), rgba(12, 12, 22, 0.95));
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 28px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.15);
}

.statement-text {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
  max-width: 850px;
  margin: 0 auto 20px;
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-col-7 { grid-column: span 7; }
.bento-col-5 { grid-column: span 5; }
.bento-col-4 { grid-column: span 4; }
.bento-col-8 { grid-column: span 8; }
.bento-col-12 { grid-column: span 12; }

@media (max-width: 991px) {
  .bento-col-7, .bento-col-5, .bento-col-4, .bento-col-8 {
    grid-column: span 12;
  }
}

.card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-violet);
  font-size: 1.25rem;
  margin-bottom: 20px;
}

/* Interactive Latency Simulator Slider */
.slider-container {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-violet);
  cursor: pointer;
  box-shadow: 0 0 12px var(--accent-violet);
}

/* Engineered Advantage Cards (3 Grid + Side Visual) */
.advantage-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Core Pillar Shield Icons */
.pillar-shield {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(56, 189, 248, 0.1));
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--accent-violet);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.25);
  position: relative;
}

/* Engagement Tier Cards (Pricing Page) */
.tier-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: 40px 32px;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.tier-card.featured {
  background: linear-gradient(180deg, rgba(22, 16, 38, 0.95) 0%, rgba(13, 13, 22, 0.98) 100%);
  border: 1px solid var(--accent-violet);
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.3);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
}

.tier-price {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin: 20px 0 8px;
}

.tier-price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.feature-list li i {
  color: var(--accent-violet);
  font-size: 1rem;
}

/* Comparison Matrix Table */
.matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.matrix-table th, .matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-glass);
  text-align: left;
}

.matrix-table th {
  background: rgba(15, 15, 25, 0.9);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.matrix-table td {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

/* Accordion FAQ */
.accordion-custom .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 18px !important;
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-custom .accordion-button {
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 22px 28px;
  box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--accent-violet);
  background: rgba(139, 92, 246, 0.05);
}

.accordion-custom .accordion-button::after {
  filter: invert(1) opacity(0.7);
}

.accordion-custom .accordion-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0 28px 24px;
}

/* Footer Banner CTA */
.footer-cta-card {
  background: linear-gradient(135deg, rgba(25, 18, 45, 0.9), rgba(10, 10, 18, 0.95));
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 32px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.2);
}

.footer-cta-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25), transparent 70%);
  pointer-events: none;
}

/* Footer */
footer {
  background: #040406;
  border-top: 1px solid var(--border-glass);
  padding: 70px 0 30px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--accent-violet);
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .statement-text {
    font-size: 1.4rem;
  }
  .navbar-collapse {
    background: rgba(10, 10, 18, 0.95);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 20px;
    margin-top: 10px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-section {
    padding-top: 130px;
  }
  .glass-card {
    padding: 24px;
  }
  .tier-card {
    padding: 28px 20px;
  }
}

/* Custom Visuals for Framer Advantage Sections */
.folder-graphic-box {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.folder-orb {
  position: absolute;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent 70%);
  border-radius: 50%;
}

.folder-icon-main {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
  position: relative;
  z-index: 2;
}

.folder-satellites {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.folder-satellites i {
  position: absolute;
  color: rgba(255, 255, 255, 0.15);
  font-size: 1.4rem;
}

.satellite-1 { top: 15px; left: 20%; transform: rotate(-15deg); }
.satellite-2 { top: 20px; right: 20%; transform: rotate(15deg); }
.satellite-3 { bottom: 15px; left: 35%; transform: rotate(-5deg); }

.notification-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 140px;
  justify-content: center;
}

.notify-card {
  background: rgba(18, 18, 28, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.notify-active {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.notify-bell {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #fff;
  box-shadow: 0 0 10px var(--accent-violet);
}

.notify-dim {
  opacity: 0.4;
}

.pulse-window {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dot-cyan {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.pulse-wave-svg {
  width: 100%;
  height: 70px;
}
.sec-banner{
    position: absolute;
    right: -10%;
   
    top: 0;
    height: 100%;
}
.sec-banner::before{
    position: absolute;
    content: "";
 background: radial-gradient(50% 50%, rgba(84, 84, 84, 0) 0%, rgb(0, 0, 0) 100%);
    opacity: 1;
    width: 100%;
    height: 100%;
}
.footer-cta-card img{
    width: 50px;
    margin: 0 auto;
    padding-bottom: 33px;
}