/* PERSONNN HUMAN VARIANT - Compañero Digital Focus */
/* Extends base styles.css with human-centered overrides */

/* Essential Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation Base Styles */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-icon-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
    text-decoration: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switcher {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.lang-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    color: #6e6e73;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.lang-btn.active {
    background: #34c759;
    color: #FFFFFF;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

/* Hero Base Styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    width: 100%;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    font-size: 14px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.pulsing {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-align: center;
    width: 100%;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
}

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

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(52, 199, 89, 0.3);
    color: #34c759;
}

.btn-secondary:hover {
    background: rgba(52, 199, 89, 0.1);
    transform: translateY(-2px);
}

/* Preview Card */
.hero-preview {
    max-width: 600px;
    margin: 0 auto;
}

.preview-card {
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(20px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.card-dots {
    display: flex;
    gap: 0.5rem;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d1d6;
}

.card-dots span:nth-child(1) { background: #ff5f57; }
.card-dots span:nth-child(2) { background: #ffbd2e; }
.card-dots span:nth-child(3) { background: #28ca42; }

.card-title {
    font-weight: 600;
    font-size: 14px;
}

.soul-status {
    margin-bottom: 1.5rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(52, 199, 89, 0.05);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34c759;
}

.soul-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(52, 199, 89, 0.05);
    border-radius: 12px;
}

.soul-avatar {
    font-size: 2rem;
}

.soul-info {
    flex: 1;
}

.soul-name {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.soul-stage {
    display: block;
    font-size: 14px;
    opacity: 0.7;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

/* Product Section Styles */
.productos-section, .casos-section, .final-cta {
    background: #ffffff;
    color: #1d1d1f;
}

.productos-header, .casos-header {
    text-align: center;
    margin-bottom: 4rem;
}

.productos-title, .casos-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.productos-subtitle, .casos-subtitle {
    font-size: 1.2rem;
    color: #6e6e73;
    max-width: 800px;
    margin: 0 auto;
}

/* PersonnnOS Core */
.personnnos-core {
    text-align: center;
    padding: 3rem;
    margin: 3rem 0;
    border-radius: 20px;
    position: relative;
}

.core-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.personnnos-core h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.personnnos-core h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6e6e73;
    margin-bottom: 1.5rem;
}

.personnnos-core p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Core Features */
.core-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-icon {
    font-size: 1.2rem;
}

/* Ecosystem Paths */
.ecosystem-paths {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.ecosystem-path {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(52, 199, 89, 0.1);
    transition: all 0.3s ease;
}

.ecosystem-path:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(52, 199, 89, 0.2);
}

.ecosystem-path.consumer {
    border-left: 4px solid #34c759;
}

.path-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(52, 199, 89, 0.1);
}

.path-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
}

.path-badge {
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.path-badge.b2c {
    background: rgba(52, 199, 89, 0.2);
    color: #34c759;
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.ecosystem-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ecosystem-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(52, 199, 89, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.ecosystem-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(52, 199, 89, 0.2);
}

.ecosystem-item.main {
    border: 2px solid #34c759;
    background: rgba(52, 199, 89, 0.05);
}

.item-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.ecosystem-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.75rem;
}

.ecosystem-item p {
    color: #6e6e73;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.item-status {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.item-status.free {
    background: rgba(52, 199, 89, 0.2);
    color: #34c759;
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.item-status.coming {
    background: rgba(142, 142, 147, 0.2);
    color: #8E8E93;
    border: 1px solid rgba(142, 142, 147, 0.3);
}

.item-status.premium {
    background: rgba(255, 149, 0, 0.2);
    color: #FF9500;
    border: 1px solid rgba(255, 149, 0, 0.3);
}

.core-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.available {
    background: rgba(52, 199, 89, 0.2);
    color: #34c759;
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.badge.b2b {
    background: rgba(0, 122, 255, 0.2);
    color: #007aff;
    border: 1px solid rgba(0, 122, 255, 0.3);
}

/* Product Grid */
.productos-category {
    margin: 4rem 0;
}

.productos-category h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 2rem;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.producto-card {
    background: var(--surface-human);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(52, 199, 89, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-human);
}

.producto-card.featured {
    border: 2px solid #34c759;
    position: relative;
}

.producto-card.featured::before {
    content: 'FEATURED';
    position: absolute;
    top: -10px;
    right: 20px;
    background: #34c759;
    color: #FFFFFF;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
}

.producto-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.producto-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.producto-card p {
    color: #6e6e73;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.producto-status {
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.producto-status.available {
    background: rgba(52, 199, 89, 0.2);
    color: #34c759;
}

/* Cases Grid */
.casos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.caso-card {
    background: var(--surface-human);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(52, 199, 89, 0.2);
    transition: all 0.3s ease;
}

.caso-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-human);
}

.caso-avatar {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.caso-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.caso-card p {
    color: #6e6e73;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.caso-result {
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.3);
    padding: 1rem;
    border-radius: 12px;
    color: #34c759;
    font-weight: 600;
    font-size: 14px;
}

/* Final CTA */
.final-cta {
    text-align: center;
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
}

.final-cta h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.2rem;
    color: #6e6e73;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-content {
        padding: 1rem;
        height: 60px;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .productos-grid, .casos-grid {
        grid-template-columns: 1fr;
    }
}

:root[data-theme="human"] {
    /* Human Color Palette - Warm & Friendly */
    --primary-color: #34c759;
    --secondary-color: #007aff;
    --accent-color: #ff9500;
    --warm-green: #34c759;
    --friendly-blue: #007aff;
    --caring-orange: #ff9500;
    --gentle-pink: #ff6b9d;
    
    /* Human Gradients */
    --gradient-primary: linear-gradient(45deg, #34c759, #30d158);
    --gradient-secondary: linear-gradient(45deg, #007aff, #34c759);
    --gradient-accent: linear-gradient(45deg, #ff9500, #ffcc02);
    --gradient-hero: linear-gradient(135deg, #a8edea 0%, #fed6e3 50%, #d299c2 100%);
    --gradient-warm: linear-gradient(45deg, #34c759, #007aff, #ff9500);
    
    /* Human Surfaces */
    --surface-human: rgba(52, 199, 89, 0.05);
    --surface-caring: rgba(0, 122, 255, 0.05);
    --surface-warm: rgba(255, 149, 0, 0.05);
    
    /* Human Shadows */
    --shadow-human: 0 8px 32px rgba(52, 199, 89, 0.2);
    --shadow-caring: 0 4px 20px rgba(0, 122, 255, 0.15);
    --shadow-warm: 0 6px 24px rgba(255, 149, 0, 0.2);
}

/* Hero Section - Human Variant */
.hero[data-theme="human"] {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero[data-theme="human"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(52, 199, 89, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(0, 122, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 149, 0, 0.1) 0%, transparent 70%);
    animation: humanBreath 6s ease-in-out infinite alternate;
}

@keyframes humanBreath {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Badge Styling */
.hero-badge[data-theme="human"] {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-human);
    border: none;
}

/* Title Styling */
.hero-title[data-theme="human"] {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.title-highlight[data-theme="human"] {
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(52, 199, 89, 0.3);
}

/* Button Styling */
.btn-primary[data-theme="human"] {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-human);
    transition: all 0.3s ease;
}

.btn-primary[data-theme="human"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 199, 89, 0.4);
}

/* Preview Card */
.preview-card[data-theme="human"] {
    border: 2px solid rgba(52, 199, 89, 0.2);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-human);
}

/* Status Elements */
.status-dot[data-theme="human"] {
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 149, 0, 0.5);
}

.soul-avatar[data-theme="human"] {
    color: var(--primary-color);
    font-size: 2rem;
    animation: humanWave 3s ease-in-out infinite;
}

@keyframes humanWave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

/* PersonnnOS Core Section */
.personnnos-core[data-theme="human"] {
    background: var(--surface-human);
    border: 2px solid rgba(52, 199, 89, 0.2);
    position: relative;
}

.core-icon[data-theme="human"] {
    filter: hue-rotate(90deg) saturate(1.1);
}

/* Heartbeat Animation for Badge */
.badge-dot.pulsing[data-theme="human"] {
    background: var(--primary-color);
    animation: humanHeartbeat 2s ease-in-out infinite;
}

@keyframes humanHeartbeat {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Ecosystem Paths - Human Focused */
.ecosystem-paths[data-theme="human"] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.ecosystem-path[data-theme="human"] {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(52, 199, 89, 0.1);
    transition: all 0.3s ease;
}

.ecosystem-path[data-theme="human"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-human);
}

.ecosystem-path.consumer[data-theme="human"] {
    border-left: 4px solid var(--primary-color);
}

/* Ecosystem Items - Human Touch */
.ecosystem-item[data-theme="human"] {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(52, 199, 89, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.ecosystem-item[data-theme="human"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-caring);
}

.ecosystem-item.main[data-theme="human"] {
    border: 2px solid var(--primary-color);
    background: var(--surface-human);
}

/* Conversation Bubbles */
.caso-card[data-theme="human"] {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border-left: 4px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.caso-card[data-theme="human"]::before {
    content: '💬';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0.3;
}

.caso-card[data-theme="human"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-human);
}

/* Feature Pills - Warm Touch */
.feature-pill[data-theme="human"] {
    background: var(--surface-human);
    border: 1px solid rgba(52, 199, 89, 0.2);
    transition: all 0.3s ease;
}

.feature-pill[data-theme="human"]:hover {
    background: rgba(52, 199, 89, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-caring);
}

/* Navigation Updates */
.nav-cta[data-theme="human"] {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-human);
}

.nav-cta[data-theme="human"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 199, 89, 0.4);
}

/* Personal Touch Elements */
.personal-story {
    background: var(--surface-warm);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid var(--accent-color);
    position: relative;
}

.personal-story::before {
    content: '❤️';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    opacity: 0.4;
}

/* Emotional Resonance Cards */
.emotion-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(52, 199, 89, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.emotion-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-human);
}

.emotion-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Companionship Indicators */
.companionship-meter {
    background: var(--surface-human);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

.meter-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.meter-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 2s ease;
    animation: companionshipGrow 3s ease-in-out;
}

@keyframes companionshipGrow {
    0% { width: 0%; }
    100% { width: 85%; }
}

/* Memory Elements */
.memory-fragment {
    background: rgba(52, 199, 89, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;
    border-left: 3px solid var(--primary-color);
    font-size: 0.9rem;
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.memory-fragment:hover {
    background: rgba(52, 199, 89, 0.15);
    transform: translateX(5px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .ecosystem-paths[data-theme="human"] {
        gap: 1.5rem;
    }
    
    .caso-card[data-theme="human"]::before {
        font-size: 1.2rem;
        top: 0.75rem;
        right: 0.75rem;
    }
}

/* Micro-interactions */
.ecosystem-item[data-theme="human"] .item-icon {
    transition: transform 0.3s ease;
}

.ecosystem-item[data-theme="human"]:hover .item-icon {
    transform: scale(1.05);
}

/* Empathy Animations */
.empathy-pulse {
    animation: empathyPulse 4s ease-in-out infinite;
}

@keyframes empathyPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Loading States */
.human-loading {
    background: linear-gradient(90deg, transparent, rgba(52, 199, 89, 0.1), transparent);
    background-size: 200% 100%;
    animation: humanShimmer 2s infinite;
}

@keyframes humanShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    .soul-avatar[data-theme="human"],
    .companionship-meter .meter-fill {
        animation: none;
    }
    
    .hero[data-theme="human"]::before {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .ecosystem-path[data-theme="human"] {
        border: 3px solid var(--primary-color);
    }
    
    .caso-card[data-theme="human"] {
        border-left: 6px solid var(--primary-color);
    }
}

/* Warm Color Adjustments for Dark Mode */
@media (prefers-color-scheme: dark) {
    :root[data-theme="human"] {
        --surface-human: rgba(52, 199, 89, 0.1);
        --surface-caring: rgba(0, 122, 255, 0.1);
        --surface-warm: rgba(255, 149, 0, 0.1);
    }
}/* 
Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-content {
        padding: 1rem;
        height: 60px;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .ecosystem-path {
        padding: 1.5rem;
    }

    .path-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .path-header h3 {
        font-size: 1.3rem;
    }

    .ecosystem-item {
        padding: 1.25rem;
    }

    .ecosystem-item h4 {
        font-size: 1.2rem;
    }

    .productos-grid, .casos-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .personnnos-core {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }

    .personnnos-core h2 {
        font-size: 2rem;
    }

    .personnnos-core h3 {
        font-size: 1.3rem;
    }

    .core-features {
        flex-direction: column;
        align-items: center;
    }

    .feature-pill {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .ecosystem-path {
        padding: 1rem;
    }

    .ecosystem-item {
        padding: 1rem;
    }

    .personnnos-core {
        padding: 1.5rem 1rem;
    }

    .personnnos-core h2 {
        font-size: 1.8rem;
    }

    .core-features {
        gap: 0.75rem;
    }

    .feature-pill {
        padding: 0.6rem 1.2rem;
        font-size: 13px;
    }
}

/* Human Theme Enhancements */
:root[data-theme="human"] {
    /* Warm Human Color Palette */
    --primary-color: #34c759;
    --secondary-color: #007aff;
    --accent-color: #ff9500;
    --human-green: #34c759;
    --human-blue: #007aff;
    --human-orange: #ff9500;
    --human-pink: #ff2d92;

    /* Human Gradients */
    --gradient-primary: linear-gradient(45deg, #34c759, #30d158);
    --gradient-secondary: linear-gradient(45deg, #007aff, #0056cc);
    --gradient-accent: linear-gradient(45deg, #ff9500, #ff8c00);
    --gradient-hero: linear-gradient(135deg, #34c759 0%, #007aff 50%, #ff9500 100%);

    /* Human Surfaces */
    --surface-human: rgba(52, 199, 89, 0.05);
    --surface-warm: rgba(255, 149, 0, 0.05);
    --surface-caring: rgba(0, 122, 255, 0.05);

    /* Human Shadows */
    --shadow-human: 0 8px 32px rgba(52, 199, 89, 0.2);
    --shadow-warm: 0 4px 20px rgba(255, 149, 0, 0.2);
    --shadow-caring: 0 6px 24px rgba(0, 122, 255, 0.2);
}

/* Hero Section - Human Variant */
.hero[data-theme="human"] {
    background: linear-gradient(135deg, #f8fff9 0%, #f0f9ff 50%, #fff8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero[data-theme="human"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(52, 199, 89, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 122, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 149, 0, 0.06) 0%, transparent 50%);
    animation: humanPulse 8s ease-in-out infinite alternate;
}

@keyframes humanPulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Badge Styling */
.hero-badge[data-theme="human"] {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-human);
    border: none;
}

/* Title Styling */
.hero-title[data-theme="human"] {
    color: #1d1d1f;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.title-highlight[data-theme="human"] {
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(52, 199, 89, 0.3);
}

/* Button Styling */
.btn-primary[data-theme="human"] {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-human);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    color: white;
    border: none;
}

.btn-primary[data-theme="human"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 199, 89, 0.4);
}

/* Preview Card */
.preview-card[data-theme="human"] {
    border: 2px solid rgba(52, 199, 89, 0.2);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-human);
}

/* Status Elements */
.status-dot[data-theme="human"] {
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(52, 199, 89, 0.5);
}

.soul-avatar[data-theme="human"] {
    color: var(--primary-color);
    font-size: 2rem;
    animation: humanWave 2s ease-in-out infinite;
}

@keyframes humanWave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* PersonnnOS Core Section */
.personnnos-core[data-theme="human"] {
    background: var(--surface-human);
    border: 2px solid rgba(52, 199, 89, 0.2);
    position: relative;
}

/* Feature Pills - Human Style */
.feature-pill[data-theme="human"] {
    font-family: 'Inter', sans-serif;
    background: var(--surface-human);
    border: 1px solid rgba(52, 199, 89, 0.2);
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.feature-pill[data-theme="human"]:hover {
    background: rgba(52, 199, 89, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm);
}

/* Navigation Updates */
.nav-cta[data-theme="human"] {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-human);
    font-family: 'Poppins', sans-serif;
    color: white;
}

.nav-cta[data-theme="human"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 199, 89, 0.4);
}

/* Warm Interactions */
.ecosystem-item[data-theme="human"] .item-icon {
    transition: transform 0.3s ease;
}

.ecosystem-item[data-theme="human"]:hover .item-icon {
    transform: scale(1.1);
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    .soul-avatar[data-theme="human"],
    .hero[data-theme="human"]::before {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .ecosystem-item {
        border: 2px solid var(--primary-color);
    }
    
    .preview-card {
        border: 3px solid var(--primary-color);
    }
}/* Flo
ating Scroll Capture Styles */
.floating-scroll-capture {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.95), rgba(0, 255, 136, 0.95));
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
    max-width: 350px;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-scroll-capture.show {
    transform: translateY(0);
    opacity: 1;
}

.capture-content {
    text-align: center;
    color: white;
}

.capture-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.capture-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.capture-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    color: white;
}

.email-capture-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.email-capture-form input[type="email"] {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 0.9rem;
}

.email-capture-form input[type="email"]:focus {
    outline: none;
    background: white;
}

.email-capture-form button {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.email-capture-form button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.capture-dismiss {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.capture-dismiss:hover {
    color: white;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-scroll-capture {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .email-capture-form {
        flex-direction: column;
    }
    
    .email-capture-form button {
        width: 100%;
    }
}/* Enhanced Ecosystem Section Styles */
.ecosystem-paths {
    margin: 4rem 0;
    padding: 0;
}

.ecosystem-path {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(52, 199, 89, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.ecosystem-path:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(52, 199, 89, 0.12);
    border-color: rgba(52, 199, 89, 0.2);
}

.path-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(52, 199, 89, 0.1);
}

.path-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.path-badge {
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #34c759, #30d158);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}

.ecosystem-items {
    display: grid;
    gap: 1.5rem;
}

.ecosystem-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(252, 254, 255, 0.95));
    border: 2px solid rgba(52, 199, 89, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.ecosystem-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #34c759, #30d158, #32d74b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ecosystem-item:hover::before {
    opacity: 1;
}

.ecosystem-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(52, 199, 89, 0.15);
    border-color: rgba(52, 199, 89, 0.2);
}

.ecosystem-item.main {
    border: 2px solid #34c759;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.05), rgba(48, 209, 88, 0.05));
    position: relative;
}

.ecosystem-item.main::after {
    content: 'FEATURED';
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #34c759, #30d158);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}

.item-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(52, 199, 89, 0.2));
}

.ecosystem-item:hover .item-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(52, 199, 89, 0.3));
}

.ecosystem-item h4 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.ecosystem-item p {
    color: #6e6e73;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.item-status {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-status.free {
    background: linear-gradient(135deg, #34c759, #30d158);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}

.item-status.coming {
    background: linear-gradient(135deg, #ff9500, #ffb340);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.item-status.premium {
    background: linear-gradient(135deg, #af52de, #bf5af2);
    color: white;
    box-shadow: 0 4px 12px rgba(175, 82, 222, 0.3);
}

.ecosystem-item .btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #34c759, #30d158);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(52, 199, 89, 0.3);
}

.ecosystem-item .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 199, 89, 0.4);
    background: linear-gradient(135deg, #30d158, #32d74b);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ecosystem-path {
        padding: 2rem;
        margin: 2rem 0;
    }
    
    .path-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .path-header h3 {
        font-size: 1.6rem;
    }
    
    .ecosystem-item {
        padding: 2rem;
    }
    
    .ecosystem-item.main::after {
        top: 15px;
        right: 15px;
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
    }
    
    .item-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .ecosystem-item h4 {
        font-size: 1.4rem;
    }
}

/* Animation for entrance */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ecosystem-item {
    animation: slideInUp 0.6s ease-out;
}

.ecosystem-item:nth-child(2) {
    animation-delay: 0.1s;
}

.ecosystem-item:nth-child(3) {
    animation-delay: 0.2s;
}

/* Hover effects for better interaction */
.ecosystem-item {
    cursor: pointer;
}

.ecosystem-item:active {
    transform: translateY(-2px);
}

/* Focus states for accessibility */
.ecosystem-item:focus {
    outline: 3px solid rgba(52, 199, 89, 0.5);
    outline-offset: 2px;
}

.ecosystem-item .btn-primary:focus {
    outline: 3px solid rgba(52, 199, 89, 0.5);
    outline-offset: 2px;
}

/* Dynamic Modal Styles for Human Experience */

/* Emotional Progression Modal */
.emotional-progression {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.95), rgba(255, 255, 255, 0.95));
    color: #1d1d1f;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(52, 199, 89, 0.3);
    z-index: 10001;
    text-align: center;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(52, 199, 89, 0.2);
    max-width: 400px;
    width: 90%;
}

.emotional-progression.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.progression-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.progression-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: heartPulse 2s ease-in-out infinite;
}

.progression-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #1d1d1f;
}

.progression-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin: 0;
    color: #1d1d1f;
}

/* Companion Greeting Modal */
.companion-greeting {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(52, 199, 89, 0.2);
    border: 2px solid rgba(52, 199, 89, 0.2);
    max-width: 350px;
    z-index: 10001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.companion-greeting.show {
    opacity: 1;
    transform: translateY(0);
}

.greeting-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.greeting-avatar {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    animation: wave 2s ease-in-out infinite;
}

.greeting-message h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #1d1d1f;
}

.greeting-message p {
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
    color: #1d1d1f;
}

.greeting-cta,
.greeting-dismiss {
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.3);
    color: #34c759;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.greeting-cta:hover,
.greeting-dismiss:hover {
    background: rgba(52, 199, 89, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 199, 89, 0.1);
}

.greeting-cta {
    background: #34c759;
    color: white;
}

.greeting-cta:hover {
    background: #30d158;
}

/* Human Connection Response Modal */
.human-response {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    color: #1d1d1f;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(52, 199, 89, 0.15);
    border: 1px solid rgba(52, 199, 89, 0.2);
    max-width: 320px;
    z-index: 10001;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.human-response.show {
    opacity: 1;
    transform: translateX(0);
}

.response-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.response-avatar {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.response-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #1d1d1f;
}

.response-content p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1.3;
    color: #1d1d1f;
}

/* Memory Formation Modal */
.memory-formation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.95), rgba(255, 255, 255, 0.95));
    color: #1d1d1f;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(52, 199, 89, 0.3);
    z-index: 10001;
    text-align: center;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(52, 199, 89, 0.2);
    max-width: 400px;
    width: 90%;
}

