/* Public marketing homepage — anonymous visitors only */

.marketing-home {
    --mkt-hero-bg-start: var(--lw-secondary, #2C3E50);
    --mkt-hero-bg-mid: #345066;
    --mkt-hero-bg-end: var(--lw-primary, #4A90A4);
    --mkt-hero-text: #ffffff;
    --mkt-hero-text-muted: rgba(255, 255, 255, 0.88);
    --mkt-accent: var(--lw-primary, #4A90A4);
    --mkt-accent-end: #5ba8bc;
    --mkt-surface: #f1f4f6;
    --mkt-card-border: #e2e8f0;
    --mkt-body-muted: #64748b;
    --mkt-heading: var(--lw-secondary, #2C3E50);
}

.marketing-hero {
    background: linear-gradient(135deg, var(--mkt-hero-bg-start) 0%, var(--mkt-hero-bg-mid) 50%, var(--mkt-hero-bg-end) 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.marketing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.marketing-hero .container {
    position: relative;
    z-index: 1;
}

.marketing-hero h1,
.marketing-hero h2,
.marketing-hero h3,
.marketing-hero h4,
.marketing-hero h5,
.marketing-hero h6,
.marketing-mid-cta h1,
.marketing-mid-cta h2,
.marketing-mid-cta h3,
.marketing-mid-cta h4,
.marketing-mid-cta h5,
.marketing-mid-cta h6,
.marketing-close-cta h1,
.marketing-close-cta h2,
.marketing-close-cta h3,
.marketing-close-cta h4,
.marketing-close-cta h5,
.marketing-close-cta h6 {
    color: var(--mkt-hero-text);
}

.marketing-kicker {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
}

.marketing-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.marketing-hero-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    color: var(--mkt-hero-text-muted);
    margin-bottom: 2rem;
    max-width: 36rem;
    line-height: 1.6;
}

.marketing-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.marketing-price-line {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.btn-mkt-primary {
    background: linear-gradient(135deg, var(--mkt-accent) 0%, var(--mkt-accent-end) 100%);
    border: none;
    color: white;
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(74, 144, 164, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-mkt-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 164, 0.45);
    color: white;
}

.btn-mkt-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-mkt-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.marketing-proof-strip {
    background: #fff;
    border-bottom: 1px solid var(--mkt-card-border);
    padding: 1.75rem 0;
}

.marketing-proof-strip p {
    margin: 0;
    text-align: center;
    font-size: 1rem;
    color: var(--mkt-body-muted);
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.marketing-proof-strip strong {
    color: var(--mkt-heading);
}

.marketing-section {
    padding: 4.5rem 0;
}

.marketing-section-alt {
    background: var(--mkt-surface);
}

.marketing-section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--mkt-heading);
    margin-bottom: 1rem;
}

.marketing-section-body {
    color: var(--mkt-body-muted);
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.marketing-browser-frame {
    background: #1a1a2e;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.marketing-hero .marketing-browser-frame {
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.45),
        0 0 0 6px rgba(255, 255, 255, 0.06);
}

.marketing-browser-chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    background: #e8ecf0;
}

.marketing-browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.marketing-browser-dot-close { background: #ff5f57; }
.marketing-browser-dot-minimize { background: #febc2e; }
.marketing-browser-dot-maximize { background: #28c840; }

.marketing-browser-title {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.marketing-browser-screen {
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 16 / 10;
    position: relative;
}

.marketing-browser-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.marketing-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 999px;
    padding: 0.65rem 1.1rem;
    background: rgba(44, 62, 80, 0.88);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.marketing-play-btn[hidden] {
    display: none;
}

.marketing-browser-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    color: var(--mkt-body-muted);
    font-size: 0.9rem;
}

.marketing-browser-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.marketing-privacy-card {
    background: #fff;
    border: 1px solid var(--mkt-card-border);
    border-radius: 16px;
    padding: 2rem;
    max-width: 52rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .marketing-privacy-card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
}

.marketing-privacy-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--mkt-surface);
    color: var(--mkt-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.marketing-admin-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.marketing-admin-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--mkt-body-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.marketing-admin-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
}

.marketing-letter-types {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.marketing-letter-types li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
    font-size: 1.15rem;
    color: var(--mkt-heading);
}

.marketing-letter-types li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--mkt-accent);
    font-weight: 700;
}

.marketing-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--mkt-card-border);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 2rem;
    background: #fff;
}

.marketing-compare-col {
    padding: 2rem;
}

.marketing-compare-col:first-child {
    border-right: 1px solid var(--mkt-card-border);
    background: #f0fdf4;
}

.marketing-compare-col:last-child {
    background: #fef2f2;
}

.marketing-compare-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.marketing-compare-col:first-child .marketing-compare-heading {
    color: #059669;
}

.marketing-compare-col:last-child .marketing-compare-heading {
    color: #dc2626;
}

.marketing-compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.marketing-compare-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--mkt-heading);
}

