/* ============================================
   PROTOTYPE.CSS — Research V2 Design System
   Colours by meaning:
     Studies = Blue #05ADE6
     Projects = Amber #E19F1E
     Insights = Magenta #D82650
     AI = Purple #6940A5
     Participants = Orange #D94F0F
   ============================================ */

/* --- CSS Custom Properties (prototype scope) --- */
.v2-body {
    --brand-purple: #6940A5;
    --brand-magenta: #D82650;
    --brand-blue: #05ADE6;
    --brand-amber: #E19F1E;
    --brand-orange: #D94F0F;
    --color-studies: #05ADE6;
    --color-projects: #E19F1E;
    --color-insights: #D82650;
    --color-ai: #6940A5;
    --color-participants: #D94F0F;
    --brand-gradient: linear-gradient(135deg, #D82650 0%, #6940A5 50%, #05ADE6 100%);
    --brand-gradient-subtle: linear-gradient(135deg, rgba(216,38,80,0.08) 0%, rgba(105,64,165,0.08) 50%, rgba(5,173,230,0.08) 100%);
    --dark-bg: #0f0f14;
    --dark-surface: #1a1a24;
    --dark-border: #2a2a35;
    --text-white: #f0f0f5;
    --text-muted: #9999aa;
    --text-dim: #666678;
}

.v2-body {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

/* ============================================
   1. HERO — Bigger, Bolder, Animated
   ============================================ */

.v2-hero {
    position: relative;
    background: var(--dark-bg);
    color: var(--text-white);
    padding: 6rem 2rem 5rem;
    overflow: hidden;
    height: 560px;
    display: flex;
    align-items: center;
}

.v2-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(5,173,230,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(105,64,165,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 50% 20%, rgba(216,38,80,0.08) 0%, transparent 60%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes heroGlow {
    0% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.8; transform: scale(1.02); }
}

.v2-hero .section-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.v2-hero-content {
    max-width: 560px;
    width: 100%;
}

.v2-hero .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-blue);
    margin-bottom: 1.5rem;
}

.v2-hero .hero-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brand-blue);
}

.v2-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    min-height: 5.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.v2-hero h1 .gradient-text {
    background: linear-gradient(135deg, #05ADE6 0%, #6940A5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding-bottom: 4px;
}

.v2-hero .hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.v2-hero .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.v2-hero .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.v2-hero .hero-mockup {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 16/10;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.4),
        0 0 0 1px rgba(255,255,255,0.05) inset;
    position: relative;
}

.v2-hero .hero-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--dark-border);
}

