/**
 * Plan B Consulting - Landing Page Styles
 * Prefix: plb-
 * Premium consulting / AI-SaaS visual system
 * - Sleek light background, deep blue / blue-purple accents
 * - Glass hero panel + tasteful motion (degrades gracefully)
 */

/* ========================================
   Reset & Base Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #0b1020;
    background: #f7f9fc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
}

:root {
    /* Base Colors - Future Airy Theme */
    --plb-bg: #f8fafc;
    --plb-surface: #ffffff;
    --plb-text: #0f172a;
    --plb-text-light: #475569;
    --plb-muted: #64748b;
    --plb-border: rgba(148, 163, 184, 0.15);

    /* Brand Accents - Neon Softened */
    --plb-primary: #3b82f6;
    /* Modern Blue */
    --plb-primary-glow: rgba(59, 130, 246, 0.5);
    --plb-secondary: #8b5cf6;
    /* Soft Purple */
    --plb-accent: #06b6d4;
    /* Cyan */

    /* Gradients */
    --plb-grad-text: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #8b5cf6 100%);
    --plb-grad-bg: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
    --plb-grad: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --plb-grad-soft: linear-gradient(180deg, rgba(59, 130, 246, 0.04), transparent);

    /* Shadows & Effects */
    --plb-shadow-md: 0 12px 20px -8px rgba(0, 0, 0, 0.08);
    --plb-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --plb-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --plb-shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    --plb-radius-sm: 0.5rem;
    --plb-radius-md: 1rem;
    --plb-radius-lg: 1.5rem;

    --plb-ease: cubic-bezier(0.16, 1, 0.3, 1);
    /* Elegant easing */
}

::selection {
    background: rgba(41, 92, 255, 0.22);
}

a {
    color: inherit;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(32, 211, 255, 0.55);
    outline-offset: 3px;
}

/* ========================================
   Header Navigation
   ======================================== */

.plb-header {
    position: fixed;
    /* Changed from absolute so it sticks, safer for light hero */
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--plb-border);
    transition: all 0.3s ease;
}

/* Animated white border wave at bottom of header (separator with hero) */
.plb-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #ffffff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
    animation: plb-header-border-wave 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes plb-header-border-wave {
    0% {
        height: 2px;
        opacity: 0.4;
    }
    25% {
        height: 10px;
        opacity: 0.9;
    }
    50% {
        height: 14px;
        opacity: 1;
    }
    75% {
        height: 10px;
        opacity: 0.9;
    }
    100% {
        height: 2px;
        opacity: 0.4;
    }
}

.plb-header__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plb-header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.plb-header__logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--plb-text);
    font-weight: 700;
}

.plb-header__logo-link:hover {
    color: var(--plb-text);
    opacity: 0.9;
}

.plb-header__logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    /* Removed invert filter to use original coloring or handle via other means for light mode */
}

.plb-header__logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--plb-text);
    letter-spacing: -0.02em;
}

.plb-header__nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.plb-header__nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--plb-text);
    text-decoration: none;
    transition: color 200ms var(--plb-ease);
    position: relative;
}

.plb-header__nav-link:hover {
    color: var(--plb-primary);
}

.plb-header__nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--plb-grad);
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 200ms var(--plb-ease), transform 200ms var(--plb-ease);
}

.plb-header__nav-link:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.plb-header__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.plb-header__mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--plb-text);
    border-radius: 2px;
    transition: all 200ms var(--plb-ease);
}

@media (max-width: 768px) {
    .plb-header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--plb-border);
        box-shadow: var(--plb-shadow-md);
        padding: 1rem 2rem;
        flex-direction: column;
        gap: 0;
    }
    
    /* Show nav when mobile menu is open */
    .plb-header__container--menu-open .plb-header__nav {
        display: flex;
    }
    
    .plb-header__nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--plb-border);
        text-align: left;
    }
    
    .plb-header__nav-link:last-child {
        border-bottom: none;
    }
    
    .plb-header__nav-link::after {
        display: none;
    }

    .plb-header__mobile-toggle {
        display: flex;
    }
    
    /* Animate toggle button when menu is open */
    .plb-header__container--menu-open .plb-header__mobile-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .plb-header__container--menu-open .plb-header__mobile-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .plb-header__container--menu-open .plb-header__mobile-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Fix: Disable pointer events on particle canvas to allow scrolling on mobile */
    .plb-hero__particle-wrap {
        pointer-events: none;
    }
}

/* ========================================
   Hero Section with Modern Parallax
   ======================================== */

