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

:root {
    --primary-color: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #ef4444;
    --secondary-color: #ffffff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --background-light: #f9fafb;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    overflow-x: visible;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.btn-cliente {
    background: var(--gradient-primary);
    color: var(--text-white) !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cliente:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cliente::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* City Selector */
.city-selector {
    position: relative;
    display: inline-block;
}

.city-selector-button {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.city-selector-button:hover {
    border-color: var(--primary-color);
}

.city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    min-width: 200px;
    z-index: 1001;
    display: none;
    flex-direction: column;
    padding: 0.5rem 0;
}

.city-dropdown.show {
    display: flex;
}

.city-dropdown a {
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.2s ease;
}

.city-dropdown a:hover {
    background-color: var(--background-light);
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto; /* Push to the right */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), url('background_abstract_2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.05) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(107, 114, 128, 0.05) 100%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-logo-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
}

.hero-logo {
    width: 220px;
    height: 228px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(220, 38, 38, 0.2));
    animation: logoFloat 3s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-dark);
    margin: 0;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Visual - Speed Circle */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.speed-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 50px rgba(220, 38, 38, 0.3);
    animation: pulse 2s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.speed-circle:hover {
    transform: scale(1.02);
    box-shadow: 0 0 60px rgba(220, 38, 38, 0.4);
}

.speed-circle:active {
    transform: scale(0.98);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 50px rgba(220, 38, 38, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 80px rgba(220, 38, 38, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 50px rgba(220, 38, 38, 0.3);
    }
}

.speed-circle::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0.3;
    animation: ripple 2s ease-in-out infinite;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: scale(1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.speed-text {
    text-align: center;
    color: var(--text-white);
}

.speed-intro {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.speed-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.speed-unit {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Hero Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 24px;
}

.feature-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Why Choose Section */
.why-choose {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.95) 100%), url('background_abstract_1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.02) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(107, 114, 128, 0.02) 100%);
    z-index: 0;
}

.why-choose .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Plans Section */
.plans {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.95) 0%, rgba(243, 244, 246, 0.95) 100%), url('background_abstract_3.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.plans::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.03) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(107, 114, 128, 0.03) 100%);
    z-index: 0;
}

.plans .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-top: 1rem;
}

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

.plans-grid.three-plans {
    grid-template-columns: repeat(3, 1fr); /* Adjust to 3 columns when Galaxy is hidden */
}

