/**
 * Reversal Marketing - Homepage styles
 * Imported from reversalmarketing project.
 */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a2332;
    --primary-light: #2d3a4f;
    --accent: #00b894;
    --accent-dark: #00a085;
    --text: #333;
    --text-light: #666;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --border: #e0e0e0;
    --success: #27ae60;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
}

.v2-banner {
    background: #ff6b6b;
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.partner-ad-container {
    background: #f8f9fa;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 99;
    width: 100%;
}

.partner-ad-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.ee-slot {
    width: 100%;
    max-width: 468px;
    height: 60px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ee-slot * { max-width: 100%; max-height: 100%; height: auto; object-fit: contain; }
.ee-slot iframe, .ee-slot img { max-width: 100%; max-height: 60px; width: auto; height: auto; object-fit: contain; }

header {
    background: var(--primary);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 60px;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    gap: 0.75rem;
}

.logo img { height: 42px; width: auto; border-radius: 8px; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

nav { display: flex; gap: 2rem; align-items: center; }
nav a { color: white; text-decoration: none; font-weight: 500; transition: opacity 0.2s; }
nav a:hover { opacity: 0.8; }

.nav-cta {
    background: var(--accent);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dark); opacity: 1; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.hero { padding: 4rem 0; background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); }

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-logo { max-width: 300px; height: auto; margin-bottom: 1.5rem; display: block; }

.hero-left h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 1rem; color: var(--primary); }
.hero-left .subheadline { font-size: 1.25rem; color: var(--text-light); margin-bottom: 2rem; }

.trust-points { list-style: none; margin-bottom: 2rem; }
.trust-points li { padding: 0.5rem 0; display: flex; align-items: center; gap: 0.75rem; }
.trust-points li::before { content: "✓"; color: var(--success); font-weight: bold; font-size: 1.2rem; }

.price-line { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 1.5rem; }
.price-line .price-annual { color: var(--success); }

.cta-buttons { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }

.btn {
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,184,148,0.3);
    color: white;
}

.btn-secondary { background: white; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: white; }

.trust-line { font-size: 0.875rem; color: var(--text-light); margin-top: 1rem; }

.steps { background: var(--bg-light); padding: 1.5rem; border-radius: 8px; margin-bottom: 2rem; }
.steps h3 { font-size: 1.125rem; margin-bottom: 1rem; color: var(--primary); }
.steps ol { margin-left: 1.5rem; }
.steps li { margin-bottom: 0.5rem; }

.hero-right {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.hero-right h3 { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--primary); }

.what-you-get { list-style: none; }
.what-you-get li {
    padding: 0.75rem 0;
    display: flex;
    align-items: start;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.what-you-get li:last-child { border-bottom: none; }
.what-you-get li::before { content: "•"; color: var(--accent); font-weight: bold; font-size: 1.5rem; line-height: 1; }

.proof-strip { background: var(--primary); color: white; padding: 1.5rem 0; }
.proof-items { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; text-align: center; }
.proof-item { font-size: 0.875rem; font-weight: 500; }
.proof-item a { color: white; text-decoration: underline; transition: opacity 0.2s; }
.proof-item a:hover { opacity: 0.8; }

.services { padding: 4rem 0; }
.services h2 { text-align: center; font-size: 2rem; margin-bottom: 3rem; color: var(--primary); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--primary); }
.service-card p { color: var(--text-light); margin-bottom: 1.5rem; }
.service-card a { color: var(--accent); text-decoration: none; font-weight: 600; }
.service-card a:hover { text-decoration: underline; }

.clients { padding: 4rem 0; background: white; }
.clients-header { text-align: center; margin-bottom: 3rem; }
.clients-header h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--primary); }
.clients-stats { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.client-stat { text-align: center; }
.client-stat-value { font-size: 2rem; font-weight: 700; color: var(--accent); }
.client-stat-label { font-size: 0.875rem; color: var(--text-light); }

.clients-scroll-wrapper { overflow: hidden; position: relative; padding: 2rem 0; margin-bottom: 2rem; }
.clients-scroll {
    display: flex;
    gap: 3rem;
    animation: scroll-logos 30s linear infinite;
    will-change: transform;
}
.clients-scroll:hover { animation-play-state: paused; }

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 100px;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: filter 0.3s, transform 0.3s;
}
.client-logo-item:hover { transform: scale(1.05); filter: grayscale(0%) brightness(1.1); }

.client-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}
.client-logo-item:hover .client-logo { filter: grayscale(0%); opacity: 1; }

.view-all-clients { text-align: center; margin-top: 2rem; }
.view-all-clients .btn { display: inline-block; }

.labored-feature { padding: 4rem 0; background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); margin: 2rem 0; }
.labored-feature-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.labored-logo-container { text-align: center; }
.labored-logo { max-width: 300px; max-height: 150px; width: auto; height: auto; margin-bottom: 1.5rem; display: inline-block; }
.labored-info h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--primary); }
.labored-info p { color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.6; }
.labored-features { list-style: none; margin-bottom: 2rem; }
.labored-features li { padding: 0.75rem 0; display: flex; align-items: center; gap: 0.75rem; }
.labored-features li::before { content: "✓"; color: var(--success); font-weight: bold; font-size: 1.2rem; }
.labored-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.network-stats-mini { background: var(--primary); color: white; padding: 2rem 0; margin-top: 2rem; }
.network-stats-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; text-align: center; }
.network-stat-mini { padding: 1rem; }
.network-stat-mini-value { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.network-stat-mini-label { font-size: 0.875rem; opacity: 0.9; }

.faq { padding: 4rem 0; background: var(--bg-light); }
.faq h2 { text-align: center; font-size: 2rem; margin-bottom: 3rem; color: var(--primary); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    user-select: none;
}
.faq-question:hover { background: var(--bg-light); }
.faq-question::after { content: "+"; font-size: 1.5rem; color: var(--accent); transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-content { padding: 0 1.5rem 1.5rem 1.5rem; color: var(--text-light); }

.final-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
}
.final-cta h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.final-cta p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; }
.final-cta .btn { font-size: 1.125rem; padding: 1.25rem 3rem; }
.microcopy { font-size: 0.875rem; margin-top: 1rem; opacity: 0.8; }

footer { background: var(--primary); color: white; padding: 2rem 0; text-align: center; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { color: white; text-decoration: none; }
.footer-links a:hover { opacity: 0.8; }

.contact-info { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.contact-info p { margin-bottom: 0.5rem; color: var(--text-light); }
.contact-info a { color: var(--accent); text-decoration: none; }

@media (max-width: 768px) {
    .partner-ad-container { padding: 0.25rem 0; }
    .ee-slot { max-width: 100%; height: 50px; min-height: 40px; }
    header { top: 50px; }
    .nav-toggle { display: block; }
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    nav.active { display: flex; }
    .hero-content { grid-template-columns: 1fr; }
    .hero-left h1 { font-size: 2rem; }
    .proof-items { gap: 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .labored-feature-content { grid-template-columns: 1fr; text-align: center; }
    .labored-logo-container { order: -1; }
    .clients-scroll-wrapper { padding: 1rem 0; }
    .client-logo-item { width: 140px; height: 80px; }
    .client-logo { max-height: 60px; }
    .clients-stats { gap: 1rem; }
    .network-stats-mini-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { flex-direction: column; text-align: center; }
}