.plb-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh; /* Modern browsers: dynamic viewport height (accounts for mobile browser UI) */
    display: flex;
    align-items: center;
    background: url('../assets/hero.jpg') no-repeat center center / cover;
    overflow: hidden;
    padding-top: 80px;
    /* Space for fixed header */
}

/* Background Shapes */
.plb-hero__shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.plb-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: plb-float 20s infinite alternate ease-in-out;
}

.plb-shape--1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--plb-primary-glow), transparent 70%);
}

.plb-shape--2 {
    bottom: -10%;
    right: -5%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%);
    animation-duration: 25s;
    animation-delay: -5s;
}

.plb-shape--3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3), transparent 70%);
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes plb-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -50px) scale(1.1);
    }
}

/* Particle Animation Background Layer - aligned to right side, top-most, ~30% smaller height */
.plb-hero__particle-wrap {
    position: absolute;
    top: 15%;
    right: 0;
    bottom: auto;
    width: 50%;
    height: 70%;
    z-index: 10;
    pointer-events: auto;
}

#plb-particle-canvas {
    width: 100%;
    height: 100%;
}

/* Container & Layout - Single Column */
.plb-hero__container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.plb-hero__content {
    width: 100%;
    max-width: 600px;
}

/* Typography */
.plb-hero__eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--plb-primary);
    margin-bottom: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

/* Hero Title Images: now in-flow to allow content directly below (~50% smaller width) */
.plb-hero__title-images {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 45%;
    max-width: none;
    margin-top: 2rem;
}

/* Hero left column: subtitle + actions (now directly below title images) */
.plb-hero__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    max-width: 800px;
    position: relative;
}

.plb-hero__title-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    /* Remove max-width constraint to let them stretch as needed */
    max-width: none;
    animation: plb-fly-in-left 1.4s var(--plb-ease) forwards;
}

.plb-hero__title-img--plan-b {
    animation-delay: 0.1s;
    width: 85%;
    /* Visual tuning */
}

.plb-hero__title-img--consulting {
    animation-delay: 0.3s;
    width: 95%;
}

@keyframes plb-fly-in-left {
    0% {
        opacity: 0;
        transform: translateX(-100%);
        /* Start completely off-screen */
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        /* Land exactly at left:0 */
    }
}

/* Content sits directly below title images */
.plb-hero__content {
    position: relative;
    width: 100%;
}

.plb-hero__content>* {
    position: relative;
    z-index: 1;
}

/* Desktop: Tuning */
@media (min-width: 961px) {
    .plb-hero__title-images {
        width: 40vw;
        margin-top: 3rem;
    }

    .plb-hero__container {
        gap: 2.5rem;
    }
}

/* Mobile: Tuning – larger title images so they stay readable */
@media (max-width: 960px) {
    .plb-hero__title-images {
        width: 80%;
        margin-top: 1.5rem;
    }

    .plb-hero__container {
        gap: 1.5rem;
        align-items: flex-start;
    }

    .plb-hero__content {
        align-items: flex-start;
        text-align: left;
    }

    .plb-hero__subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }
}

/* Small phones: hero title images full width for maximum size */
@media (max-width: 480px) {
    .plb-hero__title-images {
        width: 95%;
    }
}

.plb-hero__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--plb-text);
    margin-bottom: 2.5rem;
    max-width: 90%;
    font-weight: 400;
    /* Glass panel for readability over hero image */
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--plb-radius-md);
    box-shadow: var(--plb-shadow-sm);
    border: 1px solid var(--plb-border);
}

/* Highlight Pulse Animation */
.plb-highlight-pulse {
    color: var(--plb-primary);
    font-weight: 600;
    display: inline-block;
    position: relative;
    animation: plb-pulse-soft 2s ease-in-out infinite;
}

@keyframes plb-pulse-soft {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(59, 130, 246, 0.0);
    }

    50% {
        transform: scale(1.05);
        /* Gentle scaling */
        text-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
        /* Subtle glow */
        color: var(--plb-secondary);
        /* Slight hue shift */
    }
}

/* Actions */
.plb-hero__actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.plb-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 3rem;
    text-decoration: none;
    transition: all 0.3s var(--plb-ease);
}

.plb-btn--primary {
    background: var(--plb-text);
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
}

.plb-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.4);
    background: #000;
}

.plb-btn--secondary {
    background: rgba(255, 255, 255, 0.5);
    color: var(--plb-text);
    border: 1px solid var(--plb-border);
    backdrop-filter: blur(10px);
}

.plb-btn--secondary:hover {
    background: #ffffff;
    border-color: var(--plb-muted);
    transform: translateY(-2px);
}

