/* ═══════════════════════════════════════════════════════════════
   ALPHAVAULT AI — INSTITUTIONAL TRACKER LANDING PAGE
   institutional-landing.css — Version Premium 2.0
   Gradient: Indigo/Cyan (#4f46e5 → #06b6d4)
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   GLOBAL OVERFLOW FIX
   ═══════════════════════════════════════════════════════════════ */
   html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION — .hero-it
   ═══════════════════════════════════════════════════════════════ */
.hero-it {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px 2rem;
    overflow: visible;
    background: linear-gradient(135deg,
        #0f172a 0%,
        #1e1b4b 20%,
        #0f172a 40%,
        #162032 60%,
        #1e1b4b 80%,
        #0f172a 100%);
    background-size: 400% 400%;
    animation: heroGradientIT 22s ease infinite;
}

@keyframes heroGradientIT {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Grid Pattern */
.hero-it::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(79, 70, 229, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    animation: gridPulseIT 12s ease-in-out infinite;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

@keyframes gridPulseIT {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 0.7; }
}

/* Orb 1 — Top Left (indigo) */
.hero-it::after {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    top: -10%; left: -5%;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(79, 70, 229, 0.65) 0%,
        rgba(124, 58, 237, 0.4) 35%,
        transparent 70%);
    filter: blur(130px);
    opacity: 0.6;
    animation: floatOrbIT1 28s ease-in-out infinite;
    mix-blend-mode: screen;
    z-index: 0;
}

@keyframes floatOrbIT1 {
    0%, 100% { transform: translate(0, 0) scale(1);           opacity: 0.6; }
    25%       { transform: translate(30px, -55px) scale(1.1); opacity: 0.8; }
    50%       { transform: translate(-20px, -80px) scale(0.95); opacity: 0.7; }
    75%       { transform: translate(40px, -30px) scale(1.05); opacity: 0.65; }
}

/* Orb 2 — Bottom Right (cyan) */
.hero-it .container-fluid::before {
    content: '';
    position: absolute;
    width: 540px; height: 540px;
    bottom: -15%; right: -8%;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(6, 182, 212, 0.6) 0%,
        rgba(8, 145, 178, 0.4) 35%,
        transparent 70%);
    filter: blur(120px);
    opacity: 0.6;
    animation: floatOrbIT2 32s ease-in-out infinite -6s;
    mix-blend-mode: screen;
    z-index: 0;
    pointer-events: none;
}

@keyframes floatOrbIT2 {
    0%, 100% { transform: translate(0, 0) scale(1);           opacity: 0.6; }
    25%       { transform: translate(-30px, 50px) scale(1.1);  opacity: 0.75; }
    50%       { transform: translate(20px, 75px) scale(0.95);  opacity: 0.65; }
    75%       { transform: translate(-40px, 30px) scale(1.05); opacity: 0.62; }
}

/* Orb 3 — Center (violet accent) */
.hero-it-content::after {
    content: '';
    position: absolute;
    width: 420px; height: 420px;
    top: 35%; left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(124, 58, 237, 0.2) 0%,
        transparent 70%);
    filter: blur(90px);
    opacity: 0.5;
    animation: floatOrbIT3 22s ease-in-out infinite -3s;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatOrbIT3 {
    0%, 100% { transform: translateX(-50%) scale(1);    opacity: 0.5; }
    50%       { transform: translateX(-50%) scale(1.15); opacity: 0.7; }
}

/* Container */
.hero-it .container-fluid {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
}

.hero-it-content {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    overflow: visible;
    position: relative;
}

/* ── IT Badge ─────────────────────────────────────────────────── */
.it-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow:
        0 8px 32px rgba(79, 70, 229, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.it-badge::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s;
}
.it-badge:hover::before { left: 100%; }

.it-badge i {
    font-size: 1.1rem;
    animation: badgePulseIT 3s ease-in-out infinite;
}

@keyframes badgePulseIT {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.15) rotate(8deg); opacity: 0.85; }
}

