/* ==========================================================
   HARDKING - PLANOS
   Layout Final
========================================================== */

/* ==========================================================
   SEÇÃO
========================================================== */

.hk-plans{

    padding:50px 0 60px;

    background:#f3f4f6;

}

/* ==========================================================
   CABEÇALHO
========================================================== */

.hk-plans-header{

    text-align:center;

    margin-bottom:20px;

}

.hk-plans-title{
    font-size:3rem;
    font-weight:800;
    color:#111;
    margin-bottom:12px;
    line-height:1.1;
}

.hk-plans-description{
    font-size:1.1rem;
    color:#666;
}

/* ==========================================================
   TABS
========================================================== */

.hk-plan-tabs{

    display:flex;

    justify-content:center;

    gap:10px;

    margin-bottom:20px;

}

.hk-plan-tab{

    height:36px;

    padding:0 22px;

    border:none;

    border-radius:999px;

    background:#ffffff;

    color:#333;

    font-size:.95rem;

    font-weight:700;

    box-shadow:
        0 3px 10px rgba(0,0,0,.05);

}

.hk-plan-tab:hover{
    transform:translateY(-2px);
}

.hk-plan-tab.active{
    background:var(--hk-primary);
    color:#000;
}

/* ==========================================================
   LAYOUT GERAL
========================================================== */

.hk-plans-layout{
    max-width:1400px;
    margin:0 auto;

    display:grid;
    grid-template-columns:minmax(0,1fr) 240px;
    gap:20px;

    align-items:start;
}

.hk-plans-left{
    display:flex;
    flex-direction:column;
    gap:20px;
}

/* ==========================================================
   GRID DOS PLANOS
========================================================== */

.hk-plans-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.hk-plans-grid:not(.active){
    display:none;
}

/* ==========================================================
   CARD
========================================================== */

.hk-plan-card{
    background:#fff;
    border-radius:22px;
    padding:24px;

    display:flex;
    flex-direction:column;

    min-height:520px;

    position:relative;

    box-shadow:0 8px 30px rgba(0,0,0,.06);

    transition:.3s ease;
}

.hk-plan-card:hover{
    transform:translateY(-6px);
}

.hk-plan-featured{
    border:2px solid var(--hk-primary);
    box-shadow:0 0 25px rgba(57,212,0,.15);
}
.hk-plan-card.selected{

    border:2px solid var(--hk-primary);

    background:rgba(57,212,0,.04);

    transform:translateY(-4px);

    box-shadow:
        0 0 0 4px rgba(57,212,0,.08),
        0 12px 30px rgba(0,0,0,.08);

}

/* ==========================================================
   INFINITY
========================================================== */

.hk-plan-card.infinity{
    background:#050505;
    color:#fff;
    border:2px solid var(--hk-primary);
    box-shadow:0 0 25px rgba(57,212,0,.20);
}

.hk-plan-card.infinity:hover{
    box-shadow:0 0 35px rgba(57,212,0,.35);
}

.infinity .hk-plan-name{
    color:var(--hk-primary);
}

.infinity .hk-plan-speed{
    color:#fff;
}

.infinity .hk-plan-text{
    color:#d7d7d7;
}

.infinity .hk-plan-features li{
    color:#fff;
}

.infinity .hk-plan-price{
    color:#fff;
}

.infinity .hk-plan-price span{
    color:#aaa;
}

.hk-plan-card.infinity.selected{

    border:2px solid var(--hk-primary);

    box-shadow:
        0 0 0 4px rgba(57,212,0,.15),
        0 0 30px rgba(57,212,0,.30);

}

/* ==========================================================
   BADGE
========================================================== */

.hk-plan-badge{
    position:absolute;
    top:-14px;
    left:50%;
    transform:translateX(-50%);

    background:var(--hk-primary);
    color:#000;

    padding:8px 18px;

    border-radius:999px;

    font-size:.8rem;
    font-weight:800;

    z-index:5;
}

/* ==========================================================
   HEADER DO CARD
========================================================== */

.hk-plan-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:15px;
    margin-bottom:20px;
}

.hk-plan-title-group{
    flex:1;
}

/* ==========================================================
   LOGO
========================================================== */

.hk-plan-logo{
    width:90px;
    height:90px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;
}

.hk-plan-logo img{
    max-width:90px;
    max-height:90px;

    width:auto;
    height:auto;

    object-fit:contain;

    transition:.3s;
}

.hk-plan-card:hover .hk-plan-logo img{
    transform:scale(1.05);
}

.infinity .hk-plan-logo img{
    max-width:110px;
}

/* ==========================================================
   TÍTULOS
========================================================== */

.hk-plan-name{
    display:block;

    color:var(--hk-primary);

    font-size:2rem;
    font-weight:800;

    margin-bottom:12px;

    line-height:1;
}

.hk-plan-speed{
    font-size:3rem;
    font-weight:900;
    line-height:1;
}

