.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 500px;
}
.slider {
    position: relative;
    width: 100%;
    height: 100%;
}
.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    /* Initially show only 280px of the after image */
    clip-path: polygon(0 0, 281px 0, 281px 100%, 0 100%);
    filter: brightness(65%);
}
.slider {
    touch-action: none;             /* ensures touchmove fires instead of scrolling */
}

.after {
    /* initial clip path: show only 281px of the “after” image */
    -webkit-clip-path: polygon(0 0, 281px 0, 281px 100%, 0 100%);
    clip-path: polygon(0 0, 281px 0, 281px 100%, 0 100%);
}
.slider-handle {
    position: absolute;
    top: 0;
    left: 280px; /* Starting position of the handle */
    width: 3px;
    height: 100%;
    background-color: var(--primary);
    cursor: ew-resize;
    z-index: 2;
}
 :root {
     --primary: #d62d49;       /* Keeping your vibrant pink/red */
     --secondary: #d62d49;     /* Lighter coral/pink secondary */
     --accent: #ffb400;        /* Warm golden yellow accent */
     --light: #f9f7f7;         /* Soft off-white */
     --dark: #2d232e;          /* Deep aubergine for contrast */
     --gray: #686d83;          /* Cool-toned medium gray */
     --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
 }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary);
}

/* Links sitting inside a run of body text must not rely on colour alone to be
   distinguishable (WCAG 1.4.1). Buttons are excluded: they read as controls,
   not as prose, and carry their own affordance. */
p a:not(.btn),
.accordion-body a:not(.btn) {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(15, 102, 165, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 102, 165, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(15, 102, 165, 0.05);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 14px rgba(230, 61, 89, 0.3);
}

.btn-accent:hover {
    background: #d1354e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 61, 89, 0.4);
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.logo-icon {
    margin-right: 10px;
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 40px;
}

nav ul li a {
    font-weight: 500;
    color: var(--dark);
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(170deg, #ffffff 60%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 61, 89, 0.05) 0%, rgba(230, 61, 89, 0) 70%);
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--gray);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-stats {
    display: flex;
    margin-top: 40px;
    gap: 30px;
}

/* Hero Section */
.hero__contacts {
    padding: 160px 0 100px;
    background: linear-gradient(170deg, #ffffff 60%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero__contacts::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 61, 89, 0.05) 0%, rgba(230, 61, 89, 0) 70%);
    z-index: 0;
}

.hero__contacts-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero__contacts h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__contacts p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--gray);
}

.stat-item {
    padding-right: 30px;
    border-right: 1px solid #e1e1e8;
}

.stat-item:last-child {
    border: none;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

.hero-image {
    flex: 1;
    text-align: right;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-mockup {
    position: relative;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: all 0.3s ease;
}

.browser-mockup:hover {
    transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.browser-header {
    background: #f0f0f3;
    padding: 8px 15px;
    display: flex;
    align-items: center;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: #ff605c;
}

.dot-yellow {
    background: #ffbd44;
}

.dot-green {
    background: #00ca4e;
}

.browser-address {
    margin-left: 15px;
    background: white;
    height: 20px;
    flex: 1;
    border-radius: 10px;
}

.browser-content {
    background: white;
    position: relative;
}

.browser-content img {
    width: 100%;
    height: auto;
    display: block;
}

.browser-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 1) 100%);
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* h1 is included because the legal pages and the pricing page carry their page
   title in this block; without it they fell back to the browser default size. */
.section-header h1,
.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    padding: 0 40px;
}

.feature-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-text p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 20px;
}

.feature-image {
    flex: 1;
    padding: 20px;
    position: relative;
}

.feature-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray);
    position: relative;
}

.feature-image::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 102, 165, 0.1) 0%, rgba(15, 102, 165, 0) 70%);
    z-index: -1;
}

.feature-item:nth-child(1) .feature-image::after {
    top: -50px;
    right: -50px;
}

.feature-item:nth-child(2) .feature-image::after {
    bottom: -50px;
    left: -50px;
    background: radial-gradient(circle, rgba(230, 61, 89, 0.1) 0%, rgba(230, 61, 89, 0) 70%);
}