.v2-hero .hero-mockup-dots {
    position: absolute;
    top: 10px;
    left: 14px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.v2-hero .hero-mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.v2-hero .hero-mockup-dots span:nth-child(1) { background: #ff5f57; }
.v2-hero .hero-mockup-dots span:nth-child(2) { background: #febc2e; }
.v2-hero .hero-mockup-dots span:nth-child(3) { background: #28c840; }

.v2-hero .hero-mockup-content {
    padding: 44px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v2-hero .mockup-row {
    display: flex;
    gap: 8px;
}

.v2-hero .mockup-block {
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

.v2-hero .mockup-block-lg { flex: 1; height: 60px; }
.v2-hero .mockup-block-md { flex: 1; height: 40px; }
.v2-hero .mockup-block-sm { width: 80px; height: 40px; }

.v2-hero .mockup-block.accent-purple { border-color: rgba(105,64,165,0.3); background: rgba(105,64,165,0.1); }
.v2-hero .mockup-block.accent-blue { border-color: rgba(5,173,230,0.3); background: rgba(5,173,230,0.1); }
.v2-hero .mockup-block.accent-magenta { border-color: rgba(216,38,80,0.3); background: rgba(216,38,80,0.1); }

.v2-hero .mockup-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
}
.v2-hero .mockup-line.w60 { width: 60%; }
.v2-hero .mockup-line.w80 { width: 80%; }
.v2-hero .mockup-line.w40 { width: 40%; }

/* Floating squid on the hero */
.v2-hero .hero-squid-float {
    position: absolute;
    right: -30px;
    bottom: -20px;
    width: 120px;
    opacity: 0.15;
    animation: squidFloat 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes squidFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}


/* ============================================
   2. TRUST BADGES STRIP — Light
   ============================================ */

.v2-trust-strip {
    padding: 2.5rem 2rem;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.v2-trust-strip .section-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.v2-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
}

.v2-trust-badge .badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v2-trust-badge .badge-icon svg {
    width: 20px;
    height: 20px;
}

/* GDPR = purple (privacy/security) */
.v2-trust-badge:nth-child(1) .badge-icon {
    background: rgba(105,64,165,0.1);
    color: var(--brand-purple);
}
/* UK & EU Hosted = orange (participants/UK) */
.v2-trust-badge:nth-child(2) .badge-icon {
    background: rgba(217,79,15,0.1);
    color: var(--brand-orange);
}
/* No Limits on Studies = blue (studies) */
.v2-trust-badge:nth-child(3) .badge-icon {
    background: rgba(5,173,230,0.1);
    color: var(--brand-blue);
}
/* Zero Response Caps = amber (projects) */
.v2-trust-badge:nth-child(4) .badge-icon {
    background: rgba(225,159,30,0.1);
    color: var(--brand-amber);
}


/* ============================================
   3. STATS SECTION — Light with tile
   ============================================ */

.v2-stats {
    background-color: var(--gray-100);
    background-image: url('../static/bg-tile.png');
    background-repeat: repeat;
    background-size: 200px;
    background-position: center;
    padding: 4rem 2rem;
    overflow: hidden;
    position: relative;
}

.v2-stats .section-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.v2-stat {
    text-align: center;
    position: relative;
}

.v2-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

.v2-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #05ADE6 0%, #6940A5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v2-stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}


/* ============================================
   4. STUDY TYPES — Tabbed Interface
   ============================================ */

.v2-study-types {
    padding: 5rem 2rem;
    background: var(--white);
}

.v2-study-types .section-container {
    max-width: 1100px;
}

.v2-study-types .section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.v2-study-types .section-heading h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.v2-study-types .section-heading p {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto;
}

/* Tab buttons */
.v2-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0;
}

.v2-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.v2-tab-btn:hover {
    color: var(--gray-700);
}

.v2-tab-btn.active {
    color: var(--color-studies);
    border-bottom-color: var(--color-studies);
}

.v2-tab-btn:focus-visible {
    outline: 2px solid var(--color-studies);
    outline-offset: -2px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.v2-tab-btn svg,
.v2-tab-btn img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

/* Tab content */
.v2-tab-panels {
    position: relative;
}

.v2-tab-panel {
    display: none;
    animation: tabFadeIn 0.3s ease;
}

.v2-tab-panel.active {
    display: block;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Study panel card */
.v2-study-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-studies);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.v2-study-card-header {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.v2-study-card-header .card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v2-study-card-header .card-icon img {
    width: 72px;
    height: 72px;
}

.v2-study-card-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.v2-study-card-header p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.v2-study-card-header .header-badge {
    margin-left: auto;
    flex-shrink: 0;
}

.v2-study-card-header .header-badge .feature-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.v2-study-card-body {
    padding: 2rem 2.5rem;
}

.v2-study-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.v2-study-card-grid > div {
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: box-shadow 0.2s, transform 0.2s;
}

.v2-study-card-grid > div:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.v2-study-card-grid h3 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-studies);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(5,173,230,0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.v2-study-card-grid h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--color-studies);
    flex-shrink: 0;
}

.v2-study-card-grid p,
.v2-study-card-grid ul {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
}

.v2-study-card-grid ul {
    list-style: none;
    padding: 0;
}

.v2-study-card-grid ul li {
    padding: 0.35rem 0 0.35rem 1.25rem;
    position: relative;
}

.v2-study-card-grid ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* Page-specific li colours */
body[data-page="research"] .v2-study-card-grid ul li::before {
    background: var(--color-studies);
}

.v2-study-card-grid ul li:nth-child(2)::before { background: var(--color-ai); }
.v2-study-card-grid ul li:nth-child(3)::before { background: var(--color-insights); }
.v2-study-card-grid ul li:nth-child(4)::before { background: var(--color-projects); }

/* Block categories grid inside tab panel */
.v2-block-categories {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.v2-block-categories-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-studies);
    margin-bottom: 1rem;
}

.v2-block-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.v2-block-cat {
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: box-shadow 0.2s, transform 0.2s;
}

.v2-block-cat:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.v2-block-cat h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-studies);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(5,173,230,0.12);
}

.v2-block-cat ul {
    list-style: none;
    padding: 0;
}

.v2-block-cat ul li {
    font-size: 0.8rem;
    color: var(--gray-700);
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.v2-block-cat ul li img {
    flex-shrink: 0;
    opacity: 0.85;
}

/* Flow callout inside tab */
.v2-flow-callout {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(5,173,230,0.04);
    border: 1px solid rgba(5,173,230,0.12);
    border-radius: var(--radius);
}

.v2-flow-callout h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-studies);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.v2-flow-modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.v2-flow-mode {
    padding: 0.75rem;
    border-radius: var(--radius);
    background: rgba(5,173,230,0.04);
    border: 1px solid rgba(5,173,230,0.08);
    transition: background 0.2s;
}

.v2-flow-mode:hover {
    background: rgba(5,173,230,0.08);
}

.v2-flow-mode h5 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.v2-flow-mode p {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Participant flow callout */
.v2-participant-flow {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(217,79,15,0.04);
    border: 1px solid rgba(217,79,15,0.12);
    border-radius: var(--radius);
}

.v2-participant-flow h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-participants);
    margin-bottom: 0.5rem;
}

