:root {
    --primary-green: #1a7f64;
    --primary-blue: #0d5c4a;
    --accent-green: #25a77d;
    --accent-cyan: #3db8a0;
    --primary-orange: #e67e22;
    --primary-yellow: #f39c12;
    --primary-red: #c0392b;
    --bg-dark: #0D1B2A;
    --bg-darker: #081220;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --gradient-primary: linear-gradient(135deg, #1a7f64 0%, #0d5c4a 100%);
    --gradient-orange: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-yellow) 100%);
    --gradient-hero: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(26, 127, 100, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn i {
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #1a7f64 0%, #0d5c4a 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1f9474 0%, #0f6b56 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo img,
.logo-img,
.logo-svg {
    height: 58px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.4)) drop-shadow(0 0 20px rgba(76, 175, 80, 0.2));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo:hover img,
.logo:hover .logo-img,
.logo:hover .logo-svg {
    filter: drop-shadow(0 0 12px rgba(76, 175, 80, 0.6)) drop-shadow(0 0 30px rgba(76, 175, 80, 0.3));
    transform: scale(1.02);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.nav {
    display: flex;
    align-items: center;
}

.mobile-buttons {
    display: none;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

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

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

.header-buttons {
    display: flex;
    gap: 15px;
}

.header-buttons .btn {
    padding: 10px 20px;
    font-size: 14px;
}

.header-buttons .btn span {
    display: inline;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(var(--header-height) + 40px) 0 120px;
    background: var(--gradient-hero);
    overflow-x: clip;
    overflow-y: visible;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.speed-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.speed-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    animation: speedLine 3s linear infinite;
    opacity: 0.3;
}

.speed-line:nth-child(1) {
    top: 20%;
    width: 200px;
    animation-delay: 0s;
}

.speed-line:nth-child(2) {
    top: 35%;
    width: 150px;
    animation-delay: 0.5s;
}

.speed-line:nth-child(3) {
    top: 50%;
    width: 250px;
    animation-delay: 1s;
}

.speed-line:nth-child(4) {
    top: 65%;
    width: 180px;
    animation-delay: 1.5s;
}

.speed-line:nth-child(5) {
    top: 80%;
    width: 220px;
    animation-delay: 2s;
}

@keyframes speedLine {
    0% {
        left: -300px;
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

.fiber-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 200, 83, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 200, 83, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid rgba(0, 200, 83, 0.3);
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-badge i {
    color: var(--primary-green);
    font-size: 16px;
}

.hero-badge span {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-green);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 480px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #1a9e8e 0%, #0a7566 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pulse-btn {
    animation: pulseBtnAnim 2s ease-in-out infinite;
}

@keyframes pulseBtnAnim {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(0, 200, 83, 0.3);
    }

    50% {
        box-shadow: 0 4px 35px rgba(0, 200, 83, 0.5);
    }
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.trust-item i {
    color: var(--primary-green);
    font-size: 16px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.speed-display {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.speed-circle-container {
    position: relative;
    width: 280px;
    height: 280px;
}

.speed-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.ring-progress {
    fill: none;
    stroke: url(#ringGradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    animation: loadRing 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    filter: drop-shadow(0 0 8px rgba(0, 200, 83, 0.8));
}

@keyframes loadRing {
    0% {
        stroke-dashoffset: 565.48;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

.speed-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: var(--bg-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 200, 83, 0.3);
}

/* Animação de download - apenas no hero */
.hero .download-animation,
.speed-inner .download-animation {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.liquid-container {
    position: relative;
    width: 24px;
    height: 110px;
    animation: liquidFadeOut 2.2s ease forwards;
}

@keyframes liquidFadeOut {

    0%,
    75% {
        opacity: 1;
        transform: scale(1);
    }

    90% {
        opacity: 0.5;
        transform: scale(1.1);
    }

    100% {
        opacity: 0;
        transform: scale(0);
    }
}

.liquid-tube {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(0, 200, 83, 0.3);
    overflow: hidden;
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(0, 200, 83, 0.2);
}

.liquid-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to top,
            #00C853 0%,
            #00E676 30%,
            #69F0AE 50%,
            #00E5FF 80%,
            #00B8D4 100%);
    border-radius: 0 0 10px 10px;
    animation: liquidRise 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow:
        inset 0 -10px 20px rgba(0, 0, 0, 0.2),
        inset 0 5px 10px rgba(255, 255, 255, 0.3);
}

@keyframes liquidRise {
    0% {
        height: 0%;
    }

    20% {
        height: 15%;
    }

    40% {
        height: 35%;
    }

    60% {
        height: 60%;
    }

    80% {
        height: 85%;
    }

    100% {
        height: 100%;
    }
}

.liquid-wave {
    position: absolute;
    top: -8px;
    left: -10%;
    width: 120%;
    height: 16px;
    background: inherit;
    border-radius: 50%;
    animation: waveMotion 0.8s ease-in-out infinite;
}

.liquid-wave::before,
.liquid-wave::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
}

.liquid-wave::before {
    top: 2px;
    left: -5px;
    animation: waveMotion 0.6s ease-in-out infinite reverse;
}

.liquid-wave::after {
    top: -2px;
    right: -5px;
    animation: waveMotion 1s ease-in-out infinite;
}

@keyframes waveMotion {

    0%,
    100% {
        transform: translateX(-2px) scaleY(1);
    }

    50% {
        transform: translateX(2px) scaleY(1.3);
    }
}

.liquid-bubbles {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.liquid-bubbles span {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: bubbleRise 1.5s ease-in infinite;
}

.liquid-bubbles span:nth-child(1) {
    width: 4px;
    height: 4px;
    left: 20%;
    bottom: 0;
    animation-delay: 0s;
    animation-duration: 1.2s;
}

.liquid-bubbles span:nth-child(2) {
    width: 3px;
    height: 3px;
    left: 50%;
    bottom: 0;
    animation-delay: 0.3s;
    animation-duration: 1.4s;
}

.liquid-bubbles span:nth-child(3) {
    width: 5px;
    height: 5px;
    left: 70%;
    bottom: 0;
    animation-delay: 0.6s;
    animation-duration: 1.1s;
}

.liquid-bubbles span:nth-child(4) {
    width: 3px;
    height: 3px;
    left: 35%;
    bottom: 0;
    animation-delay: 0.2s;
    animation-duration: 1.6s;
}

.liquid-bubbles span:nth-child(5) {
    width: 4px;
    height: 4px;
    left: 60%;
    bottom: 0;
    animation-delay: 0.5s;
    animation-duration: 1.3s;
}

@keyframes bubbleRise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    50% {
        transform: translateY(-50px) scale(0.8);
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) scale(0.3);
        opacity: 0;
    }
}

.liquid-shine {
    position: absolute;
    top: 0;
    left: 2px;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.3) 100%);
    border-radius: 10px;
}

.liquid-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 130px;
    background: radial-gradient(ellipse, rgba(0, 200, 83, 0.4) 0%, transparent 70%);
    animation: glowPulse 1s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.download-particles {
    position: absolute;
    width: 50px;
    height: 120px;
    pointer-events: none;
    animation: hideParticles 1.6s ease forwards;
}

@keyframes hideParticles {

    0%,
    65% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.download-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: particleFall 0.5s ease-in infinite;
    box-shadow: 0 0 8px var(--primary-green);
}

.download-particles span:nth-child(1) {
    left: 30%;
    animation-delay: 0s;
}

.download-particles span:nth-child(2) {
    left: 45%;
    animation-delay: 0.08s;
}

.download-particles span:nth-child(3) {
    left: 50%;
    animation-delay: 0.16s;
}

.download-particles span:nth-child(4) {
    left: 55%;
    animation-delay: 0.04s;
}

.download-particles span:nth-child(5) {
    left: 70%;
    animation-delay: 0.12s;
}

.download-particles span:nth-child(6) {
    left: 50%;
    animation-delay: 0.2s;
}

@keyframes particleFall {
    0% {
        top: -8px;
        opacity: 1;
        transform: scale(1);
    }

    100% {
        top: 100px;
        opacity: 0;
        transform: scale(0.3);
    }
}

.download-icon {
    font-size: 16px;
    color: var(--primary-green);
    margin-top: 10px;
    animation:
        bounceDown 0.3s ease-in-out infinite,
        hideIcon 1.4s ease forwards;
    text-shadow: 0 0 15px rgba(0, 200, 83, 1);
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

@keyframes hideIcon {

    0%,
    55% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.speed-result {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 5;
}

.speed-label-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    opacity: 0;
    animation: labelTopReveal 0.5s ease-out 1.9s forwards;
}

.speed-label-top span:not(.label-decorator) {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 6px;
    text-transform: uppercase;
}

.label-decorator {
    font-size: 10px;
    color: var(--primary-green);
    opacity: 0.6;
}

@keyframes labelTopReveal {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.speed-value-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    line-height: 1;
}

.speed-number {
    font-size: 5.5rem;
    font-weight: 900;
    background: linear-gradient(180deg, #00E5FF 0%, #00C853 50%, #00E5FF 100%);
    background-size: 100% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom center;
    animation:
        numberAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2.1s forwards,
        shimmer 3s ease-in-out infinite 3.5s;
    filter: drop-shadow(0 0 15px rgba(0, 200, 83, 0.5));
}

@keyframes numberAppear {
    0% {
        opacity: 0;
        transform: scaleY(0);
        filter: drop-shadow(0 0 40px rgba(0, 200, 83, 1));
    }

    60% {
        opacity: 1;
        transform: scaleY(1.1);
    }

    100% {
        opacity: 1;
        transform: scaleY(1);
        filter: drop-shadow(0 0 15px rgba(0, 200, 83, 0.5));
    }
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 0% 100%;
    }
}

.speed-unit {
    font-size: 5.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00C853 0%, #00E5FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -3px;
    line-height: 1;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    animation: unitExpand 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 2.6s forwards;
    filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.4));
    margin-left: -0.08em;
}

@keyframes unitExpand {
    0% {
        opacity: 0;
        transform: scaleX(0) translateX(-0.3em);
    }

    50% {
        opacity: 1;
        transform: scaleX(1.1) translateX(0);
    }

    100% {
        opacity: 1;
        transform: scaleX(1) translateX(0);
    }
}

.speed-label-bottom {
    margin-top: 8px;
    opacity: 0;
    animation: labelBottomReveal 0.4s ease-out 2.8s forwards;
}

.speed-label-bottom span {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(0, 200, 83, 0.05);
}

@keyframes labelBottomReveal {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.speed-circle-container::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-green), var(--accent-cyan), var(--primary-green));
    opacity: 0;
    animation: glowAppear 0.8s ease-out 1.8s forwards;
    z-index: -1;
    filter: blur(25px);
}

@keyframes glowAppear {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 0.35;
        transform: scale(1);
    }
}

