/* ============================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   ============================================ */
:root {
    --accent: #00f2fe;
    --accent-dark: #4facfe;
    --bg-dark: #05060a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    color: #fff;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   NAVBAR - GLASSMORPHISM AVANZADO
   ============================================ */
.navbar {
    position: fixed;
    width: 100%;
    height: 90px;
    z-index: 2000;
    background: rgba(5, 6, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar:hover {
    background: rgba(5, 6, 10, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 10px var(--accent));
    transition: var(--transition);
}

.logo:hover img {
    filter: drop-shadow(0 0 20px var(--accent));
}

.logo span {
    font-weight: 300;
}

.logo strong {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.checkbtn {
    display: none;
    color: var(--accent);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.checkbtn:hover {
    transform: scale(1.1);
}

#check {
    display: none;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-item {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-item:hover {
    color: var(--accent);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-item:hover::after {
    width: 100%;
}

/* Buscador Estilizado */
.search-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    padding: 8px 15px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.search-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.search-wrapper input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    width: 180px;
    font-size: 0.95rem;
}

.search-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-wrapper i {
    color: var(--accent);
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.search-wrapper i:hover {
    transform: scale(1.2);
}

/* ============================================
   HERO SECTION - FONDO ANIMADO
   ============================================ */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #05060a 0%, #0a1628 100%);
}

#vanta-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 10;
    height: 100%;
    background: radial-gradient(circle at center, transparent, rgba(5, 6, 10, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-ai {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.2));
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(0, 242, 254, 0);
    }
}

.main-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.main-title span {
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 100px 20px;
    background: var(--bg-dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid var(--border);
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(79, 172, 254, 0.1));
    padding: 20px;
    transition: var(--transition);
}

.frame:hover {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.3);
    transform: scale(1.02);
}

.frame img {
    width: 100%;
    border-radius: 20px;
    display: block;
    transition: var(--transition);
}

.frame:hover img {
    transform: scale(1.05);
}

.sub-heading {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-text h2 {
    font-size: 2.5rem;
    margin: 15px 0 25px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    color: #bbb;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.description strong {
    color: var(--accent);
    font-weight: 600;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #000;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
    margin-top: 10px;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.5);
}

.btn-download i {
    transition: var(--transition);
}

.btn-download:hover i {
    transform: translateY(3px);
}

/* ============================================
   CURSOS SECTION - GRID AVANZADO
   ============================================ */
.grid-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0e1a 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.title-l {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.section-description {
    color: #888;
    font-size: 1.1rem;
    margin-top: 15px;
}

.divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    margin: 0 auto;
    border-radius: 10px;
}

.grid-4x4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* ============================================
   TARJETAS PREMIUM CON EFECTOS AVANZADOS
   ============================================ */
.premium-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.premium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.premium-card:hover::before {
    opacity: 1;
}

.premium-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 242, 254, 0.2);
}

.card-image {
    height: 200px;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(79, 172, 254, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
}

.card-image::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 242, 254, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.card-image img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.3));
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.premium-card:hover .card-image img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 30px rgba(0, 242, 254, 0.6));
}

.card-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: #000;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.4);
    transition: var(--transition);
}

.premium-card:hover .card-tag {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.6);
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
    transition: var(--transition);
}

.premium-card:hover .card-body h3 {
    color: var(--accent);
}

.card-reveal {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition);
}

.card-reveal p {
    color: #aaa;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.premium-card:hover .card-reveal {
    max-height: 200px;
    opacity: 1;
}

/* ============================================
   BOTÓN "CONOCE MÁS" CON EFECTOS PREMIUM
   ============================================ */
.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.2));
    color: var(--accent);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--accent);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-more:hover::before {
    width: 300px;
    height: 300px;
}

.btn-more:hover {
    color: #000;
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.4);
}

.btn-more span {
    position: relative;
    z-index: 1;
}

.btn-more i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.btn-more:hover i {
    transform: translateX(5px);
}

/* ============================================
   PAGINACIÓN AVANZADA
   ============================================ */
.pagination-advanced {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.p-btn,
.p-number {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.p-btn:hover,
.p-number:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.4);
}

.p-number.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #000;
    border-color: var(--accent);
}

