:root {
    --bg-deep: #050b14;
    --bg-secondary: #0a192f;
    --bg-card: rgba(10, 25, 47, 0.7);
    --primary-blue: #0077ff;
    --cyan-neon: #00f2fe;
    --cyan-glow: rgba(0, 242, 254, 0.4);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --danger-red: #ff3366;
    --success-green: #00ffcc;
    --border-color: rgba(0, 242, 254, 0.2);
    --font-orbitron: 'Orbitron', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-inter);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-title {
    font-family: var(--font-orbitron);
}

.neon-text {
    color: var(--cyan-neon);
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
}

.cyber-glow {
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
    transition: var(--transition-smooth);
}

.cyber-glow:hover {
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
}

.cyber-border {
    position: relative;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: 12px;
}

.cyber-border::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    background: linear-gradient(45deg, var(--cyan-neon), transparent, var(--primary-blue));
    border-radius: 13px;
    z-index: -1;
    opacity: 0.5;
    animation: borderPulsar 4s ease-in-out infinite alternate;
}

@keyframes borderPulsar {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cyber-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-orbitron);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
}

.cyber-btn.primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--cyan-neon));
    color: #fff;
}

.cyber-btn.primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.cyber-btn.secondary {
    background: transparent;
    color: var(--cyan-neon);
    border: 1px solid var(--cyan-neon);
}

.cyber-btn.secondary:hover {
    background: rgba(0, 242, 254, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.4s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-card {
    max-width: 500px;
    width: 90%;
    padding: 40px;
    text-align: center;
    animation: modalScaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalScaleUp {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-icon {
    font-size: 3rem;
    color: var(--cyan-neon);
    margin-bottom: 20px;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.modal-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.modal-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1rem;
}

.modal-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--cyan-neon);
    background: rgba(0, 242, 254, 0.05);
    padding: 12px;
    border-radius: 8px;
}

/* TOAST / ALERTA */
.cyber-alert {
    position: fixed;
    top: 30px; right: 30px;
    max-width: 420px; width: 90%;
    background: rgba(10, 25, 47, 0.95);
    border: 1px solid var(--cyan-neon);
    border-left: 4px solid var(--cyan-neon);
    backdrop-filter: blur(12px);
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cyber-alert.hidden {
    transform: translateX(120%);
    opacity: 0;
}

.cyber-alert.error {
    border-color: var(--danger-red);
    border-left-color: var(--danger-red);
}

.cyber-alert.error #alertIcon {
    color: var(--danger-red);
}

.cyber-alert.success {
    border-color: var(--success-green);
    border-left-color: var(--success-green);
}

.cyber-alert.success #alertIcon {
    color: var(--success-green);
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.alert-content i {
    font-size: 1.5rem;
    color: var(--cyan-neon);
}

.alert-content h4 {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 2px;
}

.alert-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cyber-alert button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

/* HEADER & NAV */
.cyber-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(5, 11, 20, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary-blue), var(--cyan-neon));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.logo-icon.small {
    width: 34px; height: 34px;
    font-size: 1rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #fff;
}

.brand-sub {
    font-size: 0.7rem;
    color: var(--cyan-neon);
    font-family: var(--font-orbitron);
    letter-spacing: 2px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.desktop-nav a:hover, .desktop-nav a.nav-cta {
    color: var(--cyan-neon);
}

.nav-cta {
    border: 1px solid var(--cyan-neon);
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(0, 242, 254, 0.05);
}

/* HERO */
.hero-section {
    position: relative;
    padding: 180px 0 100px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(10, 25, 47, 0.8) 0%, var(--bg-deep) 100%);
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--cyan-neon);
    margin-bottom: 25px;
    font-family: var(--font-orbitron);
}

.pulsing-dot {
    width: 8px; height: 8px;
    background: var(--cyan-neon);
    border-radius: 50%;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 242, 254, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.1;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 40px auto;
}

