.promo-content { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding-top: 10px;}
.promo-row { display: flex; align-items: stretch; justify-content: center; gap: 14px; flex-wrap: wrap; width: 100%; }
.promo-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 260px; }
.promo-line { color: #111827; font-size: 14px; }
.promo-btn { background: #1f42cf; color: #fff; border: none; border-radius: 8px; padding: 8px 12px; cursor: pointer; font-size: 14px; }
.promo-btn:hover { background: #1633a8; }

/* Dark mode variants */
[data-theme="dark"] .promo-card { background: #1e293b; border-color: rgba(148,163,184,0.25); }
[data-theme="dark"] .promo-line { color: #e2e8f0; }
[data-theme="dark"] .promo-btn { background: #2563eb; }
[data-theme="dark"] .promo-btn:hover { background: #1d4ed8; }

/* Promo banner (top of dynamic landing; hidden by default in JS) */
.promo-banner { padding: 0.75rem 1rem 0; }
.promo-box {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.35rem 1.15rem 1.25rem;
    padding-top: 1.45rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 260px;
    flex: 1 1 280px;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 6px 18px var(--shadow-color);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.promo-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--text-brand), var(--text-accent));
    opacity: 0.95;
}
.promo-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px var(--shadow-color);
    border-color: var(--text-brand);
}
.promo-box .promo-text h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.promo-box .promo-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Landing page styles */

/* CSS Variables for Light/Dark Theme */
:root {
  /* Light theme colors */
  --bg-primary: linear-gradient(180deg, #e8f1ff 0%, #f4f8ff 30%, #f6fbff 60%, #eef5ff 100%);
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-modal: #ffffff;
  --bg-form: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --text-brand: #1f42cf;
  --text-accent: #18a1dc;
  --border-color: #e2e8f0;
  --border-accent: #c7d2fe;
  --shadow-color: rgba(2, 6, 23, 0.04);
  --shadow-accent: rgba(31, 66, 207, 0.15);
  --header-bg: linear-gradient(90deg, #1f42cf, #18a1dc);
  --faq-bg: #f8fafc;
  --tier-bg: #eef2ff;
  --tier-active: #1f42cf;
}

/* Dark theme colors */
[data-theme="dark"] {
  --bg-primary: linear-gradient(180deg, #0f172a 0%, #1e293b 30%, #334155 60%, #475569 100%);
  --bg-card: #374151;
  --bg-card-hover: #4b5563;
  --bg-modal: #374151;
  --bg-form: #4b5563;
  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-tertiary: #94a3b8;
  --text-brand: #60a5fa;
  --text-accent: #3b82f6;
  --border-color: rgba(96, 165, 250, 0.3);
  --border-accent: rgba(96, 165, 250, 0.5);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --shadow-accent: rgba(31, 66, 207, 0.3);
  --header-bg: linear-gradient(90deg, #0f172a, #1e293b);
  --faq-bg: #4b5563;
  --tier-bg: #4b5563;
  --tier-active: #1f42cf;
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + 20px));
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow-color);
    z-index: 10000;
    padding: 20px;
    max-width: 600px;
    width: calc(100% - 40px);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h4 {
    margin: 0 0 8px 0;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.cookie-consent-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.4;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.cookie-deny {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.cookie-deny:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.cookie-allow {
    background: var(--header-bg);
    color: white;
    border: 1px solid transparent;
}

.cookie-allow:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-consent-text {
        min-width: auto;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 120px;
    }
}

/* Full-page animated background */
body.landing {
    background: var(--bg-primary);
    background-size: 160% 160%;
    animation: pageWave 18s ease-in-out infinite alternate;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    min-width: 320px;
}

/* Ensure all containers don't cause horizontal overflow */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}
@keyframes pageWave {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 100%; }
}

/* Header */
.home-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--header-bg);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.header-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.home-header h2 { font-size: 1.25rem; letter-spacing: 0.3px; margin: 0; }
.home-header button {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 0.68rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: all 0.2s ease;
    font-size: 1.02rem;
}
.home-header button:hover { background: rgba(255,255,255,0.25); transform: translateY(-1px); }
/* Push buttons to the right, keep Sign In rightmost */
.home-header #pricing-btn { margin-left: auto; }

/* Emphasize Sign In on the right */
.home-header { gap: 0.5rem; }
.home-header #signin-btn { font-weight: 600; display: inline-flex; align-items: center; gap: 0.45rem; }
.home-header #pricing-btn { font-weight: 600; display: inline-flex; align-items: center; gap: 0.45rem; }

/* Hero with animated gradients */
.landing-hero {
    background: transparent;
    padding: 4rem 1rem 3rem;
    text-align: center;
}
.landing-hero .eyebrow { color: var(--text-brand); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; }
.landing-hero h1 { font-size: 2.25rem; line-height: 1.2; margin: 0.75rem auto; max-width: 900px; color: var(--text-primary); }
.landing-hero p.subtitle { color: var(--text-secondary); max-width: 800px; margin: 0.75rem auto 1.5rem; font-size: 1.1rem; }
.cta-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 0.75rem; }
.cta-buttons .primary { background: var(--text-brand); border: none; color: #fff; padding: 0.8rem 1.2rem; border-radius: 10px; cursor: pointer; font-size: 1rem; box-shadow: 0 6px 18px var(--shadow-accent); }
.cta-buttons .secondary { background: var(--bg-card); color: var(--text-brand); border: 1px solid var(--border-accent); padding: 0.8rem 1.2rem; border-radius: 10px; cursor: pointer; font-size: 1rem; }
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 1.35rem;
    flex-wrap: wrap;
}
.trust-bar span {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    box-shadow: 0 4px 14px var(--shadow-color);
    font-weight: 500;
    color: var(--text-secondary);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.trust-bar span:hover {
    transform: translateY(-2px);
    border-color: var(--text-brand);
    box-shadow: 0 8px 20px var(--shadow-color);
}

@media (max-width: 640px) {
    .trust-bar {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 0.25rem;
    }

    .trust-bar span {
        justify-content: center;
        text-align: center;
        font-size: 0.82rem;
        padding: 0.45rem 0.75rem;
        line-height: 1.35;
    }
}

.brand-demand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

/* blinking / pulsing effect */
.live-dot::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(34, 197, 94, 0.55);
    border-radius: 50%;
    left: 0;
    top: 0;
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(2.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Shared section titles + gradient underline (matches Examples of Collaborations) */
.benefits h2,
.how-it-works h2,
.platform-showcase h2,
.faq h2,
.testimonials h2,
.role-cards h2,
.collaboration-types h2 {
    text-align: center;
    font-size: 1.65rem;
    color: var(--text-primary);
    margin: 0 auto 0.35rem;
    max-width: 900px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.benefits h2::after,
.how-it-works h2::after,
.platform-showcase h2::after,
.faq h2::after,
.testimonials h2::after,
.role-cards h2::after,
.collaboration-types h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 0.85rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--text-brand), var(--text-accent));
    opacity: 0.85;
}

/* Benefits */
.benefits { padding: 2.75rem 1rem; background: transparent; }
.benefits p.intro { text-align: center; color: var(--text-secondary); max-width: 760px; margin: 0.5rem auto 1.75rem; line-height: 1.55; }
.features-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1.25rem; max-width: 1100px; margin: 1.5rem auto 0; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.3rem 1.15rem 1.25rem;
    padding-top: 1.45rem;
    box-shadow: 0 6px 18px var(--shadow-color);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--text-brand), var(--text-accent));
    opacity: 0.95;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px var(--shadow-color);
    border-color: var(--text-brand);
    background: var(--bg-card-hover);
}
.feature-card .feature-icon { font-size: 1.4rem; line-height: 1; vertical-align: text-top; transform: translateY(-10px); }
.feature-card h3 { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; }
.feature-card p { color: var(--text-secondary); font-size: 0.98rem; margin-top: 0.5rem; line-height: 1.55; }
.feature-card .feature-header { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.5rem; }

