/* ===================================
   INTEGRATEK - Landing Page Styles
   =================================== */

/* RESET Y VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e5bb8;
    --secondary-blue: #00a8e8;
    --dark-gray: #333;
    --light-gray: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(0,0,0,0.08);
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}

/* ===================================
   NAVEGACIÓN
   =================================== */
.navbar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}

.logo-hex {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.3);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-hex-inner {
    width: 38px;
    height: 38px;
    background: var(--white);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.logo-text h1 {
    font-size: 24px;
    font-weight: bold;
}

.logo-text span {
    color: #FFD700;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 5px;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 150px 5% 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="100" cy="100" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="300" cy="200" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="500" cy="150" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="700" cy="250" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="900" cy="180" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="1100" cy="220" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-blue);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: fadeInUp 1.2s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: #FFD700;
}

/* ===================================
   SERVICIOS
   =================================== */
.services {
    padding: 80px 5%;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--light-gray);
    font-size: 1.1rem;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--light-gray);
    line-height: 1.8;
}

.service-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.service-features ul {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: var(--light-gray);
    font-size: 0.95rem;
}

.service-features li::before {
    content: "✓ ";
    color: var(--secondary-blue);
    font-weight: bold;
    margin-right: 8px;
}

/* ===================================
   POR QUÉ ELEGIRNOS
   =================================== */
.why-us {
    padding: 80px 5%;
    background: var(--white);
}

.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-content h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.why-us-content p {
    color: var(--light-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.benefits {
    display: grid;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: start;
    gap: 15px;
}

.benefit-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.benefit-text p {
    color: var(--light-gray);
    font-size: 0.95rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===================================
   CONTACTO
   =================================== */
.contact {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    text-align: center;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    background: rgba(255,255,255,0.15);
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-item-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-item h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-item p {
    font-size: 0.95rem;
    margin: 0;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 40px 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--secondary-blue);
}

.footer-tagline {
    color: #999;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--secondary-blue);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.9rem;
}

/* ===================================
   ANIMACIONES
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-blue);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .why-us-container {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}