:root {
    /* Colores basados en el branding de SIGIP */
    --primary: #1e4a7a;
    --primary-dark: #0d2847;
    --accent: #4dd0e1;
    --accent-light: #80deea;
    --accent-dark: #00acc1;
    --bg: #0a1628;
    --bg-light: #1a2844;
    --text: #ffffff;
    --text-muted: #b0bec5;
    --text-dark: #263238;
    --success: #66bb6a;
    --error: #ef5350;
    --card-bg: rgba(30, 74, 122, 0.1);
    --card-border: rgba(77, 208, 225, 0.2);
    
    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(77, 208, 225, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    color: var(--text);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.rh-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-nav {
    background: var(--accent);
    color: var(--bg);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-nav:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(77, 208, 225, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(77, 208, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(30, 74, 122, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-light) 100%);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(77, 208, 225, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 8px 24px rgba(77, 208, 225, 0.3);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(77, 208, 225, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: rgba(77, 208, 225, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

.hero-image {
    animation: fadeInRight 1s ease-out 0.3s backwards;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(77, 208, 225, 0.3));
}

.floating {
    animation: float 6s ease-in-out infinite;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Sections */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 20px;
    color: var(--text-muted);
}

/* Problema Section */
.problema {
    background: var(--bg-light);
}

.problema-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.problema-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.problema-img:hover {
    transform: scale(1.02);
}

.problema-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.problema-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(239, 83, 80, 0.05);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--error);
}

.icon-x {
    font-size: 24px;
    flex-shrink: 0;
}

.problema-item p {
    color: var(--text-muted);
    margin: 0;
}

/* Features Section */
.features {
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(77, 208, 225, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Galería Section */
.galeria {
    background: var(--bg-light);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.galeria-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.galeria-item:hover {
    transform: scale(1.03);
}

.galeria-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.galeria-item:hover img {
    transform: scale(1.05);
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.95) 100%);
    padding: 30px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s;
}

.galeria-item:hover .galeria-overlay {
    transform: translateY(0);
    opacity: 1;
}

.galeria-overlay h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.galeria-overlay p {
    color: var(--text-muted);
}

/* Beneficios Section */
.beneficios {
    background: var(--bg);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.beneficio-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.beneficio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(77, 208, 225, 0.2);
}

.beneficio-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.beneficio-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    padding: 24px 24px 12px;
    color: var(--accent);
}

.beneficio-card p {
    padding: 0 24px 24px;
    color: var(--text-muted);
}

/* Testimonial Section */
.testimonial {
    background: var(--bg-light);
}

.testimonial-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.testimonial-content img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.quote-icon {
    font-size: 64px;
    font-family: Georgia, serif;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 20px;
}

.testimonial-text h3 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
}

.testimonial-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    color: var(--accent);
    font-size: 18px;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 14px;
}

/* Contacto Section */
.contacto {
    background: var(--bg);
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacto-info h2 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
}

.contacto-info > p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contacto-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacto-feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.check-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

.contacto-feature p {
    color: var(--text-muted);
    margin: 0;
}

.contacto-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(77, 208, 225, 0.2);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-logo p {
    color: var(--text-muted);
    max-width: 400px;
}

.footer-links h4 {
    color: var(--accent);
    font-family: var(--font-display);
    margin-bottom: 16px;
}

.footer-links p {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(77, 208, 225, 0.1);
    text-align: center;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container,
    .problema-grid,
    .features-grid,
    .galeria-grid,
    .beneficios-grid,
    .testimonial-content,
    .contacto-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .nav-links {
        display: none; /* Agregar menú hamburguesa en producción */
    }
    
    .problema-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        gap: 20px;
    }
}