/* Glass Cards (Visual Elements) */
.plb-glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: var(--plb-shadow-glass);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--plb-text);
    transition: transform 0.1s linear;
    /* Smooth parallax */
}

.plb-glass-card__icon {
    width: 3rem;
    height: 3rem;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plb-primary);
    box-shadow: var(--plb-shadow-sm);
}

/* Specific Card Positioning */
.plb-glass-card--1 {
    top: 20%;
    left: 10%;
    z-index: 2;
    animation: plb-float-sm 4s ease-in-out infinite;
}

.plb-glass-card--2 {
    top: 50%;
    right: 10%;
    z-index: 3;
    padding: 2rem;
    font-size: 1.2rem;
    animation: plb-float-sm 5s ease-in-out infinite reverse;
}

.plb-glass-card--3 {
    bottom: 15%;
    left: 20%;
    z-index: 1;
    animation: plb-float-sm 6s ease-in-out infinite 1s;
}

@keyframes plb-float-sm {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 960px) {
    .plb-hero__container {
        padding-top: 2rem;
        text-align: center;
    }

    .plb-hero__left {
        align-items: center;
    }

    .plb-hero__content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .plb-hero__title-line {
        width: auto;
    }

    .plb-glass-card--1 {
        left: 5%;
        top: 10%;
    }

    .plb-glass-card--2 {
        right: 5%;
        top: 40%;
    }

    .plb-glass-card--3 {
        left: 25%;
        bottom: 10%;
    }
}

@media (max-width: 480px) {
    .plb-hero__title {
        font-size: 2.5rem;
    }

    .plb-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .plb-btn {
        width: 100%;
        justify-content: center;
    }

    .plb-glass-card {
        transform: scale(0.8);
    }
}

/* ========================================
   Main & Container
   ======================================== */

.plb-main {
    background: var(--plb-bg);
}

.plb-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
}

.plb-section {
    padding: 5.25rem 0;
    position: relative;
}

.plb-section__title {
    font-size: clamp(1.9rem, 3.1vw, 2.6rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3.25rem;
    color: var(--plb-text);
    letter-spacing: -0.03em;
}

.plb-section__title::after {
    content: "";
    display: block;
    width: 86px;
    height: 3px;
    margin: 1rem auto 0 auto;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(41, 92, 255, 0.0), rgba(41, 92, 255, 0.95), rgba(32, 211, 255, 0.80), rgba(108, 78, 249, 0.75), rgba(108, 78, 249, 0.0));
    opacity: 0.9;
}

/* ========================================
   Founder Section
   ======================================== */

.plb-founder {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(242, 245, 251, 0.90) 100%);
}

.plb-founder__content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 2.25rem;
    border-radius: var(--plb-radius-lg);
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid var(--plb-border);
    box-shadow: var(--plb-shadow-sm);
    position: relative;
    overflow: hidden;
}

.plb-founder__content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--plb-grad-soft);
    opacity: 0.75;
    pointer-events: none;
}

.plb-founder__image {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.plb-founder__avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 18px 45px rgba(41, 92, 255, 0.18);
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.plb-founder__bio {
    flex: 1;
    position: relative;
    z-index: 1;
}

.plb-founder__name {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--plb-text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.plb-founder__text {
    font-size: 1.0625rem;
    color: var(--plb-muted);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.plb-founder__text:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .plb-founder__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.6rem;
    }

    .plb-founder__avatar {
        width: 140px;
        height: 140px;
    }
}

/* ========================================
   Services Section
   ======================================== */

.plb-services {
    background: var(--plb-bg);
}

.plb-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.plb-service-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--plb-radius-md);
    padding: 2.1rem 2rem;
    border: 1px solid var(--plb-border);
    box-shadow: var(--plb-shadow-sm);
    transition: transform 220ms var(--plb-ease), box-shadow 220ms var(--plb-ease), border-color 220ms var(--plb-ease);
    position: relative;
    overflow: hidden;
}

.plb-service-card:hover {
    box-shadow: var(--plb-shadow-md);
    transform: translateY(-6px);
    border-color: rgba(41, 92, 255, 0.22);
}

.plb-service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--plb-grad);
    opacity: 0.0;
    transform: translateY(-3px);
    transition: opacity 220ms var(--plb-ease), transform 220ms var(--plb-ease);
}

.plb-service-card:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.plb-service-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    display: block;
    background: linear-gradient(135deg, rgba(41, 92, 255, 0.10), rgba(108, 78, 249, 0.12));
    border: 1px solid rgba(41, 92, 255, 0.14);
    padding: 10px;
}

