/* ============================================
   HUMANS + AGENTS PAGE
   Dark theme, teal accents, enterprise clarity
   ============================================ */

/* ===== Page base ===== */
.ha-page {
    background: #020617;
}

/* ===== Container ===== */
.ha-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Accent text ===== */
.ha-page .accent {
    color: #14b8a6;
}

/* ===== Label pill ===== */
.ha-label {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0.05) 100%);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 100px;
    color: #14b8a6;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.1);
}

/* ============================================
   HERO SECTION - Two Column Layout
   ============================================ */
.ha-hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.ha-hero__grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.ha-hero__glow {
    position: absolute;
    top: 15%;
    left: 20%;
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.ha-hero::after {
    content: '';
    position: absolute;
    top: 40%;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.ha-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ha-hero__content {
    max-width: 560px;
}

.ha-hero__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: #f8fafc;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.ha-hero__subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 32px;
    max-width: 520px;
}

.ha-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   HERO VISUAL - Collaboration SVG
   ============================================ */
.ha-hero__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ha-hero__visual::before {
    content: '';
    position: absolute;
    top: -30px;
    right: 5%;
    width: 6px;
    height: 6px;
    background: #14b8a6;
    border-radius: 50%;
    opacity: 0.5;
    box-shadow: 
        20px 50px 0 rgba(20, 184, 166, 0.3),
        -30px 100px 0 rgba(20, 184, 166, 0.2),
        50px 150px 0 rgba(20, 184, 166, 0.25);
}

.ha-collab-diagram {
    width: 100%;
    max-width: 480px;
    height: auto;
}

/* SVG Animations */
@keyframes haPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.03); }
}

@keyframes haPulseLine {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 20; }
}

.ha-pulse {
    animation: haPulse 3s ease-in-out infinite;
    transform-origin: center;
}

.ha-pulse-line {
    animation: haPulseLine 2s linear infinite;
}

.ha-actor {
    transition: all 0.3s ease;
}

.ha-actor:hover {
    filter: drop-shadow(0 0 12px rgba(20, 184, 166, 0.5));
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ha-pulse,
    .ha-pulse-line {
        animation: none;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.ha-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: #020617;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ha-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(20, 184, 166, 0.35);
}

.ha-btn--outline {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #f8fafc;
}

.ha-btn--outline:hover {
    border-color: #14b8a6;
    color: #14b8a6;
    background: rgba(20, 184, 166, 0.08);
    box-shadow: none;
}

.ha-btn--large {
    padding: 18px 36px;
    font-size: 1.0625rem;
}

/* ============================================
   CORE PRINCIPLE SECTION
   ============================================ */
.ha-principle {
    padding: 100px 0;
    position: relative;
    background: #020617;
    overflow: hidden;
}

.ha-principle__grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(148, 163, 184, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.ha-principle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(20, 184, 166, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.ha-principle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    max-width: 400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.15), transparent);
}

.ha-principle__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.ha-principle__headline {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    color: #f8fafc;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.ha-principle__headline .accent {
    color: #14b8a6;
    text-shadow: 0 0 40px rgba(20, 184, 166, 0.3);
}

.ha-principle__text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 620px;
    margin: 0 auto 40px;
}

.ha-principle__points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.ha-principle__point {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 12px;
    font-size: 1rem;
    color: #cbd5e1;
}

.ha-principle__point strong {
    color: #14b8a6;
}

.ha-principle__dot {
    width: 8px;
    height: 8px;
    background: #14b8a6;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
}

.ha-principle__statement {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 32px;
    line-height: 1.6;
}

.ha-principle__bullets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.ha-principle__bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: #94a3b8;
    padding: 10px 20px;
    background: rgba(20, 184, 166, 0.05);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 100px;
}

.ha-principle__bullet::before {
    content: '—';
    color: #14b8a6;
}

/* ============================================
   SECTIONS BASE
   ============================================ */
.ha-section {
    padding: 100px 0;
    position: relative;
}

