<style>
/* reCAPTCHA Badge - Ensure it appears above page content but below modals */
/* Modals typically use z-index: 50-10000, so we use 1000 to stay below them */
.grecaptcha-badge {
    z-index: 1000 !important;
    position: fixed !important;
}

/* Local overrides (shadows and border colors) */
:root {
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

 html {
     scroll-behavior: smooth;
     overflow-x: hidden;
 }
 
 body {
     overflow-x: hidden;
     width: 100%;
     max-width: 100vw;
 }
 
 /* Static gradient fog background (replaces Vanta fog for better performance) */
 #bg-animation {
     position: relative;
     overflow: hidden;
     /* Light mode: Brand-focused fog gradient with prominent brand blue */
     background: 
         /* Brand blue fog cloud (center) - signature color, more prominent */
         radial-gradient(ellipse 75% 65% at 50% 50%, rgba(24, 127, 232, 0.25) 0%, rgba(24, 127, 232, 0.12) 40%, transparent 70%),
         /* Brand blue fog cloud (top-right) */
         radial-gradient(ellipse 55% 45% at 75% 25%, rgba(24, 127, 232, 0.18) 0%, rgba(24, 127, 232, 0.08) 45%, transparent 70%),
         /* Brand blue fog cloud (bottom-left) */
         radial-gradient(ellipse 50% 50% at 25% 75%, rgba(24, 127, 232, 0.15) 0%, rgba(24, 127, 232, 0.06) 50%, transparent 75%),
         /* White highlight (top-left) - subtle to let brand blue shine */
         radial-gradient(ellipse 45% 35% at 20% 25%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
         /* Base gradient with subtle brand blue tint */
         linear-gradient(135deg, #F8F9FA 0%, rgba(255, 255, 255, 0.95) 30%, rgba(24, 127, 232, 0.05) 50%, rgba(255, 255, 255, 0.95) 70%, #F1F3F4 100%);
 }
 
 /* Dark mode: Static dark gradient */
 html.dark #bg-animation {
     background: linear-gradient(135deg, #0B1220 0%, #0D1623 50%, #0B1220 100%);
 }
 
 /* Ensure content appears above background */
 #bg-animation > * {
     position: relative;
     z-index: 1;
 }

/* Templates section vertical spacing (persisted from browser preview) */
#templates {
    padding-top: 200px;
    padding-bottom: 200px;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }

/* Enhanced appearance animation for video sections */
.section-appear-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out;
}
.section-appear-left.active {
    opacity: 1;
    transform: translateX(0);
}

.section-appear-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease-out;
}
.section-appear-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Gradient Text for Professional */
.gradient-text-professional {
    background-image: linear-gradient(to right, var(--pp-secondary-500), var(--pp-primary-500));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    background-size: 100%;
    background-repeat: no-repeat;
}

/* Dark mode: Use lighter secondary for better visibility */
html.dark .gradient-text-professional {
    background-image: linear-gradient(to right, var(--pp-secondary-300), var(--pp-primary-300));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    color: transparent;
}

/* Ensure parent h1 doesn't override the gradient */
h1 .gradient-text-professional {
    color: transparent !important;
}

/* Floating Animation for Posters */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Template Card Stack Styles */
.template-card-stack {
    perspective: 1000px;
}

.template-card {
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, z-index;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
}

.template-card:hover {
    transform: scale(1.05) translateY(-10px) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4) !important;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

.template-dot {
    transition: all 0.3s ease;
    /* cursor: pointer removed - template previews are display-only */
}

.template-dot:hover {
    transform: scale(1.2);
}

.template-dot.active {
    transform: scale(1.1);
}

/* Template Masonry Styles */
.template-masonry-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    height: 100%;
    align-items: start;
    justify-items: center;
    min-height: 500px;
}

.masonry-column {
    display: flex;
    flex-direction: column;
    
/* Infinite scroll animation for testimonials */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

.animate-scroll {
    animation: scroll 60s linear infinite;
    will-change: transform;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

#testimonials-wrapper {
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

/* Gradient border mask for testimonial cards */
.gradient-border-mask {
    position: relative;
}

.gradient-border-mask::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    padding: 1px;
    background: linear-gradient(225deg, rgba(24, 127, 232, 0.2), rgba(24, 127, 232, 0.05), transparent);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    /* Standard property for compatibility with tooling */
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

/* Animate on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonial rotation transitions */
[data-testimonial] {
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-testimonial].active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

[data-testimonial]:not(.active) {
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
}

    gap: 1rem;
    align-items: center;
    width: 100%;
    min-width: 400px;
    max-width: none;
    margin: 0;
}

.template-masonry-image {
    width: 262px !important;
    height: 375px !important;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
}

.template-masonry-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Template Grid Image Styles */
.template-grid-image {
    width: 100%;
    max-width: 100%;
    height: 530px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /* cursor: pointer removed - template previews are display-only */
    overflow: hidden;
}

/* Template hover effects removed - template previews are display-only */

/* Template Animation Styles */
.template-animate {
    transition: opacity 0.8s ease-in-out;
}

.template-fade-out {
    opacity: 0;
}

.template-fade-in {
    opacity: 1;
}



/* Animated Template Gallery Styles */
.grid-motion-wrapper {
    position: absolute;
    overflow: hidden;
    background: transparent;
}

.gridMotion-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.template-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    /* motion controlled by GSAP */
}