.v2-participant-flow p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}


/* ============================================
   5. CALLOUT STRIP — Light
   ============================================ */

.v2-callout {
    background: var(--gray-50);
    color: var(--gray-700);
    padding: 4rem 2rem;
}

.v2-callout .section-container {
    text-align: center;
}

.v2-callout h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.v2-callout > .section-container > p {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto 2rem;
}

.v2-callout-items {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.v2-callout-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.v2-callout-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-studies);
}


/* ============================================
   6. TESTIMONIALS
   ============================================ */

.v2-testimonials {
    padding: 5rem 2rem;
    background: var(--white);
}

.v2-testimonials .section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.v2-testimonials .section-heading h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.v2-testimonials .section-heading p {
    color: var(--gray-500);
    font-size: 1.05rem;
}

.v2-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.v2-testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}

.v2-testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.v2-testimonial-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 3px;
    border-radius: 2px;
}

.v2-testimonial-card:nth-child(1)::before { background: var(--color-studies); }
.v2-testimonial-card:nth-child(2)::before { background: var(--color-projects); }
.v2-testimonial-card:nth-child(3)::before { background: var(--color-insights); }

.v2-testimonial-quote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.v2-testimonial-metric {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.v2-testimonial-card:nth-child(1) .v2-testimonial-metric {
    background: rgba(5,173,230,0.1);
    color: var(--color-studies);
}
.v2-testimonial-card:nth-child(2) .v2-testimonial-metric {
    background: rgba(225,159,30,0.1);
    color: var(--color-projects);
}
.v2-testimonial-card:nth-child(3) .v2-testimonial-metric {
    background: rgba(216,38,80,0.1);
    color: var(--color-insights);
}

.v2-testimonial-author {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.9rem;
}

.v2-testimonial-role {
    color: var(--gray-500);
    font-size: 0.85rem;
}


/* ============================================
   7. FAQ — Dark Background
   ============================================ */

.v2-faq {
    background: var(--dark-bg);
    padding: 5rem 2rem;
}

.v2-faq .section-container {
    max-width: 720px;
}

.v2-faq h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 0.75rem;
}

.v2-faq > .section-container > p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.v2-faq .faq-item {
    border-bottom: 1px solid var(--dark-border);
}

.v2-faq .faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.v2-faq .faq-question .faq-question-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
}

.v2-faq .faq-question .faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-studies);
    transition: transform 0.3s ease;
}

.v2-faq .faq-question:focus-visible {
    outline: 2px solid var(--color-studies);
    outline-offset: -2px;
    border-radius: var(--radius);
}

.v2-faq .faq-item.open .faq-question .faq-icon {
    transform: rotate(45deg);
}

.v2-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.v2-faq .faq-item.open .faq-answer {
    max-height: 300px;
}

.v2-faq .faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    padding-bottom: 1.25rem;
}

/* Light FAQ variant */
.v2-faq-light {
    background: var(--white);
    padding: 5rem 2rem;
    border-top: 3px solid var(--brand-purple);
}

.v2-faq-light .section-container {
    max-width: 720px;
}

.v2-faq-light h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 0.75rem;
}

.v2-faq-light > .section-container > p {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 3rem;
}

.v2-faq-light .faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.v2-faq-light .faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.v2-faq-light .faq-question .faq-question-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
}

.v2-faq-light .faq-question .faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--brand-purple);
    transition: transform 0.3s ease;
}