.ha-section--alt {
    background: #0f172a;
}

.ha-section--alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.2), transparent);
}

.ha-section__header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ha-section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 16px;
    line-height: 1.25;
}

.ha-section__subtitle {
    font-size: 1.0625rem;
    color: #94a3b8;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ============================================
   COMPARISON CARDS (Human vs AI)
   ============================================ */
.ha-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.ha-comparison__card {
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.ha-comparison__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0), transparent);
    transition: background 0.35s ease;
}

.ha-comparison__card:hover {
    border-color: rgba(20, 184, 166, 0.35);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 50px rgba(20, 184, 166, 0.1);
}

.ha-comparison__card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.6), transparent);
}

.ha-comparison__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14b8a6;
    transition: all 0.3s ease;
}

.ha-comparison__card:hover .ha-comparison__icon {
    background: rgba(20, 184, 166, 0.2);
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.35);
}

.ha-comparison__icon svg {
    width: 36px;
    height: 36px;
}

.ha-comparison__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 8px;
}

.ha-comparison__tagline {
    font-size: 0.9375rem;
    color: #14b8a6;
    font-weight: 500;
    margin-bottom: 24px;
}

.ha-comparison__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    text-align: left;
}

.ha-comparison__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.ha-comparison__list li:last-child {
    border-bottom: none;
}

.ha-comparison__list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #14b8a6;
    border-radius: 50%;
    flex-shrink: 0;
}