#pageNumbers {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ============================================
   PROYECTOS SECTION
   ============================================ */
.projects-section {
    padding: 100px 20px;
    background: var(--bg-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.project-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(0, 242, 254, 0.3);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.project-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.5);
}

.project-content {
    padding: 30px;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.2));
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.project-content p {
    color: #aaa;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   FOOTER PREMIUM
   ============================================ */
.main-footer {
    background: var(--bg-dark);
    padding: 60px 20px;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.social-circle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.s-link {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: #fff;
    font-size: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.s-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--c);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s;
}

.s-link:hover::before {
    transform: scale(1);
}

.s-link i {
    position: relative;
    z-index: 1;
}

.s-link:hover {
    color: #000;
    border-color: var(--c);
    box-shadow: 0 0 20px var(--c);
    transform: translateY(-5px);
}

.copyright {
    color: #888;
    font-size: 0.95rem;
}

.glow-text {
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}


/* ============================================
   BOTÓN WHATSAPP - VERSIÓN MEJORADA (ELEGANTE + MODERNA)
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 3000;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(145deg, #25d366, #20b859);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.5);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    overflow: hidden;
    animation: gentleBeat 2s ease-in-out infinite;
}

/* Latido suave y orgánico */
@keyframes gentleBeat {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 25px rgba(37, 211, 102, 0.5), 0 0 0 8px rgba(37, 211, 102, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Icono interno */
.whatsapp-float i {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
    will-change: transform;
}

/* HOVER: expansión y transformación elegante */
.whatsapp-float:hover {
    width: 180px;
    border-radius: 50px;
    background: white;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4), 0 0 0 5px rgba(37, 211, 102, 0.3);
    animation: none;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* Onda expansiva al hacer hover */
.whatsapp-float:hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.3), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.6;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Icono en hover: cambia a verde y se desplaza */
.whatsapp-float:hover i {
    color: #25d366;
    transform: rotate(3deg) scale(1.1);
    margin-right: 8px;
    filter: drop-shadow(0 0 6px #25d366);
}

/* Texto oculto que aparece suavemente */
.whatsapp-float .hover-text {
    position: absolute;
    right: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #25d366;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.whatsapp-float:hover .hover-text {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

/* Pequeño detalle: sombra animada en hover */
.whatsapp-float:hover {
    animation: shadowPulse 0.8s infinite alternate;
}

@keyframes shadowPulse {
    0% {
        box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4), 0 0 0 5px rgba(37, 211, 102, 0.3);
    }
    100% {
        box-shadow: 0 20px 40px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.5);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float i {
        font-size: 2rem;
    }
    .whatsapp-float:hover {
        width: 160px;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1100px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .grid-4x4 {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }
    .checkbtn {
        display: block;
        order: 1;
    }
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: rgba(5, 6, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
        transition: left 0.5s ease;
        border-top: 1px solid var(--border);
    }
    #check:checked ~ .nav-links {
        left: 0;
    }
    .nav-actions {
        display: none;
    }
    .main-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .about-text h2 {
        font-size: 2rem;
    }
    .title-l {
        font-size: 2.2rem;
    }
    .grid-4x4 {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .about-section,
    .grid-section,
    .projects-section {
        padding: 60px 20px;
    }
    .main-footer {
        padding: 40px 20px;
    }
    /* WhatsApp responsive */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float i {
        font-size: 2rem;
    }
    .whatsapp-float:hover {
        width: 160px;
    }
    .whatsapp-float:hover::before {
        width: 50px;
        height: 50px;
        top: -12px;
        right: -12px;
    }
    .whatsapp-float:hover::after {
        width: 45px;
        height: 45px;
        bottom: -10px;
        left: -10px;
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 1.3rem;
    }
    .logo img {
        height: 40px;
    }
    .main-title {
        font-size: 1.8rem;
    }
    .badge-ai {
        font-size: 0.75rem;
        padding: 6px 15px;
    }
    .btn-download {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    .premium-card {
        border-radius: 16px;
    }
    .card-image {
        height: 150px;
    }
    .card-image img {
        width: 70px;
        height: 70px;
    }
    .s-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .project-image {
        height: 200px;
    }
    .p-btn,
    .p-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}