.v2-faq-light .faq-question:focus-visible {
    outline: 2px solid var(--brand-purple);
    outline-offset: -2px;
    border-radius: var(--radius);
}

.v2-faq-light .faq-item.open .faq-question .faq-icon {
    transform: rotate(45deg);
}

.v2-faq-light .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.v2-faq-light .faq-item.open .faq-answer {
    max-height: 300px;
}

.v2-faq-light .faq-answer p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
    padding-bottom: 1.25rem;
}


/* ============================================
   8. CTA — Light
   ============================================ */

.v2-cta {
    background: var(--gray-50);
    color: var(--gray-700);
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.v2-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 30% 50%, rgba(5,173,230,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(105,64,165,0.06) 0%, transparent 70%);
    z-index: 0;
}

.v2-cta .section-container {
    position: relative;
    z-index: 1;
}

.v2-cta h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

.v2-cta p {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.v2-cta .cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}


/* ============================================
   9. SCROLL REVEAL ANIMATIONS
   ============================================ */

.v2-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.v2-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.v2-reveal-delay-1 { transition-delay: 0.1s; }
.v2-reveal-delay-2 { transition-delay: 0.2s; }
.v2-reveal-delay-3 { transition-delay: 0.3s; }


/* ============================================
   10. PAGE-SPECIFIC GRADIENT OVERRIDES
   ============================================ */

