:root {
    --orange: #FF8A00;
    --orange-dark: #E66F00;
    --black: #111111;
    --black-soft: #1B1B1B;
    --cyan: #58F5E7;
    --gray-bg: #F5F7FA;
    --text: #6B7280;
    --border: #ECECEC;
    --white: #FFFFFF;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--gray-bg);
    overflow-x: hidden;
}

.main-content {
    padding-top: 140px;
    padding-bottom: 140px;
}

@media (max-width: 991px) {
    .main-content {
        padding-top: 110px;
        padding-bottom: 110px;
    }
}

/* NAVBAR */

.navbar {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
}

.navbar-brand span {
    color: var(--orange);
}

.nav-link {
    color: var(--black);
    font-weight: 600;
    margin: 0 10px;
    position: relative;
}

.nav-link:hover {
    color: var(--orange);
}

.btn-login {
    background: var(--black);
    color: white;
    border-radius: 14px;
    padding: 12px 22px;
    border: none;
    font-weight: 600;
}

.btn-login:hover {
    background: black;
}

/* MEGA MENU */

.mega-dropdown {
    position: static;
}

.mega-menu {
    width: 100%;
    border: none;
    border-radius: 0 0 30px 30px;
    padding: 35px;
    margin-top: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-top: 1px solid var(--border);
}

.mega-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 18px;
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--black);
    padding: 12px 14px;
    border-radius: 14px;
    transition: all 0.25s ease;
    margin-bottom: 8px;
    font-weight: 500;
}

.mega-link:hover {
    background: rgba(255, 138, 0, 0.08);
    color: var(--orange-dark);
}

.mega-link i {
    color: var(--orange);
    font-size: 1.1rem;
}

.featured-box {
    background: linear-gradient(135deg,
            rgba(255, 138, 0, 0.12),
            rgba(88, 245, 231, 0.10));

    border-radius: 28px;
    padding: 30px;
    height: 100%;
}

.featured-box h4 {
    font-weight: 800;
    color: var(--black);
    margin-bottom: 15px;
}

.featured-box p {
    color: var(--text);
    line-height: 1.8;
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.featured-tag {
    background: white;
    border-radius: 14px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border);
}

/* HERO */

.hero {
    /*min-height: 100vh;*/
    /*display: flex;*/
    align-items: center;
    /*    padding-top: 90px;*/
}

.hero-badge {
    background: rgba(255, 138, 0, 0.12);
    color: var(--orange-dark);
    padding: 12px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--black);
}

.hero h1 span {
    color: var(--orange);
}

.hero p {
    color: var(--text);
    line-height: 1.9;
    font-size: 1.1rem;
    margin: 30px 0;
    max-width: 650px;
}

.search-wrapper {
    background: white;
    border-radius: 28px;
    padding: 15px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.search-input {
    border: none !important;
    box-shadow: none !important;
    font-size: 1rem;
    padding-left: 10px;
}

.search-category {
    border: none;
    background: var(--gray-bg);
    border-radius: 18px;
    padding: 14px 18px;
    font-weight: 600;
}

.btn-search {
    background: var(--orange);
    color: white;
    border: none;
    border-radius: 18px;
    padding: 15px 25px;
    width: 100%;
    font-weight: 700;
}

.btn-search:hover {
    background: var(--orange-dark);
}

/* TRENDING TAGS */

.trending {
    margin-top: 28px;
}

.trend-tag {
    background: white;
    border-radius: 14px;
    padding: 12px 18px;
    border: 1px solid var(--border);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.trend-tag:hover {
    background: var(--orange);
    color: white;
}

/* ROBOT */

.robot-box {
    position: relative;
    text-align: center;
}

.robot-bg {
    width: 520px;
    height: 520px;
    background: linear-gradient(135deg,
            rgba(255, 138, 0, 0.14),
            rgba(88, 245, 231, 0.10));
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.robot-image {
    max-width: 420px;
    width: 100%;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.16));
}

/* FOOTER */

footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 30px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.footer-logo span {
    color: var(--orange);
}

/* MOBILE */

@media(max-width:991px) {

    .hero {
        text-align: center;
        /*padding-top: 120px;*/
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .robot-bg {
        width: 320px;
        height: 320px;
    }

    .robot-image {
        max-width: 260px;
        margin-top: 50px;
    }

    .mega-menu {
        border-radius: 24px;
        margin-top: 15px;
    }

}



@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar-collapse .navbar-nav .nav-link {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .navbar-collapse .nav-item {
        margin-bottom: 6px;
    }

    #form-buscador {
        margin-bottom: 12px;
    }
}


h1 {
    color: #1f1f1f;
    font-weight: 700;
    font-size: 2.2rem;
}

h2 {
    color: #2a2a2a;
    font-weight: 600;
    font-size: 1.8rem;
}

h3 {
    color: #333;
    font-weight: 600;
    font-size: 1.4rem;
}

h4 {
    color: #444;
    font-weight: 600;
    font-size: 1.2rem;
}

h5 {
    color: #555;
    font-weight: 500;
    font-size: 1rem;
}

h6 {
    color: #666;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.main-content a:not([class]) {
    color: #2f6fed;
    /* azul sobrio tipo SaaS */
    text-decoration: none;
}

.main-content a:not([class]):hover {
    color: #FF8A00;
    text-decoration: underline;
}

.main-content a:not([class]):active {
    color: #E66F00;
}



.section {
    padding: 90px 0;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text);
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
}

.category-card {
    background: white;
    border-radius: 28px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #ECECEC;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.category-icon {
    width: 85px;
    height: 85px;
    border-radius: 24px;
    background: rgba(255, 138, 0, 0.12);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto auto 25px;
    font-size: 2rem;
}

.category-card h5 {
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.category-card p {
    color: var(--text);
    margin: 0;
}

/* FEATURES */

.feature-card {
    background: white;
    border-radius: 28px;
    padding: 35px;
    height: 100%;
    border: 1px solid #ECECEC;
}

.feature-card i {
    font-size: 2.2rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.feature-card h4 {
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text);
    line-height: 1.8;
}