/* How it works */
.how-it-works { background: transparent; padding: 2.75rem 1rem; }
.how-it-works .steps { margin-top: 1.5rem; }
.steps { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1.25rem; max-width: 1100px; margin: 0 auto; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; }
.how-it-works .step {
    position: relative;
    overflow: hidden;
    padding: 1.35rem 1.2rem 1.3rem;
    padding-top: 1.5rem;
    box-shadow: 0 6px 18px var(--shadow-color);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.how-it-works .step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--text-brand), var(--text-accent));
    opacity: 0.95;
}
.how-it-works .step:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px var(--shadow-color);
    border-color: var(--text-brand);
    background: var(--bg-card-hover);
}
.how-it-works .step h4 { font-size: 1.08rem; font-weight: 700; color: var(--text-primary); margin: 0 0 0.5rem; line-height: 1.3; letter-spacing: -0.01em; }
.how-it-works .step p { margin: 0; color: var(--text-secondary); font-size: 0.97rem; line-height: 1.58; }

/* Examples of Collaborations — distinct grid + cards (five items; not the same as “How it works”) */
.collaboration-types {
    padding: 2.75rem 1rem;
    background: transparent;
}
.collaboration-types .steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1120px;
    margin: 1.75rem auto 0;
}
@media (min-width: 600px) {
    .collaboration-types .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem;
    }
}
/* 6-column grid: row 1 = three equal cards; row 2 = two cards centered (no gap under column 3) */
@media (min-width: 992px) {
    .collaboration-types .steps {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 1.5rem;
    }
    .collaboration-types .step:nth-child(1) {
        grid-column: 1 / 3;
    }
    .collaboration-types .step:nth-child(2) {
        grid-column: 3 / 5;
    }
    .collaboration-types .step:nth-child(3) {
        grid-column: 5 / 7;
    }
    .collaboration-types .step:nth-child(4) {
        grid-column: 2 / 4;
    }
    .collaboration-types .step:nth-child(5) {
        grid-column: 4 / 6;
    }
}
.collaboration-types .step {
    position: relative;
    padding: 1.35rem 1.2rem 1.3rem;
    padding-top: 1.5rem;
    box-shadow: 0 6px 18px var(--shadow-color);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
    overflow: hidden;
}
.collaboration-types .step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--text-brand), var(--text-accent));
    opacity: 0.95;
}
.collaboration-types .step:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px var(--shadow-color);
    border-color: var(--text-brand);
    background: var(--bg-card-hover);
}
.collaboration-types .step h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.collaboration-types .step p {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.58;
    color: var(--text-secondary);
}