.row__item {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
}

.row__item-inner {
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

/* keyframes removed; GSAP drives motion */

/* Mobile Responsiveness for Template Gallery */
@media (max-width: 1024px) {
    .row__item {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .row__item {
        width: 160px;
        height: 160px;
    }
    
    .template-row {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .row__item {
        width: 140px;
        height: 140px;
    }
    
    .template-row {
        gap: 0.5rem;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.blur-text {
    display: inline-block;
    position: relative;
    color: transparent;
    animation: blurText 1.2s ease-out forwards;
    animation-delay: 0.6s;
}
.blur-text::before {
    content: 'Pro';
    position: absolute;
    top: 0;
    left: 0;
    color: var(--pp-primary-500);
    filter: blur(8px);
    opacity: 0;
    animation: blurReveal 1.2s ease-out forwards;
    animation-delay: 0.6s;
}
@keyframes blurText {
    0% { color: transparent; }
    100% { color: var(--pp-primary-500); }
}
@keyframes blurReveal {
    0% { filter: blur(8px); opacity: 0; }
    50% { filter: blur(4px); opacity: 0.5; }
    100% { filter: blur(0px); opacity: 1; }
}

/* Static Text Styles */
.rotating-text {
    display: inline-block;
    background: linear-gradient(135deg, var(--pp-secondary-500), var(--pp-primary-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-right: 8px;
}

/* RotatingText Card Styles */
#rotating-text-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#rotating-text-card .rotating-text-main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

#rotating-text-card .rotating-text-main span[aria-hidden="true"] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

#rotating-text-card .rotating-text-main span[aria-hidden="true"] span {
    will-change: transform, opacity;
}

/* Profile dropdown improvements */
#profile-dropdown-container {
    position: relative;
    z-index: 100;
}

#profile-dropdown-menu {
    pointer-events: auto;
    transform-origin: top right;
    will-change: opacity, transform;
}

#profile-dropdown-menu.opacity-100 {
    transform: scale(1);
}

#profile-dropdown-menu.opacity-0 {
    transform: scale(0.95);
}

/* Dropdown preview mode styling */
#profile-dropdown-menu.dropdown-preview-mode {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(24, 127, 232, 0.2);
    animation: dropdown-preview-pulse 2s ease-in-out infinite;
}

/* Enhanced hover state when mouse is over menu items */
#profile-dropdown-menu.menu-item-hover {
    border-color: rgba(24, 127, 232, 0.4);
    box-shadow: 0 15px 35px rgba(24, 127, 232, 0.25), 0 8px 12px rgba(24, 127, 232, 0.15);
}

/* Ensure dropdown menu items are clickable */
#profile-dropdown-menu button {
    pointer-events: auto;
    user-select: none;
}

#profile-dropdown-menu button:hover {
    background-color: rgba(24, 127, 232, 0.05);
}

@keyframes dropdown-preview-pulse {
    0%, 100% { 
        border-color: rgba(24, 127, 232, 0.2);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    50% { 
        border-color: rgba(24, 127, 232, 0.4);
        box-shadow: 0 15px 35px rgba(24, 127, 232, 0.25), 0 8px 12px rgba(24, 127, 232, 0.15);
    }
}

/* Template Gallery Styles */
.template-gallery-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    overflow: hidden;
}

.template-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    padding: 1rem 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.template-gallery::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.template-card {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: var(--pp-surface);
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
}

.card-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Responsive adjustments */
@media (max-width: 1200px) {
    .template-gallery {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.4rem;
    }
}

@media (max-width: 768px) {
    .template-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.3rem;
    }
    
    .template-card {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .template-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.25rem;
    }
    
    .template-card {
        height: 70px;
    }
}

/* PDF Preview Styles */
.pdf-preview-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.pdf-preview-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pdf-preview-info .filename {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--pp-text);
}

.pdf-preview-info .file-details {
    font-size: 0.9rem;
    color: var(--pp-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pdf-preview-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.pdf-preview-btn.remove {
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    background: linear-gradient(135deg, var(--pp-error-500), var(--pp-error-600));
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pdf-preview-btn.remove:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--pp-error-600), var(--pp-error-700));
}