/* COUNTDOWN */
.countdown-container {
    max-width: 600px;
    margin: 0 auto 40px auto;
    padding: 25px;
}

.countdown-title {
    font-size: 0.9rem;
    color: var(--cyan-neon);
    font-family: var(--font-orbitron);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.countdown-timers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(5, 11, 20, 0.6);
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    min-width: 75px;
}

.time-box span {
    font-family: var(--font-orbitron);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.time-box label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 4px;
}

.separator {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--cyan-neon);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* SECTIONS & CARDS */
.section {
    padding: 100px 0;
    position: relative;
}

.section.alt-bg {
    background-color: rgba(10, 25, 47, 0.3);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.section-header p {
    color: var(--text-muted);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.info-card {
    padding: 40px 30px;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan-neon);
}

.card-icon {
    font-size: 2.2rem;
    color: var(--cyan-neon);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #fff;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    padding: 40px 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.pricing-card.featured {
    background: rgba(0, 119, 255, 0.1);
    border-color: var(--primary-blue);
    transform: scale(1.03);
}

.popular-tag {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-blue), var(--cyan-neon));
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: var(--font-orbitron);
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.price {
    font-family: var(--font-orbitron);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--cyan-neon);
    margin-bottom: 25px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.pricing-features li i {
    color: var(--success-green);
}

.pricing-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.6;
}

.pricing-features li.disabled i {
    color: var(--danger-red);
}

/* FORMULÁRIO */
.form-container-wrapper {
    max-width: 850px;
}

.cyber-form {
    padding: 50px;
    border-radius: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .hero-section h1 { font-size: 2.5rem; }
    .desktop-nav { display: none; }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.input-group label {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group label i {
    color: var(--cyan-neon);
}

.required {
    color: var(--danger-red);
}

.input-group input {
    background: rgba(5, 11, 20, 0.8);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-inter);
    transition: var(--transition-smooth);
}

.input-group input:focus {
    outline: none;
    border-color: var(--cyan-neon);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}

.input-group input.error-input {
    border-color: var(--danger-red);
}

.input-group input.success-input {
    border-color: var(--success-green);
}

.error-msg {
    font-size: 0.78rem;
    color: var(--danger-red);
    display: none;
}

.input-group.has-error .error-msg {
    display: block;
}

.regime-badge-view {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--cyan-neon);
    padding: 13px 16px;
    border-radius: 8px;
    color: var(--cyan-neon);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-orbitron);
}

/* PAYMENT BOX */
.payment-box {
    margin: 30px 0;
    padding: 25px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.02);
    display: block;
    transition: var(--transition-smooth);
}

.payment-box.hidden {
    display: none;
}

.payment-info h4 {
    color: var(--cyan-neon);
    font-size: 1rem;
    margin-bottom: 10px;
}

.payment-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.small-text {
    font-size: 0.8rem !important;
    font-style: italic;
}

.file-group {
    margin-top: 20px;
}

.file-dropzone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 25px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    background: rgba(5, 11, 20, 0.5);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.file-dropzone:hover {
    border-color: var(--cyan-neon);
    background: rgba(0, 242, 254, 0.05);
}

.file-dropzone i {
    font-size: 1.8rem;
    color: var(--cyan-neon);
}

.file-dropzone span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.file-group input[type="file"] {
    display: none;
}

/* CHECKBOX */
.checkbox-group {
    margin: 30px 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0; width: 0;
}

.checkmark {
    position: relative;
    top: 2px;
    height: 20px; width: 20px;
    background: rgba(5, 11, 20, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    flex-shrink: 0;
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--cyan-neon);
    border-color: var(--cyan-neon);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px; top: 3px;
    width: 5px; height: 10px;
    border: solid #050b14;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkbox-text strong {
    color: #fff;
}

/* FOOTER */
.cyber-footer {
    background: #03070d;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 15px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-col ul li a:hover {
    color: var(--cyan-neon);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}