.ha-comparison__footer {
    font-size: 0.875rem;
    color: #64748b;
    font-style: italic;
    line-height: 1.6;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* ============================================
   HANDOFF SECTION
   ============================================ */
.ha-handoff {
    max-width: 900px;
    margin: 0 auto;
}

.ha-handoff__visual {
    margin-bottom: 48px;
    overflow-x: auto;
    padding: 20px 0;
}

.ha-handoff-diagram {
    width: 100%;
    min-width: 700px;
    height: auto;
}

.ha-handoff__properties {
    text-align: center;
    margin-bottom: 40px;
}

.ha-handoff__prop-label {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

.ha-handoff__prop-list {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.ha-handoff__prop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #f8fafc;
}

.ha-handoff__prop-dot {
    width: 10px;
    height: 10px;
    background: #14b8a6;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(20, 184, 166, 0.5);
}

.ha-handoff__questions {
    text-align: center;
    padding: 32px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
}

.ha-handoff__questions-label {
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.ha-handoff__question {
    font-size: 1rem;
    color: #cbd5e1;
    padding: 8px 0;
    font-style: italic;
}

/* ============================================
   AI LIMITS SECTION
   ============================================ */
.ha-limits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.ha-limits__col {
    text-align: center;
}

.ha-limits__heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid;
}

.ha-limits__heading--can {
    color: #14b8a6;
    border-color: rgba(20, 184, 166, 0.3);
}

.ha-limits__heading--cannot {
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.2);
}

.ha-limits__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ha-limits__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ha-limits__item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.ha-limits__item--can {
    color: #f8fafc;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.ha-limits__item--can svg {
    color: #14b8a6;
}

.ha-limits__item--can:hover {
    border-color: rgba(20, 184, 166, 0.4);
    background: rgba(20, 184, 166, 0.05);
}

.ha-limits__item--cannot {
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.ha-limits__item--cannot svg {
    color: #64748b;
}

.ha-limits__note {
    text-align: center;
    font-size: 1.0625rem;
    color: #94a3b8;
    padding: 24px;
    border-left: 3px solid #14b8a6;
    background: rgba(20, 184, 166, 0.05);
    border-radius: 0 12px 12px 0;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   AUDIT SECTION
   ============================================ */
.ha-audit {
    max-width: 900px;
    margin: 0 auto;
}

.ha-audit__info {
    text-align: center;
    margin-bottom: 40px;
}

.ha-audit__intro {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 24px;
}

.ha-audit__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ha-audit__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.ha-audit__item:hover {
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateY(-4px);
}

.ha-audit__icon {
    width: 48px;
    height: 48px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14b8a6;
}

.ha-audit__icon svg {
    width: 24px;
    height: 24px;
}

.ha-audit__item span {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #f8fafc;
}

.ha-audit__statements {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
}

.ha-audit__statement {
    font-size: 1rem;
    color: #64748b;
    font-style: italic;
}

.ha-audit__checklist {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.ha-audit__check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ha-audit__check:hover {
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateX(4px);
}

.ha-audit__check-icon {
    width: 28px;
    height: 28px;
    background: rgba(20, 184, 166, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14b8a6;
    flex-shrink: 0;
}

.ha-audit__check-icon svg {
    width: 14px;
    height: 14px;
}

.ha-audit__check span {
    font-size: 1rem;
    font-weight: 600;
    color: #f8fafc;
}

/* ============================================
   SUMMARY SECTION
   ============================================ */
.ha-summary {
    padding: 100px 0;
    position: relative;
    background: #0f172a;
    overflow: hidden;
}

.ha-summary__grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(148, 163, 184, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.ha-summary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ha-summary__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.ha-summary__headline {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.35;
    color: #f8fafc;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.ha-summary__headline .accent {
    color: #14b8a6;
    text-shadow: 0 0 40px rgba(20, 184, 166, 0.3);
}

.ha-summary__text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   FINAL CTA
   ============================================ */
.ha-final {
    padding: 120px 0;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, #020617 0%, #0f172a 50%, #020617 100%);
    border-top: 1px solid rgba(20, 184, 166, 0.15);
}

.ha-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #14b8a6, transparent);
    opacity: 0.6;
}

.ha-final__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(20, 184, 166, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.ha-final__content {
    position: relative;
    z-index: 1;
}

.ha-final__title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 36px;
    line-height: 1.3;
}

.ha-final__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .ha-hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .ha-hero__content {
        max-width: 100%;
    }
    
    .ha-hero__subtitle {
        max-width: 100%;
    }
    
    .ha-hero__actions {
        justify-content: center;
    }
    
    .ha-hero__visual {
        order: -1;
    }
    
    .ha-hero__visual::before {
        display: none;
    }
    
    .ha-collab-diagram {
        max-width: 400px;
    }
    
    .ha-comparison {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    
    .ha-limits {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 400px;
    }
    
    .ha-audit__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ha-hero {
        padding: 100px 0 60px;
    }
    
    .ha-collab-diagram {
        max-width: 340px;
    }
    
    .ha-principle {
        padding: 80px 0;
    }
    
    .ha-principle__headline {
        font-size: 1.5rem;
    }
    
    .ha-principle__points {
        flex-direction: column;
        align-items: center;
    }
    
    .ha-principle__bullets {
        flex-direction: column;
        align-items: center;
    }
    
    .ha-hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .ha-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .ha-section {
        padding: 80px 0;
    }
    
    .ha-handoff__prop-list {
        flex-direction: column;
        gap: 16px;
    }
    
    .ha-audit__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .ha-audit__statements {
        flex-direction: column;
        gap: 16px;
    }
    
    .ha-audit__checklist {
        flex-direction: column;
        align-items: center;
    }
    
    .ha-final {
        padding: 90px 0;
    }
    
    .ha-final__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .ha-summary {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .ha-container {
        padding: 0 20px;
    }
    
    .ha-hero__title {
        font-size: 1.75rem;
    }
    
    .ha-hero__subtitle {
        font-size: 1rem;
    }
    
    .ha-section__title {
        font-size: 1.5rem;
    }
    
    .ha-collab-diagram {
        max-width: 280px;
    }
    
    .ha-principle__headline br {
        display: none;
    }
    
    .ha-comparison__card {
        padding: 32px 24px;
    }
    
    .ha-audit__grid {
        grid-template-columns: 1fr;
    }
    
    .ha-summary__headline br {
        display: none;
    }
}
