* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #03070b;
    --panel: rgba(8,20,28,0.85);
    --line: rgba(0,255,170,.18);
    --green: #00f7a5;
    --text: #ecfff9;
    --muted: #9bbab1;
    --shadow: 0 0 25px rgba(0,247,165,.18), 0 0 60px rgba(0,247,165,.07);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg,#020406 0%,#06111a 40%,#020507 100%);
    color: var(--text);
    overflow-x: hidden;
}

.container {
    width: calc(100% - 600px);
    max-width: 1300px;
    margin: auto;
}

.main-nav {
    position: sticky;
    top: 0;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,255,157,.15);
    z-index: 10;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    gap: 20px;
}

.logo {
    color: var(--green);
    font-weight: 700;
    letter-spacing: 3px;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: rgba(0,255,157,.08);
    color: var(--green);
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
}

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

.menu a {
    color: #dff;
    text-decoration: none;
    font-size: 14px;
}

.menu a:hover {
    color: var(--green);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    flex-wrap: wrap;
}

.auth-user {
    font-size: 13px;
    color: var(--muted);
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(0,255,157,.06);
}

.auth-user.superadmin {
    border-color: rgba(255,80,220,.35);
    background: rgba(255,80,220,.09);
    color: #ffbaf0;
}

.auth-user.admin {
    border-color: rgba(255,180,0,.28);
    background: rgba(255,180,0,.08);
    color: #ffd37c;
}

.btn-nav {
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.15);
    text-decoration: none;
    color: #fff !important;
    display: inline-block;
    font-size: 13px;
}

.btn-login {
    background: rgba(0,255,157,.12);
    border-color: rgba(0,255,157,.35);
    color: var(--green) !important;
}

.btn-admin {
    background: rgba(255,180,0,.12);
    border-color: rgba(255,180,0,.28);
    color: #ffd37c !important;
}

.btn-superadmin {
    background: rgba(255,80,220,.12);
    border-color: rgba(255,80,220,.30);
    color: #ffbaf0 !important;
}

.btn-logout {
    background: rgba(255,70,70,.12);
    border-color: rgba(255,70,70,.28);
    color: #ff9b9b !important;
}

header {
    padding: 90px 0;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    max-width: 650px;
    text-align: center;
}

.tag {
    color: var(--green);
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 40px;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 13px;
}

h1 {
    font-size: 70px;
    margin-bottom: 25px;
    text-shadow: 0 0 18px rgba(0,255,170,.35);
}

.hero p {
    font-size: 19px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 22px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.15);
    text-decoration: none;
    color: #fff;
    margin: 6px;
    display: inline-block;
}

.btn-primary {
    background: rgba(0,255,157,.15);
    border-color: rgba(0,255,157,.35);
    color: var(--green);
}

.btn-primary:hover {
    box-shadow: var(--shadow);
}

.terminal {
    background: linear-gradient(180deg,#0f1726 0%,#0b1220 100%);
    border: 1px solid rgba(120,170,255,.22);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0,0,0,.35), 0 0 30px rgba(75,130,255,.08);
    overflow: hidden;
}

.terminal::before {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(90deg,transparent,rgba(130,180,255,.45),transparent);
}

.terminal-top {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: linear-gradient(180deg,rgba(40,53,78,.95) 0%, rgba(25,35,56,.95) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
}

.terminal-top-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: inset 0 1px 2px rgba(255,255,255,.25), 0 0 8px rgba(0,0,0,.2);
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
    font-size: 13px;
    color: #d7e6ff;
    letter-spacing: .3px;
    font-family: Arial, Helvetica, sans-serif;
    opacity: .95;
}

.terminal-top-right {
    font-size: 12px;
    color: #8ea6d8;
    font-family: Arial, Helvetica, sans-serif;
}

.terminal-body {
    padding: 18px 20px 20px;
    font-family: "Fira Code", Consolas, monospace;
    background:
        radial-gradient(circle at top right, rgba(78,120,255,.08), transparent 25%),
        linear-gradient(180deg,#0b1020 0%, #0a0f1a 100%);
    color: #7ef7d0;
    font-size: 13px;
    line-height: 1.55;
    height: 320px;
    overflow: hidden;
    white-space: pre-wrap;
    position: relative;
}

.terminal-body::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg,rgba(255,255,255,.02),transparent 18%,transparent 82%,rgba(0,0,0,.08));
}

.terminal-command {
    display: block;
    color: #8cb8ff;
    font-weight: 700;
    margin-bottom: 8px;
    animation: fadeIn .35s ease;
    text-shadow: 0 0 8px rgba(92,145,255,.2);
}

.terminal-output {
    display: block;
    color: #b7f7de;
    margin-bottom: 14px;
    animation: fadeIn .35s ease;
}

.terminal-line {
    display: block;
    animation: fadeIn .4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    padding: 90px 0;
}

.section-title {
    font-size: 38px;
    text-align: center;
    margin-bottom: 15px;
}

.section-desc {
    text-align: center;
    color: var(--muted);
    max-width: 800px;
    margin: auto;
    margin-bottom: 45px;
    line-height: 1.7;
}

.service-grid,
.method-grid,
.image-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.service-card,
.method-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 380px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.service-card img,
.method-card img,
.image-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: brightness(.8);
}

.service-content,
.method-content,
.image-content {
    padding: 22px;
}

.service-content h3,
.method-content h3,
.image-content h4 {
    color: var(--green);
    margin-bottom: 10px;
}

.service-content p,
.method-content p,
.image-content p {
    color: var(--muted);
    line-height: 1.7;
}

.image-card {
    background: var(--panel);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.stat {
    background: var(--panel);
    padding: 30px;
    text-align: center;
    border-radius: 18px;
    border: 1px solid var(--line);
}

.stat strong {
    font-size: 34px;
    color: var(--green);
    display: block;
    margin-bottom: 6px;
}

.stat span {
    color: var(--muted);
}

.contact-card {
    max-width: 600px;
    margin: auto;
    background: var(--panel);
    padding: 30px;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.contact-card label {
    display: block;
    color: var(--muted);
    margin: 0 0 8px;
    font-size: 13px;
}

.contact-card input {
    width: 100%;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.15);
    background: #000;
    color: #fff;
}

.contact-card input:focus {
    outline: 2px solid rgba(0,255,157,.25);
    border-color: rgba(0,255,157,.45);
}

.contact-button {
    width: 100%;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}

footer {
    padding: 35px 0;
    text-align: center;
    color: #7ea39a;
    border-top: 1px solid rgba(0,255,157,.1);
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(0,0,0,.4);
    z-index: 999;
    transition: .3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0,255,150,.6);
}

@media (max-width: 1200px) {
    .container {
        width: calc(100% - 80px);
    }

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

    .service-grid,
    .method-grid,
    .image-grid,
    .stats {
        grid-template-columns: 1fr;
    }

    .nav-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .container {
        width: calc(100% - 32px);
    }

    h1 {
        font-size: 46px;
    }

    header,
    section {
        padding: 55px 0;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        border-top: 1px solid var(--line);
        padding-top: 16px;
    }

    .menu.open {
        display: flex;
    }

    .auth-buttons {
        margin-left: 0;
    }
}
