/* Variáveis de Cores e Estilos Base */
:root {
    --bg-color: #0d1117;
    --card-bg: #161b22;
    --primary-color: #00e5ff;
    --primary-glow: rgba(0, 229, 255, 0.4);
    --text-main: #c9d1d9;
    --text-title: #ffffff;
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    color: var(--text-title);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #30363d;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-title);
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

/* Menu Hamburguer */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--text-title);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Menu Dropdown Utilidade */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--card-bg);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1;
    border: 1px solid #30363d;
    border-radius: 5px;
    top: 100%;
    left: 50%;
    margin-left: -80px;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #30363d;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #30363d;
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: 100px 20px 20px;
    background: radial-gradient(circle at center, #1a2332 0%, var(--bg-color) 70%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--primary-glow);
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Grid Layouts */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Cards */
.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #30363d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Support & Hours */
.support-section {
    background: var(--card-bg);
    border-top: 1px solid #30363d;
    border-bottom: 1px solid #30363d;
}

.support-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.support-box {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.hours-list {
    list-style: none;
    margin-top: 20px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #30363d;
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    padding: 12px 25px;
    background-color: #25D366;
    color: #ffffff !important;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
    width: 100%;
}

.btn-whatsapp:hover {
    background-color: #1ebd5c;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: #010409;
    color: #8b949e;
}

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 17, 23, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    width: 90%;
    max-width: 750px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-main);
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-title {
    margin-bottom: 20px;
    color: var(--text-title);
    font-size: 1.5rem;
}

.tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #30363d;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1rem;
    padding: 10px 15px;
    transition: color 0.3s;
    outline: none;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: -1px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.input-group input {
    flex: 1;
    padding: 12px 15px;
    background: var(--bg-color);
    border: 1px solid #30363d;
    color: var(--text-title);
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: var(--primary-color);
}

.input-group button {
    padding: 12px 25px;
}

.result-area {
    background: var(--bg-color);
    border-radius: 5px;
    border: 1px solid #30363d;
    overflow-y: auto;
    padding: 15px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.res-valid {
    color: #56d364;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.res-invalid {
    color: #f85149;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.res-suggestion {
    color: #e3b341;
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.res-item {
    border-bottom: 1px solid #30363d;
    padding: 12px 0;
}

.res-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.loader {
    display: none;
    text-align: center;
    color: var(--primary-color);
    padding: 20px;
}

.data-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed #30363d;
    flex-wrap: wrap;
}

.data-row:last-child {
    border-bottom: none;
}

.data-row strong {
    color: var(--text-title);
    white-space: nowrap;
}

.data-value {
    color: var(--text-main);
    word-break: break-word;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    outline: none;
}

.copy-btn:hover {
    color: var(--primary-color);
    background: rgba(0, 229, 255, 0.1);
}

.copy-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.copy-feedback {
    color: #56d364;
    font-size: 0.75rem;
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.1s;
}

.copy-feedback.show {
    opacity: 1;
    visibility: visible;
    animation: blinkLabel 0.4s step-start 0s 2;
}

@keyframes blinkLabel {
    50% { opacity: 0; }
}

.section-header {
    margin-top: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: bold;
    border-bottom: 1px solid #30363d;
    padding-bottom: 5px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: rgba(13, 17, 23, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        border-bottom: 1px solid #30363d;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 15px 0;
    }
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: transparent;
        min-width: 100%;
        margin-left: 0;
        left: auto;
    }
    .dropdown.active .dropdown-content {
        display: block;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .input-group {
        flex-direction: column;
    }
}