.hk-plan-speed small{
    font-size:1rem;
    font-weight:600;
}

.infinity .hk-plan-speed{
    font-size:2.2rem;
    white-space:nowrap;
}

/* ==========================================================
   DESCRIÇÃO
========================================================== */

.hk-plan-text{
    height:70px;
    margin-bottom:20px;

    font-size:.95rem;
    line-height:1.5;

    color:#444;
}

/* ==========================================================
   BENEFÍCIOS DO PLANO
========================================================== */

.hk-plan-features{
    list-style:none;
    padding:0;
    margin:0;
    flex:1;
}

.hk-plan-features li{
    display:flex;
    align-items:center;
    gap:10px;

    margin-bottom:12px;

    font-size:.95rem;
    color:#333;
}

.hk-plan-features li i{
    width:22px;
    height:22px;

    border-radius:50%;

    background:#111;
    color:var(--hk-primary);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:12px;
    font-weight:900;

    flex-shrink:0;
}

/* ==========================================================
   PREÇO
========================================================== */

.hk-plan-price{
    margin-top:20px;

    font-size:2.4rem;
    font-weight:900;

    color:#111;
}

.hk-plan-price span{
    font-size:.28em;
    font-weight:400;
    color:#888;
}

/* ==========================================================
   DESTAQUE INFERIOR
========================================================== */

.hk-plan-highlight{
    margin-top:15px;

    display:flex;
    align-items:center;
    gap:8px;

    font-size:.85rem;
    font-weight:600;

    color:#666;
}

.infinity .hk-plan-highlight{
    color:#d7d7d7;
}

/* ==========================================================
   BENEFÍCIOS GERAIS
========================================================== */

.hk-plan-benefits{
    width:100%;

    background:#fff;

    border-radius:14px;

    padding:18px 25px;

    display:grid;
    grid-template-columns:repeat(5,1fr);

    gap:20px;

    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.hk-plan-benefits span{

    display:flex;

    align-items:center;
    justify-content:center;

    gap:10px;

    white-space:nowrap;

}

.hk-plan-benefits i{
    color:var(--hk-primary);
}

/* ==========================================================
   CONFIGURADOR
========================================================== */

.hk-config-card{
    position:sticky;
    top:80px;

    transform:translateY(-40px);

    z-index:1;

    background:#fff;

    border-radius:22px;

    padding:14px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.12);

   
}

.hk-config-card h3{

    font-size:1.4rem;
    font-weight:800;
    line-height:1.05;
    white-space:nowrap;
    text-align:center;

    margin-bottom:10px;

}

.hk-selected-plan{

    background:#eef5ea;

    padding:6px 10px;

    border-radius:8px;

    font-size:.75rem;

    font-weight:700;

    text-align:center;

    margin-bottom:8px;

}

.hk-config-group{

    display:flex;
    flex-direction:column;
    gap:8px;

    margin-top:6px;
}

.hk-addon-option{
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    min-height:38px;
}


.hk-addon-option input{
    width:18px;
    height:18px;
}

.hk-addon-option span{

    display:flex;

    align-items:center;

    justify-content:space-between;

    width:100%;

    font-size:.95rem;

}

.hk-addon-option small{

    background:rgba(57,212,0,.12);

    color:var(--hk-primary);

    padding:4px 8px;

    border-radius:999px;

    font-size:.8rem;

    font-weight:700;

    white-space:nowrap;

}

.hk-addon-note{
    margin-top:10px;

    padding:10px 12px;

    border-radius:10px;

    background:rgba(57,212,0,.08);
    border:1px solid rgba(57,212,0,.15);

    font-size:.8rem;
    color:#666;
}
.hk-addon-option:has(input:checked){

    background:rgba(57,212,0,.08);

    border-radius:10px;

    padding:6px 8px;

}

.hk-config-total{
    margin-top:10px;

    border-top:1px solid #e5e5e5;

    padding-top:10px;

    padding-bottom:8px;
}

.hk-config-total strong{

    display:block;

    font-size:1.8rem;

    line-height:1;

    color:var(--hk-primary);

}

/* ==========================================================
   BOTÃO
========================================================== */

.hk-plan-btn{
    margin-top:5px;

    height:46px;

    border-radius:12px;

    background:var(--hk-primary);

    color:#fff;

    text-decoration:none;

    font-weight:700;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.3s;
}

.hk-plan-btn:hover{
    background:var(--hk-primary-hover);
    color:#fff;
}

/* ==========================================================
   TOCALIVROS INCLUSO
========================================================== */

.hk-included-addon{

    text-align:center;

    padding-top:8px;

    margin-top:8px;

}

.hk-included-addon p{

    margin-bottom:6px;

    font-size:.05rem;

    color:#444;

    font-weight:600;

}

