.cyber-grid {
    background-image:
        linear-gradient(rgba(176, 38, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(176, 38, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Fix logo blurriness in backdrop-filter contexts */
nav img[src*="logo.png"],
.backdrop-blur img[src*="logo.png"] {
    isolation: isolate;
    transform: translateZ(0);
    will-change: transform;
}

/* More specific rule to override any conflicting image-rendering */
img[src="logo.png"] {
    image-rendering: auto !important;
    -webkit-image-rendering: auto !important;
    -moz-image-rendering: auto !important;
    -ms-image-rendering: auto !important;
    -o-image-rendering: auto !important;
}

/* Override for rounded-lg images that are logos */
.rounded-lg[src*="logo.png"] {
    image-rendering: auto !important;
    -webkit-image-rendering: auto !important;
    isolation: isolate;
    transform: translateZ(0);
    will-change: transform;
}

/* Most specific rule for the navigation logo */
nav .rounded-lg[src*="logo.png"] {
    image-rendering: auto !important;
    -webkit-image-rendering: auto !important;
    -moz-image-rendering: auto !important;
    -ms-image-rendering: auto !important;
    -o-image-rendering: auto !important;
    isolation: isolate !important;
    transform: translateZ(0) !important;
    will-change: transform !important;
    filter: none !important;
    -webkit-filter: none !important;
}

#features, #education, #pricing, #download {
    scroll-margin-top: 80px;
}

@media (max-width: 768px) {
    #features, #education, #pricing, #download {
        scroll-margin-top: 70px;
    }
}

.text-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

.cyber-border {
    position: relative;
    background: linear-gradient(45deg, #b026ff, #ff2e97, #00d9ff);
    padding: 2px;
    border-radius: 0.5rem;
}

.cyber-border-inner {
    background: #0a0e27;
    border-radius: calc(0.5rem - 2px);
    padding: 1rem;
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d9ff, transparent);
    animation: scan 8s linear infinite;
    pointer-events: none;
}

.glitch {
    position: relative;
    color: #00d9ff;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff2e97;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #b026ff;
    z-index: -2;
}

.glitch.paused::before,
.glitch.paused::after {
    animation-play-state: paused;
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20% { clip-path: inset(20% 0 30% 0); transform: translate(-2px, 2px); }
    40% { clip-path: inset(50% 0 20% 0); transform: translate(2px, -2px); }
    60% { clip-path: inset(10% 0 60% 0); transform: translate(-2px, 1px); }
    80% { clip-path: inset(80% 0 5% 0); transform: translate(1px, -1px); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20% { clip-path: inset(60% 0 10% 0); transform: translate(2px, -1px); }
    40% { clip-path: inset(20% 0 50% 0); transform: translate(-1px, 2px); }
    60% { clip-path: inset(30% 0 40% 0); transform: translate(1px, -2px); }
    80% { clip-path: inset(5% 0 80% 0); transform: translate(-2px, 1px); }
}

.hover-glow:hover {
    box-shadow: 0 0 30px currentColor, 0 0 60px currentColor;
    transform: translateY(-2px);
}

.floating-emoji {
    position: fixed;
    font-size: 2rem;
    opacity: 0.1;
    pointer-events: none;
    z-index: -10;
    animation: float-random 60s infinite linear;
}

@keyframes float-random {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.floating-emoji.paused {
    animation-play-state: paused;
}

.emoji-toggle {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 50;
    background: rgba(176, 38, 255, 0.2);
    border: 2px solid #b026ff;
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.emoji-toggle:hover {
    background: rgba(176, 38, 255, 0.3);
    box-shadow: 0 0 20px #b026ff;
}

.toggle-switch {
    width: 40px;
    height: 20px;
    background: #333;
    border-radius: 20px;
    position: relative;
    transition: background 0.3s ease;
}

.toggle-switch.active {
    background: #b026ff;
}

.toggle-slider {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.toggle-switch.active .toggle-slider {
    transform: translateX(20px);
}

#emojiToggle {
    position: static;
    top: auto;
    right: auto;
    padding: 5px 10px;
    gap: 5px;
    border-radius: 9999px;
    align-self: center;
    margin-top: 0;
}

#emojiToggle span {
    font-size: 10px;
    line-height: 1;
}

#emojiToggle .toggle-switch {
    width: 30px;
    height: 16px;
}

#emojiToggle .toggle-slider {
    width: 12px;
    height: 12px;
}

#emojiToggle .toggle-switch.active .toggle-slider {
    transform: translateX(14px);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #b026ff, #ff2e97, #00d9ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(176, 38, 255, 0.5);
}

.cyber-button {
    background: linear-gradient(45deg, rgba(176, 38, 255, 0.2), rgba(255, 46, 151, 0.2));
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #b026ff, #ff2e97, #00d9ff);
    border-radius: inherit;
    z-index: -1;
    padding: 2px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

@media (max-width: 360px) {
    .emoji-toggle { display: none !important; }
    .scroll-to-top { bottom: 12px; right: 12px; width: 38px; height: 38px; }
    .container { padding-left: 12px !important; padding-right: 12px !important; }
    section { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    section.hero-section { padding-top: 7rem !important; }
    .hero-title-main  { font-size: 2rem !important; line-height: 1.1 !important; }
    .hero-title-sub   { font-size: 1.1rem !important; }
    .hero-body { font-size: 0.9rem !important; }
    .hero-stats { flex-direction: column !important; gap: 0.75rem !important; }
    .section-heading { font-size: 1.6rem !important; line-height: 1.15 !important; }
    .modules-grid { grid-template-columns: 1fr !important; }
    .price-number { font-size: 2rem !important; }
    .cyber-button, button { padding-left: 1rem !important; padding-right: 1rem !important; }
    .payment-row { flex-wrap: wrap !important; gap: 0.5rem !important; justify-content: center !important; }
    .footer-links { flex-wrap: wrap !important; gap: 0.75rem !important; justify-content: center !important; }
    .download-heading { font-size: 1.5rem !important; line-height: 1.2 !important; }
    .why-banner { padding: 1rem !important; }
}

.carousel-container {
    position: relative;
    aspect-ratio: 16/9;
    max-height: 600px;
    z-index: 1;
}

@media (max-width: 768px) {
    .carousel-container {
        border-radius: 0 !important;
    }

    #prevSlide, #nextSlide {
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 20 !important;
    }

    #prevSlide {
        left: 8px !important;
    }

    #nextSlide {
        left: auto !important;
        right: 8px !important;
    }
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail {
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.thumbnail.active img {
    border-color: #b026ff !important;
    opacity: 1 !important;
}

.thumbnail.active .fallback-emoji {
    border-color: #b026ff !important;
    background: rgba(176, 38, 255, 0.2) !important;
}

.thumbnail img {
    display: block !important;
}

.fallback-emoji {
    display: none !important;
}

@media (max-width: 640px) {
    .thumbnail img {
        width: 64px !important;
        height: 48px !important;
    }
    .fallback-emoji {
        width: 64px !important;
        height: 48px !important;
    }
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(176, 38, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator.active {
    background: #b026ff;
    box-shadow: 0 0 10px #b026ff;
}

.indicator:hover {
    background: rgba(176, 38, 255, 0.6);
}

.consent-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
}

.consent-card {
    max-width: 960px;
    margin: 0 auto;
    background: rgba(10, 14, 39, 0.96);
    border: 1px solid rgba(176, 38, 255, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
}

.consent-hidden {
    display: none !important;
}

.consent-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 22, 0.88);
    backdrop-filter: blur(10px);
    z-index: 1250;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.consent-option {
    border: 1px solid rgba(176, 38, 255, 0.25);
    border-radius: 0.75rem;
    padding: 1rem;
    background: rgba(10, 14, 39, 0.7);
}

.privacy-choices-button {
    border: 1px solid rgba(0, 217, 255, 0.35);
    border-radius: 9999px;
    padding: 0.5rem 0.9rem;
    color: #00ffff;
    background: rgba(10, 14, 39, 0.45);
    transition: all 0.3s ease;
}

.privacy-choices-button:hover {
    color: #00d9ff;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
    background: rgba(0, 217, 255, 0.08);
}

.audience-pill {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 148px;
    border-width: 1.5px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.audience-pill:hover,
.audience-pill.active {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(176, 38, 255, 0.24);
}

.audience-pill.active {
    border-color: rgba(176, 38, 255, 0.9) !important;
    background: rgba(10, 14, 39, 0.75) !important;
}

.audience-pill[data-audience="student"] {
    border-color: rgba(255, 46, 151, 0.55);
}

.audience-pill[data-audience="parent"] {
    border-color: rgba(0, 217, 255, 0.52);
}

.audience-pill[data-audience="educator"] {
    border-color: rgba(57, 255, 20, 0.52);
}

.audience-pill[data-audience="school"] {
    border-color: rgba(0, 255, 255, 0.52);
}

.audience-pill[data-audience="student"].active {
    border-color: rgba(255, 46, 151, 0.95) !important;
    box-shadow: 0 20px 50px rgba(255, 46, 151, 0.28);
}

.audience-pill[data-audience="parent"].active {
    border-color: rgba(0, 217, 255, 0.95) !important;
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.24);
}

.audience-pill[data-audience="educator"].active {
    border-color: rgba(57, 255, 20, 0.92) !important;
    box-shadow: 0 20px 50px rgba(57, 255, 20, 0.22);
}

.audience-pill[data-audience="school"].active {
    border-color: rgba(0, 255, 255, 0.95) !important;
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.22);
}

.audience-panel,
.journey-shell,
.testimonial-card,
.proof-card,
.faq-item {
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.audience-panel {
    border-width: 1.5px;
    border-color: rgba(255, 46, 151, 0.6);
    box-shadow: 0 22px 60px rgba(255, 46, 151, 0.14);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.audience-panel.audience-panel-student {
    border-color: rgba(255, 46, 151, 0.72);
    box-shadow: 0 22px 60px rgba(255, 46, 151, 0.16);
}

.audience-panel.audience-panel-parent {
    border-color: rgba(0, 217, 255, 0.72);
    box-shadow: 0 22px 60px rgba(0, 217, 255, 0.14);
}

.audience-panel.audience-panel-educator {
    border-color: rgba(57, 255, 20, 0.7);
    box-shadow: 0 22px 60px rgba(57, 255, 20, 0.12);
}

.audience-panel.audience-panel-school {
    border-color: rgba(0, 255, 255, 0.72);
    box-shadow: 0 22px 60px rgba(0, 255, 255, 0.13);
}

.journey-shell,
.proof-card,
.testimonial-card,
.faq-item {
    border-width: 1.5px;
}

.journey-shell {
    border-color: rgba(0, 217, 255, 0.42);
}

.proof-card {
    border-color: rgba(255, 255, 255, 0.22);
}

.testimonial-card {
    border-color: rgba(255, 255, 255, 0.22);
}

.faq-item {
    border-color: rgba(255, 255, 255, 0.2);
}

#audienceBenefits {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.audience-benefit,
.journey-module-tag {
    border: 1px solid rgba(0, 217, 255, 0.22);
    background: rgba(5, 8, 22, 0.55);
    border-radius: 9999px;
    padding: 0.65rem 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 0.75rem;
}

.audience-benefit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
}

.proof-card,
.testimonial-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.proof-card:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.faq-item {
    transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item[open] {
    background: rgba(10, 14, 39, 0.72);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    transition: transform 0.2s ease;
}

.journey-stop {
    position: relative;
    min-height: 110px;
    border-radius: 1.25rem;
    border: 1.5px solid rgba(0, 217, 255, 0.34);
    background: rgba(10, 14, 39, 0.5);
    color: #e5e7eb;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.journey-stop:hover,
.journey-stop.active {
    transform: translateY(-4px);
    border-color: rgba(0, 217, 255, 0.78);
    background: rgba(10, 14, 39, 0.82);
    box-shadow: 0 22px 45px rgba(0, 217, 255, 0.18);
}

.journey-stop[data-journey="paycheck"] {
    border-color: rgba(0, 217, 255, 0.38);
}

.journey-stop[data-journey="budget"] {
    border-color: rgba(57, 255, 20, 0.34);
}

.journey-stop[data-journey="credit"] {
    border-color: rgba(255, 46, 151, 0.36);
}

.journey-stop[data-journey="housing"] {
    border-color: rgba(255, 108, 17, 0.38);
}

.journey-stop[data-journey="family"] {
    border-color: rgba(176, 38, 255, 0.38);
}

.journey-stop[data-journey="wealth"] {
    border-color: rgba(255, 237, 78, 0.4);
}

.journey-stop[data-journey="paycheck"].active {
    border-color: rgba(0, 217, 255, 0.96);
    box-shadow: 0 22px 48px rgba(0, 217, 255, 0.24);
}

.journey-stop[data-journey="budget"].active {
    border-color: rgba(57, 255, 20, 0.92);
    box-shadow: 0 22px 48px rgba(57, 255, 20, 0.2);
}

.journey-stop[data-journey="credit"].active {
    border-color: rgba(255, 46, 151, 0.96);
    box-shadow: 0 22px 48px rgba(255, 46, 151, 0.22);
}

.journey-stop[data-journey="housing"].active {
    border-color: rgba(255, 108, 17, 0.95);
    box-shadow: 0 22px 48px rgba(255, 108, 17, 0.2);
}

.journey-stop[data-journey="family"].active {
    border-color: rgba(176, 38, 255, 0.95);
    box-shadow: 0 22px 48px rgba(176, 38, 255, 0.2);
}

.journey-stop[data-journey="wealth"].active {
    border-color: rgba(255, 237, 78, 0.94);
    box-shadow: 0 22px 48px rgba(255, 237, 78, 0.2);
}

.journey-stop-label {
    display: block;
    font-size: 0.85rem;
    line-height: 1.35;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.journey-panel {
    min-height: 320px;
}

.journey-shell {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.journey-shell.journey-shell-paycheck {
    border-color: rgba(0, 217, 255, 0.62);
    box-shadow: 0 22px 60px rgba(0, 217, 255, 0.14);
}

.journey-shell.journey-shell-budget {
    border-color: rgba(57, 255, 20, 0.58);
    box-shadow: 0 22px 60px rgba(57, 255, 20, 0.12);
}

.journey-shell.journey-shell-credit {
    border-color: rgba(255, 46, 151, 0.6);
    box-shadow: 0 22px 60px rgba(255, 46, 151, 0.13);
}

.journey-shell.journey-shell-housing {
    border-color: rgba(255, 108, 17, 0.62);
    box-shadow: 0 22px 60px rgba(255, 108, 17, 0.13);
}

.journey-shell.journey-shell-family {
    border-color: rgba(176, 38, 255, 0.6);
    box-shadow: 0 22px 60px rgba(176, 38, 255, 0.14);
}

.journey-shell.journey-shell-wealth {
    border-color: rgba(255, 237, 78, 0.64);
    box-shadow: 0 22px 60px rgba(255, 237, 78, 0.13);
}

.journey-visual {
    box-shadow: inset 0 0 0 1px rgba(176, 38, 255, 0.08);
}

.journey-visual.journey-visual-paycheck {
    border-color: rgba(0, 217, 255, 0.36);
    box-shadow: inset 0 0 0 1px rgba(0, 217, 255, 0.12), 0 18px 45px rgba(0, 217, 255, 0.08);
}

.journey-visual.journey-visual-budget {
    border-color: rgba(57, 255, 20, 0.32);
    box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.1), 0 18px 45px rgba(57, 255, 20, 0.07);
}

.journey-visual.journey-visual-credit {
    border-color: rgba(255, 46, 151, 0.34);
    box-shadow: inset 0 0 0 1px rgba(255, 46, 151, 0.1), 0 18px 45px rgba(255, 46, 151, 0.08);
}

.journey-visual.journey-visual-housing {
    border-color: rgba(255, 108, 17, 0.34);
    box-shadow: inset 0 0 0 1px rgba(255, 108, 17, 0.1), 0 18px 45px rgba(255, 108, 17, 0.08);
}

.journey-visual.journey-visual-family {
    border-color: rgba(176, 38, 255, 0.34);
    box-shadow: inset 0 0 0 1px rgba(176, 38, 255, 0.1), 0 18px 45px rgba(176, 38, 255, 0.08);
}

.journey-visual.journey-visual-wealth {
    border-color: rgba(255, 237, 78, 0.38);
    box-shadow: inset 0 0 0 1px rgba(255, 237, 78, 0.12), 0 18px 45px rgba(255, 237, 78, 0.08);
}

.video-showcase-frame {
    overflow: hidden;
}

/* Desktop video placeholder size */
@media (min-width: 769px) {
    .w-full.mx-auto {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .video-showcase-frame {
        aspect-ratio: 16/9;
        min-height: 350px;
        max-height: 450px;
    }
}

/* Mobile video placeholder size */
@media (max-width: 768px) {
    .video-showcase-frame {
        aspect-ratio: 16/9;
        min-height: 500px;
        max-height: 600px;
    }
}

.video-showcase-content {
    width: 100%;
    max-width: 42rem;
}

.video-showcase-actions a {
    min-width: 220px;
    justify-content: center;
}

@media (max-width: 768px) {
    .consent-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    /* Mobile video placeholder - restore working styles */
    div.video-showcase-frame.video-showcase-frame {
        aspect-ratio: 16/9;
        min-height: 500px;
        overflow: hidden !important;
        height: auto;
        width: 100% !important;
        max-width: 100% !important;
    }

    div.cyber-border-inner {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    div.video-showcase-body.video-showcase-body {
        height: 100%;
        min-height: 500px;
        padding: 1rem !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow-x: hidden;
        width: 100% !important;
        max-width: 100% !important;
    }

    div.video-showcase-content.video-showcase-content {
        padding: 0.5rem 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 100% !important;
        width: 100%;
        overflow-x: hidden;
        margin: 0 auto;
    }

    .video-showcase-content h3 {
        font-size: 1.25rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        word-wrap: break-word;
        hyphens: auto;
    }

    .video-showcase-content p {
        font-size: 0.875rem;
        line-height: 1.4;
        margin-bottom: 1rem;
        word-wrap: break-word;
        hyphens: auto;
    }

    div.video-showcase-actions.video-showcase-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 1rem;
        padding: 0 0.5rem;
        max-width: 100% !important;
    }

    .video-showcase-actions a {
        width: 100%;
        max-width: 240px;
        min-width: auto;
        box-sizing: border-box;
    }

    .video-showcase-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        margin-top: 1rem;
        padding: 0 0.5rem;
        width: 100% !important;
        max-width: 100% !important;
    }

    .journey-stop {
        min-height: 84px;
    }
}

@media (max-width: 380px) {
    .audience-pill {
        min-height: 128px;
        padding: 1rem !important;
        border-radius: 1rem;
    }

    #audienceSelector {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    #audienceSelector .audience-pill > span:first-child {
        font-size: 0.8rem;
        line-height: 1.25;
        letter-spacing: 0.05em;
        margin-bottom: 0.45rem;
    }

    #audienceSelector .audience-pill > span:last-child {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .audience-panel {
        padding: 1.25rem;
    }

    .journey-stop {
        min-height: 76px;
        padding: 0.85rem 0.7rem;
        border-radius: 1rem;
    }

    .journey-stop-label {
        font-size: 0.72rem;
        letter-spacing: 0.05em;
    }

    .journey-panel {
        min-height: 0;
    }

    .journey-timeline {
        gap: 0.65rem;
    }

    .audience-benefit,
    .journey-module-tag {
        font-size: 0.68rem;
        padding: 0.55rem 0.75rem;
    }

    .proof-card,
    .testimonial-card,
    .faq-item {
        padding: 1rem;
    }

    .faq-item summary {
        align-items: flex-start;
    }

    .faq-item summary span:first-child {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .video-showcase-body {
        padding: 1rem !important;
    }

    .video-showcase-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        padding: 0 0.5rem;
    }

    .video-showcase-actions a {
        width: 100%;
        max-width: 240px;
        min-width: auto;
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 0.78rem;
        line-height: 1.3;
    }

    .video-showcase-meta {
        font-size: 0.8rem;
        margin-top: 1rem;
        padding: 0 0.5rem;
    }
}