#pdf-canvas-container {
    width: 100%;
    height: 400px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    border-radius: 16px;
    background: var(--pp-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Spinner Styles */
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

.spinner-border.text-primary {
    color: var(--pp-primary-500) !important;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Canvas Styles */
#pdf-canvas-container canvas {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
.form-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06), 0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086), 0 100px 80px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
}

.form-section h5 {
    color: var(--pp-text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.form-section h5 i {
    margin-right: 0.75rem;
    color: var(--pp-primary-500);
    font-size: 1.2rem;
}

.upload-area {
    border: 2px dashed var(--pp-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--pp-surface);
    margin: 1rem 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.upload-area:hover {
    border-color: var(--pp-primary-500);
    background: var(--pp-surface);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.upload-area.dragover {
    border-color: var(--pp-primary-500);
    background: var(--pp-surface);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.file-input {
    display: none;
}

/* .template-preview-image used by static "Choose Template" section */
.template-preview-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.template-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Poster Generation Demo Styles */
.poster-generation-demo {
    transition: all 0.3s ease;
}



/* Success Check Animation */
.success-check {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { 
        transform: scale(0.3); 
        opacity: 0; 
    }
    50% { 
        transform: scale(1.05); 
    }
    70% { 
        transform: scale(0.9); 
    }
    100% { 
        transform: scale(1); 
        opacity: 1; 
    }
}

/* State Transition Animations - do not redefine .hidden; Tailwind provides it and calm_landing's rule was overriding lg:flex on the navbar */
.fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.button-content {
    position: relative;
    z-index: 2;
}

/* Hover Effects */
#generate-poster-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

#reset-poster-generation:hover {
    text-decoration: underline;
}

/* Hide the duplicate four steps section that appears after the footer */
/* Target divs that come after the last script tag and have the specific styling */
div:has(+ script) ~ div[class*="pp-bg-section rounded-2xl"],
div:has(+ script) ~ div[class*="pp-bg-section rounded-2xl"] + div[class*="pp-bg-section rounded-2xl"],
div:has(+ script) ~ div[class*="pp-bg-section rounded-2xl"] + div[class*="pp-bg-section rounded-2xl"] + div[class*="pp-bg-section rounded-2xl"],
div:has(+ script) ~ div[class*="pp-bg-section rounded-2xl"] + div[class*="pp-bg-section rounded-2xl"] + div[class*="pp-bg-section rounded-2xl"] + div[class*="pp-bg-section rounded-2xl"] {
    display: none !important;
}

/* Alternative approach - hide all divs with the specific class that appear after the last script */
script:last-of-type ~ div[class*="pp-bg-section rounded-2xl"] {
    display: none !important;
}

/* Hide the duplicate steps section */
.duplicate-steps-section {
    display: none !important;
}
/* Scroll Reveal Styles */
.scroll-reveal-heading .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotate(3deg);
    filter: blur(4px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-heading .word.revealed {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
    filter: blur(0px);
}

.scroll-reveal-heading .word:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal-heading .word:nth-child(2) { transition-delay: 0.2s; }
.scroll-reveal-heading .word:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal-heading .word:nth-child(4) { transition-delay: 0.4s; }
.scroll-reveal-heading .word:nth-child(5) { transition-delay: 0.5s; }
.scroll-reveal-heading .word:nth-child(6) { transition-delay: 0.6s; }

/* Section Scroll Reveal Styles */
.scroll-reveal-section .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotate(2deg);
    filter: blur(3px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-section .word.revealed {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
    filter: blur(0px);
}

.scroll-reveal-section .word:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal-section .word:nth-child(2) { transition-delay: 0.2s; }
.scroll-reveal-section .word:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal-section .word:nth-child(4) { transition-delay: 0.4s; }
.scroll-reveal-section .word:nth-child(5) { transition-delay: 0.5s; }
.scroll-reveal-section .word:nth-child(6) { transition-delay: 0.6s; }

/* Subtitle Scroll Reveal Styles */
.scroll-reveal-subtitle {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(2px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Current Plan Highlighting */
.current-plan-highlight {
    border: 3px solid var(--pp-success-500) !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3) !important;
    transition: all 0.3s ease;
}

.current-plan-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4) !important;
}

.scroll-reveal-subtitle.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

/* FAQ styles removed */

/* Mobile-specific optimizations */
@media (max-width: 767px) {
    /* Improve touch targets */
    button, a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better spacing for mobile */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Optimize text readability on mobile */
    h1, h2, h3 {
        line-height: 1.2;
    }
    
    /* Improve button spacing */
    .flex.flex-col.gap-3 > * {
        margin-bottom: 0.75rem;
    }
    
    /* Better mobile navigation spacing */
    nav {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
    
    /* Improve mobile scrolling performance */
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better mobile form inputs */
    input, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Tablet optimizations */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    /* Section spacing is controlled by section-level utility classes in markup. */
}