.speed-features {
    position: relative;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.speed-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 200, 83, 0.2);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInFeature 0.5s ease-out 3s forwards;
}

.speed-feature:nth-child(2) {
    animation-delay: 3.15s;
}

.speed-feature:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 200, 83, 0.2);
}

@keyframes fadeInFeature {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.speed-feature i {
    color: var(--primary-green);
    font-size: 16px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(13, 27, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    color: var(--primary-green);
    font-size: 18px;
}

.card-1 {
    top: 5%;
    right: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    left: -10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    right: 0;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-plans {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-plan-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 20px 30px;
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
}

.hero-plan-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 10px 30px rgba(0, 200, 83, 0.2);
}

.hero-plan-card.highlight {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.05);
}

.hero-plan-card.highlight:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-tag {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.hero-plan-card.highlight .plan-tag {
    color: rgba(255, 255, 255, 0.9);
}

.plan-speed-mini {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.plan-price-mini {
    font-size: 14px;
    color: var(--text-secondary);
}

.plan-price-mini strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-orange);
}

.hero-plan-card.highlight .plan-price-mini,
.hero-plan-card.highlight .plan-price-mini strong {
    color: white;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--bg-dark);
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

.hero-visual svg defs {
    display: block;
}

section {
    padding: 100px 0;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.plans {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

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

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 20px 40px;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    color: var(--text-secondary);
}

.tab-btn i {
    font-size: 28px;
    margin-bottom: 5px;
}

.tab-btn span {
    font-size: 16px;
    font-weight: 600;
}

.tab-btn small {
    font-size: 12px;
    color: var(--text-muted);
}

.tab-btn:hover {
    border-color: var(--primary-green);
    background: var(--bg-card-hover);
}

.tab-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.tab-btn.active small {
    color: rgba(255, 255, 255, 0.8);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plans-section {
    margin-bottom: 60px;
}

.plans-section:last-child {
    margin-bottom: 0;
}

.plans-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 35px;
    color: var(--text-primary);
}

.plans-section-title i {
    color: var(--primary-green);
}

.plans-section-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.plan-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-glow);
}

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