.plan-card {
    background: var(--background-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.plan-card.popular {
    border-color: var(--primary-color);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.plan-speed {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.plan-speed span {
    font-size: 1.2rem;
    font-weight: 600;
}

.plan-price {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.plan-price span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.plan-period {
    color: var(--text-light);
    font-size: 0.875rem;
}

.plan-description {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-description p {
    color: var(--text-light);
    font-style: italic;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1; /* Allow features list to grow and push actions to bottom */
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.plan-features i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.plan-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto; /* Push actions to the bottom */
}

.plans-footer {
    margin-top: 3rem;
}

.fidelity-info {
    background: var(--background-white);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--shadow-md);
}

.fidelity-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fidelity-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.fidelity-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.fidelity-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Coverage Section */
.coverage {
    padding: 5rem 0;
    background: var(--background-white);
}

.coverage-form {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.coverage-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.coverage-result.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.coverage-result.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.coverage-info {
    max-width: 800px;
    margin: 0 auto;
}

.coverage-areas h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.area-item:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.area-item i {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.area-item:hover i {
    color: var(--text-white);
}

/* Speed Test Section */
.speed-test {
    padding: 5rem 0;
    background: var(--gradient-primary);
    text-align: center;
}

.speed-test .section-title,
.speed-test .section-subtitle {
    color: var(--text-white);
}

.speed-test-note {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--background-light);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    max-width: 600px;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.contact-actions {
    margin-top: 2rem;
}

.contact-form {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 3rem 0;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

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

.footer-section ul li a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-white);
    font-size: 24;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal.hide {
    opacity: 0;
}

.modal-content {
    background-color: var(--background-white);
    margin: auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: scale(0.7) translateY(-50px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
}

.modal.show .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal.hide .modal-content {
    transform: scale(0.7) translateY(-50px);
    opacity: 0;
}

.close-button {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
}

.close-button:hover,
.close-button:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    transform: scale(1.1);
}

.modal-content h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.modal-content ul {
    list-style: none;
    margin-bottom: 1rem;
}

.modal-content ul li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-content ul li i {
    color: var(--primary-color);
}

.modal-content .btn-primary {
    margin-top: 1.5rem;
    width: 100%;
}

/* Comparison Modal */
.comparison-modal .modal-content {
    max-width: 90%;
}

.comparison-table-container {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.comparison-table th,
.comparison-table td {
    border: 1px solid var(--border-color);
    padding: 1rem;
    text-align: left;
    vertical-align: top;
}

.comparison-table th {
    background-color: var(--background-light);
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table .feature-column {
    width: 200px;
    min-width: 150px;
    font-weight: 600;
}

.comparison-table .plan-column {
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
}

.comparison-table tbody tr:nth-child(even) {
    background-color: var(--background-light);
}

.comparison-table .highlight-row td {
    background-color: rgba(220, 38, 38, 0.05);
}

.comparison-table .highlight-value {
    font-weight: 700;
    color: var(--primary-color);
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.notification.show {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-logo-title {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .plans-grid.three-plans {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-item i {
        margin-bottom: 0.5rem;
    }

    .fidelity-info {
        flex-direction: column;
        text-align: center;
    }

    .fidelity-icon {
        margin-bottom: 1rem;
    }

    .form-group {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .speed-circle {
        width: 250px;
        height: 250px;
    }

    .speed-number {
        font-size: 3rem;
    }

    .plan-speed {
        font-size: 2.5rem;
    }

    .plan-price span {
        font-size: 1.2rem;
    }
}

/* Custom styles for plan alignment */
.plan-actions button {
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
}

.plan-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.plan-actions .btn {
    padding: 0.75rem 1rem; /* Adjust padding for smaller buttons */
    font-size: 0.9rem; /* Adjust font size for smaller buttons */
}

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

.plans-grid.three-plans {
    grid-template-columns: repeat(3, 1fr); /* Adjust to 3 columns when Galaxy is hidden */
}

.plan-card.hidden {
    display: none; /* Hide the Galaxy plan when not available */
}

/* Animation for hiding/showing Galaxy plan */
.plan-card.galaxy-transition {
    transition: all 0.5s ease-in-out;
}

.plan-card.galaxy-hidden {
    opacity: 0;
    transform: scale(0.8);
    width: 0; /* Collapse width */
    margin-left: -2rem; /* Adjust margin to remove space */
    margin-right: -2rem; /* Adjust margin to remove space */
    overflow: visible; /* Hide content during collapse */
}

.plan-card.galaxy-visible {
    opacity: 1;
    transform: scale(1);
    width: auto; /* Restore width */
    margin-left: 0;
    margin-right: 0;
}

/* Ensure buttons are aligned */
.plan-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    align-items: stretch; /* Ensure buttons stretch to fill available width */
}

.plan-actions .btn {
    width: 100%; /* Make buttons take full width */
}

/* Align text in plan-actions */
.plan-actions button {
    text-align: center;
}

/* Adjust Universe plan features for alignment */
.plan-card .plan-features li {
    min-height: 20px; /* Ensure consistent height for list items */
}

.plan-card.universe .plan-features li:nth-child(2) { /* IP Público + 100% IPv6 */
    /* No change needed, it's already shorter */
}

.plan-card.universe .plan-features li:nth-child(3) { /* Roteador Wi-Fi Gigabit inteiramente GRÁTIS */
    /* No change needed, it's already shorter */
}

.plan-card.universe .plan-features li:nth-child(4) { /* Suporte prioritário */
    /* No change needed, it's already shorter */
}

.plan-card.universe .plan-features li:nth-child(5) { /* Upload: 400 Mbps */
    /* No change needed, it's already shorter */
}

.plan-card.universe .plan-features li:nth-child(6) { /* Instalação: R$ 50,00 */
    /* No change needed, it's already shorter */
}

/* Ensure all plan-cards have consistent height */
.plans-grid {
    align-items: stretch;
}

.plan-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card .plan-header,
.plan-card .plan-description,
.plan-card .plan-features {
    flex-shrink: 0;
}

.plan-card .plan-actions {
    flex-grow: 0;
}

/* Specific adjustments for Universe plan features to match others */
.plan-card.universe .plan-features li {
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
}

.plan-card.universe .plan-features li:nth-child(2) {
    /* IP Público + 100% IPv6 */
    /* This item is already concise, no further truncation needed */
}

.plan-card.universe .plan-features li:nth-child(3) {
    /* Roteador Wi-Fi Gigabit inteiramente GRÁTIS */
    /* This item is already concise, no further truncation needed */
}

.plan-card.universe .plan-features li:nth-child(4) {
    /* Suporte prioritário */
    /* This item is already concise, no further truncation needed */
}

.plan-card.universe .plan-features li:nth-child(5) {
    /* Upload: 400 Mbps */
    /* This item is already concise, no further truncation needed */
}

.plan-card.universe .plan-features li:nth-child(6) {
    /* Instalação: R$ 50,00 */
    /* This item is already concise, no further truncation needed */
}

/* Ensure consistent height for plan features list */
.plan-features {
    min-height: 150px; /* Adjust as needed to accommodate the longest list */
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .plans-grid.three-plans {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

    .plans-grid.three-plans {
        grid-template-columns: 1fr;
    }
}



.plan-badge.exclusive-badge {
    background: #FFD700; /* Amarelo */
    color: #333; /* Cor do texto para contraste */
}



.plan-negotiable {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}



.plan-negotiable {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}



.plan-card.exclusive {
    background: var(--background-white);
    border: 2px solid #f59e0b;
    position: relative;
    overflow: visible; /* Garantir que a tag não seja cortada */
}

.plan-card.exclusive .plan-name {
    color: #d97706;
}

.plan-card.exclusive .plan-speed {
    color: #f59e0b;
}

.plan-card.exclusive .plan-speed span {
    color: #f59e0b;
}

.plan-card.exclusive .plan-price {
    color: var(--text-dark);
}

.plan-card.exclusive .plan-price span {
    color: var(--text-dark);
}

.plan-card.exclusive .plan-period {
    color: var(--text-light);
}

.plan-card.exclusive .plan-description p {
    color: var(--text-dark);
}

.plan-card.exclusive .plan-features li {
    color: var(--text-dark);
}

.plan-card.exclusive .plan-features i {
    color: #f59e0b;
}

.plan-negotiable {
    font-size: 1.2rem;
    color: #b45309;
    font-weight: 600;
    text-align: center;
    margin-top: 0.5rem;
}

.plan-badge.exclusive-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--text-white);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    z-index: 10; /* Garantir que fique acima do card */
    white-space: nowrap; /* Evitar quebra de linha */
    padding: 0.5rem 1.2rem; /* Aumentar padding para evitar corte */
    top: -15px; /* Ajustar posição para não cortar */
}




/* Cookie Consent Banner Styles */
.cc-nb-main-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    font-family: 'Inter', sans-serif;
}

.cc-nb-main-container.show {
    transform: translateY(0);
}

.cc-nb-main-container.hide {
    transform: translateY(100%);
}

.cc-nb-banner {
    background: var(--background-white);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.cc-nb-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cc-nb-text {
    flex: 1;
}

.cc-nb-text p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cc-nb-buttons-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cc-nb-accept,
.cc-nb-reject,
.cc-nb-changep {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.cc-nb-accept {
    background: var(--primary-color);
    color: var(--text-white);
}

.cc-nb-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cc-nb-reject {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.cc-nb-reject:hover {
    background: var(--background-light);
    border-color: var(--text-dark);
}

.cc-nb-changep {
    background: transparent;
    color: var(--primary-color);
    border: none;
    text-decoration: underline;
    padding: 0.75rem 0;
}

.cc-nb-changep:hover {
    color: var(--primary-dark);
}

/* Responsive adjustments for cookie banner */
@media (max-width: 768px) {
    .cc-nb-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cc-nb-buttons-container {
        justify-content: center;
        width: 100%;
    }
    
    .cc-nb-accept,
    .cc-nb-reject {
        flex: 1;
        min-width: 120px;
    }
    
    .cc-nb-changep {
        width: 100%;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .cc-nb-banner {
        padding: 1rem;
    }
    
    .cc-nb-buttons-container {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cc-nb-accept,
    .cc-nb-reject {
        width: 100%;
    }
}


/* Plan Details Modal Styles */
.plan-details-modal {
    max-width: 600px;
}

.plan-details-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.plan-details-speed {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.plan-details-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.plan-details-description {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
}

.plan-details-features {
    margin-bottom: 2rem;
}

.plan-details-features h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.plan-details-features ul {
    list-style: none;
    padding: 0;
}

.plan-details-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.plan-details-features li:last-child {
    border-bottom: none;
}

.plan-details-features li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.plan-details-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.plan-details-actions .btn {
    flex: 1;
}

/* Modal Header Styles */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-header .close {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.modal-header .close:hover,
.modal-header .close:focus {
    color: var(--primary-color);
}

/* Comparison Table Responsive */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .plan-details-actions {
        flex-direction: column;
    }
    
    .plan-details-speed {
        font-size: 2.5rem;
    }
    
    .plan-details-price {
        font-size: 1.3rem;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    max-width: 90%;
    text-align: center;
}

.notification.show {
    opacity: 1;
}

.notification.success {
    background-color: #10b981;
    color: white;
}

.notification.error {
    background-color: #ef4444;
    color: white;
}

.notification.info {
    background-color: var(--primary-color);
    color: white;
}

/* About Modal Styles */
#aboutModal .modal-content {
    max-width: 800px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.value-item {
    text-align: center;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
}

.value-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.value-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.value-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
}



/* Privacy Policy Modal Styles */
.privacy-policy-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001; /* Increased z-index to ensure it's on top */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.privacy-policy-container.open-privacy {
    display: flex;
}

.privacy-policy {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-close-privacy {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-close-privacy:hover {
    background: #f0f0f0;
    color: #333;
}

.privacy-policy h2 {
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-right: 40px;
}

.privacy-policy h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.privacy-policy p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.privacy-policy ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-policy li {
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.privacy-policy li p {
    margin: 0;
}

@media (max-width: 768px) {
    .privacy-policy {
        margin: 10px;
        padding: 20px;
        max-height: 95vh;
    }

    .privacy-policy h2 {
        font-size: 20px;
        padding-right: 30px;
    }

    .privacy-policy h3 {
        font-size: 16px;
    }
}



/* About Us Modal Styles */
.about-us-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.modal-body p:last-child {
    margin-bottom: 0;
}



/* ===== ACCESSIBILITY STYLES ===== */

/* Botão de Acessibilidade no Header */
.accessibility-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
}

.accessibility-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.accessibility-btn:focus {
    outline: 3px solid #ffdd00;
    outline-offset: 2px;
}

/* Painel de Acessibilidade */
.accessibility-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.accessibility-panel.active {
    display: flex;
}

.accessibility-content {
    background: white;
    border-radius: 16px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.3s ease-out;
}

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

.accessibility-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.accessibility-header h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.close-accessibility {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-accessibility:hover {
    background: var(--background-light);
    color: var(--text-dark);
}

.accessibility-section {
    margin-bottom: 24px;
}

.accessibility-section h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.accessibility-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.accessibility-control-btn {
    background: var(--background-light);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.accessibility-control-btn:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.accessibility-control-btn:focus {
    outline: 3px solid #ffdd00;
    outline-offset: 2px;
}

.accessibility-control-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-dark);
}

.accessibility-control-btn i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.reset-btn {
    width: 100%;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reset-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.reset-btn:focus {
    outline: 3px solid #ffdd00;
    outline-offset: 2px;
}

/* Funcionalidades de Acessibilidade */

/* Fonte aumentada - Incremento significativo de 50% */
body.large-font {
    font-size: 1.5em;
}

body.large-font h1 { font-size: 4.5rem; }
body.large-font h2 { font-size: 3rem; }
body.large-font h3 { font-size: 2.25rem; }
body.large-font h4 { font-size: 1.8rem; }
body.large-font .btn { font-size: 1.35rem; padding: 16px 32px; }
body.large-font .nav-link { font-size: 1.35rem; }
body.large-font .plan-price { font-size: 3rem; }
body.large-font .plan-speed { font-size: 2.25rem; }

/* Fonte muito aumentada - Incremento de 100% para máxima acessibilidade */
body.extra-large-font {
    font-size: 2em;
}

body.extra-large-font h1 { font-size: 6rem; }
body.extra-large-font h2 { font-size: 4rem; }
body.extra-large-font h3 { font-size: 3rem; }
body.extra-large-font h4 { font-size: 2.4rem; }
body.extra-large-font .btn { font-size: 1.8rem; padding: 20px 40px; }
body.extra-large-font .nav-link { font-size: 1.8rem; }
body.extra-large-font .plan-price { font-size: 4rem; }
body.extra-large-font .plan-speed { font-size: 3rem; }

/* Fonte diminuída - Decremento mais significativo */
body.small-font {
    font-size: 0.75em;
}

body.small-font h1 { font-size: 2.25rem; }
body.small-font h2 { font-size: 1.5rem; }
body.small-font h3 { font-size: 1.125rem; }
body.small-font h4 { font-size: 0.9rem; }
body.small-font .btn { font-size: 0.675rem; padding: 8px 16px; }
body.small-font .nav-link { font-size: 0.675rem; }
body.small-font .plan-price { font-size: 1.5rem; }
body.small-font .plan-speed { font-size: 1.125rem; }

/* Alto contraste */
body.high-contrast {
    background: #000000 !important;
    color: #ffffff !important;
}

body.high-contrast * {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

body.high-contrast .btn {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
}

body.high-contrast .btn:hover {
    background: #cccccc !important;
    color: #000000 !important;
}

body.high-contrast a {
    color: #ffff00 !important;
}

body.high-contrast .header {
    background: #000000 !important;
    border-bottom-color: #ffffff !important;
}

/* Escala de cinza */
body.grayscale {
    filter: grayscale(100%);
}

/* Cursor maior - Implementação melhorada com imagens PNG */
body.big-cursor,
body.big-cursor * {
    cursor: url('assets/cursors/cursor-large.png') 24 24, auto !important;
}

body.big-cursor a,
body.big-cursor button,
body.big-cursor input,
body.big-cursor select,
body.big-cursor textarea,
body.big-cursor [onclick],
body.big-cursor [role="button"] {
    cursor: url('assets/cursors/cursor-pointer-large.png') 24 24, pointer !important;
}

/* Fallback para navegadores que não suportam cursor personalizado */
@supports not (cursor: url('assets/cursors/cursor-large.png') 24 24, auto) {
    body.big-cursor,
    body.big-cursor * {
        cursor: auto !important;
        cursor: -webkit-zoom-in !important;
        cursor: zoom-in !important;
    }
    
    body.big-cursor a,
    body.big-cursor button,
    body.big-cursor input,
    body.big-cursor select,
    body.big-cursor textarea {
        cursor: pointer !important;
        cursor: -webkit-zoom-in !important;
        cursor: zoom-in !important;
    }
}

/* Pausar animações */
body.no-animations *,
body.no-animations *::before,
body.no-animations *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* Melhorias de foco para acessibilidade */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus,
[role="button"]:focus {
    outline: 3px solid #ffdd00 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 1px #000, 0 0 8px rgba(255, 221, 0, 0.5) !important;
    position: relative !important;
    z-index: 999 !important;
}

/* Foco especial para elementos de acessibilidade */
.accessibility-control-btn:focus {
    outline: 3px solid #ffdd00 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 1px #000, 0 0 12px rgba(255, 221, 0, 0.8) !important;
    transform: scale(1.05) !important;
}

/* Indicador visual para elementos com atalhos de teclado */
[data-keyboard-shortcut]::after {
    content: attr(data-keyboard-shortcut);
    position: absolute;
    top: -25px;
    right: -5px;
    background: #333;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

[data-keyboard-shortcut]:hover::after,
[data-keyboard-shortcut]:focus::after {
    opacity: 1;
}

/* Estilos para modo de leitura ativa */
body.reading-mode .reading-highlight {
    background: #ffff00 !important;
    color: #000 !important;
    outline: 2px solid #ff6600 !important;
    outline-offset: 1px !important;
    border-radius: 2px !important;
    box-shadow: 0 0 8px rgba(255, 102, 0, 0.5) !important;
}

/* Indicador de elemento sendo lido */
.tts-reading {
    animation: tts-pulse 1.5s infinite;
    background: linear-gradient(45deg, #ffff00, #ffcc00) !important;
    color: #000 !important;
    border-radius: 3px !important;
    padding: 2px 4px !important;
}

@keyframes tts-pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Seção de informações de acessibilidade */
.accessibility-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.accessibility-info p {
    margin: 0 0 4px 0;
}

.accessibility-info p:last-child {
    margin-bottom: 0;
}

/* Responsividade do painel */
@media (max-width: 768px) {
    .accessibility-content {
        width: 95%;
        padding: 20px;
        max-height: 85vh;
    }
    
    .accessibility-controls {
        grid-template-columns: 1fr;
    }
    
    .accessibility-btn {
        padding: 8px 10px;
        font-size: 14px;
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .accessibility-header h3 {
        font-size: 1.3rem;
    }
    
    .accessibility-control-btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

