/* ===========================
   VARIÁVEIS E RESET
   =========================== */

:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #E6F0FF;
    --secondary-color: #1A1A2E;
    --accent-color: #00D4FF;
    --accent-purple: #7C3AED;
    --light-color: #F8FAFC;
    --lighter-color: #F0F4F8;
    --white: #FFFFFF;
    --text-dark: #1A1A2E;
    --text-light: #64748B;
    --text-lighter: #94A3B8;
    --border-color: #E2E8F0;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

main {
    flex: 1;
}

/* ===========================
   CONTAINER E LAYOUT
   =========================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===========================
   NAVEGAÇÃO
   =========================== */

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0, 102, 255, 0.15));
}

.logo img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(0, 102, 255, 0.3));
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 3px solid transparent;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.35);
    transition: var(--transition);
    cursor: pointer;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.45);
    color: var(--white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

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

.hero {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 30%, #1A1A2E 100%);
    color: var(--white);
    padding: 140px 20px;
    text-align: center;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(40px); }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.98;
    line-height: 1.8;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   BOTÕES
   =========================== */

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    letter-spacing: 0.4px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.45);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* ===========================
   SEÇÕES
   =========================== */

section {
    padding: 120px 20px;
}

section h2 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    text-align: center;
    color: var(--secondary-color);
    font-weight: 900;
    letter-spacing: -0.8px;
}

section > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 4rem;
    font-size: 1.2rem;
    line-height: 1.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   CARDS DE FUNCIONALIDADES
   =========================== */

.features {
    background: linear-gradient(180deg, var(--lighter-color) 0%, var(--white) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--accent-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(8deg);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: -0.3px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1rem;
}

/* ===========================
   TABELA DE FUNCIONALIDADES
   =========================== */

.table-wrapper {
    overflow-x: auto;
    margin-top: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
}

thead {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: var(--white);
}

th {
    padding: 1.8rem;
    text-align: left;
    font-weight: 800;
    letter-spacing: 0.4px;
    font-size: 1.05rem;
}

td {
    padding: 1.8rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.8;
}

tbody tr {
    transition: var(--transition);
}

tbody tr:hover {
    background-color: var(--primary-light);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* ===========================
   FORMULÁRIO DE CONTATO
   =========================== */

.contact-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--lighter-color) 100%);
}

.contact-container {
    max-width: 650px;
    margin: 0 auto;
    background: var(--white);
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.12);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.98rem;
    letter-spacing: 0.3px;
}

input, textarea, select {
    width: 100%;
    padding: 1rem 1.3rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-dark);
}

input::placeholder, textarea::placeholder {
    color: var(--text-lighter);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 5px rgba(0, 102, 255, 0.12);
    background-color: var(--primary-light);
}

textarea {
    resize: vertical;
    min-height: 160px;
}

.form-submit {
    width: 100%;
    padding: 1.3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.4px;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.35);
}

.form-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.45);
}

.form-submit:active {
    transform: translateY(-2px);
}

.form-message {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    border-left: 5px solid;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background-color: #ECFDF5;
    color: var(--success-color);
    border-left-color: var(--success-color);
}

.form-message.error {
    background-color: #FEF2F2;
    color: var(--danger-color);
    border-left-color: var(--danger-color);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0F0F1E 100%);
    color: var(--white);
    padding: 5rem 0 2rem;
    margin-top: auto;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: 0;
    flex-shrink: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3.5rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-weight: 800;
    letter-spacing: 0.4px;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.footer-section a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
    }
}

.about-content h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-content p {
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 2;
    font-size: 1.05rem;
}

.about-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
}

/* ===========================
   UTILITÁRIOS
   =========================== */

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.highlight {
    background: linear-gradient(120deg, var(--primary-light), transparent);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===========================
   SCROLLBAR CUSTOMIZADO
   =========================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-purple));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--accent-purple));
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
    .navbar-menu {
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }

    section h2 {
        font-size: 2.2rem;
    }

    section {
        padding: 80px 20px;
    }
}