.memory-formation.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.memory-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.memory-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: memoryGlow 2s ease-in-out infinite;
}

/* Connection Achievement Modal */
.connection-achievement {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    color: #1d1d1f;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(52, 199, 89, 0.25);
    border: 2px solid rgba(52, 199, 89, 0.2);
    z-index: 10001;
    text-align: center;
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 450px;
    width: 90%;
}

.connection-achievement.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.achievement-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.achievement-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    animation: celebration 1.5s ease-in-out infinite;
}

.achievement-content h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    color: #1d1d1f;
}

.achievement-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
    color: #1d1d1f;
}

.achievement-reward {
    background: rgba(52, 199, 89, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(52, 199, 89, 0.3);
    color: #34c759;
}

/* Animations for Human Experience */
@keyframes heartPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

@keyframes memoryGlow {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes celebration {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    40% {
        transform: translateY(-10px) rotate(-5deg);
    }
    60% {
        transform: translateY(-5px) rotate(5deg);
    }
}

/* Modal Overlay for Full Screen Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Close Button for Modals */
.modal-close,
.progression-close,
.greeting-close,
.response-close,
.memory-close,
.achievement-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(52, 199, 89, 0.1);
    border: none;
    color: #34c759;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover,
.progression-close:hover,
.greeting-close:hover,
.response-close:hover,
.memory-close:hover,
.achievement-close:hover {
    background: rgba(52, 199, 89, 0.2);
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .companion-greeting {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .human-response {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .emotional-progression,
    .memory-formation,
    .connection-achievement {
        width: 95%;
        padding: 2rem;
    }

    .greeting-content,
    .response-content {
        gap: 0.75rem;
    }

    .progression-icon,
    .achievement-icon {
        font-size: 2.5rem;
    }

    .memory-icon {
        font-size: 2rem;
    }
}