.plan-card.popular:hover,
.plan-card.premium:hover {
    box-shadow: 0 0 30px rgba(255, 109, 0, 0.3);
}

.popular-badge,
.premium-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-orange);
    color: white;
    padding: 6px 20px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.plan-header {
    margin-bottom: 20px;
}

.plan-speed {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.plan-unit {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 5px;
}

.plan-price {
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.plan-price .currency {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.plan-price .value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
}

.plan-price .cents {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.plan-price .period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 5px;
}

.plan-features {
    flex-grow: 1;
    margin-bottom: 25px;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: var(--text-secondary);
}

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

.plan-features li i {
    color: var(--primary-green);
    font-size: 14px;
}

.combo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 15px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.combo-includes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.combo-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.combo-tv {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-orange);
}

.combo-channels {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.combo-channels i {
    font-size: 20px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.plan-card:hover .combo-channels i {
    color: var(--primary-green);
}

.rural-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.rural-icon {
    margin-bottom: 15px;
}

.rural-icon i {
    font-size: 3rem;
    color: var(--primary-green);
}

.enterprise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.enterprise-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
}

.enterprise-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-glow);
}

.enterprise-card.premium {
    border-color: var(--primary-orange);
}

.enterprise-card.premium:hover {
    box-shadow: 0 0 30px rgba(255, 109, 0, 0.3);
}

.enterprise-icon {
    margin-bottom: 20px;
}