/* Platform Showcase */
.platform-showcase { padding: 3rem 1rem; background: transparent; }
.platform-showcase p.intro { text-align: center; color: var(--text-secondary); max-width: 600px; margin: 0.5rem auto 2rem; line-height: 1.55; }
.screenshots-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
@media (min-width: 768px) { .screenshots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .screenshots-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.screenshot-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    padding-top: 1.4rem;
    box-shadow: 0 6px 18px var(--shadow-color);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.screenshot-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--text-brand), var(--text-accent));
    opacity: 0.95;
    z-index: 1;
    pointer-events: none;
}
.screenshot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px var(--shadow-color);
    border-color: var(--text-brand);
    background: var(--bg-card-hover);
}
.screenshot-header { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.platform-icon { font-size: 1.2rem; line-height: 1; vertical-align: text-top; transform: translateY(-2px); }
.screenshot-card h3 { margin: 0; font-size: 1rem; color: var(--text-primary); font-weight: 600; }
.screenshot-placeholder { position: relative; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); border-radius: 12px; height: 200px; overflow: hidden; cursor: pointer; }
.screenshot-image { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; transition: transform 0.3s ease; }
.screenshot-card:hover .screenshot-image { transform: scale(1.05); }
.screenshot-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.7)); padding: 1rem; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.screenshot-card:hover .screenshot-overlay { opacity: 1; }
.screenshot-label { color: white; font-weight: 600; font-size: 0.9rem; }
[data-theme="dark"] .screenshot-placeholder {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

/* Narrow viewports: avoid heavy crop (cover) on wide dashboard shots — show full image scaled down */
@media (max-width: 767px) {
    .screenshot-placeholder {
        height: auto;
        min-height: 220px;
        max-height: none;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 0.35rem;
        -webkit-overflow-scrolling: touch;
    }
    .screenshot-image {
        position: static;
        width: 100%;
        height: auto;
        max-height: min(72vh, 420px);
        object-fit: contain;
        object-position: top center;
    }
    .screenshot-card {
        padding: 1rem 0.85rem 1.1rem;
        padding-top: 1.15rem;
    }
    .screenshot-header {
        margin-bottom: 0.75rem;
    }
    .testimonial-photo {
        width: 128px;
        height: 128px;
        border-width: 2px;
    }
}

/* Screenshot Modal */
.screenshot-modal { 
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.9); 
    align-items: center; 
    justify-content: center; 
    padding: 2rem;
}
.screenshot-modal-content { 
    position: relative; 
    width: min(96vw, 1200px);
    max-width: 96vw; 
    max-height: 92vh; 
    background: var(--bg-modal); 
    border-radius: 16px; 
    padding: 1.5rem; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.screenshot-modal .close { 
    position: absolute; 
    top: 1rem; 
    right: 1.5rem; 
    color: var(--text-primary); 
    font-size: 2rem; 
    font-weight: bold; 
    cursor: pointer; 
    z-index: 1001;
}
.screenshot-modal .close:hover { color: var(--text-brand); }
.screenshot-modal h2 { 
    margin: 0 0 1rem 0; 
    color: var(--text-primary); 
    font-size: 1.5rem; 
    text-align: center;
    flex-shrink: 0;
}
/* Flex: arrows sit beside the image (never on top); hidden nav lets the image grow full width */
.screenshot-container { 
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 0;
    flex: 1 1 auto;
    max-height: min(72vh, 800px);
}
.screenshot-image-wrap {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}
.screenshot-full-image { 
    display: block;
    max-width: 100%; 
    width: auto;
    height: auto;
    max-height: min(72vh, 800px); 
    object-fit: contain; 
    border-radius: 8px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.screenshot-nav {
    position: static;
    transform: none;
    align-self: center;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}
.screenshot-nav:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.06);
}
.screenshot-counter {
    text-align: center;
    margin-top: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .screenshot-modal {
        padding: 0.5rem;
        align-items: center;
        justify-content: center;
        padding-top: max(0.5rem, env(safe-area-inset-top));
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    }
    .screenshot-modal-content {
        width: 100%;
        max-width: 100%;
        max-height: min(96vh, 100%);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 2.75rem 0.65rem 0.85rem;
        border-radius: 12px;
    }
    .screenshot-modal h2 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
        padding: 0 2.25rem;
        line-height: 1.25;
    }
    .screenshot-modal .close {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.65rem;
    }
    .screenshot-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        max-height: none;
        gap: 0.5rem 0.75rem;
        align-content: start;
        flex: none;
    }
    .screenshot-image-wrap {
        grid-column: 1 / -1;
        grid-row: 1;
        max-height: min(78vh, 820px);
        flex: initial;
    }
    .screenshot-full-image {
        max-height: min(78vh, 820px);
    }
    .screenshot-nav-left {
        grid-column: 1;
        grid-row: 2;
        justify-self: end;
        margin-right: 0.35rem;
    }
    .screenshot-nav-right {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        margin-left: 0.35rem;
    }
    .screenshot-nav {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    .screenshot-counter {
        margin-top: 0.35rem;
        font-size: 0.85rem;
    }
}

