* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
    background: #050910;
    color: #f7fbff;
}

.container {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}

.header {
    border-bottom: 1px solid #162332;
    background: rgba(5, 9, 16, .96);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #05c7f2;
    color: #001018;
    font-weight: 900;
}

.logo strong,
.logo span {
    display: block;
}

.logo strong {
    font-size: 14px;
    letter-spacing: 1px;
}

.logo span {
    margin-top: 3px;
    color: #7890a6;
    font-size: 11px;
}

.badge {
    padding: 8px 12px;
    border: 1px solid #26516a;
    border-radius: 999px;
    color: #5bdcff;
    font-size: 10px;
    font-weight: 800;
}

.hero {
    padding: 110px 0 100px;
    text-align: center;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0, 195, 255, .17),
            transparent 45%
        );
}

.hero-content {
    max-width: 820px;
}

.eyebrow,
.section-title > span {
    color: #22d5ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(42px, 7vw, 74px);
    line-height: 1.02;
    letter-spacing: -3px;
}

.hero h1 span {
    color: #20d3ff;
}

.hero p {
    max-width: 650px;
    margin: 0 auto 34px;
    color: #90a5b9;
    font-size: 18px;
    line-height: 1.7;
}

.primary-button {
    display: inline-block;
    padding: 16px 30px;
    background: #13caf3;
    color: #001018;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
}

.plans-section,
.steps {
    padding: 90px 0;
}

.section-title {
    max-width: 700px;
    margin-bottom: 45px;
}

.section-title h2 {
    margin: 12px 0;
    font-size: clamp(30px, 4vw, 44px);
}

.section-title p {
    color: #859bad;
    line-height: 1.6;
}

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

.plan-card {
    padding: 28px;
    border: 1px solid #172738;
    border-radius: 20px;
    background: #09111b;
}

.plan-icon {
    font-size: 25px;
}

.plan-card h3 {
    margin: 20px 0 10px;
    font-size: 26px;
}

.plan-card p {
    min-height: 72px;
    color: #8196a9;
    line-height: 1.5;
}

.price {
    margin: 24px 0;
    color: #26d7ff;
    font-size: 12px;
    font-weight: 900;
}

.plan-card button {
    width: 100%;
    padding: 13px;
    border: 1px solid #1b4054;
    border-radius: 10px;
    background: #0c1d29;
    color: #577285;
}

.steps {
    background: #070d15;
}

.steps-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.steps-grid > div {
    padding: 24px;
    border-left: 2px solid #1dcdf5;
}

.steps-grid strong {
    color: #1dcdf5;
    font-size: 12px;
}

.steps-grid h3 {
    margin-bottom: 5px;
}

.steps-grid p {
    margin: 0;
    color: #7f94a7;
}

footer {
    padding: 35px 0;
    border-top: 1px solid #152231;
    color: #61778b;
    text-align: center;
    font-size: 12px;
}

@media (max-width: 850px) {

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

}

