/* 
* Helios Corp - Landing Page Styles
* Island Architecture Scoped CSS 
* Prefix: hc-
*/

.hc-wrapper {
    /* Variables - Premium Dark Mode / Cinematográfico */
    --hc-base: #0A192F;
    /* Deep Navy */
    --hc-base-light: #112240;
    /* Lighter Navy for cards */
    --hc-base-lighter: #233554;
    --hc-accent: #FFB800;
    /* Solar Amber */
    --hc-accent-hover: #e5a600;
    --hc-eco: #008f39;
    /* Nature Green */
    --hc-text-light: #ccd6f6;
    --hc-text-muted: #8892b0;
    --hc-white: #ffffff;
    --hc-font-heading: 'Outfit', sans-serif;
    --hc-font-body: 'Inter', sans-serif;
    --hc-transition: all 0.3s ease;

    /* Reset & Base within Wrapper */
    box-sizing: border-box;
    font-family: var(--hc-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--hc-text-light);
    background-color: var(--hc-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hc-wrapper *,
.hc-wrapper *::before,
.hc-wrapper *::after {
    box-sizing: inherit;
}

.hc-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hc-wrapper a {
    text-decoration: none;
    color: inherit;
    transition: var(--hc-transition);
}

.hc-wrapper h1,
.hc-wrapper h2,
.hc-wrapper h3,
.hc-wrapper h4,
.hc-wrapper h5,
.hc-wrapper h6 {
    font-family: var(--hc-font-heading);
    margin: 0 0 1rem 0;
    line-height: 1.2;
    color: var(--hc-white);
    font-weight: 600;
}

/* Reusables */
.hc-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hc-grid {
    display: grid;
    gap: 30px;
}

.hc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--hc-font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--hc-transition);
    text-align: center;
    border: none;
}

.hc-btn-primary {
    background-color: var(--hc-accent);
    color: var(--hc-base);
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

.hc-btn-primary:hover {
    background-color: var(--hc-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

.hc-btn-outline {
    background: transparent;
    color: var(--hc-accent);
    border: 1px solid var(--hc-accent);
}

.hc-btn-outline:hover {
    background: rgba(255, 184, 0, 0.1);
}

.hc-btn-full {
    width: 100%;
}

.hc-section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.hc-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--hc-accent);
}

.text-center .hc-section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.hc-section-desc {
    color: var(--hc-text-muted);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    margin-top: 1rem;
}

.text-center {
    text-align: center;
}

/* ---------------- HEADER ---------------- */
.hc-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0) 100%);
}

.hc-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hc-logo {
    height: 60px;
}

/* ---------------- HERO SECTION ---------------- */
.hc-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hc-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../PortadaFacebook.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hc-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cinematic Gradient */
    background: linear-gradient(90deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.8) 50%, rgba(10, 25, 47, 0.4) 100%);
}

.hc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hc-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 184, 0, 0.15);
    color: var(--hc-accent);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 184, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hc-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hc-subtitle {
    font-size: 1.4rem;
    color: var(--hc-text-light);
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-left: 3px solid var(--hc-eco);
    padding-left: 15px;
}

/* ---------------- ECOSYSTEM SECTION ---------------- */
.hc-ecosystem {
    padding: 100px 0;
    background-color: var(--hc-base);
    position: relative;
}

/* Subtle sunlight glow effect from the top */
.hc-ecosystem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.3) 0%, rgba(10, 25, 47, 0) 80%);
    box-shadow: 0 0 50px 10px rgba(255, 184, 0, 0.1);
}

.hc-ecosystem-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.hc-motor-card {
    background-color: var(--hc-base-light);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--hc-base-lighter);
    transition: var(--hc-transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.hc-motor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--hc-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.hc-motor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 184, 0, 0.3);
}

.hc-motor-card:hover::before {
    transform: scaleX(1);
}

.hc-card-icon {
    font-size: 2.5rem;
    color: var(--hc-accent);
    margin-bottom: 25px;
}

.hc-motor-card:nth-child(1) .hc-card-icon {
    color: var(--hc-eco);
}

/* Energia */
.hc-motor-card:nth-child(1):hover::before {
    background-color: var(--hc-eco);
}

.hc-motor-card:nth-child(1):hover {
    border-color: rgba(0, 143, 57, 0.3);
}

.hc-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.hc-card-text {
    color: var(--hc-text-muted);
    font-size: 1rem;
    margin: 0;
}

/* ---------------- PREVENTA SECTION ---------------- */
.hc-preventa {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--hc-base-light) 0%, var(--hc-base) 100%);
    border-top: 1px solid var(--hc-base-lighter);
    border-bottom: 1px solid var(--hc-base-lighter);
}

.hc-preventa-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hc-accent-text {
    color: var(--hc-accent);
    font-size: 1.8rem;
    margin-top: 15px;
    margin-bottom: 25px;
}

.hc-preventa-desc {
    font-size: 1.15rem;
    color: var(--hc-text-light);
    margin-bottom: 35px;
}

.hc-scarcity-box {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.3);
    padding: 15px 25px;
    border-radius: 6px;
    gap: 15px;
}

.hc-scarcity-box i {
    color: var(--hc-accent);
    font-size: 1.5rem;
}

.hc-scarcity-box span {
    color: var(--hc-white);
    font-weight: 600;
}

