/* =====================================================
           VARIABLES
        ===================================================== */

:root {
    --primary: #003d7a;
    --primary-dark: #00264d;
    --primary-light: #0056b3;

    --secondary: #4CAF50;
    --secondary-dark: #2e7d32;

    --dark: #071525;
    --dark-2: #0c1f35;
    --dark-3: #102945;

    --text: #1d2939;
    --text-light: #667085;

    --white: #ffffff;
    --background: #f5f8fc;

    --border: #e6ebf2;

    --shadow-sm: 0 8px 25px rgba(0, 30, 60, 0.08);
    --shadow: 0 20px 60px rgba(0, 30, 60, 0.12);
    --shadow-lg: 0 30px 80px rgba(0, 20, 50, 0.22);

    --radius: 20px;
    --transition: all .35s ease;
}


/* =====================================================
           RESET
        ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}


/* =====================================================
           UTILIDADES
        ===================================================== */

.container {
    width: min(1300px, 92%);
    margin: auto;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 18px;

    border-radius: 50px;

    background: rgba(0, 86, 179, .08);
    color: var(--primary-light);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;

    margin-bottom: 18px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;

    color: var(--dark);

    margin-bottom: 18px;
}

.section-header h2 span {
    color: var(--secondary);
}

.section-header p {
    color: var(--text-light);

    font-size: 17px;
    line-height: 1.7;
}


/* =====================================================
           BOTONES
        ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 15px 28px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 600;

    transition: var(--transition);

    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg,
            var(--secondary),
            var(--secondary-dark));

    color: white;

    box-shadow:
        0 10px 25px rgba(76, 175, 80, .28);
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 35px rgba(76, 175, 80, .35);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, .45);

    color: white;

    background: rgba(255, 255, 255, .06);

    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);

    transform: translateY(-3px);
}


/* =====================================================
           HEADER
        ===================================================== */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(255, 255, 255, .94);

    backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgba(0, 0, 0, .05);
}

.navbar {
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
}

.logo img {
    height: 42px;
    width: auto;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 37px;
    font-weight: 600;
    letter-spacing: -.8px;
    line-height: 1.1
}

.logo-text span {
    color: var(--secondary);
}

.logo-subtitle {
    font-size: 9px;
    font-weight: 600;
    color: #404040;
    text-transform:uppercase;
    letter-spacing: 2px;
    display: block;
    margin-top: -2px; 
    line-height: 1; 
}

.nav-menu {
    display: flex;
    align-items: center;

    gap: 30px;
}

.nav-menu a {
    color: #344054;

    font-size: 14px;
    font-weight: 500;

    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-light);
}

.header-actions {
    display: flex;
    align-items: center;

    gap: 12px;
}

.header-contact {
    color: var(--primary);

    padding: 10px 18px;

    border: 1px solid #d7e0eb;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 600;

    transition: var(--transition);
}

.header-contact:hover {
    background: #f2f6fa;
}

.header-login {
    padding: 11px 20px;

    background: var(--primary);

    color: white;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 600;

    box-shadow:
        0 8px 20px rgba(0, 61, 122, .2);

    transition: var(--transition);
}

.header-login:hover {
    transform: translateY(-2px);

    background: var(--primary-dark);
}


/* =====================================================
           HERO
        ===================================================== */

.hero {

    min-height: 760px;
    padding-top: 78px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            rgba(4, 18, 38, .97) 0%,
            rgba(5, 25, 50, .94) 40%,
            rgba(4, 22, 44, .65) 65%,
            rgba(3, 15, 30, .45) 100%),

        url("../img/banner.webp");

    background-size: cover;
    background-position: center;
}


.hero::before {

    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(76, 175, 80, .16),
            transparent 65%);

    right: -250px;
    top: -180px;
}


.hero-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 50px;

    align-items: center;

    position: relative;

    z-index: 2;
}


.hero-content {

    color: white;

    padding: 80px 0;
}


.hero-badge {

    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 18px;

    border-radius: 50px;

    background:
        rgba(255, 255, 255, .09);

    border:
        1px solid rgba(255, 255, 255, .14);

    backdrop-filter:
        blur(12px);

    color: #dce9f7;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: .5px;

    margin-bottom: 24px;
}


.hero h1 {

    font-family: 'Poppins', sans-serif;

    font-size:
        clamp(42px, 5vw, 68px);

    line-height: 1.08;

    letter-spacing: -2px;

    margin-bottom: 24px;
}