/* ── Hero H1 ──────────────────────────────────────────────────── */
.hero-it h1 {
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin: 0;
    letter-spacing: -0.03em;
    text-shadow:
        0 4px 20px rgba(0,0,0,0.5),
        0 0 60px rgba(79, 70, 229, 0.3);
}

/* ── Gradient Text ────────────────────────────────────────────── */
.highlight-gradient-it {
    background: linear-gradient(135deg,
        #818cf8 0%,
        #6ee7f7 25%,
        #38bdf8 50%,
        #a78bfa 75%,
        #c084fc 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShineIT 8s linear infinite;
    filter: drop-shadow(0 0 40px rgba(79, 70, 229, 0.5));
    display: inline-block;
}

@keyframes gradientShineIT {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.gradient-text-it {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Hero Subtitle ────────────────────────────────────────────── */
.hero-it p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin: 0;
    max-width: 800px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    font-weight: 400;
}

/* ── CTA Button ───────────────────────────────────────────────── */
.btn-hero-primary-it {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    background-size: 200% auto;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 12px 40px rgba(79, 70, 229, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary-it::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.btn-hero-primary-it:hover::before { left: 100%; }

.btn-hero-primary-it:hover {
    transform: translateY(-3px) scale(1.02);
    background-position: right center;
    box-shadow:
        0 16px 56px rgba(6, 182, 212, 0.5),
        0 0 60px rgba(79, 70, 229, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-hero-primary-it:active { transform: translateY(-1px) scale(0.98); }
.btn-hero-primary-it i      { transition: transform 0.3s; font-size: 1.2rem; }
.btn-hero-primary-it:hover i { transform: translateX(4px); }

/* ── Stats Bar ────────────────────────────────────────────────── */
.hero-stats-bar-it {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 0.75rem 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stat-it { text-align: center; padding: 0.5rem 1.5rem; }

.hero-stat-value-it {
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #818cf8, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label-it {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stat-divider-it {
    width: 1px; height: 40px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION TAG & UTILITIES
   ═══════════════════════════════════════════════════════════════ */
.section-tag-it {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg,
        rgba(79, 70, 229, 0.1),
        rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(79, 70, 229, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4f46e5;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-tag-it-white {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS PADDING
   ═══════════════════════════════════════════════════════════════ */
.features-section,
.analytics-section-it,
.demo-it,
.cta-final-it {
    padding: 5rem 1rem;
    margin: 0;
    min-height: auto;
}

/* ═══════════════════════════════════════════════════════════════
   PATTERNS GRID — 6 AI DETECTION PATTERNS
   ═══════════════════════════════════════════════════════════════ */
.patterns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

.pattern-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.pattern-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4, #7c3aed);
}

.pattern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(79, 70, 229, 0.2);
}

.pattern-card.pattern-high:hover  { border-color: rgba(239, 68, 68, 0.4); }
.pattern-card.pattern-medium:hover { border-color: rgba(79, 70, 229, 0.4); }
.pattern-card.pattern-low:hover   { border-color: rgba(6, 182, 212, 0.4); }

/* Severity Badge */
.pattern-severity-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.severity-high   { background: rgba(239,68,68,0.1); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.severity-medium { background: rgba(79,70,229,0.1); color: #4f46e5; border: 1px solid rgba(79,70,229,0.3); }
.severity-low    { background: rgba(6,182,212,0.1); color: #06b6d4; border: 1px solid rgba(6,182,212,0.3); }

.pattern-icon {
    width: 68px; height: 68px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(79,70,229,0.25);
    transition: all 0.3s ease;
}

.pattern-card:hover .pattern-icon {
    transform: scale(1.1) rotate(-6deg);
}

.pattern-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    padding-right: 2rem;
}

.pattern-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
}

.pattern-threshold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(79,70,229,0.07);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #4f46e5;
    border: 1px solid rgba(79,70,229,0.15);
}

.pattern-threshold i { font-size: 0.7rem; }

body.dark-mode .pattern-card {
    background: rgba(30,41,59,0.95);
    border-color: rgba(79,70,229,0.2);
}
body.dark-mode .pattern-card p { color: rgba(255,255,255,0.7); }

/* ── AI Score Card ────────────────────────────────────────────── */
.score-card-it {
    background: white;
    border-radius: 24px;
    padding: 2.75rem;
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.score-card-title-it {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.75rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.score-card-title-it i {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.score-grid-it {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.score-item-it {
    padding: 1.75rem;
    border-radius: 18px;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
}
.score-item-it:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.2);
}

.score-item-it.bullish { background: linear-gradient(135deg, #10b981, #059669); }
.score-item-it.neutral { background: linear-gradient(135deg, #f59e0b, #d97706); }
.score-item-it.bearish { background: linear-gradient(135deg, #ef4444, #dc2626); }

.score-range-it { font-size: 2rem; font-weight: 900; margin-bottom: 0.4rem; }
.score-label-it { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.4rem; letter-spacing: 1px; }
.score-desc-it  { font-size: 0.82rem; opacity: 0.92; }

body.dark-mode .score-card-it { background: rgba(30,41,59,0.95); }
body.dark-mode .score-card-title-it { color: white; }

/* ═══════════════════════════════════════════════════════════════
   ANALYTICS SECTION — DARK BACKGROUND
   ═══════════════════════════════════════════════════════════════ */
.analytics-section-it {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.analytics-section-it::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 50% 60% at 10% 40%,
            rgba(79,70,229,0.2) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 90% 60%,
            rgba(6,182,212,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.analytics-section-it .section-title { color: white; }
.analytics-section-it .section-description { color: rgba(255,255,255,0.8); }

.analytics-grid-it {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.analytics-card-it {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.analytics-card-it::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.analytics-card-it:hover::before { transform: scaleX(1); }
.analytics-card-it:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.1);
    border-color: rgba(79,70,229,0.4);
    box-shadow: 0 20px 48px rgba(79,70,229,0.2);
}

.analytics-icon-it {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

.analytics-card-it:hover .analytics-icon-it {
    transform: scale(1.1) rotate(-6deg);
}

.analytics-card-it h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
}

.analytics-card-it p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RISK METRICS GRID
   ═══════════════════════════════════════════════════════════════ */
.risk-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.risk-metric-card {
    background: white;
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.risk-metric-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
}

.risk-metric-card:hover {
    transform: translateY(-6px);
    border-color: rgba(79,70,229,0.2);
    box-shadow: 0 16px 40px rgba(79,70,229,0.15);
}

.risk-metric-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    margin: 0 auto 1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.risk-metric-card:hover .risk-metric-icon {
    transform: scale(1.1) rotate(-8deg);
}

.risk-metric-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.risk-metric-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.risk-metric-formula {
    font-family: 'Courier New', monospace;
    font-size: 0.72rem;
    background: rgba(79,70,229,0.06);
    color: #4f46e5;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid rgba(79,70,229,0.15);
    font-weight: 600;
}

body.dark-mode .risk-metric-card { background: rgba(30,41,59,0.95); }
body.dark-mode .risk-metric-name { color: white; }
body.dark-mode .risk-metric-desc { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════════════════════════
   DEMO SECTION — .demo-it
   ═══════════════════════════════════════════════════════════════ */
.demo-it {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 40%, #06b6d4 100%);
    position: relative;
    overflow: hidden;
}

.demo-it::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='2'/%3E%3Ccircle cx='0' cy='0' r='2'/%3E%3Ccircle cx='80' cy='0' r='2'/%3E%3Ccircle cx='0' cy='80' r='2'/%3E%3Ccircle cx='80' cy='80' r='2'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

/* Browser Chrome */
.browser-chrome-it {
    background: linear-gradient(180deg, #e5e7eb 0%, #d1d5db 100%);
    padding: 12px 16px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chrome-dots-it { display: flex; gap: 6px; }
.chrome-dots-it .dot {
    width: 12px; height: 12px;
    border-radius: 50%;
}
.chrome-dots-it .dot.red    { background: #ef4444; }
.chrome-dots-it .dot.yellow { background: #f59e0b; }
.chrome-dots-it .dot.green  { background: #10b981; }

.chrome-title-it {
    flex: 1;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
}

/* Demo Wrapper */
.demo-wrapper-it {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.demo-body-it {
    padding: 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* Institution Header */
.demo-institution-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    border-radius: 16px;
    margin-bottom: 1.75rem;
    color: white;
    flex-wrap: wrap;
    gap: 1rem;
}

.demo-inst-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.demo-inst-logo {
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.3);
}

.demo-inst-name {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.demo-inst-meta {
    font-size: 0.8rem;
    opacity: 0.85;
    font-weight: 500;
}

.demo-alphy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(16,185,129,0.9);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 800;
    border: 2px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 16px rgba(16,185,129,0.4);
    flex-shrink: 0;
}

/* KPI Row */
.demo-kpi-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.demo-kpi {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.demo-kpi:hover { background: rgba(79,70,229,0.05); transform: translateY(-2px); }

.demo-kpi-label {
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.demo-kpi-value {
    font-size: 1.25rem;
    font-weight: 900;
    color: #1e293b;
}

.demo-kpi-value.blue   { color: #4f46e5; }
.demo-kpi-value.purple { color: #7c3aed; }
.demo-kpi-value.green  { color: #10b981; }
.demo-kpi-value.cyan   { color: #06b6d4; }
.demo-kpi-value.gold   { color: #f59e0b; }

/* Patterns Section */
.demo-patterns-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}

.demo-section-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-section-title i {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.demo-patterns-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.demo-pattern-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    flex-wrap: wrap;
}

.demo-pattern-item.high   { background: rgba(239,68,68,0.05); border-left: 3px solid #ef4444; }
.demo-pattern-item.medium { background: rgba(79,70,229,0.05); border-left: 3px solid #4f46e5; }
.demo-pattern-item.low    { background: rgba(6,182,212,0.05);  border-left: 3px solid #06b6d4; }

.demo-pattern-badge {
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.demo-pattern-badge.high   { background: rgba(239,68,68,0.1); color: #ef4444; }
.demo-pattern-badge.medium { background: rgba(79,70,229,0.1); color: #4f46e5; }
.demo-pattern-badge.low    { background: rgba(6,182,212,0.1);  color: #06b6d4; }

.demo-pattern-name   { font-size: 0.875rem; font-weight: 700; color: #1e293b; flex: 1; min-width: 120px; }
.demo-pattern-detail { font-size: 0.775rem; color: #64748b; }

/* ── Holdings Table ──────────────────────────────────────────── */
.demo-holdings-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    overflow-x: auto;
}

.demo-holdings-table {
    width: 100%;
    min-width: 600px;
}

.demo-holding-row {
    display: grid;
    grid-template-columns: 2.4fr 1.2fr 1.2fr 1.2fr 0.8fr 1fr;
    gap: 0.5rem;
    padding: 0.7rem 0.5rem;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.8rem;
}

.demo-holding-row:last-child { border-bottom: none; }

.demo-holding-row.header {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(79,70,229,0.15);
}

/* ── Logo dans les holdings ────────────────────────────────── */
.holding-company-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.holding-logo-wrapper {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.holding-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.holding-logo-wrapper:hover .holding-logo {
    transform: scale(1.08);
}

.holding-logo-fallback {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
}

.holding-info { display: flex; flex-direction: column; min-width: 0; }
.holding-name { font-weight: 700; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.holding-ticker-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: #4f46e5;
    background: rgba(79,70,229,0.08);
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 2px;
    width: fit-content;
}

.holding-cusip  { font-family: monospace; color: #64748b; font-size: 0.72rem; }
.holding-pct    { font-weight: 700; color: #4f46e5; }

.holding-change { font-weight: 800; font-size: 0.8rem; }
.holding-change.positive { color: #10b981; }
.holding-change.negative { color: #ef4444; }
.holding-change.new-pos  {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
}

/* Alphy AI Section */
.demo-alphy-section {
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.75rem;
    color: white;
    box-shadow: 0 12px 36px rgba(16,185,129,0.3);
}

.demo-alphy-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.demo-alphy-icon {
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.35);
}

.demo-alphy-title    { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.demo-alphy-subtitle { font-size: 0.78rem; opacity: 0.85; }

.demo-alphy-score {
    margin-left: auto;
    text-align: center;
    background: rgba(255,255,255,0.2);
    padding: 10px 18px;
    border-radius: 14px;
    border: 2px solid rgba(255,255,255,0.35);
}

.demo-score-num { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.demo-score-lbl { font-size: 0.75rem; opacity: 0.85; }

.demo-alphy-action {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.demo-alphy-reasoning {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 1.25rem;
}

.demo-alphy-keys {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.demo-key-item {
    padding: 1rem;
    border-radius: 12px;
}

.demo-key-item.strengths { background: rgba(255,255,255,0.2); }
.demo-key-item.risks     { background: rgba(239,68,68,0.25); }

.demo-key-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.625rem;
    opacity: 0.9;
}

.demo-key-point {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 4px;
    padding-left: 12px;
    position: relative;
}

.demo-key-point::before {
    content: '›';
    position: absolute;
    left: 0;
    font-weight: 900;
}

/* Demo CTA */
.demo-cta-it {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS — STEPS GRID
   ═══════════════════════════════════════════════════════════════ */
.steps-grid-it {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step-card-it {
    background: white;
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    transition: all 0.35s ease;
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.step-card-it::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.step-card-it:hover::after { transform: scaleX(1); }

.step-card-it:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(79,70,229,0.18);
    border-color: rgba(79,70,229,0.2);
}

.step-number-it {
    width: 80px; height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.step-card-it:hover .step-number-it {
    transform: scale(1.12) rotate(-8deg);
}

.step-card-it h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.875rem;
}

.step-card-it p {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

body.dark-mode .step-card-it { background: rgba(30,41,59,0.95); border-color: rgba(79,70,229,0.2); }
body.dark-mode .step-card-it h3 { color: white; }
body.dark-mode .step-card-it p  { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════════════════════════════
   CTA FINAL — .cta-final-it — ENTIÈREMENT CORRIGÉ
   ═══════════════════════════════════════════════════════════════ */
.cta-final-it {
    padding: 5rem 1rem;
    background: linear-gradient(135deg,
        #0f172a 0%,
        #1e1b4b 35%,
        #162032 65%,
        #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.cta-final-it::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 55% 75% at 15% 50%,
            rgba(79, 70, 229, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 55% 75% at 85% 50%,
            rgba(6, 182, 212, 0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Social Proof Strip */
.social-proof-strip-it {
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
    border-radius: 16px;
}

.social-proof-item-it {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    font-weight: 600;
}

.social-proof-item-it i { color: #06b6d4; font-size: 1rem; }

/* CTA Content Wrapper — supporte les deux nommages */
.cta-content-wrapper,
.cta-content-it {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

/* CTA Title */
.cta-final-it .cta-title,
.cta-final-it .cta-title-it {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    color: white;
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* CTA Subtitle */
.cta-final-it .cta-subtitle,
.cta-final-it .cta-subtitle-it {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin: 0 auto 2.5rem auto;
    max-width: 680px;
    display: block;
}

/* CTA Buttons */
.cta-final-it .cta-buttons,
.cta-final-it .cta-buttons-it {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* CTA Note */
.cta-final-it .cta-note,
.cta-final-it .cta-note-it {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    margin: 0;
}

/* Primary CTA Button */
.btn-cta-primary-it {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.25rem;
    font-size: 1.0625rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    background-size: 200% auto;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.45);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-cta-primary-it::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.5s;
}
.btn-cta-primary-it:hover::before { left: 100%; }

.btn-cta-primary-it:hover {
    transform: translateY(-3px);
    background-position: right center;
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.5);
}

/* ═══════════════════════════════════════════════════════════════
   OWNERSHIP METER — Visual Component
   ═══════════════════════════════════════════════════════════════ */
.ownership-bar-wrapper {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    margin-top: 3rem;
}

.ownership-bar-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ownership-bar-title i {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ownership-bar-track {
    height: 14px;
    background: #f1f5f9;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 0.875rem;
    position: relative;
}

.ownership-bar-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    position: relative;
    overflow: hidden;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ownership-bar-fill::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: shimmerBar 2s ease-in-out infinite;
}

@keyframes shimmerBar {
    0%   { left: -100%; }
    100% { left: 100%; }
}

.ownership-legend {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ownership-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.ownership-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

body.dark-mode .ownership-bar-wrapper { background: rgba(30,41,59,0.95); }
body.dark-mode .ownership-bar-title   { color: white; }
body.dark-mode .ownership-bar-track   { background: rgba(255,255,255,0.08); }

/* ═══════════════════════════════════════════════════════════════
   QUARTER TIMELINE COMPONENT
   ═══════════════════════════════════════════════════════════════ */
.quarter-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.quarter-item {
    background: rgba(79,70,229,0.06);
    border: 1px solid rgba(79,70,229,0.15);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    transition: all 0.25s ease;
    cursor: default;
}

.quarter-item:hover {
    background: rgba(79,70,229,0.12);
    border-color: rgba(79,70,229,0.35);
    transform: translateY(-3px);
}

.quarter-item.active {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    border-color: transparent;
    color: white;
}

.quarter-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.quarter-item.active .quarter-label { color: rgba(255,255,255,0.85); }

.quarter-pct {
    font-size: 1.2rem;
    font-weight: 900;
    color: #4f46e5;
}

.quarter-item.active .quarter-pct { color: white; }

.quarter-trend {
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 2px;
}
.quarter-trend.up   { color: #10b981; }
.quarter-trend.down { color: #ef4444; }
.quarter-item.active .quarter-trend { color: rgba(255,255,255,0.8); }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS & UTILITIES
   ═══════════════════════════════════════════════════════════════ */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* GPU Acceleration */
.hero-it,
.pattern-card,
.analytics-card-it,
.step-card-it,
.btn-hero-primary-it,
.btn-cta-primary-it {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ── Pulse animation for live badges ────────────────────────── */
@keyframes pulseLive {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50%       { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #10b981;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 7px; height: 7px;
    background: #10b981;
    border-radius: 50%;
    animation: pulseLive 1.8s ease-in-out infinite;
}

/* ── Gradient text utility ──────────────────────────────────── */
.gradient-text-it-util {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Skeleton loading shimmer ───────────────────────────────── */
.skeleton-it {
    background: linear-gradient(90deg,
        #f1f5f9 25%,
        #e2e8f0 50%,
        #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeletonShimmerIT 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeletonShimmerIT {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

/* ── Floating decoration dots ───────────────────────────────── */
.floating-dots-it {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-dot-it {
    position: absolute;
    border-radius: 50%;
    animation: floatDotIT linear infinite;
    opacity: 0;
}

@keyframes floatDotIT {
    0%   { opacity: 0; transform: translateY(100%) scale(0); }
    10%  { opacity: 0.5; }
    90%  { opacity: 0.25; }
    100% { opacity: 0; transform: translateY(-100%) scale(1.5); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ═══════════════════════════════════════════════════════════════ */

/* ── 1280px ─────────────────────────────────────────────────── */
@media (max-width: 1280px) {
    .demo-kpi-row {
        grid-template-columns: repeat(5, 1fr);
    }
    .steps-grid-it {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── 1024px ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-it {
        padding: 120px 1.5rem 80px 1.5rem;
    }

    .hero-it h1 {
        font-size: clamp(2.25rem, 7vw, 3.5rem);
    }

    .hero-it::after,
    .hero-it .container-fluid::before {
        width: 380px;
        height: 380px;
    }

    .score-grid-it {
        grid-template-columns: repeat(3, 1fr);
    }

    .demo-kpi-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── 768px ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Hero */
    .hero-it {
        min-height: 100vh;
        padding: 140px 1.5rem 100px 1.5rem;
    }

    .hero-it-content { gap: 1.75rem; }

    .it-badge {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .hero-it h1 {
        font-size: clamp(2rem, 9vw, 2.75rem);
        line-height: 1.15;
    }

    .hero-it p {
        font-size: clamp(1rem, 4vw, 1.125rem);
    }

    .hero-it p br { display: none; }

    .btn-hero-primary-it {
        padding: 1.125rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 420px;
        justify-content: center;
    }

    .hero-it::after,
    .hero-it .container-fluid::before {
        width: 300px;
        height: 300px;
        filter: blur(80px);
    }

    /* Sections padding reduction */
    .features-section,
    .analytics-section-it,
    .demo-it,
    .cta-final-it {
        padding: 3rem 1rem !important;
    }

    /* Centered headers */
    .section-header {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }

    .section-tag,
    .section-tag-it,
    .section-tag-it-white,
    .section-title,
    .section-description {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }

    /* ── PATTERNS GRID — Swipe horizontal ───────────────────── */
    .patterns-grid {
        display: flex !important;
        flex-direction: row !important;
        gap: 1rem !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 1rem !important;
        margin: 2rem -1rem 0 -1rem !important;
        max-width: 100vw !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .patterns-grid::-webkit-scrollbar { display: none; }

    .pattern-card {
        flex: 0 0 82vw !important;
        min-width: 82vw !important;
        max-width: 82vw !important;
        scroll-snap-align: center !important;
        margin: 0 !important;
        padding: 2rem 1.5rem !important;
        min-height: 340px !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
    }

    .pattern-card:first-child { margin-left: 0.5rem !important; }
    .pattern-card:last-child  { margin-right: 0.5rem !important; }

    /* ── ANALYTICS GRID — Swipe horizontal ─────────────────── */
    .analytics-grid-it {
        display: flex !important;
        flex-direction: row !important;
        gap: 1rem !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 1rem !important;
        margin: 2rem -1rem 0 -1rem !important;
        max-width: 100vw !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .analytics-grid-it::-webkit-scrollbar { display: none; }

    .analytics-card-it {
        flex: 0 0 82vw !important;
        min-width: 82vw !important;
        max-width: 82vw !important;
        scroll-snap-align: center !important;
        margin: 0 !important;
        padding: 1.75rem 1.5rem !important;
        min-height: 220px !important;
    }

    .analytics-card-it:first-child { margin-left: 0.5rem !important; }
    .analytics-card-it:last-child  { margin-right: 0.5rem !important; }

    /* ── STEPS GRID — Swipe horizontal ─────────────────────── */
    .steps-grid-it {
        display: flex !important;
        flex-direction: row !important;
        gap: 1rem !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 1rem !important;
        margin: 2rem -1rem 0 -1rem !important;
        max-width: 100vw !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .steps-grid-it::-webkit-scrollbar { display: none; }

    .step-card-it {
        flex: 0 0 82vw !important;
        min-width: 82vw !important;
        max-width: 82vw !important;
        scroll-snap-align: center !important;
        margin: 0 !important;
        padding: 2rem 1.5rem !important;
        min-height: 300px !important;
    }

    .step-card-it:first-child { margin-left: 0.5rem !important; }
    .step-card-it:last-child  { margin-right: 0.5rem !important; }

    /* ── RISK METRICS — 2 colonnes sur mobile (pas de swipe) ── */
    .risk-metrics-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        margin: 2rem 0 0 0 !important;
        overflow: visible !important;
    }

    .risk-metric-card {
        flex: unset !important;
        min-width: unset !important;
        max-width: unset !important;
        scroll-snap-align: unset !important;
        padding: 1.25rem 1rem !important;
        min-height: unset !important;
    }

    /* ── SCORE GRID — 2 colonnes sur mobile ─────────────────── */
    .score-grid-it {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    /* Score card */
    .score-card-it {
        padding: 1.5rem 1rem;
    }

    .score-card-title-it {
        font-size: 1.2rem;
    }

    /* Stats bar */
    .hero-stats-bar-it {
        padding: 0.75rem 1rem;
        gap: 0;
    }
    .hero-stat-it     { padding: 0.5rem 0.75rem; }
    .hero-stat-value-it { font-size: 1.2rem; }
    .hero-stat-label-it { font-size: 0.68rem; }

    /* Demo */
    .browser-chrome-it { display: none; }
    .demo-institution-header { flex-direction: column; }
    .demo-kpi-row { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem !important; }
    .demo-alphy-score { margin-left: 0; }
    .demo-alphy-keys { grid-template-columns: 1fr !important; }
    .demo-body-it { padding: 1.25rem; }

    /* Holdings table — horizontal scroll */
    .demo-holdings-section { overflow-x: auto; padding: 1rem; }
    .demo-holdings-table { min-width: 560px; }

    /* Pattern items */
    .demo-pattern-item {
        flex-direction: row;
        align-items: flex-start;
    }

    /* Quarter timeline */
    .quarter-timeline {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Social proof */
    .social-proof-strip-it {
        gap: 1rem;
        padding: 1rem;
    }

    /* Ownership */
    .ownership-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem;
    }

    /* CTA Final */
    .cta-final-it .cta-buttons,
    .cta-final-it .cta-buttons-it {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-cta-primary-it {
        width: 100%;
        justify-content: center;
    }
}

/* ── 640px ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .hero-it {
        padding: 130px 1.25rem 90px 1.25rem;
    }

    .hero-it h1 {
        font-size: clamp(1.875rem, 10vw, 2.5rem);
    }

    .hero-it p {
        font-size: clamp(0.9375rem, 4.5vw, 1.0625rem);
    }

    .btn-hero-primary-it {
        max-width: 360px;
        padding: 1rem 1.75rem;
        font-size: 0.9375rem;
    }

    .hero-stat-divider-it { display: none; }

    /* Risk metrics : 2 colonnes même sur 640 */
    .risk-metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.875rem !important;
    }

    .risk-metric-card {
        padding: 1rem 0.875rem !important;
    }

    .risk-metric-icon {
        width: 46px !important;
        height: 46px !important;
        font-size: 1.1rem !important;
    }

    .risk-metric-name { font-size: 0.9rem; }
    .risk-metric-desc { font-size: 0.72rem; }

    .cta-final-it .cta-title,
    .cta-final-it .cta-title-it {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .demo-kpi-row { grid-template-columns: repeat(2, 1fr) !important; }

    /* Pattern cards légèrement plus larges */
    .pattern-card,
    .analytics-card-it,
    .step-card-it {
        flex: 0 0 86vw !important;
        min-width: 86vw !important;
        max-width: 86vw !important;
    }
}

/* ── 480px ──────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .hero-it {
        padding: 120px 1rem 80px 1rem;
    }

    .hero-it h1 {
        font-size: clamp(1.75rem, 11vw, 2.25rem);
    }

    .hero-it p {
        font-size: clamp(0.875rem, 5vw, 1rem);
    }

    .btn-hero-primary-it {
        width: 100%;
        max-width: none;
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }

    /* Swipe cards encore un peu plus larges */
    .pattern-card,
    .analytics-card-it,
    .step-card-it {
        flex: 0 0 90vw !important;
        min-width: 90vw !important;
        max-width: 90vw !important;
        padding: 1.5rem 1.125rem !important;
    }

    /* Risk metrics : 2 colonnes maintenues */
    .risk-metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    /* Score : 1 colonne sur très petit écran */
    .score-grid-it {
        grid-template-columns: 1fr !important;
    }

    .demo-kpi-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .quarter-timeline {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .social-proof-strip-it {
        flex-direction: column;
        gap: 0.875rem;
        align-items: flex-start;
    }

    .demo-alphy-action {
        font-size: 1.5rem;
    }

    .score-range-it { font-size: 1.6rem; }
}

/* ── 380px (très petits écrans) ─────────────────────────────── */
@media (max-width: 380px) {
    .hero-it {
        padding: 110px 0.875rem 70px 0.875rem;
    }

    .hero-stat-it { padding: 0.5rem 0.5rem; }
    .hero-stat-value-it { font-size: 1.05rem; }
    .hero-stat-label-it { font-size: 0.6rem; }

    .risk-metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.625rem !important;
    }

    .risk-metric-card {
        padding: 0.875rem 0.75rem !important;
    }

    .risk-metric-name { font-size: 0.8rem; }
    .risk-metric-desc { font-size: 0.68rem; }
    .risk-metric-formula { font-size: 0.62rem; }
}