/* FAQ Section */
.faq { padding: 2.75rem 1rem; background: transparent; }
.faq p.intro { text-align: center; color: var(--text-secondary); max-width: 600px; margin: 0.5rem auto 2rem; line-height: 1.55; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { 
    background: var(--bg-card); 
    border: 1px solid var(--border-color); 
    border-radius: 14px; 
    margin-bottom: 1rem; 
    overflow: hidden;
    box-shadow: 0 6px 18px var(--shadow-color);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.faq-item:hover { 
    border-color: var(--text-brand); 
    box-shadow: 0 10px 24px var(--shadow-color);
    transform: translateY(-2px);
}
.faq-item.active { 
    border-color: var(--text-brand); 
    box-shadow: 0 12px 28px var(--shadow-accent); 
}
.faq-question { 
    padding: 1.25rem; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    transition: background-color 0.2s ease;
}
.faq-question:hover { background-color: var(--faq-bg); }
.faq-question h3 { 
    margin: 0; 
    font-size: 1.1rem; 
    color: var(--text-primary); 
    font-weight: 600;
}
.faq-icon { 
    font-size: 1.5rem; 
    color: var(--text-brand); 
    font-weight: bold;
    transition: transform 0.3s ease;
    min-width: 24px;
    text-align: center;
}
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.3s ease;
    background-color: var(--faq-bg);
}
.faq-answer p { 
    margin: 0; 
    padding: 1rem 1.25rem 1.25rem; 
    color: var(--text-secondary); 
    line-height: 1.6;
}

/* Testimonials (below FAQ) */
.testimonials {
    padding: 2.75rem 1rem 3rem;
    background: transparent;
}
.testimonials .intro {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.55;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}
.testimonial-card {
    position: relative;
    overflow: hidden;
    margin: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.35rem 1.25rem 1.3rem;
    padding-top: 1.5rem;
    box-shadow: 0 6px 18px var(--shadow-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--text-brand), var(--text-accent));
    opacity: 0.95;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px var(--shadow-color);
    border-color: var(--text-brand);
    background: var(--bg-card-hover);
}
.testimonial-media {
    flex-shrink: 0;
    margin-bottom: 1rem;
}
.testimonial-photo {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-accent);
    box-shadow: 0 4px 14px var(--shadow-color);
}
.testimonial-body {
    margin: 0;
    padding: 0;
    border: none;
    width: 100%;
}
.testimonial-quote {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
    font-style: italic;
}
.testimonial-quote::before {
    content: "\201C";
    color: var(--text-brand);
    font-weight: 700;
    margin-right: 0.15em;
}
.testimonial-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}
.testimonial-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    font-style: normal;
}
.testimonial-role {
    font-size: 0.88rem;
    color: var(--text-tertiary);
    font-style: normal;
}
.testimonial-badge {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-style: normal;
}
.testimonial-badge--influencer {
    background: rgba(31, 66, 207, 0.12);
    color: var(--text-brand);
    border: 1px solid var(--border-accent);
}
.testimonial-badge--brand {
    background: rgba(24, 161, 220, 0.14);
    color: var(--text-accent);
    border: 1px solid rgba(24, 161, 220, 0.35);
}
[data-theme="dark"] .testimonial-badge--influencer {
    background: rgba(96, 165, 250, 0.15);
}
[data-theme="dark"] .testimonial-badge--brand {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(96, 165, 250, 0.35);
}