.hero h1 span {

    background:
        linear-gradient(135deg,
            #7ed957,
            #b7ef7d);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}


.hero-description {

    max-width: 620px;

    color: rgba(255, 255, 255, .82);

    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 35px;
}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 42px;
}


.hero-features {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}


.hero-feature {

    text-align: center;

    padding: 16px 8px;

    border-right:
        1px solid rgba(255, 255, 255, .1);
}

.hero-feature:last-child {
    border-right: none;
}


.hero-feature i {

    display: block;

    color: #8edb68;

    font-size: 22px;

    margin-bottom: 9px;
}


.hero-feature span {

    font-size: 11px;

    line-height: 1.4;

    color: rgba(255, 255, 255, .8);
}


/* =====================================================
           HERO DASHBOARD
        ===================================================== */

/*.dashboard-container {

    position: relative;

    display: flex;
    justify-content: center;
}


.dashboard-main {

    width: 100%;

    max-width: 620px;

    padding: 12px;

    border-radius: 18px;

    background:
        rgba(8, 24, 45, .85);

    border:
        1px solid rgba(255, 255, 255, .15);

    box-shadow:
        var(--shadow-lg);

    backdrop-filter:
        blur(12px);

    transform:
        perspective(1000px) rotateY(-6deg) rotateX(2deg);

    overflow: hidden;
}


.dashboard-top {

    display: flex;

    gap: 7px;

    padding: 6px 6px 14px;
}


.dot {

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #e74c3c;
}

.dot:nth-child(2) {
    background: #f1c40f;
}

.dot:nth-child(3) {
    background: #2ecc71;
}


.dashboard-screen {

    min-height: 370px;

    border-radius: 12px;

    padding: 20px;

    background:
        linear-gradient(135deg,
            #071729,
            #0d2946);

    position: relative;

    overflow: hidden;
}


.dashboard-title {

    display: flex;
    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

    color: white;

    font-size: 15px;
    font-weight: 600;
}


.dashboard-status {

    color: #6dde7b;

    font-size: 11px;

    display: flex;
    align-items: center;
    gap: 5px;
}


.dashboard-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 14px;
}


.dash-card {

    min-height: 145px;

    padding: 18px;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, .045);

    border:
        1px solid rgba(255, 255, 255, .07);
}


.dash-label {

    color:
        rgba(255, 255, 255, .55);

    font-size: 10px;

    margin-bottom: 10px;
}


.oee-circle {

    width: 92px;
    height: 92px;

    margin: auto;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:

        conic-gradient(#4caf50 0deg 308deg,
            rgba(255, 255, 255, .1) 308deg);

    position: relative;
}


.oee-circle::before {

    content: "";

    position: absolute;

    width: 72px;
    height: 72px;

    border-radius: 50%;

    background: #0c2138;
}


.oee-value {

    position: relative;

    color: white;

    font-size: 18px;
    font-weight: 700;
}


.mini-stats {

    display: flex;

    flex-direction: column;

    gap: 12px;
}


.mini-stat {

    display: flex;

    justify-content: space-between;

    color: white;

    font-size: 12px;
}


.mini-stat span:last-child {

    color: #6dde7b;

    font-weight: 600;
}


.chart {

    height: 150px;

    margin-top: 15px;

    border-radius: 12px;

    background:
        linear-gradient(180deg,
            rgba(0, 86, 179, .18),
            rgba(0, 86, 179, .02));

    position: relative;

    overflow: hidden;
}


.chart svg {

    width: 100%;
    height: 100%;
}*/


/* =====================================================
           PLATFORMS
        ===================================================== */

.platforms {

    padding-top: 110px;

    padding-bottom: 110px;

    background: white;
}


.systems-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;
}


.system-card {

    background: white;

    border-radius: 22px;

    overflow: hidden;

    border:
        1px solid var(--border);

    box-shadow:
        var(--shadow-sm);

    transition: var(--transition);

    position: relative;
}


.system-card:hover {

    transform:
        translateY(-12px);

    box-shadow:
        var(--shadow);

}


.system-image {

    height: 230px;

    position: relative;

    overflow: hidden;
}


.system-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .6s ease;
}


.system-card:hover .system-image img {

    transform:
        scale(1.08);
}


