/* 
Theme Name: Smart Directory Pro Landing
Theme URI: https://smartdirectorypro.com/
Author: Arielle Phoenix
Author URI: https://ariellephoenix.com/
Description: A modern WordPress theme for Smart Directory Pro plugin, featuring a professional landing page design with customizable sections.
Version: 1.0.18
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smart-directory-pro
Tags: landing-page, directory, business, responsive, custom-colors, custom-logo
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
*/

/* Reset and Base Styles */
:root {
    --primary-color: #4668e0;
    --primary-hover: #3959cc;
    --secondary-color: #32b67a;
    --secondary-hover: #29a36b;
    --dark-color: #202842;
    --light-color: #f7f9ff;
    --grey-color: #6c757d;
    --light-grey: #e9ecef;
    --border-color: #dee2e6;
    --body-font: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --heading-font: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    color: var(--grey-color);
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button.primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.button.primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button.secondary:hover {
    background-color: rgba(70, 104, 224, 0.1);
}

.button.large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Post CTA Image */
.post-cta {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
}

.cta-image-link {
    display: inline-block;
    max-width: 100%;
    transition: all 0.3s ease;
}

.cta-image-animated {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(70, 104, 224, 0.2);
    transition: all 0.3s ease;
}

.cta-image-link:hover .cta-image-animated {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(70, 104, 224, 0.4);
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.logo a {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 0;
    color: var(--primary-color);
}

/* Desktop Navigation */
nav {
    /* Styles for desktop menu container */
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    text-decoration: none;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown ul {
    display: block;
    padding: 10px 0;
}

.dropdown ul li {
    margin: 0;
}

.dropdown ul li a {
    display: block;
    padding: 8px 20px;
    white-space: nowrap;
}

.dropdown ul li a:hover {
    background-color: var(--light-color);
}

.cta-button {
    margin-left: 30px;
}

.cta-button a {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
}

.cta-button a:hover {
    background-color: var(--primary-hover);
    color: white;
}

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
    padding: 10px;
    line-height: 1;
    z-index: 1001;
}

/* Responsive Styles - Mobile Menu */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    nav > ul,
    nav .cta-button { 
        display: none; 
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out;
    }

    nav.active {
        max-height: 100vh;
    }

    nav.active > ul {
        display: block;
        padding: 10px 0; 
    }

    nav.active > ul li {
        margin: 0;
        text-align: center;
    }

    nav.active > ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid var(--light-grey);
    }
    
    nav.active > ul li:last-child a {
        border-bottom: none;
    }

    nav.active .cta-button {
        display: block; 
        margin: 20px;
        text-align: center;
    }
    
    nav.active .cta-button a {
         display: block;
         width: 100%;
    }

    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: var(--light-color);
        padding-left: 30px;
        display: none;
    }
    
    .has-dropdown > a + .dropdown { 
        display: block;
    }

    .dropdown ul {
        padding: 0;
    }

    .dropdown ul li a {
        padding: 12px 20px;
        font-size: 15px;
        border-bottom: 1px solid #ddd;
    }
    
    .dropdown ul li:last-child a {
        border-bottom: none;
    }
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 18px;
    color: var(--grey-color);
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    align-items: center;
}

