/* ============================================
   MACH P3 LANDING PAGE — THEME-MATCHED STYLES
   Matches: mach-io WordPress theme
   Fonts: Bebas Neue (headings), Poppins (body)
   Accent: #00b1ff
   ============================================ */

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

/* --- Reset & Variables --- */
/* Note: We prefix classes or scope them to .p3-landing-page if we want to avoid conflicts, 
   but for a standalone template we can keep them global or scoped. */

.p3-landing-page {
  --bg-dark: #0d1117;
  --bg-dark-alt: #131921;
  --bg-card: #1a2230;
  --bg-card-hover: #1f2937;
  --bg-light: #f3f9fb;
  --text-white: #ffffff;
  --text-body: #c9d1d9;
  --text-muted: #8b949e;
  --text-dark: #1c1a2b;
  --text-body-dark: #3d5058;
  --accent: #00b1ff;
  --accent-hover: #33c1ff;
  --accent-glow: rgba(0, 177, 255, 0.15);
  --danger: #ff4d4d;
  --success: #00e676;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.08);
  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --section-pad: 100px;
  --transition: all 0.4s ease-in-out;
  
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
}

.p3-landing-page * { box-sizing: border-box; }

.p3-landing-page img { max-width: 100%; height: auto; display: block; }
.p3-landing-page a { text-decoration: none; color: inherit; transition: var(--transition); }
.p3-landing-page ul { list-style: none; padding: 0; margin: 0; }

.p3-landing-page .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
}

/* --- Typography --- */
.p3-landing-page h1, 
.p3-landing-page h2, 
.p3-landing-page h3, 
.p3-landing-page h4, 
.p3-landing-page h5, 
.p3-landing-page h6 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.05;
}

.p3-landing-page h1 { font-size: clamp(60px, 8vw, 100px); color: var(--text-white); }
.p3-landing-page h2 { font-size: clamp(48px, 6vw, 90px); color: var(--text-white); }
.p3-landing-page h3 { font-size: clamp(28px, 3vw, 50px); color: var(--text-white); }

.p3-landing-page .text-accent { color: var(--accent); }

.p3-landing-page .subtitle-label {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

/* --- Buttons --- */
.p3-landing-page .btn {
  display: inline-block;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  padding: 14px 32px;
  text-transform: capitalize;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.p3-landing-page .btn-primary {
  background-color: var(--accent);
  color: #ffffff !important;
}
.p3-landing-page .btn-primary:hover {
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 177, 255, 0.35);
}

.p3-landing-page .btn-outline {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.p3-landing-page .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  transform: translateY(-2px);
}

.p3-landing-page .btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* --- Sections --- */
.p3-landing-page section { padding: var(--section-pad) 0; position: relative; }

.p3-landing-page .section-header { margin-bottom: 50px; }
.p3-landing-page .section-header h2 { margin-bottom: 20px; }
.p3-landing-page .section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

/* --- Scroll Reveal --- */
.p3-landing-page .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.p3-landing-page .reveal.visible { opacity: 1; transform: translateY(0); }
.p3-landing-page .reveal-d1 { transition-delay: 0.1s; }
.p3-landing-page .reveal-d2 { transition-delay: 0.2s; }
.p3-landing-page .reveal-d3 { transition-delay: 0.3s; }
.p3-landing-page .reveal-d4 { transition-delay: 0.4s; }

/* --- Sticky CTA --- */
.p3-landing-page .sticky-cta {
  position: fixed;
  bottom: -100px;
  left: 0; right: 0;
  z-index: 9999;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-dark);
  padding: 14px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: bottom 0.4s ease;
}
.p3-landing-page .sticky-cta.visible { bottom: 0; }
.p3-landing-page .sticky-cta p { font-size: 15px; color: var(--text-muted); margin: 0; }
.p3-landing-page .sticky-cta .btn { padding: 10px 28px; font-size: 15px; }

/* --- Hero --- */
.p3-landing-page .hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(170deg, #0d1117 0%, #111a27 50%, #0d1117 100%);
  overflow: hidden;
  position: relative;
}