.hk-included-addon img{

    max-width:140px;
    width:100%;

    height:auto;

    display:block;

    margin:0 auto;

}
.hk-addon-logo{
    width: 140px;
    height: 48px;

    object-fit: contain;
    display:block;

    transition:.3s ease;
}
.hk-addon-logo.disabled{
    filter: grayscale(100%);
    opacity:.45;
    transition:.3s ease;
}

.hk-addon-logo.active{
    filter:none;
    opacity:1;
}
.hk-addon-option:hover .hk-addon-logo{
    transform:scale(1.05);
}

/* ==========================================================
   RESPONSIVO
========================================================== */


@media(max-width:1200px){

    .hk-plans-layout{
        grid-template-columns:1fr;
    }

    .hk-config-card{
        position:relative;
        top:auto;
    }

    .hk-plans-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:992px){

    .hk-plans-grid{
        grid-template-columns:1fr;
    }

    .hk-plan-benefits{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:576px){

    .hk-plans{
        padding:60px 0;
    }

    .hk-plans-title{
        font-size:2rem;
    }

    .hk-plan-header{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .hk-plan-name{
        font-size:1.8rem;
    }

    .hk-plan-speed{
        font-size:2.4rem;
    }

    .hk-plan-price{
        font-size:2rem;
    }

    .hk-plan-benefits{
        grid-template-columns:1fr;
    }
}


/* ==========================================================
   NOTEBOOK HD
   1366x768 / 1440x900
========================================================== */

@media (max-width:1400px){

    /* ==========================
       HEADER
    ========================== */

    .hk-header{

        padding:10px 0;

    }

    .hk-logo img{

        max-height:42px;

    }

    .hk-nav{

        gap:18px;

    }

    /* ==========================
       HERO
    ========================== */

    :root{

        --hk-hero-height:380px;

    }

    .hk-hero-wrapper{

        gap:20px;

    }

    .hk-hero-content{

        max-width:500px;

    }

    .hk-hero-title{

        font-size:28px;

        margin-bottom:18px;

    }

    .hk-hero-description{

        font-size:14px;

        line-height:1.6;

    }

    .hk-hero-buttons{

        margin-top:18px;

    }

    .hk-hero-benefits{

        margin-top:18px;

        gap:10px;

    }

    .hk-hero-benefit{

        font-size:12px;

    }

    .hk-scene-image{

        width:700px;

    }

    .hk-hero-fiber{

        width:540px;

        right:-10px;

    }

    /* ==========================
       PLANOS
    ========================== */

    .hk-plans{

        padding:45px 0 55px;

    }

    .hk-plans-header{

        margin-bottom:12px;

    }

    .hk-plans-title{

        font-size:2.3rem;

        margin-bottom:0;

    }

    .hk-plan-tabs{

        margin-bottom:15px;

    }

    .hk-plan-tab{

        height:34px;

        padding:0 18px;

        font-size:.9rem;

    }

    .hk-plans-layout{

        grid-template-columns:
            1fr
            220px;

        gap:15px;

    }

    .hk-plan-card{

        min-height:470px;

        padding:18px;

    }

    .hk-plan-name{

        font-size:1.7rem;

    }

    .hk-plan-speed{

        font-size:2.3rem;

    }

    .infinity .hk-plan-speed{

        font-size:1.9rem;

    }

    .hk-plan-text{

        height:55px;

        font-size:.88rem;

        margin-bottom:15px;

    }

    .hk-plan-features li{

        font-size:.88rem;

        margin-bottom:8px;

    }

    .hk-plan-price{

        font-size:2rem;

    }

    .hk-plan-badge{

        top:-18px;

        padding:6px 14px;

        font-size:.7rem;

    }

    /* ==========================
       CONFIGURADOR
    ========================== */

    .hk-config-card{

        width:220px;

        margin-top:-25px;

        padding:16px;

    }

    .hk-config-card h3{

        font-size:1.3rem;

        text-align:center;

        margin-bottom:10px;

    }

    .hk-selected-plan{

        padding:8px 10px;

        font-size:.85rem;

    }

    .hk-addon-option{

        gap:8px;

    }

    .hk-addon-option img{

        max-height:28px;

    }

    .hk-config-total{

        margin-top:8px;

        padding-top:8px;

    }

    .hk-config-total strong{

        font-size:1.8rem;

    }

    .hk-plan-btn{

        height:44px;

        margin-top:8px;

    }

    /* ==========================
       BENEFÍCIOS GERAIS
    ========================== */

    .hk-plan-benefits{

        padding:15px 18px;

        gap:15px;

    }

    .hk-plan-benefits span{

        font-size:.85rem;

    }

    /* MENU */

    .hk-nav{

        gap:15px;

    }

    .hk-header-btn{

        padding:0 16px;

        font-size:.9rem;

    }

    /* BADGE INFINITY */

    .hk-plan-badge{

        top:-18px;

        font-size:.7rem;

        padding:6px 14px;

    }

    .hk-plan-header{

        margin-top:12px;

    }

}

