/* ===================================
   SECCIÓN INICIO - HERO
   =================================== */
.Inicio {
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9f6 100%);
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.Inicio .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6rem;
    position: relative;
    z-index: 5;
}

/* ===================================
   CONTENIDO DE TEXTO - LADO IZQUIERDO
   =================================== */
.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeInLeft 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-transform: capitalize;
}

.hero-content .subtitle {
    font-size: 1.8rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInLeft 1s ease-out 0.2s backwards;
}

.hero-content p {
    font-size: 1.2rem;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInLeft 1s ease-out 0.3s backwards;
}

/* Grupo de Botones */
.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInLeft 1s ease-out 0.4s backwards;
}

.button-group button {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

.button-group .btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
}

.button-group .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.button-group .btn-secondary {
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
}

.button-group .btn-secondary:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-3px);
}

/* Redes Sociales */
.social-links {
    display: flex;
    gap: 1.5rem;
    animation: fadeInLeft 1s ease-out 0.5s backwards;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #10b981;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

/* ===================================
   CONTENEDOR DEL ÁTOMO
   =================================== */
.atom-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    flex-shrink: 0;
    animation: fadeInRight 1s ease-out 0.6s backwards;
}

/* ===================================
   NÚCLEO CENTRAL - FOTO
   =================================== */
.nucleus {
    position: absolute;
    z-index: 10;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid #10b981;
    box-shadow: 0 0 60px rgba(16, 185, 129, 0.6),
                0 0 100px rgba(16, 185, 129, 0.3),
                inset 0 0 30px rgba(16, 185, 129, 0.2);
    overflow: hidden;
    background: #ffffff;
    animation: pulse 3s ease-in-out infinite;
}

.nucleus img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 60px rgba(16, 185, 129, 0.6),
                    0 0 100px rgba(16, 185, 129, 0.3),
                    inset 0 0 30px rgba(16, 185, 129, 0.2);
    }
    50% {
        box-shadow: 0 0 80px rgba(16, 185, 129, 0.8),
                    0 0 120px rgba(16, 185, 129, 0.5),
                    inset 0 0 40px rgba(16, 185, 129, 0.3);
    }
}

/* ===================================
   ÓRBITAS ESTILO ÁTOMO
   =================================== */
.orbit {
    position: absolute;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Órbita 1 - Horizontal */
.orbit-1 {
    width: 400px;
    height: 400px;
    animation: rotate 20s linear infinite;
}

/* Órbita 2 - Inclinada 60deg */
.orbit-2 {
    width: 400px;
    height: 400px;
    transform: rotateX(60deg) rotateY(0deg);
    animation: rotate 25s linear infinite reverse;
}

/* Órbita 3 - Inclinada 120deg */
.orbit-3 {
    width: 400px;
    height: 400px;
    transform: rotateX(60deg) rotateY(60deg);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotateZ(0deg);
    }
    to {
        transform: rotateZ(360deg);
    }
}

/* ===================================
   ICONOS DE TECNOLOGÍA
   =================================== */
.tech-icon {
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid;
    box-shadow: 0 0 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: float 4s ease-in-out infinite;
}

.tech-icon:hover {
    transform: scale(1.3) translateY(-5px);
    z-index: 100;
}

.tech-icon i {
    filter: drop-shadow(0 0 5px currentColor);
}