/* Role cards and hover highlight */
.role-cards { padding: 2.75rem 1rem; background: transparent; }

/* Pricing modal cosmetics (layout lives in modal.css) */
.pricing-toggle { display: flex; gap: 0.5rem; margin: 0.5rem 0 1rem; flex-wrap: wrap; justify-content: center; }
.toggle-btn { background: var(--tier-bg); color: var(--text-brand); border: 1px solid var(--border-accent); padding: 0.5rem 0.9rem; border-radius: 8px; cursor: pointer; }
.toggle-btn.active { background: var(--tier-active); color: #fff; border-color: var(--tier-active); }
.role-cards p.sub { text-align: center; color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.55; }
.role-cards .box-container { gap: 1.25rem; padding-top: 1rem; padding-bottom: 1rem; }
.role-cards .box {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
    background: var(--bg-card);
    box-shadow: 0 6px 18px var(--shadow-color);
}
.role-cards .box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--text-brand), var(--text-accent));
    opacity: 0.95;
}
.role-cards .box h2 { color: var(--text-primary); }
.role-cards .box button { border-radius: 10px; }
.role-cards .box:hover {
    transform: translateY(-4px);
    border-color: var(--text-brand);
    box-shadow: 0 14px 28px var(--shadow-color);
    background: var(--bg-card-hover);
}

/* Compact pricing lines */
.pricing-lines-box { border: 1px solid var(--border-color); background: var(--bg-card); border-radius: 12px; padding: 12px 14px; box-shadow: 0 6px 16px var(--shadow-color); }
.pricing-lines { display: grid; gap: 6px; }
.pricing-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.label-group { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pill-inline { white-space: nowrap; }
.pricing-line .label { color: var(--text-secondary); font-weight: 600; }
.pricing-line .values { color: var(--text-primary); font-weight: 700; }
.pricing-sub { color: var(--text-tertiary); font-size: 0.9rem; margin-top: -3px; }
.pricing-savings { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(16, 185, 129, 0.12); color: #0f6d3d; border: 1px solid rgba(16, 185, 129, 0.35); font-weight: 700; font-size: 0.8rem; width: fit-content; }
.pill-inline { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #16a34a; color: #ffffff; border: none; font-weight: 800; font-size: 0.78rem; margin-left: 6px; vertical-align: middle; box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35); }

@media (max-width: 767px) {
    .pricing-lines-box {
        padding: 10px 12px;
    }

    .pricing-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .pricing-line .values {
        font-size: 0.95rem;
    }

    .label-group {
        white-space: normal;
    }
}

/* Enhanced hover effects for buttons */
.role-cards .box button:hover {
    background: var(--text-brand);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-accent);
}

.cta-buttons .primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-accent);
}

.cta-buttons .secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-color);
    border-color: var(--text-brand);
}