.system-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(180deg,
            transparent 20%,
            rgba(0, 0, 0, .65));
}


.system-label {

    position: absolute;

    bottom: 20px;
    left: 20px;

    padding: 7px 14px;

    border-radius: 50px;

    color: white;

    background:
        rgba(0, 0, 0, .35);

    backdrop-filter:
        blur(10px);

    font-size: 11px;
    font-weight: 600;
}


.system-body {

    padding: 28px;
}


.system-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 12px;
}


.system-title {

    font-family:
        'Poppins', sans-serif;

    font-size: 25px;

    color: var(--dark);
}


.system-title span {

    color: var(--secondary);
}


.plan-tag {

    padding: 6px 12px;

    border-radius: 30px;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .5px;
}


.basic-tag {

    color: #287833;

    background: #e7f6e8;
}


.core-tag {

    color: var(--primary);

    background: #e8f2fc;
}


.saas-tag {

    color: #6b42b5;

    background: #f1eaff;
}


.system-subtitle {

    color: var(--primary);

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 14px;
}


.system-description {

    color: var(--text-light);

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 22px;
}


.features {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-bottom: 26px;
}


.features li {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #475467;

    font-size: 13px;
}


.features i {

    color: var(--secondary);

    font-size: 14px;
}


.system-button {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    padding: 15px 20px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 600;

    transition:
        var(--transition);
}


.basic-button {

    color: white;

    background:
        linear-gradient(135deg,
            #3b9b48,
            #287833);
}


.core-button {

    color: white;

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--primary-light));
}


.saas-button {

    color: white;

    background:
        linear-gradient(135deg,
            #4e2a88,
            #7c52c8);
}


.system-button:hover {

    transform:
        translateY(-2px);

    filter:
        brightness(1.05);
}


.system-button i {

    transition:
        transform .3s ease;
}


.system-button:hover i {

    transform:
        translateX(5px);
}


/* =====================================================
           BENEFITS
        ===================================================== */

.benefits {

    background:

        linear-gradient(135deg,
            #071525,
            #0b2948);

    color: white;

    position: relative;

    overflow: hidden;
}


.benefits::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        rgba(76, 175, 80, .08);

    top: -250px;
    right: -100px;
}


.benefits-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: center;

    position: relative;

    z-index: 2;
}


.benefits-content .section-tag {

    background:
        rgba(76, 175, 80, .12);

    color:
        #93df7e;
}


.benefits-content h2 {

    font-family:
        'Poppins', sans-serif;

    font-size:
        clamp(32px, 4vw, 48px);

    line-height: 1.15;

    margin-bottom: 20px;
}


.benefits-content h2 span {

    color:
        #7ed957;
}


.benefits-content>p {

    color:
        rgba(255, 255, 255, .72);

    line-height: 1.8;

    margin-bottom: 35px;
}


.benefit-list {

    display: grid;

    gap: 18px;
}


.benefit-item {

    display: flex;

    gap: 16px;

    padding: 18px;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, .05);

    border:
        1px solid rgba(255, 255, 255, .07);
}


.benefit-icon {

    flex: 0 0 48px;

    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: #8ee575;

    background:
        rgba(76, 175, 80, .14);
}


.benefit-item h4 {

    font-size: 15px;

    margin-bottom: 5px;
}


.benefit-item p {

    color:
        rgba(255, 255, 255, .62);

    font-size: 13px;

    line-height: 1.6;
}


.benefit-image {

    border-radius: 25px;

    overflow: hidden;

    position: relative;

    box-shadow:
        var(--shadow-lg);
}


.benefit-image img {

    width: 100%;

    height: 600px;

    object-fit: cover;
}


.benefit-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(180deg,
            transparent,
            rgba(0, 20, 40, .45));
}


/* =====================================================
           STATS
        ===================================================== */

.stats {

    background: white;

    padding: 70px 0;
}


.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;
}


.stat {

    text-align: center;

    padding: 20px;

    border-right:
        1px solid var(--border);
}


.stat:last-child {

    border-right: none;
}


.stat-number {

    font-family:
        'Poppins', sans-serif;

    font-size: 40px;

    font-weight: 800;

    color: var(--primary);

    margin-bottom: 6px;
}


.stat-number span {

    color:
        var(--secondary);
}


.stat-text {

    color:
        var(--text-light);

    font-size: 13px;
}