/* Tooltip */
.tech-icon::after {
    content: attr(data-tech);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-family: 'Segoe UI', sans-serif;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.tech-icon:hover::after {
    opacity: 1;
}

/* Posicionamiento Órbita 1 - 4 iconos */
.orbit-1 .tech-icon:nth-child(1) { 
    top: -32px; 
    left: 50%; 
    transform: translateX(-50%);
    color: #61dafb;
    border-color: #61dafb;
    box-shadow: 0 0 25px rgba(97, 218, 251, 0.6);
}

.orbit-1 .tech-icon:nth-child(2) { 
    top: 50%; 
    right: -32px;
    transform: translateY(-50%);
    color: #f0db4f;
    border-color: #f0db4f;
    box-shadow: 0 0 25px rgba(240, 219, 79, 0.6);
}

.orbit-1 .tech-icon:nth-child(3) { 
    bottom: -32px; 
    left: 50%;
    transform: translateX(-50%);
    color: #e34c26;
    border-color: #e34c26;
    box-shadow: 0 0 25px rgba(227, 76, 38, 0.6);
}

.orbit-1 .tech-icon:nth-child(4) { 
    top: 50%; 
    left: -32px;
    transform: translateY(-50%);
    color: #ff2d20;
    border-color: #ff2d20;
    box-shadow: 0 0 25px rgba(255, 45, 32, 0.6);
}

/* Posicionamiento Órbita 2 - 4 iconos */
.orbit-2 .tech-icon:nth-child(1) { 
    top: -32px; 
    left: 50%; 
    transform: translateX(-50%);
    color: #264de4;
    border-color: #264de4;
    box-shadow: 0 0 25px rgba(38, 77, 228, 0.6);
}

.orbit-2 .tech-icon:nth-child(2) { 
    top: 50%; 
    right: -32px;
    transform: translateY(-50%);
    color: #47a248;
    border-color: #47a248;
    box-shadow: 0 0 25px rgba(71, 162, 72, 0.6);
}

.orbit-2 .tech-icon:nth-child(3) { 
    bottom: -32px; 
    left: 50%;
    transform: translateX(-50%);
    color: #00758f;
    border-color: #00758f;
    box-shadow: 0 0 25px rgba(0, 117, 143, 0.6);
}

.orbit-2 .tech-icon:nth-child(4) { 
    top: 50%; 
    left: -32px;
    transform: translateY(-50%);
    color: #68217a;
    border-color: #68217a;
    box-shadow: 0 0 25px rgba(104, 33, 122, 0.6);
}

/* Posicionamiento Órbita 3 - 3 iconos */
.orbit-3 .tech-icon:nth-child(1) { 
    top: -32px; 
    left: 50%; 
    transform: translateX(-50%);
    color: #7952b3;
    border-color: #7952b3;
    box-shadow: 0 0 25px rgba(121, 82, 179, 0.6);
}

.orbit-3 .tech-icon:nth-child(2) { 
    bottom: 15%; 
    right: -32px;
    transform: translateY(-50%);
    color: #fb7a24;
    border-color: #fb7a24;
    box-shadow: 0 0 25px rgba(251, 122, 36, 0.6);
}

.orbit-3 .tech-icon:nth-child(3) { 
    bottom: 15%; 
    left: -32px;
    transform: translateY(-50%);
    color: #cc2927;
    border-color: #cc2927;
    box-shadow: 0 0 25px rgba(204, 41, 39, 0.6);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

/* ===================================
   PARTÍCULAS DECORATIVAS
   =================================== */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #10b981;
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 10s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

@keyframes particle-float {
    0%, 100% { 
        transform: translateY(0) translateX(0); 
        opacity: 0.6; 
    }
    50% { 
        transform: translateY(-100px) translateX(50px); 
        opacity: 1; 
    }
}

/* ===================================
   ANIMACIONES DE ENTRADA
   =================================== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1200px) {
    .Inicio .container {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }

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

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content .subtitle {
        font-size: 1.5rem;
    }

    .button-group {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .atom-container {
        width: 450px;
        height: 450px;
    }

    .orbit-1, .orbit-2, .orbit-3 {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .Inicio {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .button-group button {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .atom-container {
        width: 350px;
        height: 350px;
    }

    .orbit-1, .orbit-2, .orbit-3 {
        width: 280px;
        height: 280px;
    }

    .nucleus {
        width: 160px;
        height: 160px;
    }

    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }

    .button-group {
        flex-direction: column;
        width: 100%;
    }

    .button-group button {
        width: 100%;
    }

    .atom-container {
        width: 300px;
        height: 300px;
    }

    .orbit-1, .orbit-2, .orbit-3 {
        width: 240px;
        height: 240px;
    }

    .nucleus {
        width: 130px;
        height: 130px;
    }

    .tech-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}