/*
Theme Name: Responsive Flex Theme v98
Theme URI: https://example.com
Author: Your Name
Description: Responsive Flex Theme with clickable hero/secondary images, post section, and full customizer support.
Version: 99.4
*/

/* Define CSS Custom Properties for Color Palette */
:root {
    --wp--preset--color--primary: #0073aa;
    --wp--preset--color--secondary: #005177;
    --wp--preset--color--dark-gray: #333333;
    --wp--preset--color--medium-gray: #777777;
    --wp--preset--color--light-gray: #eeeeee;
    --wp--preset--color--white: #ffffff;
}

/* Define CSS Custom Properties for Font Sizes */
:root {
    --wp--preset--font-size--small: 14px;
    --wp--preset--font-size--normal: 18px;
    --wp--preset--font-size--medium: 24px;
    --wp--preset--font-size--large: 36px;
    --wp--preset--font-size--huge: 48px;
}


/* Funnel Text Block Pattern Styles */
.funnel-text-line-1 {
    max-width: 100%;
    font-size: clamp(1.5rem, 2.6vw, 2.5rem);
}
.funnel-text-line-2 {
    max-width: 80%;
    font-size: clamp(1.3rem, 2.2vw, 2.2rem);
}
.funnel-text-line-3 {
    max-width: 64%;
    font-size: clamp(1.1rem, 1.8vw, 1.9rem);
}
.funnel-text-line-4 {
    max-width: 51.2%;
    font-size: clamp(1rem, 1.5vw, 1.7rem);
}
.funnel-text-line-5 {
    max-width: 40.96%;
    font-size: clamp(0.9rem, 1.2vw, 1.5rem);
}
.funnel-text-line-6 {
    max-width: 32.77%;
    font-size: clamp(0.8rem, 1vw, 1.3rem);
}

.wp-block-group.alignwide {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-inline: 2px;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.wp-block-group.alignwide p {
    margin: 0.7em auto;
    line-height: 1.4;
}




/* Editor Styles for Block Patterns */

/* Custom Colors */
.has-primary-color {
    color: var(--wp--preset--color--primary) !important;
}
.has-secondary-color {
    color: var(--wp--preset--color--secondary) !important;
}
.has-dark-gray-color {
    color: var(--wp--preset--color--dark-gray) !important;
}
.has-medium-gray-color {
    color: var(--wp--preset--color--medium-gray) !important;
}
.has-light-gray-color {
    color: var(--wp--preset--color--light-gray) !important;
}
.has-white-color {
    color: var(--wp--preset--color--white) !important;
}

/* Custom Font Sizes */
.has-small-font-size {
    font-size: var(--wp--preset--font-size--small) !important;
}
.has-normal-font-size {
    font-size: var(--wp--preset--font-size--normal) !important;
}
.has-medium-font-size {
    font-size: var(--wp--preset--font-size--medium) !important;
}
.has-large-font-size {
    font-size: var(--wp--preset--font-size--large) !important;
}
.has-huge-font-size {
    font-size: var(--wp--preset--font-size--huge) !important;
}

/* Ensure custom funnel sizing is respected, but allow editor font sizes to override */
.wp-block-group.alignwide p[class*="has-font-size"] {
    font-size: inherit !important; /* Reset clamp, let editor font size take over */
}

/* Color classes are already handled by the .has-*-color classes above, no override needed */


/* ========================================
   RESPONSIVE & VISUAL ENHANCEMENTS
   ======================================== */

/* Base Typography & Layout */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.site-branding {
    text-align: center;
    padding: 0 20px;
}

.site-title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.site-title a {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: var(--wp--preset--color--secondary);
}

.site-description {
    margin: 5px 0 0;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--wp--preset--color--medium-gray);
}

/* Navigation Styles */
.main-navigation {
    text-align: center;
    margin-top: 15px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: var(--wp--preset--color--dark-gray);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: var(--wp--preset--color--primary);
    background-color: rgba(0, 115, 170, 0.1);
}

/* Main Content Area */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-area {
    width: 100%;
}

/* Single Post Styles */
.single-post article {
    max-width: 800px;
    margin: 0 auto;
}

.entry-header {
    margin-bottom: 30px;
    text-align: center;
}

.entry-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.2;
    margin: 0 0 15px;
    color: var(--wp--preset--color--dark-gray);
    font-weight: 700;
}