/* Form Styling */
.hc-lead-box {
    background-color: var(--hc-base);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--hc-base-lighter);
    position: relative;
}

.hc-lead-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--hc-accent), var(--hc-eco), transparent, transparent);
    z-index: -1;
    border-radius: 14px;
    opacity: 0.5;
}

.hc-form-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hc-form-subtitle {
    color: var(--hc-text-muted);
    margin-bottom: 30px;
    font-size: 1rem;
}

.hc-input-group {
    margin-bottom: 20px;
}

.hc-input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--hc-text-light);
    font-size: 0.95rem;
}

.hc-input-group input,
.hc-input-group select {
    width: 100%;
    padding: 14px 18px;
    background-color: var(--hc-base-light);
    border: 1px solid var(--hc-base-lighter);
    border-radius: 6px;
    color: var(--hc-white);
    font-family: var(--hc-font-body);
    font-size: 1rem;
    transition: var(--hc-transition);
}

.hc-input-group input:focus,
.hc-input-group select:focus {
    outline: none;
    border-color: var(--hc-accent);
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.15);
}

/* ---------------- AUTHORITY SECTION ---------------- */
.hc-authority {
    padding: 100px 0;
    background-color: var(--hc-base);
}

.hc-auth-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    margin-top: 50px;
}

.hc-team-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--hc-base-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 3px solid var(--hc-accent);
}

.hc-team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--hc-base-lighter), var(--hc-base));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--hc-font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--hc-accent);
    border: 2px solid var(--hc-base-lighter);
}

.hc-team-name {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.hc-team-role {
    color: var(--hc-text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.hc-certificate-box {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(to right, rgba(0, 143, 57, 0.1), transparent);
    border: 1px solid rgba(0, 143, 57, 0.3);
    padding: 30px;
    border-radius: 8px;
}

.hc-certificate-box i {
    font-size: 3rem;
    color: var(--hc-eco);
}

.hc-certificate-box h4 {
    color: var(--hc-eco);
    margin-bottom: 8px;
}

.hc-certificate-box p {
    margin: 0;
    color: var(--hc-text-light);
}

/* ---------------- FOOTER ---------------- */
.hc-footer {
    background-color: #050d18;
    padding-top: 60px;
    border-top: 1px solid var(--hc-base-lighter);
}

.hc-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.hc-footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.hc-footer-brand p {
    color: var(--hc-text-muted);
    font-style: italic;
    margin: 0;
}

.hc-footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hc-link-btn {
    background: none;
    border: none;
    color: var(--hc-text-muted);
    font-family: var(--hc-font-body);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    transition: var(--hc-transition);
}

.hc-link-btn:hover {
    color: var(--hc-accent);
    text-decoration: underline;
}

.hc-footer-bottom {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    text-align: center;
}

.hc-footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--hc-text-muted);
}

/* ---------------- MODALS (Island Architecture compatible) ---------------- */
.hc-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 13, 24, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hc-modal.show {
    opacity: 1;
}

.hc-modal-content {
    background: var(--hc-base-light);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--hc-base-lighter);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.hc-modal.show .hc-modal-content {
    transform: translateY(0);
}

.hc-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--hc-base-lighter);
}

.hc-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--hc-accent);
}

.hc-close-modal {
    color: var(--hc-text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--hc-transition);
}

.hc-close-modal:hover {
    color: var(--hc-white);
}

.hc-modal-body {
    padding: 30px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--hc-accent) rgba(0, 0, 0, 0.1);
}

.hc-modal-body::-webkit-scrollbar {
    width: 6px;
}

.hc-modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.hc-modal-body::-webkit-scrollbar-thumb {
    background: var(--hc-accent);
    border-radius: 10px;
}

.hc-modal-body h3 {
    color: var(--hc-white);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.hc-modal-body ul {
    list-style-type: none;
    padding-left: 0;
}

.hc-modal-body ul li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.hc-modal-body ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--hc-accent);
}

/* Navigation Buttons (Overlay Style) */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--hc-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--hc-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.modal-nav-btn:hover {
    background: var(--hc-accent);
    color: var(--hc-base);
    border-color: var(--hc-accent);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav-btn.prev-btn {
    left: 15px;
}

.modal-nav-btn.next-btn {
    right: 15px;
}

/* ---------------- RESPONSIVE MEDIA QUERIES ---------------- */
@media (max-width: 992px) {
    .hc-ecosystem-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .hc-title {
        font-size: 3.2rem;
    }

    .hc-preventa-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hc-hero-content {
        background: rgba(10, 25, 47, 0.7);
        padding: 30px;
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .modal-nav-btn {
        display: none !important;
    }

    .hc-title {
        font-size: 2.5rem;
    }

    .hc-subtitle {
        font-size: 1.1rem;
    }

    .hc-header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .hc-section-title {
        font-size: 2rem;
    }

    .hc-hero {
        align-items: flex-start;
        padding-top: 150px;
    }

    .hc-certificate-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hc-title {
        font-size: 2rem;
    }

    .hc-form-col {
        padding: 0;
    }

    .hc-lead-box {
        padding: 25px 20px;
    }

    .hc-lead-box::before {
        display: none;
    }

    .hc-auth-grid {
        grid-template-columns: 1fr;
    }
}