/* ============================================
   CONOCE A SOFIA - CSS
   Presentacion premium inmersiva
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    background: #f8fafc;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Back button */
.back-btn {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s;
}
.back-btn:hover {
    background: #fff;
    color: #1e3a8a;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%);
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%,-50%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.sofia-avatar-large {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 32px;
}

.sofia-avatar-large img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.avatar-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(59,130,246,0.4);
    animation: ringRotate 8s linear infinite;
}

@keyframes ringRotate {
    0% { transform: rotate(0deg); border-color: rgba(59,130,246,0.4); }
    50% { border-color: rgba(168,85,247,0.4); }
    100% { transform: rotate(360deg); border-color: rgba(59,130,246,0.4); }
}

.avatar-pulse {
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    animation: pulseRing 3s ease-out infinite;
}

@keyframes pulseRing {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.3); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    margin-bottom: 24px;
}

.hero-tagline {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px 28px;
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #0f172a;
}

.section-title i {
    color: #3b82f6;
    font-size: 1.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #64748b;
    max-width: 600px;
    margin: -32px auto 40px;
    line-height: 1.6;
}

/* ============================================
   PARADIGM (new "why Sofia is different" section)
   ============================================ */
.paradigm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.paradigm-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #dbeafe;
    background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
    transition: transform 0.2s, box-shadow 0.2s;
}

.paradigm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59,130,246,0.1);
}

.paradigm-icon {
    width: 48px;
    height: 48px;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.paradigm-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

.paradigm-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
}

/* ============================================
   PERSONALITY
   ============================================ */
.personality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.trait-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.trait-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.trait-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.trait-proactiva .trait-icon { background: #fef3c7; color: #d97706; }
.trait-estrategica .trait-icon { background: #dbeafe; color: #2563eb; }
.trait-empatica .trait-icon { background: #fce7f3; color: #db2777; }
.trait-experta .trait-icon { background: #d1fae5; color: #059669; }
.trait-lider .trait-icon { background: #ede9fe; color: #7c3aed; }
.trait-mentora .trait-icon { background: #fff7ed; color: #ea580c; }

.trait-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

.trait-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* ============================================
   CAPABILITIES
   ============================================ */
.capability-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.cap-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cap-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.cap-highlight {
    background: linear-gradient(135deg, #eff6ff, #f0f4ff);
    border-color: #93c5fd;
}

/* .cap-coming removed — video is now live */

.cap-icon {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
}

.cap-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

/* .badge-soon removed — all capabilities are live */

.cap-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cap-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.cap-tags span {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ============================================
   HOW I WORK
   ============================================ */
.how-i-work {
    background: #f1f5f9;
    border-radius: 24px;
    margin: 0 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.how-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.how-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.how-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

.how-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
}

/* Tech badge */
.tech-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
}

.tech-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
}

.tech-badge span {
    font-size: 0.75rem;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
    text-align: center;
    padding: 60px 24px 80px;
}

.cta-card {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 600px;
    margin: 0 auto;
    color: #fff;
}

.cta-card h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #fff;
    color: #1e3a8a;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.cta-free {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 16px;
}

/* Footer */
.sofia-footer {
    text-align: center;
    padding: 24px;
    color: #94a3b8;
    font-size: 0.85rem;
}

.sofia-footer strong {
    color: #64748b;
}

/* ============================================
   PRODUCTS PANEL SECTION
   ============================================ */

.products {
    background: linear-gradient(180deg, #f0f7ff 0%, #f8fafc 100%);
}

.products .section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.05rem;
    max-width: 600px;
    margin: -16px auto 40px;
    line-height: 1.6;
}

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

.product-category {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.product-category-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-category-label i {
    font-size: 0.9rem;
    color: #94a3b8;
}

.product-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.2s;
}

.product-item:hover {
    background: #f0f4ff;
    border-color: rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.product-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.product-item-info h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.product-item-info p {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
}

.products-cta {
    text-align: center;
    margin-top: 32px;
}

.products-cta p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 12px;
    color: #3b82f6;
    font-size: 0.88rem;
    font-weight: 500;
}

.products-cta p i:first-child {
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero { min-height: auto; padding: 100px 20px 60px; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-stats { gap: 12px; }
    .stat-card { padding: 14px 20px; min-width: 90px; }
    .stat-number { font-size: 1.5rem; }
    
    .section { padding: 60px 16px; }
    .section-title { font-size: 1.5rem; margin-bottom: 32px; }
    
    .paradigm-grid { grid-template-columns: 1fr 1fr; }
    .personality-grid { grid-template-columns: 1fr; }
    .capability-cards { grid-template-columns: 1fr; }
    .how-grid { grid-template-columns: 1fr 1fr; }
    .products-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .cta-card { padding: 40px 24px; }
    .cta-card h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .sofia-avatar-large, .sofia-avatar-large img { width: 100px; height: 100px; }
    .paradigm-grid { grid-template-columns: 1fr; }
    .how-grid { grid-template-columns: 1fr; }
    .back-btn span { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-bg-glow, .avatar-ring, .avatar-pulse { animation: none; }
    .trait-card:hover, .cap-card:hover, .how-card:hover { transform: none; }
}