.plb-service-card__title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--plb-text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.plb-service-card__description {
    font-size: 1rem;
    color: var(--plb-muted);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .plb-services__grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Contact Section
   ======================================== */

.plb-contact {
    background: linear-gradient(180deg, rgba(242, 245, 251, 0.95) 0%, rgba(255, 255, 255, 0.70) 100%);
}

.plb-contact-form {
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--plb-radius-lg);
    padding: 2.2rem;
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid var(--plb-border);
    box-shadow: var(--plb-shadow-sm);
    position: relative;
    overflow: hidden;
}

.plb-contact-form::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--plb-grad-soft);
    opacity: 0.65;
    pointer-events: none;
}

.plb-contact-form>* {
    position: relative;
    z-index: 1;
}

.plb-form-group {
    margin-bottom: 1.5rem;
}

.plb-form-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--plb-text);
    margin-bottom: 0.5rem;
}

.plb-required {
    color: #e53e3e;
}

.plb-form-input,
.plb-form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--plb-text);
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 12px;
    transition: border-color 160ms var(--plb-ease), box-shadow 160ms var(--plb-ease), transform 160ms var(--plb-ease);
}

.plb-form-input:focus,
.plb-form-textarea:focus {
    outline: none;
    border-color: rgba(41, 92, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(41, 92, 255, 0.14);
}

.plb-form-textarea {
    resize: vertical;
    min-height: 140px;
}

.plb-form-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 800;
    color: #ffffff;
    background: var(--plb-grad);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: var(--plb-shadow-glow);
    transition: transform 220ms var(--plb-ease), box-shadow 220ms var(--plb-ease), filter 220ms var(--plb-ease);
}

.plb-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 60px rgba(41, 92, 255, 0.30);
    filter: saturate(1.05) brightness(1.02);
}

.plb-form-submit:active {
    transform: translateY(0);
}

/* ========================================
   Contact Status Messages
   ======================================== */

.plb-contact-status {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    box-shadow: var(--plb-shadow-sm);
}

.plb-contact-status--success {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    color: var(--plb-text);
    border: 1px solid rgba(59, 130, 246, 0.22);
}

.plb-contact-status--success strong {
    color: var(--plb-primary);
    font-weight: 700;
}

.plb-contact-status--error {
    background: rgba(239, 68, 68, 0.08);
    color: var(--plb-text);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.plb-contact-status--error strong {
    color: #dc2626;
    font-weight: 700;
}

.plb-contact-status strong {
    font-weight: 600;
}

/* ========================================
   Honeypot (hidden field for spam bots)
   ======================================== */

.plb-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ========================================
   Contact Tabs & Panels
   ======================================== */

.plb-contact-tabs {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 2.5rem auto 2rem;
    max-width: 600px;
}

.plb-tab {
    flex: 1;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--plb-text-light);
    background: rgba(255, 255, 255, 0.60);
    border: 2px solid var(--plb-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 220ms var(--plb-ease);
    position: relative;
}

.plb-tab:hover {
    color: var(--plb-primary);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(59, 130, 246, 0.25);
}

.plb-tab:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

.plb-tab[aria-selected="true"] {
    color: #ffffff;
    background: var(--plb-grad);
    border-color: transparent;
    box-shadow: var(--plb-shadow-glow);
}

.plb-tab[aria-selected="true"]:hover {
    color: #ffffff;
    filter: saturate(1.05) brightness(1.02);
}

.plb-contact-panel {
    animation: plb-panel-fade-in 360ms var(--plb-ease);
}

.plb-contact-panel[hidden] {
    display: none;
}

@keyframes plb-panel-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Book a Call card (external link - no embed) */
.plb-book-card {
    max-width: 700px;
    min-height: 420px;
    margin: 0 auto;
    border-radius: var(--plb-radius-lg);
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid var(--plb-border);
    box-shadow: var(--plb-shadow-sm);
    position: relative;
    overflow: hidden;
    padding: 3rem 2rem;
}

.plb-book-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--plb-grad-soft);
    opacity: 0.65;
    pointer-events: none;
}

.plb-book-card__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
}

.plb-book-card__icon {
    color: var(--plb-primary);
    margin: 0 auto 1.5rem;
    display: block;
    opacity: 0.9;
}

.plb-book-card__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--plb-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.plb-book-card__text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--plb-text-light);
    margin-bottom: 2rem;
}

