:root {
    /* High contrast colors */
    --primary: #2563eb; /* Darker, more contrasty blue */
    --primary-hover: #1d4ed8;
    --dark: #020617; /* Very dark slate for max contrast */
    --light: #f1f5f9; /* Slightly darker light bg for section separation */
    --gray: #334155; /* Darker gray for readable secondary text */
    --border: #cbd5e1; /* Clearer borders */
    --white: #ffffff;
    --danger: #dc2626;
    --danger-hover: #b91c1c;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 15px rgba(37, 99, 235, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
}

/* Fade in animation classes for JS Intersection Observer */
.fade-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--border); /* Clearer border */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--primary);
    transition: opacity 0.3s ease;
}
.logo:hover {
    opacity: 0.8;
}

/* Checkbox hack for zero-js mobile menu */
#mobile-menu-toggle { display: none; }
.mobile-menu-label {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    user-select: none;
    color: var(--dark);
}
.nav-links-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
}
.nav-links {
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600; /* Bolder for contrast */
    transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.nav-links a:hover {
    color: var(--primary);
}
.nav-buttons {
    display: flex;
    gap: 1rem;
}

@media (max-width: 900px) {
    .nav-links-container { gap: 1rem; }
    .nav-links { gap: 1rem; }
}

@media (max-width: 768px) {
    .mobile-menu-label { display: block; }
    .nav-links-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow);
        align-items: flex-start;
        border-bottom: 2px solid var(--border);
    }
    #mobile-menu-toggle:checked ~ .nav-links-container {
        display: flex;
        animation: fadeIn 0.3s ease-in-out;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    .nav-links a {
        margin: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
        display: block;
        width: 100%;
    }
    .nav-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
}

/* Buttons with clear borders and fade highlights */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border: 2px solid transparent; /* default border */
}
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}
.btn-outline {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}
.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}
.btn-dofollow {
    background-color: var(--danger);
    color: var(--white);
    border-color: var(--danger);
    box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.4);
}
.btn-dofollow:hover {
    background-color: var(--danger-hover);
    border-color: var(--danger-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px 0 rgba(239, 68, 68, 0.6);
}
.btn-full {
    width: 100%;
    margin-top: 1.5rem;
}

/* Hero Section */
.hero {
    padding: 11rem 2rem 7rem;
    text-align: center;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-bottom: 2px solid var(--border);
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInDown 1s ease-out forwards;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.promo-tag {
    display: inline-block;
    background-color: #fef3c7;
    color: #b45309; /* Darker amber for contrast */
    padding: 0.35rem 1.2rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid #fcd34d;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.hero h1 {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(255,255,255,0.5);
}
.hero p {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* Layout */
.section {
    padding: 6rem 2rem;
    border-bottom: 2px solid var(--border); /* Clear section borders */
}
.bg-light {
    background-color: var(--light);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}
.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.mt-2 { margin-top: 2rem; }
.text-muted { color: var(--gray); }
.small-text { font-size: 0.875rem; margin-bottom: 0.5rem; font-weight: 500; }
.center-content { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* Cards with clear borders */
.card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.card h3, .card h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
}
.card p {
    color: var(--gray);
    font-weight: 500;
}
.compact-card {
    padding: 2rem 1.5rem;
    text-align: center;
}
.compact-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}
.pricing-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 1.2rem;
    border: 2px solid var(--border);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.pricing-card.highlighted {
    border: 3px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    z-index: 1;
}
.pricing-card.highlighted:hover {
    transform: scale(1.05) translateY(-5px);
}
.recommended-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #b45309);
    color: white;
    padding: 0.35rem 1.5rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 2px solid var(--white);
}
.plan-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}
.plan-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
}
.currency { font-size: 1.8rem; margin-right: 0.25rem; font-weight: 700; }
.period { font-size: 1.1rem; color: var(--gray); font-weight: 600; }
.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
}
.plan-features li {
    margin-bottom: 1.2rem;
    color: var(--gray);
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* Marquee */
.overflow-hidden { overflow: hidden; }
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 1.5rem 0;
}
.marquee-container::before, .marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}
.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}
.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
}
.marquee-content:hover {
    animation-play-state: paused;
}
.review-card {
    background: var(--light);
    border: 2px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    width: 380px;
    margin-right: 2rem;
    white-space: normal;
    display: inline-block;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.review-card:hover {
    border-color: var(--primary);
    background: var(--white);
}
.stars { margin-bottom: 0.8rem; letter-spacing: 2px; font-size: 1.1rem; }
.review-text { font-style: italic; color: var(--dark); margin-bottom: 1.2rem; font-size: 1.05rem; font-weight: 500; line-height: 1.7; }
.reviewer { font-weight: 800; color: var(--primary); text-align: right; font-size: 0.95rem; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
details {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}
details:hover {
    border-color: var(--primary);
}
details[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
summary {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--dark);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 2rem;
    transition: color 0.3s ease;
}
summary:hover {
    color: var(--primary);
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--primary);
    line-height: 1;
    transition: transform 0.3s ease;
}
details[open] summary::after { content: 'âˆ?; transform: translateY(-50%) rotate(180deg); }
details p {
    margin-top: 1.25rem;
    color: var(--gray);
    padding-top: 1.25rem;
    border-top: 2px solid var(--light);
    line-height: 1.8;
    font-weight: 500;
    animation: fadeIn 0.4s ease-in-out;
}

/* Footer CTA */
.cta-section {
    background: var(--dark);
    color: var(--white);
    padding: 8rem 2rem;
    border-bottom: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 1.5rem; font-size: 2.8rem; font-weight: 900; }
.cta-section p { color: #94a3b8; font-size: 1.3rem; margin-bottom: 2.5rem; font-weight: 500; }

/* Footer */
.footer {
    background: #020617; /* Even darker than cta section for clear border */
    color: var(--white);
    padding: 4rem 2rem 3rem;
    text-align: center;
    border-top: 2px solid #1e293b;
}
.footer-links {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}
.footer-links a:hover { color: var(--white); transform: translateY(-2px); }
.copyright { color: #475569; font-size: 0.95rem; font-weight: 500; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .pricing-card.highlighted { transform: none; }
    .pricing-card.highlighted:hover { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.15rem; }
    
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    
    .section { padding: 4rem 1.5rem; }
    .section-title { font-size: 2.2rem; }
    
    .marquee-container::before, .marquee-container::after { width: 50px; }
}
