/* =========================================
   INDEX.HTML - ESTILOS ESPECÍFICOS
   Homepage - Kette & Zelle
   ========================================= */

/* =========================================
   HERO SECTION
   ========================================= */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 50%, var(--blue-light) 100%);
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 207, 2, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 207, 2, 0.08) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.8s ease-out;
}

.hero-line {
    display: inline-block;
    white-space: nowrap;
}

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

.hero-accent {
    color: var(--yellow);
    display: block;
    margin-top: 0.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    animation: slideInLeft 0.8s ease-out 0.6s both;
}

.stat-number {
    font-family: 'Archivo', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--yellow);
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.hero-visual {
    animation: slideInRight 0.8s ease-out 0.4s both;
}

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

.floating-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-card:nth-child(2) { animation-delay: 1s; }
.floating-card:nth-child(3) { animation-delay: 2s; }

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.card-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* =========================================
   SERVICE CARDS
   ========================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--yellow);
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 73, 117, 0.15);
    border-color: var(--yellow);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
    box-shadow: 0 8px 25px rgba(0, 73, 117, 0.3);
}

.service-title {
    font-size: 1.5rem;
    color: var(--blue-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--blue-dark);
}

.service-description {
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-description {
    color: var(--gray-900);
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-800);
    transition: all 0.3s ease;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-weight: bold;
    transition: all 0.3s ease;
}

.service-card:hover .service-features li {
    color: var(--gray-900);
}

.service-card:hover .service-features li::before {
    color: var(--blue-primary);
    transform: scale(1.2);
}

.service-link {
    color: var(--blue-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.service-card:hover .service-link {
    color: var(--yellow-dark);
    gap: 1rem;
    font-weight: 700;
}

/* =========================================
   SYSTEM CARDS
   ========================================= */

.system-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    text-decoration: none;
    display: block;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--blue-primary);
    transition: height 0.4s ease;
}

.system-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 73, 117, 0.2);
    border-color: var(--blue-primary);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.system-card:hover::before {
    height: 100%;
}

.system-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    color: var(--blue-dark);
}

.system-card:hover .system-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(255, 207, 2, 0.4);
}

/* Hover específico solo cuando mouse está sobre el texto */
.highlight-hover {
    transition: all 0.3s ease;
    display: inline;
    cursor: pointer;
    position: relative;
}

.highlight-hover:hover {
    color: #FF6B35;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
}

/* Animación de parpadeo para llamar atención */
@keyframes pulse-glow {
    0%, 100% {
        color: inherit;
        text-shadow: none;
    }
    50% {
        color: #FF6B35;
        text-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
    }
}

.highlight-hover {
    animation: pulse-glow 2s ease-in-out infinite;
}

.system-title {
    font-size: 1.5rem;
    color: var(--blue-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.system-card:hover .system-title {
    color: var(--blue-dark);
}

.system-description {
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.system-card:hover .system-description {
    color: var(--gray-900);
}

.system-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.system-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-800);
    transition: all 0.3s ease;
}

.system-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--blue-primary);
    font-weight: bold;
    transition: all 0.3s ease;
}

.system-card:hover .system-features li {
    color: var(--gray-900);
}

.system-card:hover .system-features li::before {
    color: var(--yellow);
    transform: translateX(5px);
}

.system-link-text {
    color: var(--blue-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.system-card:hover .system-link-text {
    color: var(--yellow-dark);
    gap: 1rem;
    font-weight: 700;
}

/* =========================================
   RESPONSIVE - INDEX
   ========================================= */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
    }
}