.plb-book-card__note {
    margin-top: 1.25rem;
    font-size: 0.9375rem;
    color: var(--plb-muted);
    font-weight: 500;
}

.plb-cta {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.3s var(--plb-ease);
}

.plb-book-cta {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.1em;
    font-weight: 600;
    color: #ffffff;
    background: var(--plb-grad);
    border-radius: 3rem;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.35);
}

.plb-book-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px -5px rgba(59, 130, 246, 0.4);
    filter: saturate(1.05) brightness(1.02);
}

/* ========================================
   Footer
   ======================================== */

.plb-footer {
    background: radial-gradient(900px 420px at 20% 0%, rgba(41, 92, 255, 0.18) 0%, rgba(41, 92, 255, 0) 55%),
        radial-gradient(900px 420px at 80% 0%, rgba(108, 78, 249, 0.16) 0%, rgba(108, 78, 249, 0) 55%),
        #070a14;
    color: rgba(255, 255, 255, 0.74);
    padding: 3rem 0 2rem;
}

.plb-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    text-align: left;
}

.plb-footer__col {
    min-width: 0;
}

.plb-footer__heading {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.plb-footer__address,
.plb-footer__detail {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    font-style: normal;
}

.plb-footer__address:last-child,
.plb-footer__detail:last-of-type {
    margin-bottom: 0;
}

.plb-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plb-footer__links li {
    margin-bottom: 0.5rem;
}

.plb-footer__links li:last-child {
    margin-bottom: 0;
}

.plb-footer__link {
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s var(--plb-ease);
}

.plb-footer__link:hover {
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
}

.plb-footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.plb-footer__text {
    font-size: 0.9375rem;
    margin: 0;
}

@media (max-width: 640px) {
    .plb-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
}

/* ========================================
   Legal page (Mentions Légales)
   ======================================== */

.plb-legal-page .plb-legal-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem 4rem;
}

.plb-legal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--plb-text);
    margin: 0 0 2.5rem;
    letter-spacing: 0.02em;
}

.plb-legal-section {
    margin-bottom: 2.5rem;
}

.plb-legal-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--plb-text);
    margin: 0 0 1rem;
}

.plb-legal-list {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
    color: var(--plb-text-light);
    font-size: 0.9375rem;
    line-height: 1.75;
}

.plb-legal-list li {
    margin-bottom: 1rem;
}

.plb-legal-list ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    list-style: disc;
}

.plb-legal-list ul li {
    margin-bottom: 0.35rem;
}

.plb-legal-link {
    color: var(--plb-primary);
    text-decoration: none;
}

.plb-legal-link:hover {
    text-decoration: underline;
}

/* ========================================
   Scroll reveal (only enabled when JS adds .plb-js)
   ======================================== */

.plb-js .plb-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 420ms var(--plb-ease), transform 420ms var(--plb-ease);
    will-change: opacity, transform;
}

.plb-js .plb-reveal.plb-reveal--in {
    opacity: 1;
    transform: translateY(0);
}

.plb-js .plb-reveal.plb-reveal--delay-1 {
    transition-delay: 80ms;
}

.plb-js .plb-reveal.plb-reveal--delay-2 {
    transition-delay: 140ms;
}

.plb-js .plb-reveal.plb-reveal--delay-3 {
    transition-delay: 200ms;
}

/* ========================================
   Touch device support (disable particle interaction to allow scrolling)
   ======================================== */

@media (hover: none) and (pointer: coarse) {
    .plb-hero__particle-wrap {
        pointer-events: none;
    }
}

/* ========================================
   Motion safety
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .plb-header::after {
        animation: none !important;
        height: 4px !important;
        opacity: 0.8 !important;
    }

    .plb-hero__cta,
    .plb-form-submit,
    .plb-service-card {
        transition: none !important;
    }

    .plb-hero__title-img {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .plb-js .plb-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ========================================
   Responsive Typography
   ======================================== */

@media (max-width: 480px) {
    .plb-section {
        padding: 3.5rem 0;
    }

    .plb-section__title {
        font-size: 2rem;
    }

    .plb-container {
        padding: 0 1.25rem;
    }

    .plb-contact-form {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .plb-contact-tabs {
        flex-direction: column;
        gap: 0.5rem;
        margin: 1.5rem auto 1.5rem;
    }

    .plb-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }

    .plb-book-card {
        min-height: 380px;
        padding: 2rem 1.5rem;
    }

    .plb-book-card__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .plb-book-card__title {
        font-size: 1.75rem;
    }

    .plb-book-card__text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .plb-book-cta {
        padding: 14px 28px;
        font-size: 1em;
    }
}