.feature-item:nth-child(3) .feature-image::after {
    top: -50px;
    right: -50px;
    background: radial-gradient(circle, rgba(0, 193, 173, 0.1) 0%, rgba(0, 193, 173, 0) 70%);
}

.feature-item:nth-child(4) .feature-image::after {
    bottom: -50px;
    left: -50px;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
}

.pricing-plans {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.pricing-plan {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    flex: 1;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-plan.featured {
    border: 2px solid var(--secondary);
    padding: 50px 30px;
    margin-top: -10px;
}

.plan-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.plan-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.plan-price::before {
    content: '$';
    font-size: 24px;
    position: absolute;
    top: 0;
    left: -15px;
}

.plan-billing {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 30px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.plan-features li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: rgba(15, 102, 165, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.pricing-plan .btn {
    width: 100%;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-content::before {
    content: '"';
    font-size: 48px;
    line-height: 0;
    color: var(--primary);
    opacity: 0.2;
    margin-right: 5px;
    vertical-align: middle;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
}

.author-info p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.author-info p {
    font-size: 14px;
    color: var(--gray);
}

.testimonial-stars {
    margin-top: auto;
    color: #ffc107;
    font-size: 14px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.accordion-item {
    border-bottom: 1px solid #e1e1e8;
}

.accordion-header {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover h3 {
    color: var(--primary);
}

.accordion-header h3 {
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background: var(--primary);
    top: 50%;
    left: 0;
    transition: all 0.3s ease;
}

.accordion-icon::before {
    width: 20px;
    height: 2px;
    transform: translateY(-50%);
}

.accordion-icon::after {
    width: 2px;
    height: 20px;
    transform: translateX(9px) translateY(-50%);
}

.accordion-item.active .accordion-icon::after {
    transform: translateX(9px) translateY(-50%) rotate(90deg);
    opacity: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

.accordion-body {
    padding: 0 0 20px;
    color: var(--gray);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-description {
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 14px;
    color: white;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 50px;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
        text-align: center;
        min-height: 350px;
        flex: none; /* This is crucial */
    }

    .feature-item,
    .feature-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .feature-text {
        margin-bottom: 30px;
        padding: 0;
    }

    .pricing-plans {
        flex-direction: column;
        align-items: center;
    }

    .pricing-plan {
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
    }

    .pricing-plan.featured {
        padding: 40px 30px;
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    nav ul li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 15px;
    }

    .mobile-toggle {
        display: block;
    }

    /* FIXED SLIDER STYLES FOR MOBILE */
    .slider-container {
        height: 300px;
        width: 95%;
        margin: 20px auto;
        /* Remove any potential overflow issues */
        position: relative;
        flex-shrink: 0;
    }

    .slider {
        /* Ensure the slider maintains touch functionality */
        width: 100%;
        height: 100%;
        position: relative;
        /* Critical: Keep touch-action for mobile interaction */
        touch-action: none;
    }

    .slider img {
        width: 100%;
        height: 100%;
        /* Use cover to maintain aspect ratio */
        object-fit: cover;
        display: block;
        min-height: 100%;
        min-width: 100%;
    }

    .before, .after {
        /* Ensure both images are properly positioned */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .after {
        /* Keep the clip-path functionality working */
        -webkit-clip-path: polygon(0 0, 281px 0, 281px 100%, 0 100%);
        clip-path: polygon(0 0, 281px 0, 281px 100%, 0 100%);
        filter: brightness(65%);
        z-index: 1;
    }

    .before {
        z-index: 0;
    }

    .slider-handle {
        /* Make the handle more prominent on mobile */
        position: absolute;
        top: 0;
        left: 280px;
        width: 4px; /* Slightly thicker for mobile */
        height: 100%;
        background-color: var(--primary);
        cursor: ew-resize;
        z-index: 2;
        /* Add touch-friendly styling */
        box-shadow: 0 0 10px rgba(230, 61, 89, 0.5);
    }

    /* Add a touch indicator */
    .slider-handle::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20px;
        height: 20px;
        background: var(--primary);
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .section-header h1,
    .section-header h2 {
        font-size: 28px;
    }

    .feature-image {
        padding: 0;
    }

    .testimonials-container {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-card {
        width: 100%;
        max-width: 400px;
    }

    .footer-column {
        flex: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}
.pricing-plan.featured .plan-name:after {
    content: "Best Value";
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 2rem;
    margin-left: 10px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(230, 61, 89, 0.3);
}
.money-back-guarantee {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    flex: 1;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hero browsers line */
.hero-browsers {
    margin-top: 15px;
    font-size: 14px;
    color: var(--gray);
}

/* Plan note (Lifetime) */
.plan-note {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 15px;
    font-style: italic;
}

/* CTA section sub-copy and browsers line */
.cta-sub {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 25px;
}
.cta-browsers {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}

/* Problem/Pain Section */
.problem {
    padding: 100px 0;
    background: linear-gradient(180deg, #f7f7f9 0%, #ffffff 100%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.problem-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.problem-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

.problem-closing {
    text-align: center;
    margin-top: 40px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 20px;
}

.step-card {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 30px 25px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin-top: 55px;
    flex-shrink: 0;
}

.steps-cta {
    text-align: center;
    margin-top: 40px;
}

/* Audience Section */
.audience {
    padding: 100px 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.audience-card {
    background: white;
    border-radius: 15px;
    padding: 35px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.audience-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.audience-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.audience-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* Comparison Section */
.comparison {
    padding: 100px 0;
    background: linear-gradient(180deg, #f7f7f9 0%, #ffffff 100%);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    font-size: 15px;
}

.comparison-table thead th {
    background: var(--dark);
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.comparison-table thead th.highlight {
    background: var(--primary);
}

.comparison-table tbody tr {
    background: white;
}

.comparison-table tbody tr:nth-child(even) {
    background: #f9f7f7;
}

.comparison-table tbody td {
    color: var(--gray);
    border-bottom: 1px solid #eee;
}

.comparison-table tbody td:first-child {
    font-weight: 500;
    color: var(--dark);
}

.comparison-table tbody td.highlight {
    color: var(--primary);
    font-weight: 500;
}

.comparison-cards {
    display: none;
}

.comparison-bottom-line {
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
    color: var(--gray);
    font-style: italic;
}

/* Security Section */
.security {
    padding: 100px 0;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.security-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.security-item:hover {
    transform: translateY(-3px);
}

.security-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.security-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.security-item p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* Sticky CTA Bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sticky-cta-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
}

.sticky-cta .btn {
    padding: 10px 24px;
    font-size: 14px;
}

/* Responsive: 991px */
@media (max-width: 991px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .step-card {
        max-width: 100%;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table-wrapper {
        display: none;
    }

    .comparison-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }
}

/* Responsive: 767px */
@media (max-width: 767px) {
    .problem-grid {
        gap: 20px;
    }

    .problem-card {
        padding: 25px 20px;
    }

    .audience-card {
        padding: 25px 20px;
    }

    .step-card {
        padding: 20px 15px;
    }

    .security-grid {
        gap: 15px;
    }

    .security-item {
        padding: 25px 15px;
    }

    .sticky-cta .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .sticky-cta .btn {
        width: 100%;
    }
}

/* Comparison cards (mobile) */
.comparison-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.comparison-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.comparison-card-row {
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
}

.comparison-card-row.highlight {
    color: var(--primary);
    font-weight: 500;
}

.label-native,
.label-pinstats {
    font-weight: 600;
    display: inline-block;
    margin-right: 5px;
}

.label-native {
    color: var(--gray);
}

.label-pinstats {
    color: var(--primary);
}

/* ===== Keyword Explorer highlight section ===== */
.ke-highlight {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fdf5f6 100%);
}
.ke-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}
.ke-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.ke-highlight h2 {
    font-size: 34px;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 16px;
}
.ke-highlight h2 .hl { color: var(--primary); }
.ke-lead {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 24px;
}
.ke-benefits {
    list-style: none;
    margin: 0 0 28px;
    display: grid;
    gap: 12px;
}
.ke-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    color: var(--dark);
}
.ke-benefits li::before {
    content: '✓';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(230, 61, 89, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-top: 2px;
}
.ke-link {
    display: inline-block;
    font-weight: 600;
    font-size: 16px;
    color: var(--primary);
}
.ke-link:hover { text-decoration: underline; }

/* Keyword table visual (ported + namespaced from keyword-explorer.html) */
.ke-mock {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(45, 35, 46, 0.16);
    border: 1px solid #e9e6ec;
    overflow: hidden;
}
.ke-mock-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f6f4f7;
    border-bottom: 1px solid #e9e6ec;
}
.ke-mock-dot { width: 11px; height: 11px; border-radius: 50%; background: #d7d2db; }
.ke-mock-url {
    margin-left: 10px;
    font-size: 12px;
    color: var(--gray);
    background: #fff;
    border: 1px solid #e9e6ec;
    border-radius: 20px;
    padding: 4px 14px;
}
.ke-mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 8px;
}
.ke-mock-seed { font-size: 13px; color: var(--gray); }
.ke-mock-seed b { color: var(--dark); }
.ke-mode-pill {
    font-size: 11px;
    font-weight: 600;
    /* 11px on the 10%-tint background needs a touch more than --primary to clear AA (4.5:1). */
    color: #cf2642;
    background: rgba(214, 45, 73, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}
.ke-kw-row {
    display: grid;
    grid-template-columns: 1fr 128px;
    align-items: center;
    gap: 12px;
    padding: 9px 18px;
}
.ke-kw-row + .ke-kw-row { border-top: 1px solid #f2f0f4; }
.ke-kw-name {
    font-size: 14px;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ke-kw-vol { display: flex; align-items: center; gap: 8px; }
.ke-kw-track { flex: 1; height: 8px; border-radius: 6px; background: #f0edf1; overflow: hidden; }
.ke-kw-fill {
    display: block;
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}
.ke-kw-num { font-size: 12px; font-weight: 600; color: var(--dark); width: 40px; text-align: right; }
.ke-kw-blur { position: relative; }
.ke-kw-blur .ke-kw-rows {
    filter: blur(4px);
    opacity: 0.6;
    padding-top: 4px;
    pointer-events: none;
    user-select: none;
}
/* The 0.6 opacity washes --dark out to a 4.13:1 grey, which fails AA. Deepen the
   text under the blur so the flattened result clears it; behind a 4px blur the
   change is imperceptible. */
.ke-kw-blur .ke-kw-rows .ke-kw-name,
.ke-kw-blur .ke-kw-rows .ke-kw-num {
    color: #1a141b;
}
.ke-more-pill {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(230, 61, 89, 0.35);
    white-space: nowrap;
}
@media (max-width: 991px) {
    .ke-grid { grid-template-columns: 1fr; gap: 36px; }
    .ke-highlight h2 { font-size: 28px; }
}

/* ===== Billing period toggle ===== */
.pricing .billing-toggle {
    display: flex;
    width: max-content;
    gap: 4px;
    margin: 30px auto 0;
    padding: 5px;
    background: #f2f0f4;
    border-radius: 30px;
}
.billing-option {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray);
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.billing-option.active {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Muted "preview only" feature line */
.plan-features li.feature-partial { color: var(--gray); }
.plan-features li.feature-partial::before {
    content: '◐';
    background: rgba(118, 123, 145, 0.12);
    color: var(--gray);
}

/* Extended Pro learn-more link under the CTA */
.plan-learn-more {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.plan-learn-more:hover { text-decoration: underline; }
/* Visually hidden, but still announced by screen readers. Used for headings that
   the visual design does not need but the document outline does. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Respect a reduced-motion preference (WCAG 2.3.3). The site leans on transitions
   and scroll-reveal animations; for users who ask for less motion, collapse them
   to near-instant rather than removing the end state, so nothing gets stuck
   mid-animation or stays invisible. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: -1ms !important;
        transition-duration: 0.01ms !important;
        /* Delays matter as much as durations here: the scroll-reveal staggers
           cards by up to 0.9s, which a duration-only override would leave. */
        transition-delay: 0ms !important;
        scroll-behavior: auto !important;
    }
}

/* Breadcrumbs. Five pages already declared BreadcrumbList schema with nothing
   visible on the page to back it; this is that missing trail. The Markdown
   generator strips <nav>, so it stays out of the twins as navigation chrome. */
.breadcrumb {
    padding: 18px 0 0;
    font-size: 14px;
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    margin: 0;
}
.breadcrumb li + li::before {
    content: "\203A";
    color: var(--gray);
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--dark); font-weight: 500; }