.p3-landing-page .hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 177, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.p3-landing-page .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.p3-landing-page .hero-text h1 { margin-bottom: 24px; }
.p3-landing-page .hero-text .lead {
  font-size: 18px;
  color: var(--text-body);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.p3-landing-page .trust-bar {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.p3-landing-page .comparison-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: #000;
}

.p3-landing-page .comparison-side { position: relative; overflow: hidden; }
.p3-landing-page .comparison-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.p3-landing-page .comparison-side:hover img { transform: scale(1.03); }

.p3-landing-page .comparison-label {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.p3-landing-page .label-fail { background: rgba(255, 60, 60, 0.85); color: #fff; }
.p3-landing-page .label-pass { background: rgba(0, 177, 255, 0.9); color: #fff; }

/* --- Problem --- */
.p3-landing-page .problem {
  background: var(--bg-dark-alt);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.p3-landing-page .problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.p3-landing-page .challenge-list { margin-top: 28px; }
.p3-landing-page .challenge-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--text-body);
}
.p3-landing-page .challenge-list li .dot {
  width: 8px; height: 8px;
  background: var(--danger);
  border-radius: 50%;
  flex-shrink: 0;
}

.p3-landing-page .impact-cards { display: flex; flex-direction: column; gap: 16px; }
.p3-landing-page .impact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-left: 3px solid var(--danger);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: var(--transition);
}
.p3-landing-page .impact-card:hover {
  border-left-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}
.p3-landing-page .impact-card h4 {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
}
.p3-landing-page .impact-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Proof --- */
.p3-landing-page .proof { background: var(--bg-dark); }
.p3-landing-page .proof-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  position: relative;
}
.p3-landing-page .proof-visual .comparison-wrap { border: none; border-radius: 0; }
.p3-landing-page .proof-visual + .proof-visual { margin-top: 32px; }

.p3-landing-page .proof-scene-label {
  padding: 10px 20px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-dark);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.p3-landing-page .proof-bottom {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.p3-landing-page .proof-bottom p {
  font-size: 18px;
  color: var(--text-body);
  max-width: 550px;
  line-height: 1.8;
}

/* --- Solution --- */
.p3-landing-page .solution {
  background: var(--bg-dark-alt);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.p3-landing-page .solution-intro {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.p3-landing-page .feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.p3-landing-page .feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.p3-landing-page .feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.p3-landing-page .feature-card:hover {
  border-color: rgba(0, 177, 255, 0.2);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}
.p3-landing-page .feature-card:hover::after { transform: scaleX(1); }

.p3-landing-page .feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}

.p3-landing-page .feature-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}
.p3-landing-page .feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* --- Outcomes --- */
.p3-landing-page .outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px;
}
.p3-landing-page .outcome-item {
  padding: 28px 32px;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
}
.p3-landing-page .outcome-item h4 {
  color: var(--text-white);
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.p3-landing-page .outcome-item:hover { background: var(--bg-card); }
.p3-landing-page .outcome-check {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--success);
  font-weight: 700;
}

/* --- Use Cases --- */
.p3-landing-page .usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.p3-landing-page .usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
}
.p3-landing-page .usecase-card:hover { transform: translateY(-4px); border-color: rgba(0, 177, 255, 0.2); }
.p3-landing-page .usecase-icon { font-size: 40px; margin-bottom: 18px; }

/* --- Final CTA --- */
.p3-landing-page .final-cta { background: var(--bg-dark); text-align: center; padding: 140px 0; }
.p3-landing-page .final-cta .container { max-width: 700px; }
.p3-landing-page .final-cta .btn-group { justify-content: center; }

/* --- Footer --- */
.p3-landing-page .footer-strip {
  background: var(--bg-dark-alt);
  border-top: 1px solid var(--border-dark);
  padding: 40px 0;
}
.p3-landing-page .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.p3-landing-page .footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-dark);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .p3-landing-page .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .p3-landing-page .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .p3-landing-page .problem-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .p3-landing-page { font-size: 16px; }
  .p3-landing-page .container { padding: 0 20px; }
  .p3-landing-page .feature-grid { grid-template-columns: 1fr; }
  .p3-landing-page .outcome-grid { grid-template-columns: 1fr; }
  .p3-landing-page .usecase-grid { grid-template-columns: 1fr; }
  .p3-landing-page .btn-group { flex-direction: column; align-items: stretch; }
  .p3-landing-page .footer-inner { flex-direction: column; text-align: center; }
  .p3-landing-page .sticky-cta { flex-direction: column; gap: 8px; }
  .p3-landing-page .comparison-wrap { grid-template-columns: 1fr; }
}


/* P3 Header Styles */
.p3-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.p3-header.scrolled {
    background: rgba(10, 14, 23, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 5px 0;
}

.p3-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1800px;
    margin: 0 auto;
}

.p3-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    overflow: visible;
    flex-shrink: 0;
}

.p3-logo img {
    height: 40px; /* Sized between 36-44px as requested */
    width: auto;
    max-height: none;
    max-width: none;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
    /* Inverts black text to white, then rotates hue 180deg to restore the blue icon */
    filter: invert(1) hue-rotate(180deg) brightness(1.1) saturate(1.2);
}