.marketing-compare-col:first-child .marketing-compare-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
}

.marketing-compare-col:last-child .marketing-compare-list li::before {
    content: '\2717';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

.marketing-mid-cta {
    background: linear-gradient(135deg, var(--mkt-hero-bg-start) 0%, var(--mkt-hero-bg-mid) 50%, var(--mkt-hero-bg-end) 100%);
    padding: 3rem 0;
    text-align: center;
    color: white;
}

.marketing-mid-cta-title {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
}

.marketing-mid-cta .marketing-hero-cta {
    justify-content: center;
    margin-bottom: 1rem;
}

.marketing-mid-cta .marketing-price-line {
    color: rgba(255, 255, 255, 0.75);
}

.marketing-faq .accordion-button:not(.collapsed) {
    color: var(--mkt-heading);
    background-color: var(--mkt-surface);
}

.marketing-testimonials {
    background: var(--mkt-heading);
    padding: 3rem 0;
}

.marketing-rating-stat {
    margin-bottom: 1.5rem;
}

.marketing-rating-stars {
    color: #F5B301;
    font-size: 1.25rem;
    letter-spacing: 0.2rem;
    margin-bottom: 0.75rem;
}

.marketing-testimonials h2.marketing-rating-headline {
    color: #ffffff;
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.marketing-rating-sub {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.marketing-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(44, 62, 80, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
}

.marketing-sticky-cta .btn-mkt-primary {
    width: 100%;
    max-width: 24rem;
    justify-content: center;
}

.marketing-close-cta {
    background: linear-gradient(135deg, var(--mkt-hero-bg-start) 0%, var(--mkt-hero-bg-end) 100%);
    padding: 5rem 0 3rem;
    text-align: center;
    color: white;
}

.marketing-close-cta h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.marketing-close-cta .marketing-hero-cta {
    justify-content: center;
    margin-bottom: 1rem;
}

.marketing-close-cta .marketing-price-line {
    color: rgba(255, 255, 255, 0.85);
}

.marketing-close-cta .marketing-support {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.marketing-close-cta .marketing-support a {
    color: white;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .marketing-home {
        padding-bottom: 4.75rem;
    }

    .marketing-hero {
        text-align: center;
        padding: 4rem 0 3rem;
    }

    .marketing-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .marketing-hero-cta {
        justify-content: center;
    }

    .marketing-browser-frame {
        margin-top: 2.5rem;
    }

    .marketing-compare {
        grid-template-columns: 1fr;
    }

    .marketing-compare-col:first-child {
        border-right: none;
        border-bottom: 1px solid var(--mkt-card-border);
    }
}

@media (min-width: 992px) {
    .marketing-hero .hero-copy {
        padding-left: 1.25rem;
    }
}

@media (min-width: 992px) {
    .marketing-sticky-cta {
        display: none;
    }
}
