/* ==========================================
   INDEX STYLES - DRAGONDROP STUDIO
   ========================================== */

/* Ajustes responsivos para el contenedor del Hero */
.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

/* Caja de código responsiva con scroll horizontal en móviles si es necesario */
.code-box {
    background: rgba(11, 15, 25, 0.9);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    overflow-x: auto;
}

/* Adaptaciones para pantallas pequeñas */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .hero-section .d-flex {
        justify-content: center;
    }
}

/* Smooth Scroll para la navegación interna */
html {
    scroll-behavior: smooth;
}

/* Estilos de la Marca & Logo */
.brand-logo-img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
}

/* Botones Circulares Redes Sociales en el Footer */
.social-circle-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-circle-btn:hover {
    background: #06b6d4;
    color: #0b0f17;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

/* Efectos Tech Avanzados para Tarjetas */
.service-card,
.about-card,
.social-media-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(11, 15, 23, 0.95));
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.service-card::before,
.about-card::before,
.social-media-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--bs-info, #06b6d4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover,
.about-card:hover,
.social-media-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 12px 35px -10px rgba(6, 182, 212, 0.25);
}

.service-card:hover::before,
.about-card:hover::before,
.social-media-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    background: rgba(6, 182, 212, 0.2);
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.navbar {
    background-color: rgba(18, 20, 23, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1030;
}

.brand-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
}

/* ==========================================
   EFECTOS VISUALES HERO SECTION
   ========================================== */

.hero-glow-orb {
    position: absolute;
    top: 10%;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(139, 92, 246, 0.10) 45%, transparent 70%);
    filter: blur(35px);
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 7s ease-in-out infinite alternate;
}

.hero-gradient-text {
    background: linear-gradient(90deg, #22d3ee, #06b6d4, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22d3ee;
    box-shadow: 0 0 8px #22d3ee;
    animation: pulseDot 1.8s infinite;
}

.hero-cta-glow {
    position: relative;
    overflow: hidden;
}

.hero-cta-glow::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.hero-cta-glow:hover::after {
    left: 140%;
}

.hero-btn-secondary {
    border-color: rgba(148, 163, 184, 0.35);
    transition: all 0.25s ease;
}

.hero-btn-secondary:hover {
    border-color: #06b6d4;
    background-color: rgba(6, 182, 212, 0.08);
    transform: translateY(-2px);
}

.terminal-glow {
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.15), 0 18px 40px -15px rgba(6, 182, 212, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.terminal-glow:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.35), 0 22px 45px -12px rgba(6, 182, 212, 0.35);
}

.terminal-cursor {
    display: inline-block;
    color: #22d3ee;
    font-weight: bold;
    animation: blinkCursor 1s steps(2, start) infinite;
}

.hero-stagger {
    animation: fadeSlideUp 0.7s ease-out both;
}

.hero-stagger-delay {
    animation: fadeSlideUp 0.9s ease-out 0.15s both;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatOrb {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-25px, 20px) scale(1.08);
    }
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.8);
    }
}

@keyframes blinkCursor {
    to {
        visibility: hidden;
    }
}