/* Variables */
:root {
    --primary-blue: #001a33;
    /* Darker Blue */
    --accent-blue: #0056b3;
    --neon-cyan: #00f3ff;
    --neon-blue: #0066ff;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --neon-glow: 0 0 15px rgba(0, 243, 255, 0.4);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--primary-blue);
    color: var(--white);
}

.bg-dark h2 {
    color: var(--white);
}

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

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

img {
    max-width: 100%;
    height: auto;
}

.img-responsive {
    display: block;
    width: 100%;
}

.rounded {
    border-radius: 12px;
}

.shadow {
    box-shadow: var(--shadow);
}

/* Grid Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

@media (max-width: 768px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    text-transform: none;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: none;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: none;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-transform: none;
}

.tagline {
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    text-transform: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 51, 102, 0.2);
    border: 2px solid var(--neon-cyan);
    /* Added border to CTA */
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Sections */
section {
    padding: 5rem 0;
}

/* Header */
.header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .logo {
    height: 40px;
}

/* Hero */
.hero {
    padding: 8rem 0;
    overflow: hidden;
    background-color: var(--primary-blue);
    color: var(--white);
    position: relative;
}

.hero h1 {
    color: var(--white);
}

.hero .subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom right, transparent 49.5%, var(--white) 50%);
}

.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.hero .img-responsive {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.3));
}

/* Features */
.feature-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
    box-shadow: var(--shadow), var(--neon-glow);
}

.feature-card .icon {
    width: 48px;
    height: 48px;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.2));
}

/* Tech Specs */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.spec-badge {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--neon-cyan);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.spec-badge:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--neon-glow);
}

.spec-badge strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.spec-badge span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Table */
/* Enhanced Comparison Section Styles */
.comparison .subtitle {
    font-size: 1.4rem;
    max-width: 850px;
    margin-bottom: 3.5rem;
    line-height: 1.4;
    margin-left: auto;
    margin-right: auto;
}

.comparison .table-container {
    padding: 1.5rem;
    margin-top: 1rem;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.1rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.comparison .styled-table {
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 243, 255, 0.05);
}

.comparison .styled-table:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.2), 0 0 30px rgba(0, 243, 255, 0.15);
    border-color: var(--neon-cyan);
}

.styled-table th {
    background-color: var(--primary-blue);
    color: #ffffff;
    text-align: left;
    padding: 1.5rem 1.25rem;
}

.comparison .styled-table th {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
}

.styled-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.styled-table tr:last-of-type {
    border-bottom: none;
}

.styled-table .highlight {
    background-color: #f0f7ff;
    font-weight: 700;
    color: var(--primary-blue);
    border-left: 4px solid var(--neon-cyan);
}

/* FAQ Accordion */
.accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.accordion-item {
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    color: var(--primary-blue);
    transition: var(--transition);
}

.accordion-header:hover {
    background: #f1f5f9;
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fafbfc;
}

.accordion-item.active .accordion-content {
    padding: 1.5rem;
    max-height: 500px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

/* FAQ Dark Theme Overrides */
.faq.bg-dark .accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq.bg-dark .accordion-header {
    color: var(--white);
}

.faq.bg-dark .accordion-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq.bg-dark .accordion-header i {
    color: var(--neon-cyan);
}

.faq.bg-dark .accordion-content {
    background-color: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.8);
}

.faq.bg-dark .accordion-item.active {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

/* Form Section */
.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.form-wrapper h2 {
    text-transform: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

    .form-wrapper {
        padding: 2rem;
    }
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

/* LGPD Popup */
.lgpd-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: #1e293b;
    color: white;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    display: none;
    z-index: 1000;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.lgpd-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.lgpd-popup a {
    color: #38bdf8;
    text-decoration: underline;
}

.btn-small {
    background: var(--white);
    color: #1e293b;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 768px) {
    .lgpd-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Footer */
.footer {
    padding: 3rem 0;
    background-color: #000c1a;
    /* Deep Dark Blue */
    color: rgba(255, 255, 255, 0.7);
    border-top: none;
}

.footer-content {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    font-size: 0.85rem;
    margin: 0;
}

.social-links {
    margin: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    height: 25px;
    opacity: 1;
}

@media (max-width: 600px) {
    .footer-right {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.social-links a i {
    width: 20px;
    height: 20px;
    display: block;
    color: inherit;
}

.social-links a:hover {
    color: var(--neon-cyan);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

.footer .logo {
    height: 30px;
    margin-bottom: 1rem;
    opacity: 0.8;
}