.entry-meta {
    font-size: 0.9rem;
    color: var(--wp--preset--color--medium-gray);
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.post-thumbnail {
    margin: 30px 0;
    text-align: center;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.entry-content a {
    color: var(--wp--preset--color--primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.entry-content a:hover {
    color: var(--wp--preset--color--secondary);
}

.entry-footer {
    padding-top: 20px;
    border-top: 1px solid var(--wp--preset--color--light-gray);
    font-size: 0.95rem;
}

.entry-footer span {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
}

/* Post Navigation */
.post-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--wp--preset--color--light-gray);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation a {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: var(--wp--preset--color--secondary);
}

/* Hero & Second Image Optimization */
.hero-image,
.second-image {
    margin: 40px 0;
    text-align: center;
}

.hero-image img,
.second-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image a:hover img,
.second-image a:hover img {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Trending News Section */
.trending-news {
    background-color: #f9f9f9;
    padding: 60px 20px;
    margin-top: 60px;
    border-radius: 8px;
}

.trending-news h2 {
    margin-bottom: 30px;
    font-weight: 700;
}

.post-list {
    max-width: 800px;
    margin: 0 auto;
}

.post-list p {
    margin: 15px 0;
}

.post-list a {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.post-list a:hover {
    color: var(--wp--preset--color--secondary);
    text-decoration: underline;
}

.post-list button {
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.post-list button:hover {
    background-color: var(--wp--preset--color--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

/* Footer Styles */
.site-footer {
    background-color: var(--wp--preset--color--dark-gray);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

.site-info {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer p {
    margin: 10px 0;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-footer a:hover {
    opacity: 0.8;
}

#footer-menu {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

#footer-menu li {
    margin: 0;
}

/* Mobile Responsive Breakpoints */
@media screen and (max-width: 768px) {
    .site-header {
        padding: 15px 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
    
    main {
        padding: 30px 15px;
    }
    
    .entry-content {
        font-size: 1rem;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .trending-news {
        padding: 40px 15px;
    }
    
    .funnel-text-line-1,
    .funnel-text-line-2,
    .funnel-text-line-3,
    .funnel-text-line-4,
    .funnel-text-line-5,
    .funnel-text-line-6 {
        max-width: 100% !important;
        padding: 0 10px;
    }
}

@media screen and (max-width: 480px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .entry-title {
        font-size: 1.5rem;
    }
    
    .entry-content {
        font-size: 0.95rem;
    }
    
    .trending-news h2 {
        font-size: 1.5rem;
    }
    
    .post-list {
        font-size: 1.1rem;
    }
}

/* Accessibility Improvements */
a:focus,
button:focus {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .site-header,
    .main-navigation,
    .post-navigation,
    .site-footer,
    .trending-news {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}

/* Sales Funnel Optimization */
.cta-button,
button[type="submit"],
.wp-block-button__link {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--wp--preset--color--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.2);
}

.cta-button:hover,
button[type="submit"]:hover,
.wp-block-button__link:hover {
    background-color: var(--wp--preset--color--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Images */
img {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}




/* Archive Page Styles */
.archive-page .page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--wp--preset--color--light-gray);
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 15px;
    color: var(--wp--preset--color--dark-gray);
}

.archive-description {
    font-size: 1.1rem;
    color: var(--wp--preset--color--medium-gray);
    max-width: 800px;
    margin: 0 auto;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.archive-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.archive-post .post-thumbnail {
    overflow: hidden;
}

.archive-post .post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-post:hover .post-thumbnail img {
    transform: scale(1.05);
}

.archive-post .entry-header {
    padding: 20px 20px 10px;
    text-align: left;
}

.archive-post .entry-title {
    font-size: 1.4rem;
    margin: 0 0 10px;
}

.archive-post .entry-title a {
    color: var(--wp--preset--color--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.archive-post .entry-title a:hover {
    color: var(--wp--preset--color--primary);
}

.archive-post .entry-meta {
    font-size: 0.85rem;
    justify-content: flex-start;
}

.archive-post .entry-summary {
    padding: 0 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--wp--preset--color--medium-gray);
}

.archive-post .entry-footer {
    padding: 15px 20px 20px;
}

.read-more {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--wp--preset--color--secondary);
}

.pagination {
    text-align: center;
    margin-top: 50px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a,
.pagination .current {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--wp--preset--color--light-gray);
    color: var(--wp--preset--color--dark-gray);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--wp--preset--color--primary);
    color: #fff;
}

.pagination .current {
    background-color: var(--wp--preset--color--primary);
    color: #fff;
}

@media screen and (max-width: 768px) {
    .post-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}




/* Featured Post Section (After Hero Image) */
.featured-post-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.featured-post {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.featured-post-thumbnail {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.featured-post-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post:hover .featured-post-thumbnail img {
    transform: scale(1.05);
}

.featured-post-content {
    padding: 40px;
}

.featured-post-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0 0 15px;
    line-height: 1.3;
}

.featured-post-title a {
    color: var(--wp--preset--color--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-post-title a:hover {
    color: var(--wp--preset--color--primary);
}

.featured-post-meta {
    font-size: 0.95rem;
    color: var(--wp--preset--color--medium-gray);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--wp--preset--color--light-gray);
}

.featured-post-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--wp--preset--color--dark-gray);
    margin-bottom: 25px;
}

.featured-post-readmore {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--wp--preset--color--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.2);
}

.featured-post-readmore:hover {
    background-color: var(--wp--preset--color--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

/* Responsive adjustments for featured post */
@media screen and (max-width: 768px) {
    .featured-post-section {
        margin: 40px auto;
    }
    
    .featured-post-content {
        padding: 25px;
    }
    
    .featured-post-title {
        font-size: 1.5rem;
    }
    
    .featured-post-excerpt {
        font-size: 1rem;
    }
    
    .featured-post-thumbnail img {
        max-height: 300px;
    }
}

@media screen and (max-width: 480px) {
    .featured-post-content {
        padding: 20px;
    }
    
    .featured-post-readmore {
        display: block;
        text-align: center;
    }
}




/* Sticky Footer Bar */
.sticky-footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    animation: slideUpFooter 0.5s ease-out;
}

@keyframes slideUpFooter {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sticky-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sticky-footer-text {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    min-width: 200px;
}

.sticky-footer-button {
    display: inline-block;
    padding: 12px 30px;
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.sticky-footer-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0.95;
}

/* Add padding to body when sticky footer is active to prevent content overlap */
body.has-sticky-footer {
    padding-bottom: 80px;
}

/* Adjust main site footer to account for sticky footer */
body.has-sticky-footer .site-footer {
    margin-bottom: 0;
}

/* Mobile responsive adjustments for sticky footer */
@media screen and (max-width: 768px) {
    .sticky-footer-bar {
        padding: 12px 15px;
    }
    
    .sticky-footer-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .sticky-footer-text {
        font-size: 1rem;
        min-width: auto;
    }
    
    .sticky-footer-button {
        padding: 10px 25px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
    
    body.has-sticky-footer {
        padding-bottom: 100px;
    }
}

@media screen and (max-width: 480px) {
    .sticky-footer-text {
        font-size: 0.9rem;
    }
    
    .sticky-footer-button {
        font-size: 0.9rem;
    }
    
    body.has-sticky-footer {
        padding-bottom: 110px;
    }
}




/* Featured Post Optional Images */
.featured-post-image {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.featured-post-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-post-image a:hover img {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

@media screen and (max-width: 768px) {
    .featured-post-image {
        margin: 30px auto;
    }
}




/* Related Posts Section (Bottom of Single Posts) */
.related-posts-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--wp--preset--color--light-gray);
}

.related-posts-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0 0 40px;
    color: var(--wp--preset--color--dark-gray);
    font-weight: 700;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.related-post-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.related-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.related-post-thumbnail {
    overflow: hidden;
    height: 180px;
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-item:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-post-title {
    font-size: 1.2rem;
    margin: 0 0 12px;
    line-height: 1.3;
}

.related-post-title a {
    color: var(--wp--preset--color--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: var(--wp--preset--color--primary);
}

.related-post-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--wp--preset--color--medium-gray);
    margin-bottom: 15px;
    flex: 1;
}

.related-post-link {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.related-post-link:hover {
    color: var(--wp--preset--color--secondary);
}

/* Responsive adjustments for related posts */
@media screen and (max-width: 768px) {
    .related-posts-section {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .related-posts-title {
        margin-bottom: 30px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .related-post-thumbnail {
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    .related-post-content {
        padding: 15px;
    }
    
    .related-post-title {
        font-size: 1.1rem;
    }
}




/* ========================================
   SALES FUNNEL OPTIMIZATION
   Visual Hierarchy & CTA Enhancements
   ======================================== */

/* Button System - Multiple Styles and Sizes */

/* Base Button Styles */
.btn,
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
.cta-button {
    display: inline-block;
    font-family: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
}

/* Primary Button (Main CTA) */
.btn-primary,
.cta-button-primary {
    background: linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--secondary) 100%);
    color: #ffffff;
    padding: 18px 40px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
}

.btn-primary:hover,
.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 115, 170, 0.4);
    background: linear-gradient(135deg, var(--wp--preset--color--secondary) 0%, var(--wp--preset--color--primary) 100%);
}

/* Secondary Button */
.btn-secondary,
.cta-button-secondary {
    background: transparent;
    color: var(--wp--preset--color--primary);
    padding: 16px 35px;
    font-size: 1rem;
    border: 2px solid var(--wp--preset--color--primary);
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.15);
}

.btn-secondary:hover,
.cta-button-secondary:hover {
    background: var(--wp--preset--color--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
}

/* Urgent/Action Button (High Contrast) */
.btn-urgent,
.cta-button-urgent {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #ffffff;
    padding: 20px 45px;
    font-size: 1.15rem;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    animation: pulse-urgent 2s infinite;
}

.btn-urgent:hover,
.cta-button-urgent:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
    animation: none;
}

@keyframes pulse-urgent {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(255, 107, 107, 0.6);
    }
}

/* Button Sizes */
.btn-small {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.btn-medium {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-hero {
    padding: 24px 60px;
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 8px 30px rgba(0, 115, 170, 0.4);
}

.btn-hero:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 115, 170, 0.5);
}

/* Button with Icons */
.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    font-size: 1.2em;
}

/* Pulse Animation for CTAs */
.btn-pulse {
    animation: pulse-cta 2s infinite;
}

@keyframes pulse-cta {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Glow Effect for Important CTAs */
.btn-glow {
    animation: glow-effect 2s ease-in-out infinite;
}

@keyframes glow-effect {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 115, 170, 0.5), 0 0 10px rgba(0, 115, 170, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 115, 170, 0.8), 0 0 30px rgba(0, 115, 170, 0.5);
    }
}

/* Full Width Button */
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Button Group */
.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0;
}

/* CTA Box/Banner */
.cta-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 40px;
    margin: 60px auto;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid var(--wp--preset--color--light-gray);
}

.cta-box-primary {
    background: linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--secondary) 100%);
    color: #ffffff;
    border: none;
}

.cta-box-urgent {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #ffffff;
    border: none;
    animation: subtle-pulse 3s infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.01);
    }
}

.cta-box h2,
.cta-box h3 {
    margin: 0 0 15px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.cta-box p {
    margin: 0 0 25px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-box-primary h2,
.cta-box-primary h3,
.cta-box-primary p,
.cta-box-urgent h2,
.cta-box-urgent h3,
.cta-box-urgent p {
    color: #ffffff;
}

/* Visual Hierarchy - Section Spacing */
.funnel-section {
    margin: 80px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.funnel-section-tight {
    margin: 40px auto;
}

.funnel-section-spacious {
    margin: 120px auto;
}

/* Attention-Grabbing Headers */
.funnel-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 20px;
    text-align: center;
    color: var(--wp--preset--color--dark-gray);
    letter-spacing: -0.02em;
}

.funnel-subheadline {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 40px;
    text-align: center;
    color: var(--wp--preset--color--medium-gray);
}

/* Highlight Text */
.highlight-text {
    background: linear-gradient(180deg, transparent 50%, #fff59d 50%);
    padding: 0 5px;
}

.highlight-primary {
    color: var(--wp--preset--color--primary);
    font-weight: 700;
}

.highlight-urgent {
    color: #ff6b6b;
    font-weight: 700;
}

/* Visual Dividers for Sections */
.funnel-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--secondary));
    margin: 60px auto;
    border-radius: 2px;
}

.funnel-divider-wide {
    width: 200px;
}

/* Whitespace Optimization */
.content-spacer-small {
    height: 30px;
}

.content-spacer-medium {
    height: 60px;
}

.content-spacer-large {
    height: 100px;
}

/* Contrast Boxes for Important Content */
.contrast-box {
    background: #ffffff;
    border: 3px solid var(--wp--preset--color--primary);
    border-radius: 12px;
    padding: 30px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(0, 115, 170, 0.15);
}

.contrast-box-dark {
    background: var(--wp--preset--color--dark-gray);
    color: #ffffff;
    border-color: var(--wp--preset--color--dark-gray);
}

/* Arrow Indicators for Visual Flow */
.flow-arrow {
    text-align: center;
    font-size: 3rem;
    color: var(--wp--preset--color--primary);
    margin: 30px 0;
    animation: bounce-arrow 2s infinite;
}

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

/* Number Badges for Steps */
.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--secondary));
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .btn-primary,
    .cta-button-primary {
        padding: 16px 30px;
        font-size: 1rem;
    }
    
    .btn-hero {
        padding: 20px 40px;
        font-size: 1.1rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        width: 100%;
    }
    
    .cta-box {
        padding: 30px 20px;
        margin: 40px auto;
    }
    
    .funnel-section {
        margin: 50px auto;
    }
    
    .funnel-headline {
        font-size: 2rem;
    }
    
    .funnel-subheadline {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .btn-primary,
    .cta-button-primary {
        padding: 14px 25px;
        font-size: 0.95rem;
    }
    
    .btn-urgent,
    .cta-button-urgent {
        padding: 16px 30px;
        font-size: 1rem;
    }
    
    .step-badge {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Print Styles - Hide CTAs when printing */
@media print {
    .btn,
    .cta-button,
    .cta-box,
    .btn-group {
        display: none;
    }
}

