/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */


.invert {
  --tw-invert: invert(100%);
  filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
}

.brightness-0 {
  --tw-brightness: brightness(0%);
}

.margin-0 {
  margin: 0;
  img {
    margin: 0;
  }
}

/* Modern Home Page Styles */
:root {
    --cm-primary: #11344a;
    --cm-primary-light: #2a4d69;
    --cm-accent: #f59e0b;
    --cm-accent-hover: #d97706;
    --cm-text-main: #1f2937;
    --cm-text-light: #4b5563;
    --cm-bg-light: #f3f4f6;
    --cm-white: #ffffff;
    --cm-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --cm-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.home, .page-template-page-avoidoverpayingpdf {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    h1, h2, h3, h4, h5, h6 {
        color: var(--cm-primary);
        line-height: 1.2;
    }

    p {
        font-size: 18px;
        line-height: 1.7;
        color: var(--cm-text-light);
    }

    /* Hero Section */
    .cm-hero {
        background: linear-gradient(135deg, var(--cm-primary) 0%, var(--cm-primary-light) 100%);
        color: var(--cm-white);
        padding: 100px 20px 120px;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .cm-hero::after {
        content: '';
        position: absolute;
        bottom: -50px;
        left: 0;
        right: 0;
        height: 100px;
        background: var(--cm-white);
        /* transform: skewY(-2deg); */
    }

    .cm-hero h1 {
        font-size: clamp(36px, 5vw, 56px);
        font-weight: 800;
        margin-bottom: 24px;
        color: var(--cm-white);
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .cm-hero p {
        font-size: 22px;
        margin-bottom: 40px;
        color: rgba(255, 255, 255, 0.9);
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .cm-cta-button {
        display: inline-block;
        background: var(--cm-accent);
        color: white !important;
        padding: 20px 48px;
        font-size: 20px;
        font-weight: 700;
        border-radius: 50px;
        text-decoration: none !important;
        transition: all 0.3s ease;
        /* box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4); */
        cursor: pointer;
        border: 3px solid transparent;
    }

    .cm-cta-button:hover {
        background: var(--cm-accent-hover);
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5);
        color: white !important;
        border: 3px solid rgba(255, 255, 255, 0.3);
    }

    /* Add pulse animation to first CTA only */
    .cm-hero .cm-cta-button {
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0%, 100% {
            box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
        }
        50% {
            box-shadow: 0 8px 32px rgba(245, 158, 11, 0.7);
        }
    }

    .cm-hero-image {
        margin-top: 60px;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        z-index: 10;
    }

    .cm-hero-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        /* border: 4px solid rgba(255, 255, 255, 0.1); */
    }

    /* Sections General */
    .cm-section {
        max-width: 1200px;
        margin: 0 auto;
        padding: 100px 20px;
    }

    .cm-section h2 {
        font-size: clamp(30px, 4vw, 42px);
        font-weight: 700;
        margin-bottom: 16px;
        text-align: center;
    }

    .cm-section-subtitle {
        font-size: 20px;
        color: var(--cm-text-light);
        text-align: center;
        margin-bottom: 70px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Problem Section */
    .cm-problem {
        background: var(--cm-white);
    }

    .cm-problem-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
    }

    .cm-problem-item {
        background: var(--cm-white);
        padding: 40px 30px;
        border-radius: 16px;
        border: 1px solid #e5e7eb;
        transition: all 0.3s ease;
    }

    .cm-problem-item:hover {
        border-color: var(--cm-primary-light);
        box-shadow: var(--cm-shadow);
        transform: translateY(-5px);
    }

    .cm-problem-icon {
        font-size: 32px;
        margin-bottom: 16px;
        display: inline-block;
        padding: 12px;
        background: #fee2e2;
        border-radius: 12px;
        line-height: 1;
    }

    .cm-problem-item h3 {
        font-size: 22px;
        margin-bottom: 15px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Difference Section */
    .cm-difference {
        background: var(--cm-bg-light);
        position: relative;
    }

    .cm-features {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
    }

    .cm-feature {
        background: var(--cm-white);
        padding: 40px;
        border-radius: 16px;
        text-align: center;
        box-shadow: var(--cm-shadow);
        transition: transform 0.3s ease;
    }

    .cm-feature:hover {
        transform: translateY(-5px);
        box-shadow: var(--cm-shadow-hover);
    }

    .cm-feature-icon {
        font-size: 40px;
        margin-bottom: 24px;
        background: #e0f2fe;
        width: 80px;
        height: 80px;
        line-height: 80px;
        border-radius: 50%;
        margin-left: auto;
        margin-right: auto;
    }

    .cm-feature h3 {
        font-size: 22px;
        margin-bottom: 12px;
        font-weight: 700;
    }

    /* How It Works */
    .cm-how-it-works {
        background: var(--cm-white);
    }

    .cm-steps {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 50px;
        counter-reset: step;
    }

    /* Testimonials Section */
    .cm-testimonials {
        background: var(--cm-white);
    }

    .cm-testimonial-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
        margin-top: 50px;
    }

    .cm-testimonial {
        background: var(--cm-bg-light);
        padding: 32px;
        border-radius: 16px;
        border-left: 4px solid var(--cm-accent);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .cm-testimonial:hover {
        transform: translateY(-5px);
        box-shadow: var(--cm-shadow-hover);
        border-left-color: var(--cm-primary);
    }

    .cm-testimonial-stars {
        color: var(--cm-accent);
        font-size: 20px;
        margin-bottom: 16px;
        letter-spacing: 2px;
    }

    .cm-testimonial-text {
        font-size: 16px;
        line-height: 1.7;
        color: var(--cm-text-main);
        margin-bottom: 20px;
        font-style: italic;
        flex-grow: 1;
    }

    .cm-testimonial-author {
        font-weight: 600;
        color: var(--cm-primary);
        margin-bottom: 4px;
        font-size: 16px;
    }

    .cm-testimonial-project {
        font-size: 14px;
        color: var(--cm-text-light);
        font-weight: 500;
    }

    .cm-step {
        text-align: center;
        position: relative;
    }

    .cm-step-number {
        width: 64px;
        height: 64px;
        background: var(--cm-primary);
        color: white;
        font-size: 28px;
        font-weight: 700;
        line-height: 64px;
        border-radius: 20px;
        margin: 0 auto 24px;
        box-shadow: 0 10px 20px rgba(17, 52, 74, 0.2);
        transform: rotate(-5deg);
        transition: transform 0.3s ease;
    }
    
    .cm-step:hover .cm-step-number {
        transform: rotate(0deg) scale(1.1);
    }

    .cm-step h3 {
        font-size: 24px;
        margin-bottom: 16px;
        font-weight: 700;
    }

    /* Final CTA */
    .cm-final-cta {
        background: linear-gradient(135deg, var(--cm-primary) 0%, var(--cm-primary-light) 100%);
        color: var(--cm-white);
        text-align: center;
        padding: 100px 20px;
    }

    .cm-final-cta h2 {
        font-size: clamp(32px, 5vw, 48px);
        margin-bottom: 20px;
        font-weight: 700;
        color: var(--cm-white);
    }
    
    .cm-final-cta p {
        color: rgba(255,255,255,0.9);
        font-size: 22px;
        margin-bottom: 40px;
    }

    @media (max-width: 768px) {
        .cm-hero h1 {
            font-size: 36px;
        }
        
        .cm-hero p {
            font-size: 20px;
        }
        
        .cm-section h2 {
            font-size: 28px;
        }
        
        .cm-cta-button {
            font-size: 18px;
            padding: 15px 36px;
            width: 100%;
            text-align: center;
        }
    }
}

/* Lead Magnet Landing Page Styles */
.cm-lead-magnet-hero {
    background: linear-gradient(135deg, var(--cm-primary) 0%, var(--cm-primary-light) 100%);
    padding: 100px 20px;
}

.cm-lead-magnet-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* PDF Preview/Cover */
.cm-pdf-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cm-pdf-cover {
    background: var(--cm-white);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    max-width: 450px;
    text-align: center;
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.cm-pdf-cover:hover {
    transform: rotate(0deg) scale(1.02);
}

.cm-pdf-badge {
    background: var(--cm-accent);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
}

.cm-pdf-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--cm-primary);
    margin-bottom: 12px;
    line-height: 1.2;
}

.cm-pdf-subtitle {
    font-size: 18px;
    color: var(--cm-text-light);
    margin-bottom: 32px;
}

.cm-pdf-features {
    display: grid;
    gap: 12px;
    text-align: left;
}

.cm-pdf-feature {
    font-size: 16px;
    color: var(--cm-text-main);
    font-weight: 500;
    padding-left: 8px;
}

/* Lead Form */
.cm-lead-form-wrapper {
    background: var(--cm-white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cm-lead-form-content h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--cm-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cm-lead-subtitle {
    font-size: 18px;
    color: var(--cm-text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cm-value-props {
    display: grid;
    gap: 20px;
    /* margin-bottom: 40px; */
}

.cm-value-prop {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cm-value-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.cm-value-prop strong {
    display: block;
    font-size: 18px;
    color: var(--cm-primary);
    /* margin-bottom: 4px; */
}

.cm-value-prop p {
    font-size: 15px;
    color: var(--cm-text-light);
    margin: 0;
    line-height: 1.5;
}

/* Email Form */
.cm-email-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cm-email-input {
    padding: 18px 24px;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cm-email-input:focus {
    outline: none;
    border-color: var(--cm-primary);
    box-shadow: 0 0 0 3px rgba(17, 52, 74, 0.1);
}

.cm-submit-button {
    background: var(--cm-accent);
    color: white;
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cm-submit-button:hover {
    background: var(--cm-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.cm-privacy-note {
    text-align: center;
    font-size: 14px;
    color: var(--cm-text-light);
    margin: 8px 0 0 0;
}

/* Success Message */
.cm-success-message {
    text-align: center;
    padding: 40px 20px;
}

.cm-success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: white;
    font-size: 48px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 24px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.cm-success-message h3 {
    font-size: 28px;
    color: var(--cm-primary);
    margin-bottom: 12px;
}

.cm-success-message p {
    font-size: 16px;
    color: var(--cm-text-light);
    margin-bottom: 12px;
}

.cm-success-subtext {
    font-size: 14px;
    color: var(--cm-text-light);
}

.cm-success-subtext a {
    color: var(--cm-primary);
    text-decoration: underline;
}

/* What's Inside Section */
.cm-whats-inside {
    background: var(--cm-white);
    /* padding: 100px 20px; */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.cm-guide-contents {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cm-content-item {
    background: var(--cm-bg-light);
    padding: 32px 28px;
    border-radius: 16px;
    border-left: 4px solid var(--cm-accent);
    transition: all 0.3s ease;
}

.cm-content-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--cm-shadow-hover);
    border-left-color: var(--cm-primary);
}

.cm-content-number {
    display: inline-block;
    background: var(--cm-primary);
    color: white;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
}

.cm-content-item h3 {
    font-size: 20px;
    color: var(--cm-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.cm-content-item p {
    font-size: 15px;
    color: var(--cm-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Social Proof Section */
.cm-social-proof {
    background: var(--cm-bg-light);
    /* padding: 100px 20px; */
}

.cm-social-proof .cm-section {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Final Lead CTA */
.cm-final-lead-cta {
    background: linear-gradient(135deg, var(--cm-primary) 0%, var(--cm-primary-light) 100%);
    padding: 100px 20px;
}

/* Responsive Design for Lead Magnet Page */
@media (max-width: 968px) {
    .cm-lead-magnet-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cm-pdf-cover {
        transform: rotate(0deg);
        max-width: 500px;
    }
    
    .cm-lead-form-content h1 {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .cm-lead-magnet-hero {
        padding: 40px 20px;
    }
    
    .cm-pdf-cover {
        padding: 40px 30px;
    }
    
    .cm-pdf-title {
        font-size: 26px;
    }
    
    .cm-lead-form-wrapper {
        padding: 32px 24px;
    }
    
    .cm-lead-form-content h1 {
        font-size: 24px;
    }
    
    .cm-value-prop {
        gap: 12px;
    }
    
    .cm-value-icon {
        font-size: 24px;
    }
    
    .cm-guide-contents {
        grid-template-columns: 1fr;
    }
}