.enterprise-icon i {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.enterprise-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.enterprise-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.range-from,
.range-to {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
}

.range-separator {
    font-size: 1rem;
    color: var(--text-muted);
}

.enterprise-desc {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.enterprise-features {
    text-align: left;
    margin-bottom: 25px;
}

.enterprise-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

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

.enterprise-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 25px;
}

.plans-swiper,
.combos-swiper {
    padding: 20px 10px 60px;
}

.swiper-slide {
    height: auto;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--primary-green);
    background: var(--bg-card);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--primary-green);
    color: var(--bg-dark);
}

.swiper-pagination-bullet {
    background: var(--text-secondary);
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-green);
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

.coverage {
    background: var(--bg-darker);
    position: relative;
}

.coverage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.coverage-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: var(--transition-normal);
}

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

.coverage-card.fiber {
    border-top: 3px solid var(--primary-green);
}

.coverage-card.radio {
    border-top: 3px solid var(--primary-orange);
}

.coverage-icon {
    margin-bottom: 20px;
}

.coverage-icon i {
    font-size: 3.5rem;
}

.coverage-card.fiber .coverage-icon i {
    color: var(--primary-green);
}

.coverage-card.radio .coverage-icon i {
    color: var(--primary-orange);
}

.coverage-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.coverage-desc {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.coverage-cities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.coverage-cities li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.coverage-cities li:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.coverage-card.fiber .coverage-cities li i {
    color: var(--primary-green);
}

.coverage-card.radio .coverage-cities li i {
    color: var(--primary-orange);
}

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

.coverage-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.watchtv {
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.watchtv-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.watchtv-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.watchtv-title i {
    color: var(--primary-orange);
}

.watchtv-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.watchtv-features {
    margin-bottom: 35px;
}

.watchtv-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.watchtv-features li i {
    color: var(--primary-orange);
    font-size: 18px;
}

.watchtv-banner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.watchtv-banner img {
    width: 100%;
    height: auto;
    transition: var(--transition-slow);
}

.watchtv-banner:hover img {
    transform: scale(1.05);
}

.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-green);
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

.cta-section .btn-outline:hover {
    background: white;
    color: var(--primary-green);
}

.footer {
    background: var(--bg-darker);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 18px;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4,
.footer-client h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-contact ul li i {
    color: var(--primary-green);
    width: 20px;
}

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

.footer-client p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: all 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* =====================================================
   SPEED TEST SECTION - Design Moderno
   ===================================================== */
.speedtest {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.speedtest::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
}

/* Widget Principal - Design Simplificado para Ookla */
.speedtest-widget {
    background: linear-gradient(145deg, rgba(20, 35, 55, 0.95) 0%, rgba(10, 20, 35, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    max-width: 550px;
    margin: 0 auto 50px;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.speedtest-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Ícone decorativo */
.speedtest-icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
}

.speedtest-icon-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.speedtest-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(26, 127, 100, 0.2) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    font-size: 2.5rem;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* Títulos do widget */
.speedtest-widget-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.speedtest-widget-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

/* Botão principal Ookla */
.speedtest-ookla-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #00d4ff 0%, #1a7f64 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 30px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.speedtest-ookla-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.speedtest-ookla-btn:hover::before {
    left: 100%;
}

.speedtest-ookla-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 40px rgba(0, 212, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.speedtest-ookla-btn .btn-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.speedtest-ookla-btn .btn-text {
    letter-spacing: 0.5px;
}

.speedtest-ookla-btn .btn-arrow {
    font-size: 0.85rem;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.speedtest-ookla-btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* Info do servidor */
.speedtest-server-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

.speedtest-server-info i {
    color: var(--primary-green);
}

.speedtest-server-info strong {
    color: rgba(255, 255, 255, 0.9);
}

/* Badge Powered by Ookla */
.speedtest-powered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 1;
}

.speedtest-powered .ookla-logo {
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.speedtest-powered:hover .ookla-logo {
    opacity: 1;
}

.speedtest-powered .ookla-text {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

/* Status Indicator */
.speedtest-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-green);
    box-shadow: 0 0 10px var(--primary-green);
    animation: statusPulse 2s ease-in-out infinite;
}

.speedtest-widget.testing .status-dot {
    background: #f39c12;
    box-shadow: 0 0 10px #f39c12;
    animation: statusPulse 0.5s ease-in-out infinite;
}

.speedtest-widget.complete .status-dot {
    background: #2ecc71;
    box-shadow: 0 0 10px #2ecc71;
    animation: none;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.status-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* =====================================================
   VELOCÍMETRO - DESIGN MODERNO
   ===================================================== */
.speedtest-gauge-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto 40px;
    z-index: 1;
    padding: 30px;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(20, 35, 55, 0.95) 0%, rgba(10, 20, 35, 0.98) 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.speedtest-gauge-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.speedtest-gauge-svg {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

/* Labels de velocidade ao redor do arco */
.gauge-tick-label {
    font-size: 12px;
    fill: rgba(255, 255, 255, 0.5);
    text-anchor: middle;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

/* Arco de fundo */
.gauge-bg {
    transition: all 0.3s ease;
}

/* =====================================================
   EFEITO LÍQUIDO NO ARCO DE PROGRESSO
   ===================================================== */

/* Arco base com gradiente */
.gauge-progress.gauge-liquid {
    transition: stroke-dashoffset 0.15s ease-out;
}

/* Arco de brilho sobreposto - simula reflexo líquido */
.gauge-progress.gauge-shine {
    transition: stroke-dashoffset 0.15s ease-out;
    opacity: 0.6;
    mix-blend-mode: overlay;
}

/* Animação de ondulação durante o teste */
.speedtest-widget.testing .gauge-liquid {
    animation: liquidWobble 0.8s ease-in-out infinite;
}

@keyframes liquidWobble {

    0%,
    100% {
        filter: url(#gaugeGlow);
        stroke-width: 20;
    }

    50% {
        filter: url(#gaugeGlow) brightness(1.1);
        stroke-width: 21;
    }
}

/* Bolhas animadas - simulam gravidade */
.gauge-bubbles {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.speedtest-widget.testing .gauge-bubbles {
    opacity: 1;
}

.bubble {
    fill: rgba(255, 255, 255, 0.7);
    filter: blur(0.3px);
}

/* Animação individual de cada bolha - flutuando para cima */
.bubble.b1 {
    animation: bubbleFloat1 2.5s ease-in-out infinite;
}

.bubble.b2 {
    animation: bubbleFloat2 2.8s ease-in-out infinite 0.3s;
}

.bubble.b3 {
    animation: bubbleFloat1 2.2s ease-in-out infinite 0.5s;
}

.bubble.b4 {
    animation: bubbleFloat2 3s ease-in-out infinite 0.2s;
}

.bubble.b5 {
    animation: bubbleFloat1 2.6s ease-in-out infinite 0.7s;
}

.bubble.b6 {
    animation: bubbleFloat2 2.4s ease-in-out infinite 0.4s;
}

.bubble.b7 {
    animation: bubbleFloat1 2.9s ease-in-out infinite 0.1s;
}

@keyframes bubbleFloat1 {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-8px) scale(1.2);
        opacity: 1;
    }
}

@keyframes bubbleFloat2 {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-6px) translateX(3px) scale(0.8);
        opacity: 0.9;
    }
}

/* Ponto central com pulsação */
.gauge-center-glow {
    animation: centerGlow 2s ease-in-out infinite;
}

@keyframes centerGlow {

    0%,
    100% {
        opacity: 0.08;
        transform: scale(1);
    }

    50% {
        opacity: 0.15;
        transform: scale(1.2);
    }
}

.gauge-center-dot {
    transition: fill 0.3s ease;
}

.speedtest-widget.testing .gauge-center-dot {
    animation: centerPulse 1s ease-in-out infinite;
}

@keyframes centerPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Display do tipo de teste (simplificado) */
.gauge-type-display {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.gauge-type-display .gauge-type {
    font-size: 0.9rem;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.gauge-current-value {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    text-shadow: 0 0 20px rgba(26, 127, 100, 0.5);
}

.gauge-current-unit {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 5px;
}

.gauge-current-type {
    display: block;
    font-size: 0.75rem;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    font-weight: 600;
}

/* Classes de display do gauge usadas no HTML */
.gauge-value {
    display: block;
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow:
        0 0 30px rgba(0, 212, 255, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -2px;
}

.gauge-unit {
    display: block;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 8px;
    font-weight: 500;
}

.gauge-type {
    display: block;
    font-size: 0.8rem;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 12px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* =====================================================
   MÉTRICAS DO SPEEDTEST (Ping, Download, Upload)
   ===================================================== */
.speedtest-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.metric-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card.active {
    border-color: var(--primary-green);
    background: rgba(26, 127, 100, 0.1);
    transform: scale(1.02);
}

.metric-card.complete {
    border-color: rgba(46, 204, 113, 0.5);
}

.metric-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.metric-icon.ping {
    color: #2ecc71;
}

.metric-icon.download {
    color: #00d4ff;
}

.metric-icon.upload {
    color: #f39c12;
}

.metric-card.active .metric-icon,
.metric-card.complete .metric-icon {
    background: var(--gradient-primary);
    color: white;
}

.metric-info {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-unit {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.metric-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.metric-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.metric-bar-fill.download {
    background: linear-gradient(90deg, #00d4ff, #1a7f64);
}

.metric-bar-fill.upload {
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

/* Cards de Resultados */
.speedtest-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.result-card.active {
    border-color: var(--primary-green);
    background: rgba(26, 127, 100, 0.1);
    transform: scale(1.02);
}

.result-card.complete {
    border-color: rgba(46, 204, 113, 0.5);
}

.result-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.result-icon.download {
    color: #3498db;
}

.result-icon.upload {
    color: #9b59b6;
}

.result-card.active .result-icon,
.result-card.complete .result-icon {
    background: var(--gradient-primary);
    color: white;
}

.result-data {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 5px;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.result-unit {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.result-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.result-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.result-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.result-bar-fill.download {
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

.result-bar-fill.upload {
    background: linear-gradient(90deg, #9b59b6, #3498db);
}

/* Botão de Iniciar */
.speedtest-start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 25px;
    padding: 18px 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.speedtest-start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.speedtest-start-btn:hover::before {
    left: 100%;
}

.speedtest-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 127, 100, 0.4);
}

.speedtest-start-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-content,
.btn-loading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-loading {
    display: none;
}

.speedtest-start-btn.loading .btn-content {
    display: none;
}

.speedtest-start-btn.loading .btn-loading {
    display: flex;
}

/* Novo botão LibreSpeed */
.speedtest-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    margin: 30px auto;
    padding: 18px 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.speedtest-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.speedtest-btn:hover::before {
    left: 100%;
}

.speedtest-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 127, 100, 0.4);
}

.speedtest-btn .btn-content,
.speedtest-btn .btn-loading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.speedtest-btn .btn-loading {
    display: none;
}

.speedtest-btn.testing .btn-content {
    display: none;
}

.speedtest-btn.testing .btn-loading {
    display: flex;
}

.speedtest-btn.testing {
    opacity: 0.8;
    cursor: not-allowed;
}

/* Info do servidor */
.speedtest-server-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 20px;
}

.speedtest-server-info i {
    color: var(--primary-green);
}

/* Card de Resultados LibreSpeed */
.speedtest-result-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 30px;
    max-width: 700px;
    margin: 30px auto;
}

.result-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.result-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}

.result-card-title h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.result-card-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.result-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.result-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
}

.result-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.result-data {
    display: flex;
    flex-direction: column;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.result-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.result-isp-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(26, 127, 100, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 25px;
}

.result-isp-info i {
    font-size: 1.2rem;
    color: var(--primary-green);
}

.isp-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.isp-value {
    font-weight: 600;
    color: var(--text-primary);
}

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

.plans-title {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1rem;
}

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

.plan-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all 0.3s ease;
}

.plan-card.highlight {
    border-color: var(--primary-green);
    background: rgba(26, 127, 100, 0.1);
}

.plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.plan-speed {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
    margin-bottom: 8px;
}

.plan-price {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.plan-price strong {
    font-size: 1.5rem;
    color: var(--text-primary);
}

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

.plan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.plan-btn:hover {
    background: #1da851;
    color: white;
    transform: translateY(-2px);
}

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

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

/* Badge do Servidor */
.speedtest-server-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.speedtest-server-badge i {
    color: var(--primary-green);
}

.speedtest-server-badge strong {
    color: var(--text-secondary);
}

/* =====================================================
   OOKLA SPEEDTEST CONTAINER
   ===================================================== */

/* Container principal do Ookla */
.speedtest-ookla-container {
    max-width: 900px;
    margin: 0 auto 50px;
    position: relative;
}

/* Badge do servidor com Ookla branding */
.speedtest-server-badge.ookla-badge {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 15px 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.speedtest-server-badge.ookla-badge>span:first-of-type {
    flex: 1;
}

.ookla-powered {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--primary-green);
    font-weight: 600;
    background: rgba(26, 127, 100, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.ookla-powered i {
    font-size: 0.7rem;
}

/* Wrapper do iframe */
.speedtest-iframe-wrapper {
    position: relative;
    width: 100%;
    min-height: 550px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.speedtest-iframe-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    z-index: 1;
}

/* =====================================================
   CARD PRINCIPAL DO SPEEDTEST
   ===================================================== */

.speedtest-main-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.speedtest-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
}

/* Ícone animado */
.speedtest-icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.speedtest-icon-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(26, 127, 100, 0.3);
    animation: ringPulse 2s ease-in-out infinite;
}

.speedtest-icon-ring::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary-green);
    animation: ringSpin 3s linear infinite;
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes ringSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.speedtest-icon-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(26, 127, 100, 0.4);
}

.speedtest-icon-inner i {
    font-size: 2.2rem;
    color: white;
}

/* Textos */
.speedtest-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.speedtest-card-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 450px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Botão principal grande */
.speedtest-main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 450px;
    margin: 0 auto 25px;
    padding: 20px 30px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.speedtest-main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.speedtest-main-btn:hover::before {
    left: 100%;
}

.speedtest-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(26, 127, 100, 0.4);
}

.speedtest-main-btn .btn-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.speedtest-main-btn .btn-icon i {
    font-size: 1.2rem;
    margin-left: 3px;
}

.speedtest-main-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.speedtest-main-btn .btn-text strong {
    font-size: 1.1rem;
    font-weight: 600;
}

.speedtest-main-btn .btn-text small {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 2px;
}

.speedtest-main-btn .btn-arrow {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.speedtest-main-btn:hover .btn-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* Info text */
.speedtest-info-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

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

/* Cards de Dicas */
.speedtest-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.speedtest-tip-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.speedtest-tip-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.speedtest-tip-card.highlight {
    border-color: var(--primary-green);
    background: linear-gradient(145deg, rgba(26, 127, 100, 0.15) 0%, rgba(26, 127, 100, 0.05) 100%);
}

.tip-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.4rem;
    color: var(--primary-green);
}

.speedtest-tip-card.highlight .tip-icon {
    background: var(--gradient-primary);
    color: white;
}

.speedtest-tip-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.speedtest-tip-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.tip-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-green);
    transition: all 0.2s ease;
}

.tip-link:hover {
    color: var(--accent-green);
    gap: 12px;
}

/* Card de Resultado Personalizado */
.speedtest-result-card {
    background: linear-gradient(145deg, rgba(26, 127, 100, 0.12) 0%, rgba(26, 127, 100, 0.04) 100%);
    border: 2px solid var(--primary-green);
    border-radius: var(--radius-xl);
    padding: 25px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInResult 0.5s ease-out;
    box-shadow: 0 10px 40px rgba(26, 127, 100, 0.2);
}

@keyframes slideInResult {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.result-card-title h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.result-card-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.result-card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-card-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.result-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.result-info-item i {
    font-size: 1.2rem;
    color: var(--primary-green);
    flex-shrink: 0;
}

.result-info-item .info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.result-info-item .info-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.result-card-offer {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.offer-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-align: center;
}

.offer-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.offer-plan-mini {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.offer-plan-mini:hover {
    transform: translateY(-3px);
    border-color: var(--primary-green);
    box-shadow: 0 5px 20px rgba(26, 127, 100, 0.2);
}

.offer-plan-mini.highlight {
    border-color: var(--primary-orange);
    background: linear-gradient(145deg, rgba(230, 126, 34, 0.1) 0%, rgba(230, 126, 34, 0.05) 100%);
}

.offer-plan-speed {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.offer-plan-mini.highlight .offer-plan-speed {
    color: var(--primary-orange);
}

.offer-plan-price {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.offer-plan-price strong {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-orange);
}

.offer-plan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 15px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.offer-plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 127, 100, 0.3);
}

/* Ajuste floating-cards para telas médias (1025px - 1399px) */
@media (min-width: 1025px) and (max-width: 1399px) {
    .card-1 {
        top: 0;
        right: -5%;
    }

    .card-2 {
        top: 40%;
        left: -15%;
    }

    .card-3 {
        bottom: 15%;
        right: -5%;
    }

    .speed-circle-container {
        transform: scale(0.85);
    }
}

@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .speed-circle-container {
        width: 230px;
        height: 230px;
    }

    .speed-inner {
        width: 200px;
        height: 200px;
    }

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

    .speed-unit {
        font-size: 4.5rem;
    }

    .download-bar {
        height: 80px;
    }

    .floating-card {
        display: none;
    }

    .hero-plans {
        flex-wrap: wrap;
    }

    .hero-plan-card.highlight {
        order: -1;
        width: 100%;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
    }

    .speedtest-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .speedtest-tip-card:last-child {
        grid-column: span 2;
    }

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

    .watchtv-features li {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .enterprise-grid {
        grid-template-columns: 1fr;
    }

    .rural-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    /* Menu Mobile Melhorado */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: #0a1628;
        display: flex;
        flex-direction: column;
        padding: 0;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background:
            radial-gradient(circle at 20% 20%, rgba(0, 200, 83, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(2, 136, 209, 0.1) 0%, transparent 50%);
        pointer-events: none;
    }

    /* Header do Menu Mobile */
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 100px 30px 30px;
        position: relative;
        z-index: 1;
    }

    .nav-list li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav.active .nav-list li {
        animation: slideInMenu 0.4s ease forwards;
    }

    .nav.active .nav-list li:nth-child(1) {
        animation-delay: 0.05s;
    }

    .nav.active .nav-list li:nth-child(2) {
        animation-delay: 0.1s;
    }

    .nav.active .nav-list li:nth-child(3) {
        animation-delay: 0.15s;
    }

    @keyframes slideInMenu {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-link {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 20px 25px;
        margin-bottom: 10px;
        border-radius: 16px;
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--text-primary);
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }

    .nav-link::before {
        content: '';
        width: 8px;
        height: 8px;
        background: var(--primary-green);
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-link:hover,
    .nav-link:active {
        background: rgba(0, 200, 83, 0.15);
        border-color: rgba(0, 200, 83, 0.3);
        transform: translateX(10px);
    }

    .nav-link:hover::before,
    .nav-link:active::before {
        opacity: 1;
    }

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

    /* Botões do header no mobile - escondidos (usamos os do menu) */
    .header-buttons {
        display: none;
    }

    /* Botões dentro do menu mobile - completos */
    .nav .mobile-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 30px;
        margin-top: auto;
        position: relative;
        z-index: 1;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav .mobile-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 1rem;
    }

    .nav .mobile-buttons .btn span {
        display: inline;
    }

    /* Toggle melhorado */
    .mobile-toggle {
        display: flex;
        z-index: 1002;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }

    .mobile-toggle:hover {
        background: rgba(0, 200, 83, 0.1);
    }

    .mobile-toggle span {
        width: 22px;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: absolute;
    }

    .mobile-toggle span:nth-child(1) {
        transform: translateY(-7px);
    }

    .mobile-toggle span:nth-child(3) {
        transform: translateY(7px);
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(0);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(0);
    }

    .logo-img,
    .logo-svg {
        height: 50px;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 20px) 0 60px;
    }

    .hero-wrapper {
        gap: 25px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-badge {
        padding: 8px 16px;
        font-size: 11px;
        margin-bottom: 15px;
    }

    .hero-badge i {
        font-size: 14px;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 25px;
    }

    .hero-cta .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 15px;
    }

    .hero-trust {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
    }

    .trust-item {
        justify-content: center;
    }

    .speed-display {
        margin-bottom: 20px;
    }

    .speed-circle-container {
        width: 200px;
        height: 200px;
    }

    .speed-inner {
        width: 170px;
        height: 170px;
    }

    .download-bar {
        height: 70px;
    }

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

    .speed-unit {
        font-size: 3.5rem;
    }

    .speed-label-top,
    .speed-label-bottom {
        font-size: 11px;
    }

    .speed-features {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .speed-feature {
        padding: 8px 14px;
        font-size: 11px;
    }

    .hero-plans {
        flex-direction: column;
        gap: 12px;
        margin-top: 40px;
    }

    .hero-plan-card {
        padding: 15px 25px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .hero-plan-card.highlight {
        transform: none;
        order: -1;
    }

    .plan-tag {
        display: none;
    }

    .plan-speed-mini {
        font-size: 16px;
    }

    .plan-price-mini strong {
        font-size: 20px;
    }

    .speed-lines {
        display: none;
    }

    .floating-card {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .plan-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        padding: 15px 20px;
    }

    .tab-btn i {
        font-size: 24px;
        margin-bottom: 0;
    }

    .tab-btn small {
        display: none;
    }

    .rural-grid {
        grid-template-columns: 1fr;
    }

    .coverage-cities {
        grid-template-columns: 1fr;
    }

    .watchtv-title {
        font-size: 1.8rem;
        justify-content: center;
    }

    .watchtv-banner {
        order: -1;
        margin-bottom: 30px;
    }

    /* Speed Test Mobile */
    .speedtest-widget {
        padding: 25px 20px;
    }

    .result-card-info {
        grid-template-columns: 1fr;
    }

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

    .speedtest-gauge-container {
        max-width: 300px;
        padding: 20px;
    }

    .gauge-value {
        font-size: 3rem;
    }

    .gauge-unit {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .gauge-tick-label {
        font-size: 9px;
    }

    .speedtest-results {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .result-card {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
        text-align: left;
    }

    .result-icon {
        margin: 0;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .result-data {
        justify-content: flex-start;
    }

    .result-label {
        margin-bottom: 5px;
    }

    .result-bar {
        flex-grow: 1;
    }

    .speedtest-info-grid {
        grid-template-columns: 1fr;
    }

    /* Métricas do Speedtest Mobile */
    .speedtest-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .metric-card {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
        text-align: left;
    }

    .metric-icon {
        margin: 0;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .metric-info {
        justify-content: flex-start;
    }

    .metric-label {
        margin-bottom: 5px;
    }

    .metric-bar {
        flex-grow: 1;
    }

    .gauge-value {
        font-size: 2.5rem;
    }

    .speedtest-tip-card:last-child {
        grid-column: span 1;
    }

    .speedtest-tip-card {
        padding: 20px;
    }

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

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

    .footer-contact ul li {
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 26px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo img,
    .logo-img {
        height: 45px;
    }

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

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

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 15px 25px;
        font-size: 15px;
    }

    .plan-card {
        padding: 25px 20px;
    }

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

    .plan-price .value {
        font-size: 2.5rem;
    }

    .enterprise-card {
        padding: 30px 20px;
    }

    .coverage-card {
        padding: 30px 20px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero-visual {
        display: none;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {

    .header,
    .whatsapp-float,
    .hero-wave,
    .btn {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .gradient-text {
        -webkit-text-fill-color: black;
    }
}