:root {
    --primary-color: #e63946;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --bg-light: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
}

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

/* Header */
header {
    border-top: 4px solid var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.top-bar {
    background: #000;
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
    display: inline-block;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-nav {
    padding: 10px 0;
    background: transparent; /* Transparent by default */
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    transition: all 0.3s ease;
}

header.scrolled .main-nav {
    background: #0b0f1a; /* Dark background on scroll */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 12px;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a; /* Dark links by default */
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

header.scrolled .nav-links a {
    color: #ffffff; /* White links when header is dark/scrolled */
}

.nav-links a i {
    color: inherit; /* Inherit color from parent a tag */
    font-size: 14px;
}

.nav-links li {
    position: relative;
    padding: 15px 0;
}

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

.mobile-only {
    display: none;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 8px 8px;
    padding: 25px;
    display: none;
    z-index: 1001;
    min-width: 250px;
    white-space: nowrap;
}

.nav-links li:hover .mega-menu {
    display: block;
}

.mega-title {
    font-size: 16px;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mega-grid {
    display: flex;
    gap: 40px;
}

.mega-col {
    min-width: 200px;
}

.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.mega-item i.main-icon {
    display: none; /* Hide old icon */
}

.mega-icon-wrapper {
    width: 42px;
    height: 42px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: var(--transition);
    border: 1px solid #eee;
}

.mega-icon-wrapper i {
    font-size: 20px;
    color: var(--primary-color);
}

.mega-item:hover .mega-icon-wrapper {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.mega-item:hover .mega-icon-wrapper i {
    color: #fff;
}

.mega-item-content {
    display: flex;
    flex-direction: column;
}

.mega-item-title {
    display: block;
    color: #1a1a1a;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.mega-sub-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444 !important; /* Force dark color on white background */
    text-decoration: none;
    font-size: 13px;
    padding: 8px 0;
    transition: var(--transition);
    font-weight: 500;
}

.mega-sub-link:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

.mega-sub-link i {
    font-size: 12px;
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: #fdfdfd;
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-subtitle {
    font-size: 18px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #1a1a1a;
}

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

.hero-tech {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.hero-features {
    list-style: none;
    margin-bottom: 40px;
}

.hero-features li {
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-features i {
    color: #999;
}

.btn-keyhost {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.btn-keyhost:hover {
    background: var(--primary-color);
    transform: scale(1.02);
}

.guarantee {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 700;
}

/* Google Rating */
.google-rating {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    width: fit-content;
}

.stars {
    color: #fbbc05;
    font-size: 14px;
}

.stars span {
    color: #000;
    font-weight: 800;
    margin-left: 5px;
}

.google-rating p {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.google-rating p span {
    color: #999;
    font-weight: 400;
}

/* Hero Image & Cards */
.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-person {
    width: 90%;
    z-index: 1;
}

.performance-card {
    position: absolute;
    right: -20px;
    top: 55%;
    transform: translateY(-50%);
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    z-index: 3;
    width: 180px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.performance-card p {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
}

.circle-score {
    width: 70px;
    height: 70px;
    border: 5px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(0, 163, 77, 0.1);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.metrics i {
    font-size: 14px;
    color: #fff;
    background: rgba(255,255,255,0.1);
    padding: 8px;
    border-radius: 4px;
}

.speed-metrics {
    position: absolute;
    bottom: 20px;
    left: 10%;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    gap: 30px;
    padding: 15px 30px;
    border-radius: 12px;
    border-bottom: 4px solid var(--primary-color);
    z-index: 4;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-item .label {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
}

.metric-item .value {
    font-size: 18px;
    font-weight: 800;
}

.value.green {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a1a1a; /* Dark by default */
    transition: all 0.3s ease;
}

header.scrolled .menu-toggle {
    color: #fff; /* White when header is dark */
}

/* Responsive Styles */
@media (max-width: 1150px) {
    /* Seamless dark header container when mobile menu is active */
    header:has(.nav-links.active) .main-nav {
        background: #0d1117 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    header:has(.nav-links.active) .menu-toggle {
        color: #ffffff !important;
    }
    header:has(.nav-links.active) .logo-text {
        color: #ffffff !important;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0d1117 !important; /* Elegant dark layout */
        flex-direction: column;
        padding: 0;
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
        gap: 0;
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
        border-bottom: 2px solid var(--primary-color);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-only {
        display: block !important;
    }

    /* Mobile Utility Links at the top of the menu */
    .utility-link {
        background: #161b22 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

    .utility-link a {
        padding: 15px 20px !important;
        font-size: 14px !important;
        color: #ffffff !important; /* Force high-contrast white */
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .utility-link a i {
        color: var(--primary-color) !important; /* Vibrant primary red */
    }

    .divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.05);
        margin: 5px 0;
    }

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

    /* Force link items to be high contrast white ALWAYS on mobile */
    .nav-links.active a,
    .nav-links a,
    .nav-links > li > a,
    .dedicados-page .nav-links a,
    .dedicados-page .nav-links > li > a {
        color: #ffffff !important;
        padding: 15px 20px !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Highlight hover state */
    .nav-links > li > a:hover {
        background: rgba(255, 255, 255, 0.02) !important;
        color: var(--primary-color) !important;
    }

    /* Chevron icon style inside link items */
    .nav-links > li > a i {
        color: rgba(255, 255, 255, 0.4) !important;
        transition: transform 0.3s ease;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: transparent;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    /* Sub-menus (Mega Menus) expanding in Mobile view */
    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 10px 0 15px 25px;
        background: #161b22 !important; /* Lighter high-tech contrast background */
        display: none;
    }
    
    .mega-menu.active-mobile {
        display: block !important;
    }
    
    .nav-links li:hover .mega-menu {
        display: none; /* Disable hover triggers on mobile */
    }

    .nav-links li:hover .mega-menu.active-mobile {
        display: block !important;
    }

    .mega-title {
        color: var(--primary-color) !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        text-transform: uppercase;
        margin-bottom: 15px !important;
        padding-bottom: 5px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        letter-spacing: 0.5px;
    }

    .mega-item {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
        align-items: flex-start;
        flex-direction: column; /* Stack on mobile inside folders */
    }

    .mega-icon-wrapper {
        display: none; /* Hide decorative icons to clear mobile vertical density */
    }

    .mega-item-title {
        color: #ffffff !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        margin-bottom: 8px !important;
        display: block;
        opacity: 0.8;
    }

    .mega-sub-link {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 12px !important;
        padding: 8px 0 !important;
        display: flex !important;
        align-items: center;
        gap: 8px;
        font-weight: 500 !important;
    }

    .mega-sub-link i {
        font-size: 10px !important;
        color: var(--primary-color) !important;
    }

    .mega-sub-link:hover {
        color: var(--primary-color) !important;
        padding-left: 5px !important;
    }

    .menu-toggle {
        display: block;
    }
    
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .hero-features {
        display: inline-block;
        text-align: left;
    }
    
    .hero-image-container {
        width: 100%;
        justify-content: center;
    }
    
    .hero-person {
        width: 100%;
        max-width: 500px;
    }
    
    .google-rating {
        margin: 40px auto 0;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    header {
        border-top-width: 3px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-tech {
        font-size: 18px;
    }
    
    .performance-card {
        right: 0;
        top: 65%;
        width: 150px;
    }
    
    .speed-metrics {
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        padding: 10px 20px;
        gap: 15px;
    }
    
    .metric-item .value {
        font-size: 14px;
    }
    
    .mega-footer .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .btn-keyhost {
        width: 100%;
        padding: 15px 20px;
    }
    
    .performance-card {
        display: none;
    }
    
    .mega-footer .container {
        grid-template-columns: 1fr;
    }
    
    .logo span {
        font-size: 1.1rem !important;
    }
}

/* Ticker Section - Infinite Loop */
.tech-ticker {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-track {
    display: flex;
    gap: 30px;
    width: max-content;
}

.ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.ticker-track span:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.ticker-track span i {
    color: var(--primary-color);
    font-size: 16px;
}

.ticker-track span:hover i {
    color: #fff;
}

.track-left {
    animation: scroll-left 30s linear infinite;
}

.track-right {
    animation: scroll-right 30s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Sombreamento nas bordas para suavizar a entrada/saída */
.tech-ticker::before,
.tech-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.tech-ticker::before {
    left: 0;
    background: linear-gradient(to right, #0b1120, transparent);
}

.tech-ticker::after {
    right: 0;
    background: linear-gradient(to left, #0b1120, transparent);
}


/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    font-size: 18px;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 30px;
    border: none;
    background: #e2e8f0;
    border-radius: 8px;
    font-weight: 700;
    color: #4a5568;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--primary-color);
    color: #fff;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    flex: 1 1 260px;
    max-width: 285px;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    z-index: 2;
}

.pricing-card.dark {
    background: #1a1a1a;
    color: #fff;
}

.pricing-card.dark .card-header h3,
.pricing-card.dark .price .amount,
.pricing-card.dark .price .currency,
.pricing-card.dark .price .decimal,
.pricing-card.dark .price .period {
    color: #fff;
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 800;
}

.card-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.card-header p {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.pricing-card.dark .card-header p {
    color: #a0aec0;
}

.price {
    margin-bottom: 30px;
}

.currency {
    font-size: 20px;
    font-weight: 800;
    vertical-align: top;
}

.amount {
    font-size: 54px;
    font-weight: 800;
    color: #1a1a1a;
}

.decimal {
    font-size: 20px;
    font-weight: 800;
}

.period {
    color: #666;
    font-weight: 600;
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
    flex-grow: 1;
}

.features li {
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card.dark .features li {
    border-bottom: 1px solid #2d3748;
}

.features li i {
    color: #a0aec0;
    width: 20px;
}

.features li.check i {
    color: var(--primary-color);
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 15px;
    background: #00e676;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 800;
    margin-bottom: 15px;
    transition: var(--transition);
}

.btn-pricing.btn-red {
    background: var(--primary-color);
}

.btn-pricing:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,230,118,0.3);
}

.btn-red:hover {
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.promo-text {
    font-size: 12px;
    color: #999;
}

@media (max-width: 1024px) {
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 640px) {
    .pricing-card {
        max-width: 100%;
        width: 100%;
    }
}

/* Infra Section */
.infra-section {
    padding: 100px 0;
    background: #fff;
}

/* Infra Grid Refined */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.infra-card {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.infra-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: #3182ce;
    font-size: 28px;
    transition: all 0.3s ease;
}

.infra-card:hover .infra-icon {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.1);
}

.infra-card h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 700;
}

.infra-card p {
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .infra-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.cert-area {
    margin-top: 80px;
    text-align: center;
}

.cert-area p {
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 30px;
}

.cert-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.brand-info {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    flex-wrap: wrap;
}

.partner-logos span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.partner-logos i {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .infra-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .infra-grid {
        grid-template-columns: 1fr;
    }
    .partner-logos {
        gap: 30px;
    }
}

/* OS & Tech Strip - High Contrast Version */
.os-tech-strip {
    background: #111; /* Pitch black for maximum contrast */
    padding: 60px 0;
    position: relative;
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
}

.os-tech-strip .strip-header h3 {
    color: #555 !important;
}

.strip-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #eee;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.strip-item i {
    font-size: 48px; /* Huge icons */
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 4s ease-in-out infinite;
}

.strip-item:hover {
    color: var(--primary-color);
    transform: translateY(-10px);
}

.strip-item:hover i {
    color: var(--primary-color);
    filter: drop-shadow(0 0 20px var(--primary-color));
    transform: scale(1.1) rotateY(180deg);
}

.strip-separator {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.1);
}

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

@media (max-width: 768px) {
    .strip-wrapper {
        justify-content: center;
        gap: 40px;
    }
    .strip-separator {
        display: none;
    }
}

/* Certification Strip Style */
.cert-area {
    margin-top: 80px;
    text-align: center;
    background: #fdfdfd;
    padding: 60px 30px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.cert-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    font-weight: 800;
    margin-bottom: 40px;
}

.cert-strip-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cert-badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
}

.cert-badge-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cert-badge-item.iso-9001,
.cert-badge-item.iso-27001,
.cert-badge-item.iso-27017,
.cert-badge-item.iso-27018 { border-color: #eee; }

.cert-badge-item:hover {
    border-color: var(--primary-color);
    background: #fff5f5;
}

.badge-icon {
    font-size: 24px;
    color: var(--primary-color) !important;
}

.badge-info {
    text-align: left;
}

.badge-info strong {
    display: block;
    font-size: 16px;
    color: #1a1a1a;
}

.badge-info span {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    font-weight: 700;
}

@media (max-width: 768px) {
    .cert-strip-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .cert-badge-item {
        width: 100%;
        max-width: 300px;
    }
}

/* Infra Grid Original Styles */
.infra-grid-original {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.infra-card-old {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    text-align: center;
}

.infra-card-old:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.05);
}

.infra-icon-old {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.infra-card-old h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 800;
}

.infra-card-old p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Dedicated Page Fixes */
body.dedicados-page {
    background-color: #fdfdfd !important;
    color: #1a1a1a !important;
}

.dedicados-hero {
    background: linear-gradient(135deg, #fdfdfd 0%, #f4f5f8 100%);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-badge {
    display: inline-block;
    background: rgba(230, 57, 70, 0.08);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 30px;
    border: 1px solid rgba(230, 57, 70, 0.15);
}

.dedicados-hero h1 {
    font-size: 64px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 25px;
}

.dedicados-hero h1 span {
    color: var(--primary-color);
}

.dedicados-hero p {
    color: #555555;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 50px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 80px;
}

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

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
}

.stat-label {
    font-size: 10px;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 5px;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.h-feat-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.h-feat-card:hover {
    background: rgba(230, 57, 70, 0.02);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.08);
}

.h-feat-card i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.h-feat-card h3 {
    color: #1a1a1a;
    font-size: 16px;
    margin-bottom: 12px;
}

.h-feat-card p {
    font-size: 13px;
    color: #555555;
    margin: 0;
    line-height: 1.6;
}

/* Plans Table */
.dedicados-plans {
    background: #ffffff;
    padding: 80px 0;
}

.cpu-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.cpu-toggle {
    background: #f4f5f8;
    padding: 6px;
    border-radius: 12px;
    display: flex;
    gap: 5px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.toggle-btn {
    background: transparent;
    border: none;
    color: #666666;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-btn.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.plans-table-container {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
}

.plans-table {
    width: 100%;
    border-collapse: collapse;
}

.plans-table th {
    background: #fbfbfb;
    padding: 20px;
    text-align: left;
    font-size: 11px;
    color: #555555;
    font-weight: 800;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.plans-table td {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #333333;
    font-size: 14px;
}

.td-cpu strong {
    font-size: 15px;
    color: #1a1a1a;
}

.td-cpu small {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 10px;
}

.activation-badge {
    background: #f4f5f8;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    color: #555555;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.price-col {
    text-align: right;
}

.p-label {
    display: block;
    font-size: 9px;
    color: #666;
    margin-bottom: 5px;
}

.p-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.p-value span {
    font-size: 14px;
    color: #666;
}

.btn-buy {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-buy.disabled {
    background: rgba(255, 255, 255, 0.05);
    color: #666;
    cursor: not-allowed;
}

.btn-buy:not(.disabled) {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
}

#plans-body {
    transition: opacity 0.3s ease;
}

/* Bottom Features */
.bottom-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
}
.b-feat-card {
    background: #fbfbfb;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.b-feat-card i {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.b-feat-card h3 {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
}

.b-feat-card p {
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .dedicados-hero h1 { font-size: 48px; }
    .hero-features-grid, .bottom-features { grid-template-columns: repeat(2, 1fr); }
    .plans-table-container { overflow-x: auto; }
    .plans-table { min-width: 900px; }
}

@media (max-width: 768px) {
    .hero-stats { gap: 30px; flex-wrap: wrap; }
    .hero-features-grid, .bottom-features { grid-template-columns: 1fr; }
}


/* FAQ Section Styles */
.dedicados-faq {
    background: #ffffff;
    padding: 80px 0;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.06);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.faq-question .dot {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.faq-question h4 {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}

.faq-answer p {
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding-left: 21px;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}


/* Dedicated Page Fixes - Clean, beautiful standard header behavior */
body.dedicados-page {
    background-color: #fdfdfd !important;
    color: #1a1a1a !important;
}}


/* Proxy Cache Section Styles */
.proxy-cache-section {
    background: #fdfdfd;
    padding: 100px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.proxy-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.proxy-info {
    flex: 1;
}

.p-badge {
    display: inline-block;
    background: rgba(230, 57, 70, 0.08);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(230, 57, 70, 0.15);
}

.proxy-info h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 20px;
}

.proxy-info h2 span {
    color: var(--primary-color);
}

.p-desc {
    color: #555555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.p-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pf-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.01);
}

.pf-icon {
    color: var(--primary-color);
    font-size: 20px;
}

.pf-text strong {
    display: block;
    color: #1a1a1a;
    font-size: 13px;
    margin-bottom: 5px;
}

.pf-text span {
    color: #666666;
    font-size: 11px;
}

.proxy-card-wrapper {
    width: 400px;
    position: relative;
}

.ex-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    z-index: 2;
}

.proxy-status-card {
    background: #ffffff;
    border-radius: 25px;
    padding: 40px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.06);
}

.ps-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.ps-header h4 {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}

.ps-header small {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 10px;
}

.ps-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.ps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ps-row span {
    color: #666666;
    font-size: 12px;
}

.ps-row strong {
    color: #1a1a1a;
    font-size: 16px;
}

.ps-price small {
    display: block;
    text-decoration: line-through;
    color: #888888;
    font-size: 11px;
    text-align: right;
}

.ps-price strong {
    color: var(--primary-color);
    font-size: 24px;
}

.ps-footer {
    margin-top: 30px;
}

.ps-status-btn {
    background: #f4f5f8;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
}

.ps-status-btn small {
    display: block;
    color: #666666;
    font-size: 9px;
    margin-bottom: 5px;
}

.ps-status-btn span {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 11px;
}

.proxy-footer-banner {
    margin-top: 50px;
    background: rgba(230, 57, 70, 0.04);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid rgba(230, 57, 70, 0.08);
}

.pfb-icon {
    font-size: 24px;
    color: var(--primary-color);
}

.pfb-content strong {
    display: block;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.pfb-content p {
    color: #555555;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .proxy-container { flex-direction: column; }
    .proxy-card-wrapper { width: 100%; }
}

/* ==========================================================================
   GLOBAL LOGO STYLING & DYNAMIC STATES
   ========================================================================== */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-svg {
    transition: transform 0.3s ease;
}

.logo:hover .logo-svg {
    transform: rotate(12deg) scale(1.08);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

/* Color states according to header background scenarios: */
header:not(.scrolled) .logo-text {
    color: #1a1a1a !important; /* Standard index.html header text is dark */
}

header.scrolled .logo-text {
    color: #ffffff !important; /* Scrolled dark header text is white */
}

/* Footer specific brand override */
footer .logo-text, footer .logo span {
    color: #1a1a1a !important;
}

/* ==========================================================================
   ENHANCED RESPONSIVE DESIGN - ALL VIEWPORTS (MOBILE, TABLET, DESKTOP)
   ========================================================================== */

/* Touch Scrollbar enhancements for mobile hardware lists & tables */
.plans-table-container {
    -webkit-overflow-scrolling: touch;
}
.plans-table-container::-webkit-scrollbar {
    height: 5px;
}
.plans-table-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.plans-table-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Subpage Dark Hero Improvements on Mobile & Tablet */
@media (max-width: 992px) {
    .dedicados-hero {
        padding: 130px 0 60px !important;
    }
    .dedicados-hero h1 {
        font-size: 38px !important;
        line-height: 1.2 !important;
    }
    .dedicados-hero p {
        font-size: 15px !important;
        margin-bottom: 30px !important;
    }
    .hero-stats {
        gap: 30px !important;
        margin-bottom: 40px !important;
    }
    .stat-value {
        font-size: 26px !important;
    }
    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    /* Menu height offsets */
    .hero {
        padding: 110px 0 50px !important;
    }
    .dedicados-hero {
        padding: 120px 0 50px !important;
    }
    .dedicados-hero h1 {
        font-size: 32px !important;
    }
    .hero-features-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .bottom-features {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 40px !important;
    }
    .faq-grid {
        margin-top: 30px !important;
        gap: 15px !important;
    }
    .faq-item {
        padding: 20px !important;
        border-radius: 12px !important;
    }
    .faq-question h4 {
        font-size: 14px !important;
    }
    .faq-answer p {
        font-size: 13px !important;
        padding-left: 15px !important;
    }
    
    /* Toggle switch positioning for mobiles */
    .cpu-toggle {
        width: 100% !important;
        flex-direction: column !important;
        gap: 8px !important;
        padding: 8px !important;
        border-radius: 12px !important;
    }
    .toggle-btn {
        width: 100% !important;
        padding: 12px !important;
        font-size: 13px !important;
    }
    
    /* Footer responsiveness adjustments */
    footer {
        padding: 3rem 0 1.5rem !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 480px) {
    .dedicados-hero h1 {
        font-size: 28px !important;
    }
    .stat-item {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding-bottom: 15px !important;
    }
    .stat-item:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
}