@media (max-width: 560px) {

    .badge {
        display: none;
    }

    .hero {
        padding: 75px 0 70px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

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

    .plan-card p {
        min-height: auto;
    }

}


/* CHECKOUT */

.checkout-page {
    min-height: calc(100vh - 150px);
    padding: 80px 0;
}

.checkout-container {
    max-width: 980px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 28px;
    align-items: start;
}

.checkout-plan,
.checkout-form-card {
    padding: 32px;
    border: 1px solid #172738;
    border-radius: 20px;
    background: #09111b;
}

.checkout-label {
    display: block;
    margin-top: 24px;
    color: #22d5ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.checkout-plan h1 {
    margin: 10px 0;
    font-size: 36px;
}

.checkout-plan p {
    color: #8196a9;
    line-height: 1.6;
}

.checkout-price {
    margin-top: 28px;
    color: #26d7ff;
    font-size: 34px;
    font-weight: 900;
}

.checkout-form-card label {
    display: block;
    margin: 0 0 8px;
    color: #cbd8e3;
    font-size: 13px;
    font-weight: 700;
}

.checkout-form-card label:not(:first-child) {
    margin-top: 20px;
}

.checkout-form-card small {
    color: #657c90;
    font-weight: 400;
}

.checkout-form-card input {
    width: 100%;
    padding: 15px;
    border: 1px solid #1b3547;
    border-radius: 10px;
    outline: none;
    background: #050b12;
    color: #f7fbff;
    font-size: 15px;
}

.checkout-form-card input:focus {
    border-color: #22d5ff;
}

.checkout-submit {
    width: 100%;
    margin-top: 26px;
    padding: 16px;
    border: 0;
    border-radius: 11px;
    background: #13caf3;
    color: #001018;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

.checkout-back {
    display: block;
    margin-top: 20px;
    color: #7890a6;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
}

@media (max-width: 700px) {
    .checkout-page {
        padding: 55px 0;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-plan,
    .checkout-form-card {
        padding: 24px;
    }
}

.plan-buy-button {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    background: #13caf3;
    color: #001018;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
    transition: transform .15s ease, opacity .15s ease;
}

.plan-buy-button:hover {
    transform: translateY(-1px);
    opacity: .92;
}


/* ADMIN - PEDIDOS */

.admin-orders {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid #172738;
}

.admin-orders .admin-heading {
    margin-bottom: 28px;
}

.admin-orders-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #172738;
    border-radius: 16px;
    background: #09111b;
}

.admin-orders-table {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
}

.admin-orders-table th,
.admin-orders-table td {
    padding: 16px;
    border-bottom: 1px solid #172738;
    text-align: left;
    white-space: nowrap;
}

.admin-orders-table th {
    color: #7890a6;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-orders-table td {
    color: #d7e4ed;
    font-size: 13px;
}

.admin-orders-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-orders-table tbody tr:hover {
    background: #0c1723;
}

.admin-orders-table code {
    color: #22d5ff;
    font-size: 11px;
}

@media (max-width: 700px) {
    .admin-orders {
        margin-top: 50px;
        padding-top: 35px;
    }
}


/* ADMIN - FLUXO DE STATUS */

.order-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid #24384b;
    border-radius: 999px;
    background: #0d1925;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.order-actions-cell {
    min-width: 210px;
}

.order-status-form {
    display: inline-block;
    margin: 2px 4px 2px 0;
}

.order-status-button {
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid #1e9d78;
    border-radius: 9px;
    background: #0d211d;
    color: #8fffdc;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.order-status-button:hover {
    filter: brightness(1.15);
}

.order-status-button-danger {
    border-color: #8b3440;
    background: #251216;
    color: #ff9eaa;
}

.order-no-action {
    color: #7890a6;
    font-weight: 700;
}


/* ADMIN - WHATSAPP */

.admin-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid #1e9d78;
    border-radius: 8px;
    background: #0d211d;
    color: #8fffdc;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.admin-whatsapp-button:hover {
    filter: brightness(1.15);
}

/* ADMIN - LICENCAS */

.admin-license-cell {
    min-width: 310px;
    white-space: normal !important;
}

.admin-license-form {
    display: grid;
    gap: 7px;
    min-width: 290px;
}

.admin-license-input,
.admin-license-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #24384b;
    border-radius: 8px;
    background: #08131e;
    color: #e8f2f8;
    padding: 8px 10px;
    font: inherit;
}

.admin-license-textarea {
    resize: vertical;
}

.admin-license-save,
.admin-license-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid #1e9d78;
    border-radius: 9px;
    background: #0d211d;
    color: #8fffdc;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.admin-license-save:hover,
.admin-license-whatsapp:hover {
    filter: brightness(1.15);
}

.admin-license-whatsapp {
    margin-top: 8px;
}

.admin-license-summary {
    display: grid;
    gap: 4px;
    max-width: 310px;
}

.admin-license-summary strong {
    color: #8fffdc;
    word-break: break-all;
}

.admin-license-summary span,
.admin-license-waiting {
    color: #7890a6;
    font-size: 11px;
}