.p3-logo:hover img {
    opacity: 0.8;
}

.p3-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.p3-nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}

.p3-nav-links a {
    color: #e0e6ed;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.p3-nav-links a:hover {
    color: #00b1ff;
}

.p3-nav-actions .btn {
    padding: 10px 28px;
    font-size: 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.p3-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.p3-mobile-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* P3 Footer Styles */
.p3-footer {
    background: linear-gradient(180deg, #0a0e17 0%, #05070a 100%);
    border-top: 1px solid #1a2230;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.p3-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#00b1ff 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.03;
    pointer-events: none;
}

.p3-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.p3-footer-logo img {
    height: 40px;
    margin-bottom: 25px;
}

.p3-company-desc {
    color: #8c9bb0;
    font-size: 15px;
    line-height: 1.6;
    max-width: 400px;
    margin-bottom: 25px;
}

.p3-socials {
    display: flex;
    gap: 15px;
}

.p3-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.p3-socials a:hover {
    background: rgba(0, 177, 255, 0.1);
    color: #00b1ff;
    border-color: rgba(0, 177, 255, 0.3);
    transform: translateY(-3px);
}

.p3-socials svg {
    width: 18px;
    height: 18px;
}

.p3-footer-col h4 {
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.p3-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.p3-footer-col ul li {
    margin-bottom: 15px;
}

.p3-footer-col.links-col a {
    color: #8c9bb0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.p3-footer-col.links-col a:hover {
    color: #00b1ff;
    padding-left: 5px;
}

.p3-footer-col.contact-col li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #8c9bb0;
    font-size: 15px;
}

.p3-footer-col.contact-col li svg {
    margin-top: 2px;
    color: #00b1ff;
}

.p3-footer-col.contact-col a {
    color: #8c9bb0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.p3-footer-col.contact-col a:hover {
    color: #fff;
}

.p3-footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #5a6b82;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .p3-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #0a0e17;
        flex-direction: column;
        justify-content: center;
        transition: all 0.4s ease;
        padding: 40px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    }

    .p3-nav.active {
        right: 0;
    }

    .p3-nav-links {
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }

    .p3-mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .p3-mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .p3-mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .p3-mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .p3-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Cinematic Hardware Showcase --- */
.p3-landing-page .hardware-showcase {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  border-top: 1px solid var(--border-dark);
}

.p3-landing-page .hw-hero-img-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 80px;
  position: relative;
}

.p3-landing-page .hw-hero-img-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 177, 255, 0.15) 0%, transparent 60%);
  filter: blur(60px);
  z-index: 0;
}

.p3-landing-page .hw-hero-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.05);
}

.p3-landing-page .hw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.p3-landing-page .hw-card {
  background: var(--bg-dark-alt);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.p3-landing-page .hw-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 177, 255, 0.3);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.p3-landing-page .hw-card-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-dark);
}

.p3-landing-page .hw-card-content {
  padding: 30px;
}

.p3-landing-page .hw-card-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.p3-landing-page .hw-exploded {
  display: flex;
  align-items: center;
  gap: 60px;
  background: linear-gradient(90deg, #0d1117 0%, #131921 100%);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 60px;
  margin-bottom: 80px;
  overflow: hidden;
}

.p3-landing-page .hw-exploded-text {
  flex: 1;
}

.p3-landing-page .hw-exploded-img {
  flex: 1.5;
  position: relative;
}

.p3-landing-page .hw-exploded-img img {
  width: 100%;
  border-radius: var(--radius);
}

.p3-landing-page .hw-environment {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 600px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border-dark);
}

.p3-landing-page .hw-environment::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 70%;
  background: linear-gradient(to top, rgba(5,7,10,0.9) 0%, transparent 100%);
}

.p3-landing-page .hw-env-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.p3-landing-page .hw-env-content {
  position: relative;
  z-index: 1;
  padding: 60px;
  max-width: 600px;
}

.p3-landing-page .hw-env-content p {
  font-size: 18px;
}

@keyframes hwfloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

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

.p3-landing-page .hw-floating {
  animation: hwfloat 6s ease-in-out infinite;
}

.p3-landing-page .hw-floating-slow {
  animation: hwfloatSlow 8s ease-in-out infinite;
}

@media (max-width: 991px) {
  .p3-landing-page .hw-grid { grid-template-columns: 1fr; }
  .p3-landing-page .hw-exploded { flex-direction: column; padding: 40px; }
  .p3-landing-page .hw-environment { height: 450px; }
  .p3-landing-page .hw-env-content { padding: 30px; }
}