/* Footer */
.landing-footer {
    background: transparent;
    padding: 2rem 1rem 1rem;
    margin-top: 3rem;
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto 0.75rem;
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: saturate(0.9);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.social-icon:hover {
    transform: translateY(-1px) scale(1.04);
    opacity: 0.9;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.footer-link {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.footer-link:hover {
    color: var(--text-brand);
    text-decoration: underline;
}

/* Modal links in forms */
.modal-link {
    color: var(--text-brand);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.footer-email {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

/* Modal and form styling with CSS variables */
.modal-content {
    background: var(--bg-modal);
    border: 1px solid var(--border-color);
}

.modal-content h2 {
    color: var(--text-primary, #333);
}

[data-theme="dark"] .modal-content h2 {
    color: #fff;
}

.modal-content label {
    color: var(--text-primary);
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    background: var(--bg-form);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.modal-content button {
    background: var(--text-brand);
    color: #fff;
}

.tier-card {
    background: var(--tier-bg);
    border: 1px solid var(--border-color);
}

.tier-card h4 {
    color: var(--text-primary);
}

.tier-card p {
    color: var(--text-secondary);
}

.error-container {
    background: var(--bg-form);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-content > * {
        order: 2;
    }
    
    .footer-email {
        order: 1;
        margin-bottom: 0.5rem;
    }
}

/* Mobile responsiveness fixes */
@media (max-width: 426px) {
    /* Override the base button styles that push buttons to the right */
    .home-header #pricing-btn {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin: 0.2rem auto !important;
    }
    
    .home-header #signin-btn {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin: 0.2rem auto !important;
    }
    
    /* Fix content centering */
    body.landing {
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix main container centering */
    main {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    /* Fix role cards vertical alignment */
    .role-cards .box-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }
    
    .role-cards .box {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Ensure all content is properly centered */
    .landing-hero,
    .benefits,
    .how-it-works,
    .collaboration-types,
    .platform-showcase,
    .faq,
    .testimonials,
    .role-cards {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Fix hero text centering */
    .landing-hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .landing-hero p.subtitle {
        font-size: 1rem;
    }
    
    /* Fix CTA buttons on mobile */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .cta-buttons .primary,
    .cta-buttons .secondary {
        width: 100%;
        max-width: 280px;
    }
    
    /* Mobile header layout: logo on first row, actions beneath */
    .home-header {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 0.4rem 0.5rem;
        box-sizing: border-box;
        min-height: 64px;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.4rem !important;
        flex-wrap: wrap !important;
    }
    
    .header-logo {
        display: flex;
        align-items: center !important;
        gap: 0.5rem;
        margin-bottom: 0.25rem;
        width: 100%;
        justify-content: center;
        order: 1 !important;
        flex: 0 0 100% !important;
    }
    
    .header-logo h2 {
        font-size: 0.95rem;
        white-space: nowrap;
    }
    
    .header-logo-img {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }
    
    /* Actions: pricing, dark mode, and sign in - same row & shape */
    .home-header #pricing-btn,
    .home-header #signin-btn,
    .home-header .dark-mode-toggle,
    .home-header #dark-mode-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 34px !important;
        width: 88px !important;
        padding: 0 0.5rem !important;
        font-size: 0.78rem !important;
        line-height: 1 !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
        margin: 0 4px !important;
        order: 2 !important;
        flex: 0 0 auto !important;
    }

    /* Unified visual style */
    .home-header #pricing-btn,
    .home-header #signin-btn,
    .home-header .dark-mode-toggle,
    .home-header #dark-mode-btn {
        background: rgba(255,255,255,0.15) !important;
        border: 1px solid rgba(255,255,255,0.25) !important;
        color: #fff !important;
    }

    /* Ensure dark mode button doesn't float above due to external styles */
    .home-header #dark-mode-btn {
        position: relative !important;
        z-index: 1 !important;
    }

    /* Ensure logo is centered on its own row above actions */
    .header-logo {
        flex: 0 0 100% !important;
        margin: 0 auto 0.25rem !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Fix trust bar on mobile */
    .trust-bar {
        flex-direction: column;
        align-items: stretch;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        gap: 0.5rem;
        padding: 0 0.25rem;
    }

    .trust-bar span {
        justify-content: center;
        text-align: center;
        font-size: 0.8rem;
        padding: 0.45rem 0.65rem;
        line-height: 1.35;
    }
    
    /* Fix features grid on mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    /* Fix steps on mobile */
    .steps {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .collaboration-types .steps {
        gap: 1rem;
        margin-top: 1.35rem;
    }

    .collaboration-types .step {
        padding: 1.15rem 1rem 1.1rem;
        padding-top: 1.35rem;
    }

    .benefits h2::after,
    .how-it-works h2::after,
    .platform-showcase h2::after,
    .faq h2::after,
    .testimonials h2::after,
    .role-cards h2::after,
    .collaboration-types h2::after {
        margin-top: 0.65rem;
    }
    
    /* Fix screenshots grid on mobile */
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Fix FAQ on mobile */
    .faq-item {
        margin-bottom: 0.75rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}