.reviews {
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.stars {
    color: #ffc107;
    margin-right: 10px;
}

.reviews p {
    margin-bottom: 0;
    margin-right: 10px;
}

.reviews .rating {
    font-weight: 700;
    font-size: 20px;
}

.hero-image {
    flex: 1;
}

/* Features Highlight */
.features-highlight {
    background-color: white;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-highlight .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature-item {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 150px;
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-item h3 {
    font-size: 16px;
    margin-bottom: 0;
}

/* Trusted By */
.trusted-by {
    padding: 60px 0;
    background-color: white;
    text-align: center;
}

.trusted-by h2 {
    font-size: 24px;
    margin-bottom: 40px;
}

.logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-item {
    padding: 20px;
    background-color: var(--light-grey);
    margin: 10px;
    height: 80px;
    width: 160px;
    border-radius: 4px;
}

/* Features Section */
.features {
    background-color: white;
}

.feature-row {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

.feature-row:last-child {
    margin-bottom: 60px;
}

.feature-row.reversed {
    flex-direction: row-reverse;
}

.feature-col {
    flex: 1;
    padding: 0 30px;
}

.feature-col h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-col p {
    font-size: 16px;
    color: var(--grey-color);
}

.feature-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-center {
    text-align: center;
    margin-top: 60px;
}

/* Visual Showcase */
.visual-showcase {
    background-color: var(--light-color);
}

.showcase-tabs {
    margin-bottom: 60px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    background-color: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--grey-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-button:hover, .tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tabs-content {
    position: relative;
}

.tab-pane {
    display: none;
    text-align: center;
}

.tab-pane.active {
    display: block;
}

.tab-pane img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.showcase-video {
    margin-top: 60px;
    text-align: center;
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button i {
    font-size: 30px;
    color: var(--primary-color);
}

.play-button:hover {
    background-color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Use Cases */
.use-cases {
    background-color: white;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.use-case-item {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.use-case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.use-case-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(70, 104, 224, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.use-case-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.use-case-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.use-case-item p {
    color: var(--grey-color);
}

/* Technical Highlights */
.technical-highlights {
    background-color: var(--dark-color);
}

.technical-highlights .section-header h2,
.technical-highlights .section-header p {
    color: white;
}

.tech-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.tech-feature {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-feature:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tech-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.tech-icon i {
    font-size: 30px;
    color: white;
}

.tech-feature h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.tech-feature p {
    color: rgba(255, 255, 255, 0.7);
}

/* Testimonials */
.testimonials {
    background-color: var(--light-color);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
}

.testimonial-item {
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--grey-color);
    margin-bottom: 0;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.prev-testimonial,
.next-testimonial {
    border: none;
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.prev-testimonial:hover,
.next-testimonial:hover {
    background-color: var(--primary-color);
}

.prev-testimonial:hover i,
.next-testimonial:hover i {
    color: white;
}

.prev-testimonial i,
.next-testimonial i {
    color: var(--dark-color);
    font-size: 18px;
}

/* FAQ */
.faq {
    background-color: white;
}

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

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    margin-bottom: 0;
    flex: 1;
}

.toggle-icon {
    border: none;
    background-color: transparent;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-icon i {
    color: var(--primary-color);
    font-size: 14px;
}

.faq-answer {
    display: none;
    padding-top: 15px;
}

.faq-answer p {
    color: var(--grey-color);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .toggle-icon i {
    transform: rotate(45deg);
}

/* Pricing */
.pricing {
    background-color: var(--light-color);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-plan {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-plan:hover {
    transform: translateY(-10px);
}

.pricing-plan.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-plan.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: 30px;
    right: -35px;
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 40px;
    font-size: 14px;
    font-weight: 500;
    transform: rotate(45deg);
    z-index: 1;
}

.plan-header {
    text-align: center;
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.plan-header h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.plan-price {
    margin-bottom: 15px;
}

.plan-price .price {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark-color);
}

.plan-price .period {
    font-size: 16px;
    color: var(--grey-color);
}

.plan-header p {
    color: var(--grey-color);
    margin-bottom: 0;
}

.plan-features {
    padding: 30px;
}

.plan-features ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.plan-features ul li i {
    width: 20px;
    margin-right: 10px;
}

.plan-features ul li i.fa-check {
    color: var(--secondary-color);
}

.plan-features ul li i.fa-times {
    color: var(--grey-color);
}

.plan-cta {
    padding: 0 30px 30px;
    text-align: center;
}

.guarantee {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
}

.guarantee p {
    margin-bottom: 0;
    font-weight: 500;
}

/* Final CTA */
.final-cta {
    background-color: var(--primary-color);
    text-align: center;
    padding: 100px 0;
}

.final-cta h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 20px;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 40px;
}

.final-cta .button.primary {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

.final-cta .button.primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h2 {
    color: white;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.social-icons a i {
    color: white;
    font-size: 16px;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .feature-row {
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 50px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .feature-row {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-row.reversed {
        flex-direction: column;
    }
    
    .feature-col {
        margin-bottom: 40px;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-plan.featured {
        transform: scale(1);
    }
    
    .pricing-plan.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
        height: auto;
        padding: 20px 15px;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .features-highlight .container {
        flex-direction: column;
    }
    
    .feature-item {
        min-width: 100%;
    }
    
    .feature-col h3 {
        font-size: 24px;
    }
}

/* Block Editor Compatibility Additions */
.wp-block-column.pricing-plan {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.wp-block-column.pricing-plan:hover {
    transform: translateY(-10px);
}

.wp-block-column.pricing-plan.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.wp-block-column.pricing-plan.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: 30px;
    right: -35px;
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 40px;
    font-size: 14px;
    font-weight: 500;
    transform: rotate(45deg);
    z-index: 1;
}

.plan-header {
    text-align: center;
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.plan-header h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.plan-price {
    margin-bottom: 15px;
}

.price {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark-color);
}

.price .period {
    font-size: 16px;
    color: var(--grey-color);
}

.plan-header p {
    color: var(--grey-color);
    margin-bottom: 0;
}

.plan-features {
    padding: 30px;
}

.features-list {
    list-style: none;
    padding-left: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.features-list li:before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.wp-block-buttons {
    margin-top: 20px;
    margin-bottom: 20px;
}

.guarantee {
    text-align: center;
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee:before {
    content: '\f3ed'; /* Font Awesome shield icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
}

/* Enhanced Blog Layout Styles */

/* Blog page header fixes */
.blog-header {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(to bottom right, var(--primary-color), #3344cc);
    margin-bottom: 40px;
}

.blog-header h1 {
    color: white;
    font-size: 48px;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.blog-header p {
    color: white;
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.blog-title-container,
body.blog .entry-header,
body.archive .entry-header {
    background-color: var(--light-color);
    padding: 40px 0;
    margin-bottom: 40px;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    position: relative !important;
    top: auto !important;
    z-index: 1;
}

body.blog .page-header,
body.archive .page-header {
    background: transparent;
    padding: 0;
    box-shadow: none;
    max-width: 1200px;
    margin: 0 auto;
    position: relative !important;
    top: auto !important;
}

body.blog h1.page-title,
body.archive h1.page-title {
    font-size: 36px;
    color: var(--dark-color);
    margin: 0;
}

/* Blog post container with improved spacing */
.blog-post-container,
.blog-archive-container,
.blog-index-container,
body.blog main,
body.archive main {
    padding: 40px 0 80px;
    background-color: #f9fafc;
}

.blog-post-container .container,
.blog-archive-container .container,
.blog-index-container .container,
body.blog .content-area,
body.blog .site-content .container,
body.archive .content-area,
body.archive .site-content .container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Force blog entry content to use the correct width */
body.blog #primary,
body.archive #primary {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Blog Post Content Area */
.blog-post-content,
body.blog article,
body.archive article {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 25px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.blog-post-content:hover,
body.blog article:hover,
body.archive article:hover {
    transform: translateY(-5px);
}

.blog-post-content .entry-title,
body.blog .entry-title,
body.archive .entry-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-size: 1.8rem;
    line-height: 1.3;
}

/* Enhanced Post Meta */
.post-meta,
body.blog .entry-meta,
body.archive .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--grey-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef1f7;
}

.post-meta span,
body.blog .entry-meta span,
body.archive .entry-meta span {
    display: inline-flex;
    align-items: center;
}

.post-meta i,
body.blog .entry-meta i,
body.archive .entry-meta i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* Featured image with improved style */
.featured-image,
body.blog .post-thumbnail,
body.archive .post-thumbnail {
    margin: -25px -25px 20px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    position: relative;
}

.featured-image::after,
body.blog .post-thumbnail::after,
body.archive .post-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.featured-image img,
body.blog .post-thumbnail img,
body.archive .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Enhanced Blog Grid for Archive and Index */
.blog-grid,
body.blog .site-main,
body.archive .site-main {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    width: 100%;
}

.blog-index-container {
    display: block;
    padding: 50px 0;
}

.blog-index-container .container {
    display: block;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.sidebar {
    display: none; /* Hide sidebar from blog index */
}

/* Hide metadata from footer */
body.blog .site-footer .metadata,
body.single-post .site-footer .metadata {
    display: none;
}

.blog-card,
body.blog article,
body.archive article {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin-bottom: 0; /* Remove margin since grid has gap */
}

.post-content,
body.blog .entry-content,
body.archive .entry-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Ensure post meta stays in the header */
.post-meta,
body.blog .entry-meta,
body.archive .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--grey-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef1f7;
}

.entry-header,
body.blog .entry-header.card-header,
body.archive .entry-header.card-header {
    margin-bottom: 15px;
    background: transparent;
    padding: 0;
    position: relative;
    box-shadow: none;
}

.entry-header .entry-title,
body.blog .entry-title,
body.archive .entry-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    line-height: 1.4;
}

.entry-header .entry-title a,
body.blog .entry-title a,
body.archive .entry-title a {
    color: var(--dark-color);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.entry-header .entry-title a::after,
body.blog .entry-title a::after,
body.archive .entry-title a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.entry-header .entry-title a:hover,
body.blog .entry-title a:hover,
body.archive .entry-title a:hover {
    color: var(--primary-color);
}

.entry-header .entry-title a:hover::after,
body.blog .entry-title a:hover::after,
body.archive .entry-title a:hover::after {
    width: 100%;
}

.entry-summary,
body.blog .entry-summary,
body.archive .entry-summary {
    margin-bottom: 20px;
    color: var(--grey-color);
    font-size: 16px;
    line-height: 1.6;
    flex-grow: 1;
}

.entry-footer,
body.blog .entry-footer,
body.archive .entry-footer {
    margin-top: auto;
    text-align: right;
}

.entry-footer .read-more,
body.blog .more-link,
body.archive .more-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    background-color: rgba(70, 104, 224, 0.1);
    transition: all 0.3s ease;
}

.entry-footer .read-more i,
body.blog .more-link i,
body.archive .more-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.entry-footer .read-more:hover,
body.blog .more-link:hover,
body.archive .more-link:hover {
    color: white;
    background-color: var(--primary-color);
}

.entry-footer .read-more:hover i,
body.blog .more-link:hover i,
body.archive .more-link:hover i {
    transform: translateX(5px);
}

/* Enhanced Sidebar */
.sidebar,
body.blog #secondary,
body.archive #secondary {
    position: sticky;
    top: 30px;
    width: 100%;
    max-width: 100%;
}

/* Newsletter Subscription Styling */
.sidebar-section .subscription-form {
    background-color: var(--dark-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-section .subscription-form h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.sidebar-section .subscription-form p {
    color: white;
    opacity: 0.9;
    margin-bottom: 20px;
}

.sidebar-section .subscription-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    margin-bottom: 12px;
}

.sidebar-section .subscription-form button {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-section .subscription-form button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.widget,
body.blog .widget,
body.archive .widget {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 25px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.widget:hover,
body.blog .widget:hover,
body.archive .widget:hover {
    transform: translateY(-5px);
}

.widget:last-child,
body.blog .widget:last-child,
body.archive .widget:last-child {
    margin-bottom: 0;
}

.widget-title,
body.blog .widget-title,
body.archive .widget-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.25rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 12px;
}

.widget-title::after,
body.blog .widget-title::after,
body.archive .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.widget ul,
body.blog .widget ul,
body.archive .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li,
body.blog .widget ul li,
body.archive .widget ul li {
    border-bottom: 1px solid #eef1f7;
    padding: 12px 0;
    transition: padding 0.3s ease;
}

.widget ul li:first-child,
body.blog .widget ul li:first-child,
body.archive .widget ul li:first-child {
    padding-top: 0;
}

.widget ul li:last-child,
body.blog .widget ul li:last-child,
body.archive .widget ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget ul li:hover,
body.blog .widget ul li:hover,
body.archive .widget ul li:hover {
    padding-left: 5px;
}

.widget ul li a,
body.blog .widget ul li a,
body.archive .widget ul li a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.widget ul li a:hover,
body.blog .widget ul li a:hover,
body.archive .widget ul li a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .blog-post-container .container,
    .blog-archive-container .container,
    .blog-index-container .container,
    body.blog .content-area,
    body.blog .site-content .container,
    body.archive .content-area,
    body.archive .site-content .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar,
    body.blog #secondary,
    body.archive #secondary {
        margin-top: 40px;
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-post-container,
    .blog-archive-container,
    .blog-index-container,
    body.blog main,
    body.archive main {
        padding: 30px 0 60px;
    }
    
    .blog-title-container,
    body.blog .entry-header,
    body.archive .entry-header {
        padding: 30px 0;
        margin-bottom: 30px;
    }
    
    body.blog h1.page-title,
    body.archive h1.page-title {
        font-size: 28px;
    }
    
    .blog-post-content,
    body.blog article,
    body.archive article {
        padding: 20px;
    }
    
    .featured-image,
    body.blog .post-thumbnail,
    body.archive .post-thumbnail {
        margin: -20px -20px 15px;
    }
}

/* Video Demo Section */
.video-demo {
    padding: 80px 0;
    background-color: #f7f9ff;
}

.video-demo h2 {
    margin-bottom: 16px;
    color: var(--dark-color);
}

.video-demo p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--grey-color);
}

.video-container {
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #000;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-container .wp-block-video {
    margin: 0;
}

.video-container figcaption {
    display: none;
}

.video-demo .wp-block-buttons {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .video-demo {
        padding: 50px 0;
    }
    
    .video-container {
        margin-bottom: 30px;
    }
}

/* Blog Footer Fix - Hide metadata in footer */
body.blog .site-footer .metadata,
body.archive .site-footer .metadata,
body.blog .site-footer .post-navigation,
body.archive .site-footer .post-navigation,
body.blog .site-footer .entry-meta,
body.archive .site-footer .entry-meta,
body.blog .site-footer .entry-footer,
body.archive .site-footer .entry-footer,
body.blog .site-footer .comments-area,
body.archive .site-footer .comments-area,
body.blog .site-footer .navigation,
body.archive .site-footer .navigation {
    display: none !important;
}

/* Special footer styling for blog pages */
body.blog .site-footer,
body.archive .site-footer {
    margin-top: 60px;
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0;
    border-top: none;
}

/* Footer with dark background */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 40px;
}

/* Blog page fixes - ensure proper layout */
body.blog main .content-area,
body.archive main .content-area {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Improved footer styling */
.site-footer .container,
body.blog .site-footer .container,
body.archive .site-footer .container {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1200px;
}

/* Clean up any stray post content in the footer */
.site-footer article,
.site-footer .post,
.site-footer .entry-content,
.site-footer .entry-footer,
.site-footer .entry-meta {
    display: none !important;
}

/* Fix static front page styling */
body.home.page .entry-header,
body.home.page .entry-content {
    width: 100%;
    max-width: 100%;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Mobile Navigation Styles */
.mobile-nav-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
}

@media (max-width: 768px) {
    header .container {
        position: relative; /* Needed for absolute positioning of nav */
    }

    .mobile-nav-toggle {
        display: block; /* Show on mobile */
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001; /* Above the nav */
    }

    nav {
        display: none; /* Hide nav by default on mobile */
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    nav.active {
        display: block; /* Show when active */
    }

    nav ul {
        display: block;
        padding: 20px 0;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid var(--light-grey);
    }
    
    nav ul li:last-child a {
        border-bottom: none;
    }

    .cta-button {
        display: block; 
        margin: 15px 20px;
        text-align: center;
    }
    
    .cta-button a {
         display: block;
         width: 100%;
    }

    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: var(--light-color); /* Slight background difference */
        padding-left: 20px; /* Indent dropdown items */
    }
    
    .dropdown ul {
        padding: 0;
    }

    .dropdown ul li a {
        padding: 10px 20px;
        font-size: 15px;
    }

    /* General Mobile Optimizations */
    h1 { font-size: 36px; }
    h2 { font-size: 30px; }
    h3 { font-size: 24px; }
    
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
    }
    
    .reviews {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .feature-row {
        flex-direction: column !important; /* Force column layout */
        margin-bottom: 60px;
    }
    
    .feature-col {
        padding: 0 15px;
        text-align: center;
    }
    
    .feature-col.feature-image {
        margin-top: 30px;
    }
    
    .pricing-grid {
        flex-direction: column;
    }
    
    .pricing-plan {
        margin-bottom: 30px;
    }
    
    .final-cta h2 {
         font-size: 26px;
    }
    
    .final-cta p {
        font-size: 16px;
    }
}

/* Related Posts Styling */
.related-posts {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.related-posts-title {
    margin-bottom: 25px;
    font-size: 24px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-post {
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

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

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

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

.related-post-title {
    padding: 15px 15px 5px;
    font-size: 16px;
    margin-bottom: 5px;
}

.related-post-title a {
    color: var(--dark-color);
    text-decoration: none;
}

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

.related-post-meta {
    padding: 0 15px 15px;
    font-size: 14px;
    color: var(--grey-color);
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Buy Now Button Styles */
.single_add_to_cart_button {
    width: 100%;
    padding: 16px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    background-color: var(--secondary-color) !important; /* Using secondary color for better contrast */
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.single_add_to_cart_button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.2), rgba(255,255,255,0) 70%);
    transform: translateX(-100%);
    animation: shine 3s infinite;
    z-index: -1;
}

.single_add_to_cart_button:hover {
    background-color: var(--secondary-hover) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 7px 20px rgba(50, 182, 122, 0.25) !important;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    20%, 100% {
        transform: translateX(100%);
    }
}

/* Hide quantity fields */
.quantity {
    display: none !important;
}

/* Add a pulsing effect to the current plan Buy Now button */
.pricing-plan.current .single_add_to_cart_button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(50, 182, 122, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(50, 182, 122, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(50, 182, 122, 0);
    }
} 

/* Affiliate Registration Page - Layout & Icon Fixes */

/* Page background */
.page-affiliate-registration {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(139, 92, 246, 0.03) 50%, rgba(16, 185, 129, 0.03) 100%) !important;
    min-height: 100vh !important;
}

/* Hero section */
.page-affiliate-registration section:first-of-type {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%) !important;
    padding: 200px 0 64px 0 !important;
    text-align: center !important;
}

/* Container and grid fixes */
.page-affiliate-registration .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
}

.page-affiliate-registration .grid {
    display: grid !important;
    gap: 24px !important;
}

.page-affiliate-registration .grid.grid-cols-1 {
    grid-template-columns: 1fr !important;
}

@media (min-width: 768px) {
    .page-affiliate-registration .grid.md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .page-affiliate-registration .grid.md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Fix oversized icons */
.page-affiliate-registration .w-12 {
    width: 48px !important;
    height: 48px !important;
}

.page-affiliate-registration .w-6 {
    width: 24px !important;
    height: 24px !important;
}

.page-affiliate-registration .w-5 {
    width: 20px !important;
    height: 20px !important;
}

.page-affiliate-registration .w-4 {
    width: 16px !important;
    height: 16px !important;
}

.page-affiliate-registration .h-12 {
    height: 48px !important;
}

.page-affiliate-registration .h-6 {
    height: 24px !important;
}

.page-affiliate-registration .h-5 {
    height: 20px !important;
}

.page-affiliate-registration .h-4 {
    height: 16px !important;
}

/* Icon containers with alternative selectors */
.page-affiliate-registration .bg-primary-10,
.page-affiliate-registration [class*="bg-primary/10"] {
    background: rgba(59, 130, 246, 0.1) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 16px auto !important;
}

.page-affiliate-registration .bg-secondary-10,
.page-affiliate-registration [class*="bg-secondary/10"] {
    background: rgba(139, 92, 246, 0.1) !important;
}

.page-affiliate-registration .bg-accent-10,
.page-affiliate-registration [class*="bg-accent/10"] {
    background: rgba(16, 185, 129, 0.1) !important;
}

/* Cards styling */
.page-affiliate-registration .bg-white-80,
.page-affiliate-registration [class*="bg-white/80"] {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    text-align: center !important;
}

.page-affiliate-registration .bg-white {
    background: white !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Form container */
.page-affiliate-registration .rounded-2xl {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
    background: white !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

/* Form header */
.page-affiliate-registration .bg-gradient-to-r.from-primary {
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%) !important;
    color: white !important;
    padding: 32px !important;
    text-align: center !important;
}

/* Form body */
.page-affiliate-registration .p-8 {
    padding: 32px !important;
}

/* Typography fixes */
.page-affiliate-registration .text-4xl {
    font-size: 2.25rem !important;
    line-height: 2.5rem !important;
}

.page-affiliate-registration .text-2xl {
    font-size: 1.5rem !important;
    line-height: 2rem !important;
}

.page-affiliate-registration .text-xl {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
}

.page-affiliate-registration .font-bold {
    font-weight: 700 !important;
}

.page-affiliate-registration .font-semibold {
    font-weight: 600 !important;
}

.page-affiliate-registration .mb-6 {
    margin-bottom: 24px !important;
}

.page-affiliate-registration .mb-4 {
    margin-bottom: 16px !important;
}

.page-affiliate-registration .mb-2 {
    margin-bottom: 8px !important;
}

/* Form styling */
.affiliate-registration-form input[type="text"],
.affiliate-registration-form input[type="email"],
.affiliate-registration-form input[type="url"],
.affiliate-registration-form textarea,
.affiliate-registration-form select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    margin-bottom: 16px !important;
    background: white !important;
    box-sizing: border-box !important;
    display: block !important;
}

.affiliate-registration-form label {
    display: block !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: #374151 !important;
}

.affiliate-registration-form input[type="submit"] {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
    color: white !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    width: 100% !important;
    margin-top: 16px !important;
    display: block !important;
}

/* Spacing fixes */
.page-affiliate-registration .py-16 {
    padding: 64px 0 !important;
}

.page-affiliate-registration .py-8 {
    padding: 32px 0 !important;
}

.page-affiliate-registration .px-4 {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* Max width constraints */
.page-affiliate-registration .max-w-3xl {
    max-width: 768px !important;
    margin: 0 auto !important;
}

.page-affiliate-registration .max-w-2xl {
    max-width: 672px !important;
    margin: 0 auto !important;
}

.page-affiliate-registration .max-w-4xl {
    max-width: 896px !important;
    margin: 0 auto !important;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #10b981 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block !important;
} 