/* ========================================================
   PREMIUM REDESIGN ADDITIONS
   ======================================================== */
:root {
  --gold: #D4AF37;
  --gold-hover: #b8962c;
  --teal: #16C6B7;
  --card-bg: #0D1424;
  --card-bg-sec: #111827;
  --border-radius: 16px;
}

body {
  background-color: #060B14;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.center { text-align: center; }

/* Buttons */
.btn-gold {
  background: var(--gold);
  color: #000 !important;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
  transition: all 0.2s ease;
  padding: 0.8rem 1.5rem;
  display: inline-block;
  text-decoration: none;
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}
.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* Typography Classes */
.premium-headline {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.premium-headline span {
  color: var(--gold);
}
.premium-subheadline {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

/* Hero Split */
.premium-hero {
  padding: 8rem 2rem 4rem;
}
.hero-split {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.hero-left { flex: 1; }
.hero-right {
  flex: 1;
  position: relative;
  height: 500px;
}
.discipline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(22, 198, 183, 0.1);
  color: var(--teal);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,198,183,0.4); } 70% { box-shadow: 0 0 0 6px rgba(22,198,183,0); } 100% { box-shadow: 0 0 0 0 rgba(22,198,183,0); } }

.feature-pills {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.pill {
  background: rgba(255,255,255,0.05);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.05);
}

.hero-buttons { display: flex; gap: 1rem; margin-bottom: 3rem; }
.trusted-by { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: 0.9rem; }
.avatars { display: flex; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #fff; margin-left: -10px; border: 2px solid var(--bg-body); }
.avatar:first-child { margin-left: 0; background: #666; }
.avatar:nth-child(2) { background: #888; }
.avatar:nth-child(3) { background: #aaa; }

/* Mockups */
.laptop-mockup {
  position: absolute; right: 0; top: 0;
  width: 100%; height: 350px;
  background: #111;
  border-radius: 12px;
  border: 2px solid #333;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  overflow: hidden;
}
.phone-mockup {
  position: absolute; left: -20px; bottom: 0;
  width: 200px; height: 400px;
  background: #000;
  border-radius: 24px;
  border: 4px solid #333;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  transform: translateY(20px);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0% { transform: translateY(20px); } 50% { transform: translateY(0px); } 100% { transform: translateY(20px); } }

/* Sections */
section { padding: 6rem 0; }

.metric-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem;
  background: var(--card-bg);
  padding: 3rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.05);
}
.metric-card h3 { font-family: 'JetBrains Mono', monospace; font-size: 2rem; color: #fff; margin-bottom: 0.5rem; }
.metric-card p { color: var(--muted); font-size: 0.9rem; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.feature-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.1);
}
.f-icon { font-size: 2rem; margin-bottom: 1.5rem; }
.feature-card h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.feature-card p { color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6; }
.learn-more { color: var(--gold); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.learn-more:hover { text-decoration: underline; }

.showcase-split { display: flex; align-items: center; gap: 4rem; }
.showcase-left, .showcase-right { flex: 1; }
.benefit-list { list-style: none; padding: 0; }
.benefit-list li { margin-bottom: 1rem; color: #fff; display: flex; align-items: center; gap: 1rem; font-size: 1.1rem; }
.check { color: var(--teal); background: rgba(22,198,183,0.1); padding: 2px 6px; border-radius: 50%; font-size: 0.8rem; }

.dashboard-stack { position: relative; height: 400px; }
.dash-panel { position: absolute; border-radius: 12px; background: var(--card-bg-sec); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.dash-panel.bg { width: 80%; height: 250px; top: 0; right: 0; opacity: 0.5; }
.dash-panel.md { width: 85%; height: 280px; top: 40px; right: 20px; opacity: 0.8; }
.dash-panel.fg { width: 90%; height: 320px; bottom: 0; left: 0; z-index: 2; }

.markets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.market-card { display: flex; gap: 1.5rem; background: var(--card-bg); padding: 2rem; border-radius: var(--border-radius); border: 1px solid rgba(255,255,255,0.05); }
.m-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; }
.m-icon.deriv { background: rgba(255,68,79,0.1); color: #FF444F; }
.m-icon.forex { background: rgba(22,198,183,0.1); color: var(--teal); }
.m-icon.crypto { background: rgba(247,147,26,0.1); color: #F7931A; }
.market-card h3 { margin-bottom: 0.5rem; }
.market-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.market-card em { color: var(--gold); font-size: 0.8rem; font-style: normal; display: inline-block; margin-top: 0.5rem; padding: 2px 8px; background: rgba(212,175,55,0.1); border-radius: 10px; }

.analytics-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 2rem; }
.bento-card { background: var(--card-bg); border-radius: var(--border-radius); padding: 2rem; border: 1px solid rgba(255,255,255,0.05); }
.bento-card.stat { display: flex; flex-direction: column; gap: 0.5rem; }
.bento-card.stat span { color: var(--muted); font-size: 0.9rem; }
.bento-card.stat strong { font-family: 'JetBrains Mono'; font-size: 2.5rem; color: #fff; }
.chart-large { grid-column: span 2; height: 300px; }
.heatmap { height: 300px; }
.fake-bar-chart { height: 100%; background: linear-gradient(0deg, rgba(22,198,183,0.1) 0%, transparent 100%); border-bottom: 2px solid var(--teal); }
.fake-heatmap { height: 100%; background: repeating-linear-gradient(45deg, var(--card-bg-sec), var(--card-bg-sec) 10px, transparent 10px, transparent 20px); opacity: 0.3;}

.engine-flow { display: flex; align-items: center; justify-content: space-between; background: var(--card-bg); padding: 3rem; border-radius: var(--border-radius); border: 1px solid rgba(255,255,255,0.05); }
.flow-step { flex: 1; text-align: center; font-weight: 600; padding: 1rem; border-radius: 8px; background: var(--card-bg-sec); }
.flow-step.warning { border: 1px solid var(--gold); color: var(--gold); }
.flow-step.danger { border: 1px solid #FF444F; color: #FF444F; background: rgba(255,68,79,0.1); }
.flow-arrow { color: var(--muted); font-size: 1.5rem; }

.test-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.test-card { background: var(--card-bg); padding: 3rem; border-radius: var(--border-radius); border: 1px solid rgba(255,255,255,0.05); }
.stars { color: var(--gold); margin-bottom: 1rem; letter-spacing: 2px; }
.test-card p { font-size: 1.2rem; line-height: 1.6; font-style: italic; margin-bottom: 2rem; }
.author { color: var(--muted); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { background: var(--card-bg); border-radius: var(--border-radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s; cursor: pointer; }
.blog-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.1); }
.b-img { height: 150px; background: var(--card-bg-sec); }
.b-content { padding: 1.5rem; }
.b-tag { font-size: 0.8rem; color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; display: block; }
.b-content h3 { font-size: 1.2rem; line-height: 1.4; color: #fff; }

.final-cta-section .cta-card { background: linear-gradient(135deg, var(--card-bg) 0%, #060B14 100%); border: 1px solid rgba(212, 175, 55, 0.2); padding: 6rem 2rem; text-align: center; border-radius: var(--border-radius); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.btn-large { font-size: 1.2rem; padding: 1rem 2.5rem; }

.site-footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 4rem 2rem 2rem; background: #040810; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 4rem; max-width: 1200px; margin: 0 auto; }
.brand-col p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 1.5rem; color: #fff; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; margin-bottom: 0.8rem; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 4rem; padding-top: 2rem; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* Mobile Adaptations */
@media (max-width: 900px) {
  .hero-split, .showcase-split { flex-direction: column; }
  .metric-grid, .features-grid, .markets-grid, .analytics-bento, .test-grid, .blog-grid, .footer-grid { grid-template-columns: 1fr; }
  .engine-flow { flex-direction: column; gap: 1rem; }
  .flow-arrow { transform: rotate(90deg); }
  .chart-large { grid-column: span 1; }
  .hero-right { height: 300px; width: 100%; margin-top: 2rem; }
  .laptop-mockup { width: 90%; }
  .premium-headline { font-size: 3rem; }
}

/* Desktop Layout Flex & Grid Overrides (to override legacy code) */
.metric-grid, .features-grid, .markets-grid, .test-grid, .blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
}
.analytics-bento {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
}

/* Mobile Hero overlap fix */
@media (max-width: 900px) {
  .premium-hero { padding-top: 10rem !important; }
}

/* Binary Chart Mockup CSS */
.mock-app-ui {
  display: flex; width: 100%; height: 100%; background: #0A111F; font-family: 'Inter', sans-serif;
}
.mock-sidebar { width: 40px; background: #060B14; border-right: 1px solid #1A2233; }
.mock-main { flex: 1; display: flex; flex-direction: column; }
.mock-header {
  height: 40px; border-bottom: 1px solid #1A2233; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-size: 11px;
}
.mock-asset { background: #1A2233; padding: 4px 8px; border-radius: 4px; color: #fff; font-weight: 600; }
.mock-connect-btn { border: 1px solid rgba(255,255,255,0.2); padding: 4px 8px; border-radius: 4px; color: #fff; cursor: pointer; }
.mock-chart-area { flex: 1; position: relative; background: #0A111F; background-image: linear-gradient(#1A2233 1px, transparent 1px), linear-gradient(90deg, #1A2233 1px, transparent 1px); background-size: 20px 20px; }
.mock-candle { position: absolute; width: 4px; border-radius: 2px; }
.mock-candle.up { background: #22C55E; box-shadow: 0 0 4px #22C55E; }
.mock-candle.down { background: #EF4444; box-shadow: 0 0 4px #EF4444; }
.mock-right-panel { width: 80px; background: #0D1424; border-left: 1px solid #1A2233; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 10px; gap: 10px; }
.mock-trade-btn { width: 100%; text-align: center; padding: 8px 0; border-radius: 4px; font-weight: bold; font-size: 12px; cursor: pointer; }
.mock-up-btn { background: #22C55E; color: #000; }
.mock-down-btn { background: #EF4444; color: #fff; }

.mobile-ui { flex-direction: column; }
.mobile-ui .mock-main { flex: 1; }
.mobile-ui .mock-sidebar { display: none; }

/* ========================================================
   PLANCHORED LANDING 2026 OVERRIDE
   Header markup/styles intentionally left untouched.
   ======================================================== */
main > .premium-hero,
main > .features-section,
main > .product-showcase,
main > .markets-section,
main > .analytics-section,
main > .engine-section,
main > .testimonials-section,
main > .blog-section,
main > .final-cta-section {
  display: none !important;
}

.pa-landing {
  --pa-bg: #071425;
  --pa-bg-deep: #020813;
  --pa-panel: rgba(18, 28, 49, 0.78);
  --pa-panel-strong: rgba(8, 15, 28, 0.92);
  --pa-border: rgba(255, 255, 255, 0.12);
  --pa-gold: #d4af37;
  --pa-gold-bright: #f5c84f;
  --pa-text: #ffffff;
  --pa-muted: #a8b3c7;
  --pa-green: #22c55e;
  --pa-red: #ef4444;
  background: var(--pa-bg-deep);
  color: var(--pa-text);
  overflow: hidden;
}

.pa-landing svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.pa-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 126px clamp(24px, 2.55vw, 48px) 0;
  background:
    radial-gradient(circle at 74% 30%, rgba(59, 130, 246, 0.16), transparent 34%),
    radial-gradient(circle at 18% 46%, rgba(212, 175, 55, 0.08), transparent 30%),
    linear-gradient(135deg, #020813 0%, #071425 52%, #020711 100%);
}

.pa-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 66%, rgba(212, 175, 55, 0.34) 0 1.5px, transparent 2px),
    linear-gradient(rgba(75, 105, 148, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 105, 148, 0.08) 1px, transparent 1px);
  background-size: 34px 34px, 74px 74px, 74px 74px;
  mask-image: radial-gradient(ellipse at 26% 68%, #000 0 21%, transparent 55%);
  opacity: 0.75;
}

.pa-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.64));
}

.pa-hero-inner {
  width: min(1860px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(680px, 1.35fr);
  align-items: center;
  gap: clamp(28px, 3vw, 70px);
}

.pa-hero-copy {
  position: relative;
  z-index: 3;
  padding-bottom: 56px;
}

.pa-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 10px 18px 10px 12px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 999px;
  background: rgba(12, 12, 10, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 50px rgba(0, 0, 0, 0.24);
  color: var(--pa-gold-bright);
  font-size: clamp(0.78rem, 0.85vw, 1.02rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pa-badge-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #f8cf57, #b98512);
  color: #06101d;
}

.pa-title {
  margin: 0;
  max-width: 720px;
  color: #f8fafc;
  font-size: clamp(4.1rem, 5.9vw, 7rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
}

.pa-title span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(180deg, #ffe68a 0%, #d4af37 46%, #b67613 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.pa-lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 1.3vw, 1.42rem);
  line-height: 1.48;
}

.pa-lede strong {
  color: var(--pa-gold-bright);
}

.pa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.pa-btn {
  min-height: 64px;
  min-width: 210px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  padding: 0 28px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pa-btn:hover {
  transform: translateY(-2px);
}

.pa-btn-primary {
  color: #070a0f;
  border: 1px solid rgba(255, 221, 104, 0.74);
  background: linear-gradient(180deg, #f8d35b 0%, #dfa923 100%);
  box-shadow: 0 16px 34px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.pa-btn-secondary {
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(2, 8, 19, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.pa-btn-secondary svg {
  color: #f8fafc;
  font-size: 1.55rem;
}

.pa-btn-secondary svg path {
  fill: currentColor;
}

.pa-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  color: #f9fbff;
}

.pa-chip-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.pa-chip-row svg {
  width: 22px;
  height: 22px;
  color: var(--pa-gold-bright);
}

.pa-trust {
  margin-top: 46px;
}

.pa-trust > span {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pa-trust-row,
.pa-rating {
  display: flex;
  align-items: center;
}

.pa-trust-row {
  gap: 18px;
}

.pa-avatars {
  display: flex;
  padding-left: 5px;
}

.pa-avatars span {
  width: 40px;
  height: 40px;
  margin-left: -8px;
  border: 2px solid #071425;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, #ffe0c0 0 20%, transparent 21%),
    radial-gradient(circle at 50% 80%, #1e5b83 0 32%, transparent 33%),
    linear-gradient(135deg, #8ed8ff, #263a59);
}

.pa-avatars span:nth-child(2) { background: radial-gradient(circle at 50% 32%, #ffd5b0 0 20%, transparent 21%), radial-gradient(circle at 50% 80%, #8a4a2e 0 32%, transparent 33%), linear-gradient(135deg, #d9a276, #18283d); }
.pa-avatars span:nth-child(3) { background: radial-gradient(circle at 50% 32%, #f1c6aa 0 20%, transparent 21%), radial-gradient(circle at 50% 80%, #245a6b 0 32%, transparent 33%), linear-gradient(135deg, #9dc8d8, #152d3d); }
.pa-avatars span:nth-child(4) { background: radial-gradient(circle at 50% 32%, #f7c0a0 0 20%, transparent 21%), radial-gradient(circle at 50% 80%, #723642 0 32%, transparent 33%), linear-gradient(135deg, #eab0ba, #2b1724); }
.pa-avatars span:nth-child(5) { background: radial-gradient(circle at 50% 32%, #eeb893 0 20%, transparent 21%), radial-gradient(circle at 50% 80%, #544a82 0 32%, transparent 33%), linear-gradient(135deg, #e4bb84, #1c1732); }

.pa-rating {
  gap: 12px;
}

.pa-rating b {
  color: var(--pa-gold-bright);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}

.pa-rating small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
}

.pa-product-stage {
  position: relative;
  min-height: clamp(560px, 43vw, 760px);
  transform: translateX(20px);
}

.pa-laptop {
  position: absolute;
  left: -10px;
  right: 0;
  top: 34px;
  z-index: 2;
  transform: perspective(1600px) rotateY(-13deg) rotateX(3deg) rotateZ(-4deg);
  transform-origin: 46% 60%;
  animation: paFloat 7s ease-in-out infinite;
}

.pa-laptop-screen {
  position: relative;
  aspect-ratio: 16 / 9.6;
  border: 14px solid #0a0d13;
  border-radius: 26px 26px 16px 16px;
  overflow: hidden;
  background: #050b14;
  box-shadow:
    0 58px 95px rgba(0, 0, 0, 0.58),
    0 0 0 2px rgba(255, 255, 255, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.pa-laptop-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14), transparent 24%, transparent 72%, rgba(255, 255, 255, 0.07));
  mix-blend-mode: screen;
}

.pa-laptop-screen::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #03060b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pa-laptop-screen img,
.pa-phone img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pa-laptop-base {
  position: relative;
  z-index: -1;
  width: 96%;
  height: 36px;
  margin: -1px auto 0;
  border-radius: 0 0 34px 34px;
  background: linear-gradient(180deg, #30353b 0%, #0b0e12 72%, #020305 100%);
  box-shadow: 0 28px 34px rgba(0, 0, 0, 0.52);
}

.pa-laptop-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 43%;
  width: 14%;
  height: 12px;
  border-radius: 0 0 12px 12px;
  background: rgba(255, 255, 255, 0.12);
}

.pa-phone {
  position: absolute;
  right: -12px;
  bottom: 50px;
  z-index: 4;
  width: clamp(122px, 11vw, 206px);
  aspect-ratio: 9 / 19.5;
  padding: 10px;
  border: 6px solid #080a0e;
  border-radius: 32px;
  background: #05070a;
  box-shadow: 0 34px 54px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.24);
  transform: rotate(4deg);
  animation: paPhoneFloat 6.6s ease-in-out infinite;
}

.pa-phone img {
  border-radius: 22px;
}

.pa-phone-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 2;
  width: 44%;
  height: 16px;
  border-radius: 0 0 12px 12px;
  transform: translateX(-50%);
  background: #05070a;
}

.pa-float-card {
  position: absolute;
  z-index: 5;
  width: 148px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(7, 15, 28, 0.62);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  animation: paCardFloat 5.4s ease-in-out infinite;
}

.pa-float-card span,
.pa-float-card small {
  display: block;
  color: var(--pa-muted);
  font-size: 0.72rem;
}

.pa-float-card strong {
  display: block;
  margin: 4px 0;
  color: #fff;
  font-family: var(--font-data, monospace);
  font-size: 1.56rem;
  line-height: 1;
}

.pa-float-card small {
  color: var(--pa-green);
}

.pa-float-score { left: 7%; top: 2%; }
.pa-float-session { right: 8%; top: 1%; animation-delay: 800ms; }
.pa-float-risk { left: -2%; bottom: 23%; animation-delay: 1400ms; }
.pa-float-plan { right: 14%; bottom: 2%; width: 174px; animation-delay: 2100ms; }
.pa-float-plan small::before { content: "✓ "; color: var(--pa-gold-bright); }

.pa-highlight-bar {
  position: relative;
  z-index: 6;
  width: min(1860px, calc(100% - clamp(24px, 5vw, 96px)));
  margin: -18px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(68, 112, 155, 0.45);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13, 24, 40, 0.94), rgba(6, 14, 26, 0.9));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.pa-highlight-bar article {
  min-height: 108px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px 30px;
}

.pa-highlight-bar article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.pa-highlight-bar svg {
  width: 44px;
  height: 44px;
  color: var(--pa-gold-bright);
}

.pa-highlight-bar h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pa-highlight-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.45;
}

.pa-process {
  position: relative;
  padding: 120px clamp(24px, 4vw, 76px) 92px;
  background:
    radial-gradient(circle at 50% 42%, rgba(212, 175, 55, 0.1), transparent 34%),
    radial-gradient(circle at 72% 76%, rgba(59, 130, 246, 0.12), transparent 36%),
    #071425;
}

.pa-process-head {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.pa-process-head span {
  color: var(--pa-gold-bright);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pa-process-head h2,
.pa-final-cta h2 {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(2.4rem, 4.2vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.pa-process-head p {
  margin: 18px auto 0;
  color: var(--pa-muted);
  font-size: 1.08rem;
}

.pa-process-diagram {
  position: relative;
  width: min(1120px, 100%);
  min-height: 650px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    rgba(4, 11, 21, 0.54);
  background-size: 54px 54px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 90px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.pa-process-diagram::before,
.pa-process-diagram::after {
  content: "";
  position: absolute;
  inset: 19% 15%;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 50%;
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.2));
  animation: paGlow 4s ease-in-out infinite;
}

.pa-process-diagram::after {
  inset: 31% 26%;
  border-color: rgba(59, 130, 246, 0.18);
  animation-delay: 1200ms;
}

.pa-process-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.46);
  border-radius: 26px;
  background: rgba(7, 15, 28, 0.9);
  box-shadow: 0 0 55px rgba(212, 175, 55, 0.18);
  transform: translate(-50%, -50%);
}

.pa-process-logo img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.pa-node {
  position: absolute;
  z-index: 3;
  width: min(310px, 34%);
  min-height: 172px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(13, 22, 39, 0.78);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.pa-node span {
  color: var(--pa-gold-bright);
  font-family: var(--font-data, monospace);
  font-size: 0.78rem;
  font-weight: 800;
}

.pa-node h3 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 1.4rem;
}

.pa-node p {
  margin: 0;
  color: var(--pa-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.pa-node-plan { top: 72px; left: 72px; }
.pa-node-execute { top: 72px; right: 72px; }
.pa-node-review { bottom: 72px; right: 72px; }
.pa-node-improve { bottom: 72px; left: 72px; }

.pa-final-cta {
  width: min(860px, 100%);
  margin: 64px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 18px;
  background: rgba(8, 15, 28, 0.72);
}

.pa-final-cta h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

@keyframes paFloat {
  0%, 100% { transform: perspective(1600px) rotateY(-13deg) rotateX(3deg) rotateZ(-4deg) translateY(0); }
  50% { transform: perspective(1600px) rotateY(-12deg) rotateX(3deg) rotateZ(-3.2deg) translateY(-14px); }
}

@keyframes paPhoneFloat {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-12px); }
}

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

@keyframes paGlow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@media (max-width: 1320px) {
  .pa-hero-inner {
    grid-template-columns: 1fr;
  }

  .pa-product-stage {
    min-height: 640px;
    transform: none;
  }

  .pa-laptop {
    left: 3%;
    right: 6%;
  }

  .pa-highlight-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
  }

  .pa-highlight-bar article + article {
    border-left: 0;
  }

  .pa-highlight-bar article {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .pa-highlight-bar article:first-child,
  .pa-highlight-bar article:nth-child(2) {
    border-top: 0;
  }
}

@media (max-width: 860px) {
  .pa-hero {
    padding-top: 156px;
  }

  .pa-title {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .pa-actions,
  .pa-final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .pa-btn {
    width: 100%;
  }

  .pa-product-stage {
    min-height: 480px;
  }

  .pa-laptop {
    top: 42px;
    left: 0;
    right: 0;
    transform: none;
    animation: none;
  }

  .pa-laptop-screen {
    border-width: 8px;
    border-radius: 18px;
  }

  .pa-laptop-base {
    height: 20px;
  }

  .pa-phone {
    right: 3%;
    bottom: 44px;
  }

  .pa-float-card {
    display: none;
  }

  .pa-highlight-bar {
    grid-template-columns: 1fr;
  }

  .pa-highlight-bar article,
  .pa-highlight-bar article:nth-child(2) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .pa-highlight-bar article:first-child {
    border-top: 0;
  }

  .pa-process-diagram {
    min-height: auto;
    display: grid;
    gap: 16px;
    padding: 22px;
  }

  .pa-process-diagram::before,
  .pa-process-diagram::after {
    display: none;
  }

  .pa-process-logo,
  .pa-node {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .pa-process-logo {
    margin: 0 auto;
    width: 112px;
    height: 112px;
  }
}

@media (max-width: 560px) {
  .pa-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pa-badge {
    font-size: 0.68rem;
  }

  .pa-lede {
    font-size: 1rem;
  }

  .pa-chip-row {
    gap: 14px;
  }

  .pa-chip-row span {
    font-size: 0.82rem;
  }

  .pa-trust-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .pa-product-stage {
    min-height: 360px;
  }

  .pa-phone {
    width: 96px;
    padding: 6px;
    border-width: 4px;
    border-radius: 22px;
  }

  .pa-phone img {
    border-radius: 15px;
  }

  .pa-highlight-bar article {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 18px;
  }

  .pa-highlight-bar svg {
    width: 34px;
    height: 34px;
  }
}