/* Participants page: orange gradient */
body[data-page="participants"] .v2-hero h1 .gradient-text {
    background: linear-gradient(135deg, #D94F0F 0%, #E19F1E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding-bottom: 4px;
}

body[data-page="participants"] .v2-hero::before {
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(217,79,15,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(225,159,30,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 50% 20%, rgba(105,64,165,0.08) 0%, transparent 60%);
}

body[data-page="participants"] .v2-cta::before {
    background: 
        radial-gradient(ellipse 60% 50% at 30% 50%, rgba(217,79,15,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(225,159,30,0.1) 0%, transparent 70%);
}

body[data-page="participants"] .v2-stat-number {
    background: linear-gradient(135deg, #D94F0F 0%, #E19F1E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Recruitment cards light variant */
.v2-body .recruitment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.v2-body .recruitment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.v2-body .recruitment-card:hover {
    border-color: rgba(217,79,15,0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.v2-body .recruitment-card .card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: rgba(217,79,15,0.1);
    border-radius: 12px;
}

.v2-body .recruitment-card .card-icon svg {
    width: 28px;
    height: 28px;
    color: #D94F0F;
}

.v2-body .recruitment-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.v2-body .recruitment-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Panel callout light variant */
.v2-body .panel-callout {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(217,79,15,0.04);
    border: 1px solid rgba(217,79,15,0.12);
    border-radius: var(--radius-lg);
}

.v2-body .panel-callout-header h3 {
    color: var(--gray-900);
}

.v2-body .panel-callout p {
    color: var(--gray-500);
}

.v2-body .panel-callout a {
    color: #8B6BC0;
}

.v2-body .panel-callout a:hover {
    color: #6940A5;
}

/* Squid Panel gradient variant */
.v2-body .squid-panel-gradient {
    background: linear-gradient(135deg, #6940A5 0%, #D82650 100%);
    border: none;
}

.v2-body .squid-panel-gradient .panel-callout-header h3 {
    color: var(--white);
}

.v2-body .squid-panel-gradient p {
    color: rgba(255,255,255,0.85);
}

.v2-body .squid-panel-gradient a {
    color: var(--white);
    text-decoration: underline;
}

.v2-body .squid-panel-gradient a:hover {
    color: rgba(255,255,255,0.9);
}

.v2-body .squid-panel-gradient .badge-soon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.v2-body .squid-panel-gradient .badge-free {
    background: var(--white);
    color: #6940A5;
}

.v2-body .squid-panel-gradient .btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
    margin-top: 1rem;
}

.v2-body .squid-panel-gradient .btn-outline:hover {
    background: var(--white);
    color: #6940A5;
    border-color: var(--white);
}

.v2-body .squid-panel-gradient .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.v2-body .squid-panel-gradient .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

/* Insights page: magenta gradient panel */
.v2-body .squid-insights-gradient {
    background: linear-gradient(135deg, #D82650 0%, #6940A5 100%);
    border: none;
    text-align: center;
}

.v2-body .squid-insights-gradient h3 {
    color: var(--white);
    font-size: 1.4rem;
}

.v2-body .squid-insights-gradient p {
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* Insights page stat colours */
body[data-page="insights"] .v2-stat-number {
    background: linear-gradient(135deg, #D82650 0%, #6940A5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Insights page step-flow accent */
body[data-page="insights"] .step-flow-item .step-number {
    background: linear-gradient(135deg, #D82650 0%, #6940A5 100%);
}

/* Insights comparison cards */
body[data-page="insights"] .comparison-card .comparison-label {
    background: rgba(216,38,80,0.1);
    color: var(--color-insights);
}

body[data-page="insights"] .comparison-card ul li::before {
    background: rgba(216,38,80,0.1);
}

body[data-page="insights"] .comparison-card ul li::after {
    border-left-color: var(--color-insights);
    border-bottom-color: var(--color-insights);
}

/* AI on Your Terms — card styling */
body[data-page="insights"] .comparison-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
}

body[data-page="insights"] .comparison-card h3 {
    color: var(--gray-900);
}

body[data-page="insights"] .comparison-card p {
    color: var(--gray-500);
}

body[data-page="insights"] .comparison-card ul li {
    color: var(--gray-700);
}

body[data-page="insights"] .comparison-card ul li::before {
    background: rgba(216,38,80,0.1);
}

body[data-page="insights"] .comparison-card ul li::after {
    border-left-color: var(--color-insights);
    border-bottom-color: var(--color-insights);
}

body[data-page="insights"] .comparison-card .comparison-label {
    background: rgba(216,38,80,0.1);
    color: var(--color-insights);
}

body[data-page="insights"] .comparison-card.highlight {
    border: 2px solid rgba(216,38,80,0.2);
    box-shadow: var(--shadow-md);
}

body[data-page="insights"] .comparison-card:not(.highlight) {
    border: 2px solid rgba(216,38,80,0.2);
}

body[data-page="insights"] .comparison-card:hover {
    transform: none;
    box-shadow: none;
}

/* From Data to Decision — step styling */
body[data-page="insights"] .decision-step {
    background: var(--white);
    border: 1px solid var(--gray-200);
}

body[data-page="insights"] .decision-step:hover {
    border-color: rgba(216,38,80,0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

body[data-page="insights"] .decision-step h4 {
    color: var(--gray-900);
}

body[data-page="insights"] .decision-step p {
    color: var(--gray-500);
}

body[data-page="insights"] .decision-arrow {
    color: var(--color-insights);
}

/* Insights page: magenta gradient */
body[data-page="insights"] .v2-hero h1 .gradient-text {
    background: linear-gradient(135deg, #D82650 0%, #6940A5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding-bottom: 4px;
}

body[data-page="insights"] .v2-hero::before {
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(216,38,80,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(105,64,165,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 50% 20%, rgba(5,173,230,0.08) 0%, transparent 60%);
}

body[data-page="insights"] .v2-cta::before {
    background: 
        radial-gradient(ellipse 60% 50% at 30% 50%, rgba(216,38,80,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(105,64,165,0.1) 0%, transparent 70%);
}

body[data-page="insights"] .v2-stat-number {
    background: linear-gradient(135deg, #D82650 0%, #6940A5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Research page: blue gradient (already set in main styles) */

/* Pricing page: purple gradient */
body:not([data-page="research"]):not([data-page="participants"]):not([data-page="insights"]) .v2-hero h1 .gradient-text {
    background: linear-gradient(135deg, #6940A5 0%, #8B6BC0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding-bottom: 4px;
}

/* Hide screenshot placeholders */
.visual-placeholder {
    display: none !important;
}

.feature-detail-visual {
    display: none !important;
}

.study-panel-visual {
    display: none !important;
}

/* ============================================
   10b. TOOLS SECTION
   ============================================ */

.tools-section {
    padding: 5rem 2rem;
    background: var(--gray-50);
}

.tools-section .section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.tools-section .section-heading h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.tools-section .section-heading p {
    color: var(--gray-500);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tool-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.tool-card:hover .tool-image {
    opacity: 0.7;
}

.tool-card:hover .tool-overlay {
    opacity: 1;
}

.tool-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.tool-image img {
    width: 56px;
    height: 56px;
}

.tool-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-lg);
}

.tool-image-ai {
    background: rgba(105,64,165,0.08);
}

.tool-image-ai svg {
    width: 48px;
    height: 48px;
    color: var(--brand-purple);
}

.tool-image-rewards {
    background: rgba(225,159,30,0.08);
}

.tool-image-rewards svg {
    width: 48px;
    height: 48px;
    color: var(--brand-amber);
}

.tool-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.375rem;
    text-align: left;
}

.tool-card p {
    color: var(--gray-500);
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: left;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */

.why-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.why-section .section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.why-section .section-heading h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.why-section .section-heading p {
    color: var(--gray-500);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    text-align: left;
}

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.why-icon svg {
    width: 24px;
    height: 24px;
}

.why-icon-purple {
    background: rgba(105,64,165,0.1);
    color: var(--brand-purple);
}

.why-icon-blue {
    background: rgba(5,173,230,0.1);
    color: var(--brand-blue);
}

.why-icon-orange {
    background: rgba(217,79,15,0.1);
    color: var(--brand-orange);
}

.why-icon-magenta {
    background: rgba(216,38,80,0.1);
    color: var(--brand-magenta);
}

.why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.why-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
}


/* ============================================
   PILLAR CARDS — Homepage
   ============================================ */

.v2-body .pillar-cards {
    padding: 6rem 2rem;
    background: var(--white);
}

.v2-body .pillar-cards h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 0.75rem;
}

.v2-body .pillar-cards > .section-container > p {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
}

.v2-body .pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pillar-squid {
    display: none;
}

.pillar-squid img {
    opacity: 0.7;
}

.v2-body .pillar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.v2-body .pillar-card::before {
    display: none;
}

.v2-body .pillar-card:hover {
    border-color: var(--gray-300);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.v2-body .pillar-card .pillar-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: var(--gray-50);
    border-radius: 14px;
    border: 1px solid var(--gray-200);
}

.v2-body .pillar-card .pillar-icon img {
    width: 40px;
    height: 40px;
}

.v2-body .pillar-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.v2-body .pillar-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.v2-body .pillar-card .pillar-link {
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s;
}

.v2-body .pillar-participants { border-color: #D94F0F; }
.v2-body .pillar-participants .pillar-link { color: #D94F0F; }
.v2-body .pillar-participants:hover .pillar-link { color: #b3420d; }

.v2-body .pillar-research { border-color: #05ADE6; }
.v2-body .pillar-research .pillar-link { color: #05ADE6; }
.v2-body .pillar-research:hover .pillar-link { color: #0490c0; }

.v2-body .pillar-insights { border-color: #D82650; }
.v2-body .pillar-insights .pillar-link { color: #D82650; }
.v2-body .pillar-insights:hover .pillar-link { color: #b01e43; }

.v2-body .pillar-card:hover .pillar-link {
    gap: 0.75rem;
}


/* ============================================
   11. FLOATING SQUID — Page Edge
   ============================================ */

.v2-squid-peek {
    position: fixed;
    right: 20px;
    bottom: 40px;
    width: 80px;
    opacity: 0.15;
    z-index: 50;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(20px);
}

.v2-squid-peek.visible {
    opacity: 0.12;
    transform: translateX(0);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .v2-hero .section-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .v2-hero .hero-visual {
        order: -1;
    }

    .v2-hero .hero-mockup {
        max-width: 400px;
        margin: 0 auto;
    }

    .v2-stats .section-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .v2-body .pillar-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .pillar-squid {
        display: none;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 480px;
        margin: 0 auto;
    }

    .why-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .v2-body .recruitment-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 1.5rem auto 0;
    }

    .v2-stat:nth-child(2)::after {
        display: none;
    }

    .v2-block-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .v2-testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .v2-hero {
        padding: 4rem 2rem 3rem;
    }

    .v2-hero h1 {
        font-size: 2.25rem;
    }

    .v2-hero .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .v2-hero .hero-mockup {
        max-width: 320px;
    }

    .v2-trust-strip .section-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .v2-stats .section-container {
        grid-template-columns: 1fr;
    }

    .v2-stat::after {
        display: none !important;
    }

    .v2-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .v2-tabs::-webkit-scrollbar {
        display: none;
    }

    .v2-study-card-grid {
        grid-template-columns: 1fr;
    }

    .v2-block-grid {
        grid-template-columns: 1fr;
    }

    .v2-flow-modes {
        grid-template-columns: 1fr;
    }

    .v2-callout-items {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .v2-faq .section-container {
        max-width: 100%;
    }

    .v2-faq-light .section-container {
        max-width: 100%;
    }

    .v2-squid-peek {
        display: none;
    }
}