/* =====================================================
           TECHNOLOGIES
        ===================================================== */

.technologies {

    background:
        #f6f9fc;
}


.tech-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.tech-card {

    background: white;

    padding: 30px 25px;

    border-radius: 18px;

    border:
        1px solid var(--border);

    transition:
        var(--transition);
}


.tech-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow-sm);
}


.tech-icon {

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    color: var(--primary);

    background:
        #eaf2fb;

    font-size: 22px;

    margin-bottom: 18px;
}


.tech-card h3 {

    font-size: 17px;

    margin-bottom: 10px;

    color:
        var(--dark);
}


.tech-card p {

    color:
        var(--text-light);

    font-size: 13px;

    line-height: 1.7;
}


/* =====================================================
           CTA
        ===================================================== */

.cta {

    padding: 110px 0;

    background:

        linear-gradient(135deg,
            var(--primary),
            #0066b3);

    position: relative;

    overflow: hidden;

    text-align: center;
}


.cta::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    border:
        70px solid rgba(255, 255, 255, .04);

    left: -220px;
    top: -220px;
}


.cta::after {

    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background:
        rgba(76, 175, 80, .08);

    right: -150px;
    bottom: -200px;
}


.cta-content {

    position: relative;

    z-index: 2;

    max-width: 780px;

    margin: auto;

    color: white;
}


.cta-content h2 {

    font-family:
        'Poppins', sans-serif;

    font-size:
        clamp(32px, 4vw, 50px);

    line-height: 1.15;

    margin-bottom: 20px;
}


.cta-content p {

    color:
        rgba(255, 255, 255, .8);

    line-height: 1.7;

    font-size: 17px;

    margin-bottom: 30px;
}


.cta-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;
}


.cta-primary {

    background: white;

    color:
        var(--primary);
}


.cta-primary:hover {

    transform:
        translateY(-3px);
}


/* =====================================================
           FOOTER
        ===================================================== */

footer {

    background:
        #061321;

    color:
        #aebccc;

    padding:
        75px 0 25px;
}


.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;

    margin-bottom: 50px;
}


.footer-brand img {

    height: 42px;

    margin-bottom: 18px;
}


.footer-brand p {

    max-width: 360px;

    font-size: 13px;

    line-height: 1.8;
}


.social-links {

    display: flex;

    gap: 10px;

    margin-top: 22px;
}


.social-links a {

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: white;

    background:
        rgba(255, 255, 255, .07);

    transition:
        var(--transition);
}


.social-links a:hover {

    background:
        var(--secondary);

    transform:
        translateY(-3px);
}


.footer-column h4 {

    color: white;

    font-size: 14px;

    margin-bottom: 18px;
}


.footer-column a {

    display: block;

    color:
        #91a0b2;

    font-size: 13px;

    margin-bottom: 12px;

    transition:
        var(--transition);
}


.footer-column a:hover {

    color: white;

    transform:
        translateX(4px);
}


.footer-bottom {

    padding-top: 25px;

    border-top:
        1px solid rgba(255, 255, 255, .07);

    display: flex;

    justify-content: space-between;

    gap: 20px;

    font-size: 12px;
}


/* =====================================================
           ANIMATIONS
        ===================================================== */

.fade-up {

    opacity: 0;

    transform:
        translateY(30px);

    animation:
        fadeUp .8s forwards;
}


.delay-1 {
    animation-delay: .15s;
}

.delay-2 {
    animation-delay: .3s;
}

.delay-3 {
    animation-delay: .45s;
}


@keyframes fadeUp {

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =====================================================
           RESPONSIVE
        ===================================================== */

@media (max-width: 1100px) {

    .nav-menu {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .dashboard-container {
        margin-bottom: 60px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .systems-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: auto;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 768px) {

    .section {
        padding: 75px 0;
    }

    .header-contact {
        display: none;
    }

    .navbar {
        height: 70px;
    }

    .logo img {
        height: 34px;
    }

    .logo-text {
        font-size: 20px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 60px 0 30px;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-feature {
        border: none;
    }

    .dashboard-main {
        transform: none;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 550px) {

    .container {
        width: 90%;
    }

    .header-login {
        padding: 9px 13px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .dashboard-screen {
        padding: 14px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;
        border-bottom:
            1px solid var(--border);
    }

    .stat:last-child {
        border-bottom: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

}