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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #14b8a6;
    --dark: #0f172a;
    --dark-secondary: #1e293b;
    --dark-tertiary: #334155;
    --light: #f8fafc;
    --light-secondary: #f1f5f9;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-tertiary: #94a3b8;
    --border: rgba(148, 163, 184, 0.1);
    --glow: rgba(99, 102, 241, 0.5);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 50px rgba(99, 102, 241, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-light), #5eead4);
    box-shadow: 0 0 10px var(--glow);
}

::-webkit-scrollbar-corner {
    background: var(--dark-secondary);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--dark-secondary);
}

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

.ip-info-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ip-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.ip-info-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(30, 41, 59, 0.7);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.ip-info-card:hover::before {
    opacity: 1;
}

.ip-info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ip-info-title::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--glow);
}

.ip-info-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ip-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.05);
    transition: var(--transition);
    flex-wrap: wrap;
}

.ip-info-item:hover {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(99, 102, 241, 0.2);
}

.ip-info-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    min-width: 90px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ip-info-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    flex: 1;
    text-align: right;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.copy-btn {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    color: var(--primary-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.copy-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.copy-btn:active {
    transform: scale(0.95);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    touch-action: pan-x pan-y;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.1) 0%, transparent 70%),
                radial-gradient(ellipse at bottom left, rgba(236, 72, 153, 0.1) 0%, transparent 70%),
                radial-gradient(ellipse at bottom right, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: 5s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: var(--gradient-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -50px) scale(1.05); }
    50% { transform: translate(-30px, 30px) scale(0.95); }
    75% { transform: translate(50px, 50px) scale(1.02); }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-mark {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    color: white;
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    box-shadow: var(--shadow-glow);
}

.brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    position: relative;
    display: block;
    width: 24px;
    height: 20px;
}

.hamburger span {
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

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

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

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    position: relative;
    padding: 0.625rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 12px;
    transition: var(--transition);
    overflow: hidden;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}

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

.nav-link-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transform: translateY(100%);
    transition: var(--transition);
    pointer-events: none;
}

.nav-link:hover .nav-link-hover {
    opacity: 0.1;
    transform: translateY(0);
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 0.625rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-glow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    color: white;
    background: var(--gradient-primary);
}

.nav-arrow {
    transition: var(--transition);
}

.nav-cta:hover .nav-arrow {
    transform: translateX(2px);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 2rem 4rem;
    position: relative;
}

.hero-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    margin-bottom: 2rem;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-light);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
}

.title-word {
    display: inline-block;
    position: relative;
    margin: 0 0.25rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease both;
}

.hero-title .title-line:nth-child(1) .title-word:nth-child(1) { animation-delay: 0.3s; }
.hero-title .title-line:nth-child(1) .title-word:nth-child(2) { animation-delay: 0.5s; }
.hero-title .title-line:nth-child(1) .title-word:nth-child(3) { animation-delay: 0.7s; }
.hero-title .title-line:nth-child(2) .title-word:nth-child(1) { animation-delay: 0.9s; }
.hero-title .title-line:nth-child(2) .title-word:nth-child(2) { animation-delay: 1.1s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

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

.ip-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ip-card-wrapper {
    animation: cardFadeIn 0.8s ease-out 0.8s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.ip-card-wrapper:nth-child(2) {
    animation-delay: 0.9s;
}

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

.ip-card {
    position: relative;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.ip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ip-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.ip-card:hover::before {
    opacity: 1;
}

.ip-card:hover .card-glow {
    opacity: 0.3;
    transform: scale(1.1);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
    pointer-events: none;
}

.card-inner {
    position: relative;
    padding: 2rem;
    z-index: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
}

.card-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.card-body {
    margin-bottom: 1.5rem;
}

.ip-display {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    color: var(--primary-light);
    min-height: 36px;
    word-break: break-all;
}

.skeleton-loader {
    height: 36px;
    background: linear-gradient(90deg, 
        rgba(99, 102, 241, 0.05) 25%, 
        rgba(99, 102, 241, 0.15) 50%, 
        rgba(99, 102, 241, 0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.skeleton-loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    animation: skeletonWave 2s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes skeletonWave {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes charFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes statusPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.copy-button {
    width: 100%;
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    color: var(--primary-light);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.copy-button:not(:disabled):hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.copy-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.button-icon,
.button-success {
    transition: var(--transition);
}

.button-success {
    position: absolute;
    opacity: 0;
    transform: scale(0.5);
}

.copy-button.copied .button-icon,
.copy-button.copied .button-text {
    opacity: 0;
    transform: scale(0.5);
}

.copy-button.copied .button-success {
    opacity: 1;
    transform: scale(1);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 1s forwards;
    opacity: 0;
}

.detail-card {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    min-height: 100px;
    height: 100px;
}

.detail-card:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(99, 102, 241, 0.2);
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.detail-value {
    font-weight: 600;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
    font-size: 0.9rem;
}

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

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

.section-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.tool-card {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    text-align: left;
    width: 100%;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(30, 41, 59, 0.5);
}

.tool-card:hover::before {
    opacity: 0.05;
}

.tool-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.tool-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tool-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
    font-weight: 500;
    font-size: 0.875rem;
}

.tool-card:hover .tool-link svg {
    transform: translateX(4px);
}

.services-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
}

.bento-item {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.bento-item:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(30, 41, 59, 0.5);
}

.bento-large {
    grid-column: span 8;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 4;
    grid-row: span 2;
}

.bento-small {
    grid-column: span 4;
    grid-row: span 1;
    height: 320px;
}

.bento-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bento-details-btn {
    margin-top: auto;
}

.bento-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.bento-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.bento-description {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.bento-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-light);
}

.bento-visual {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    opacity: 0.3;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(3, 30px);
    gap: 8px;
}

.grid-item {
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 8px;
    animation: gridPulse 8s infinite ease-in-out;
}

.grid-item:nth-child(1) { animation-delay: 0s; }
.grid-item:nth-child(2) { animation-delay: 0.2s; }
.grid-item:nth-child(3) { animation-delay: 0.4s; }
.grid-item:nth-child(4) { animation-delay: 0.6s; }
.grid-item:nth-child(5) { animation-delay: 0.8s; }
.grid-item:nth-child(6) { animation-delay: 1s; }

@keyframes gridPulse {
    0%, 62.5%, 100% { opacity: 0.3; transform: scale(1); }
    12.5% { opacity: 0.6; transform: scale(1.1); }
    25% { opacity: 0.3; transform: scale(1); }
}

.bento-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.bento-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    z-index: 2;
    white-space: nowrap;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    font-weight: 600;
    color: var(--accent);
}

.footer {
    background: var(--dark-secondary);
    border-top: 1px solid var(--border);
    margin-top: 5rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
    min-height: 200px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
    position: relative;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-copyright a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-copyright a:hover {
    color: var(--primary-color);
}


.footer-socials {
    display: flex;
    gap: 1.25rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    color: var(--primary-light);
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

@media (max-width: 1200px) {
    .footer-content {
        gap: 3rem;
    }
    
    .footer-links {
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .services-bento {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .bento-large {
        grid-column: span 8;
    }
    
    .bento-medium {
        grid-column: span 4;
    }
}

@media (max-width: 800px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        padding-right: 0;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 650px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-column {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .ip-cards-container {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .services-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .bento-large,
    .bento-medium,
    .bento-small {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .bento-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .badge-icon {
        font-size: 1.25rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 5rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 12vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .section-container {
        padding: 3rem 1rem;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid var(--border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-title svg {
    color: var(--primary-light);
}

.modal-close {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(99, 102, 241, 0.2);
    color: var(--text-primary);
    transform: scale(1.05);
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.ping-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.ping-select {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.875rem;
    padding: 0.75rem;
    transition: var(--transition);
}

.ping-select:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(51, 65, 85, 0.7);
}

.location-selector {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
}

.selected-server-info {
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.selected-server-info #selectedServerName {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.selected-server-info #selectedServerLocation {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.server-selection-prompt {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    margin: 1.5rem 0;
}

.server-selection-prompt .prompt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.server-selection-prompt .prompt-icon svg {
    color: var(--primary-light);
}

.server-selection-prompt .prompt-text h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.server-selection-prompt .prompt-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.speed-final-results {
    text-align: center;
    padding: 0.5rem 2rem 2rem 2rem;
}

.results-header {
    margin-bottom: 2rem;
}

.results-header .results-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.results-header .results-icon svg {
    color: var(--primary-light);
}

.results-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.results-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.results-metrics {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.final-metric {
    background: rgba(51, 65, 85, 0.3);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.final-metric .metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.final-metric .metric-icon svg {
    color: var(--primary-light);
}

.final-metric .metric-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

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

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

.final-metric .metric-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.results-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

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

.new-test-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .results-metrics {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .final-metric {
        min-width: 200px;
    }
}

.location-option {
    background: rgba(51, 65, 85, 0.3);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.7;
    flex: 1;
}

.location-option:hover {
    background: rgba(51, 65, 85, 0.5);
    border-color: var(--primary-light);
    opacity: 1;
}

.location-option.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
    opacity: 1;
}

/* Asegurar layout lado a lado en el modal de ping */
#pingModal .location-selector {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
}

#pingModal .location-option {
    flex: 1 !important;
    min-width: 0 !important;
}

/* Estadísticas de ping */
.ping-stats {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(51, 65, 85, 0.3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.location-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.2);
    flex-shrink: 0;
}

.location-icon svg {
    color: var(--primary-light);
}

.location-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.location-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.location-detail {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.ping-count-info {
    background: rgba(51, 65, 85, 0.3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.ping-count-info:hover {
    background: rgba(51, 65, 85, 0.5);
    border-color: var(--primary-light);
}

.count-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.count-number {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-light);
    font-family: monospace;
}

.count-label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.count-badge {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
}

.ping-start-btn {
    grid-column: span 2;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.ping-start-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.ping-start-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.ping-progress {
    text-align: center;
    padding: 2rem 0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-text {
    font-weight: 500;
    color: var(--text-primary);
}

.progress-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-family: monospace;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(51, 65, 85, 0.5);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.ping-animation {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.ping-pulse {
    width: 12px;
    height: 12px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: pingPulse 1.5s infinite ease-in-out;
}

.ping-pulse:nth-child(1) { animation-delay: 0s; }
.ping-pulse:nth-child(2) { animation-delay: 0.3s; }
.ping-pulse:nth-child(3) { animation-delay: 0.6s; }

@keyframes pingPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.ping-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: space-between;
}

.stat-card {
    background: rgba(51, 65, 85, 0.3);
    border: 1px solid var(--border);
    border-radius: 16px;
    flex: 1;
    min-width: 120px;
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(51, 65, 85, 0.5);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-light);
    font-family: monospace;
}

.ping-graph-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
}

.graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.graph-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.ping-chart {
    height: 300px;
    width: 100%;
}

.ping-log {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.log-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.log-status {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-family: monospace;
}

.log-content {
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
}

.log-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.05);
    font-family: monospace;
    font-size: 0.875rem;
}

.log-entry:last-child {
    border-bottom: none;
}

.log-host {
    color: var(--text-secondary);
}

.log-time {
    color: var(--primary-light);
    font-weight: 600;
}

.log-time.error {
    color: #ef4444;
}

.log-time.success {
    color: var(--accent);
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .ping-controls {
        flex-direction: column;
    }
    
    
    .ping-stats {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .stat-card {
        flex: 1 1 calc(50% - 0.375rem);
    }

    .location-selector {
        flex-direction: row;
        gap: 0.75rem;
    }

    .location-option {
        flex: none;
    }
}

@media (max-width: 600px) and (min-width: 481px) {
    .location-option {
        padding: 1rem 0.75rem;
    }

    .location-selector {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .location-selector {
        flex-direction: column;
        gap: 1rem;
    }

    .location-option {
        flex: none;
    }

    .modal-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        margin: 0 !important;
        transform: none !important;
    }
    
    .modal-overlay {
        position: fixed !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-overlay.active .modal-container {
        transform: none !important;
    }
    
    .modal-close {
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 10001;
    }
    
    .modal-body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        height: calc(100vh - 80px);
    }
    
    .ping-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .stat-card {
        flex: none;
    }

}

.bento-details-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 12px;
    padding: 10px 28px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    min-width: 260px !important;
    width: 260px !important;
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.bento-details-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.6s;
}

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

.bento-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.bento-details-btn svg {
    transition: transform 0.3s ease;
}

.bento-details-btn:hover svg {
    transform: translateX(4px);
}

.datacenter-modal {
    max-width: 90vw;
    width: 1000px;
    max-height: 90vh;
}

.datacenter-tabs {
    width: 100%;
}

.tab-nav {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.tab-btn {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.tab-btn:hover:not(.active) {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
}

.tab-hint {
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: -0.5rem;
}

.hint-text {
    color: var(--text-tertiary);
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
    transition: var(--transition);
}

.hint-text:hover {
    opacity: 1;
    color: var(--text-secondary);
}

.tab-content {
    width: 100%;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

.datacenter-locations {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-main {
    margin-bottom: 1rem;
}

.location-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
}

.location-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.location-card.primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(20, 184, 166, 0.1));
    border-color: rgba(99, 102, 241, 0.3);
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: nowrap;
}

.location-header h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.location-badge {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
}

.location-details p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

.vps-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(20, 184, 166, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

.feature-highlight h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

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

.os-category {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
}

.os-category h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.os-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.os-category li {
    color: var(--text-secondary);
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.os-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

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

.service-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    margin: 0 auto 1rem auto;
}

.service-icon svg {
    color: var(--primary-light);
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.guarantees-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.guarantee-highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(20, 184, 166, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.guarantee-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.guarantee-text h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.guarantee-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.guarantee-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.guarantee-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
    margin-right: 1rem;
}

.guarantee-icon svg {
    color: var(--primary-light);
}

.guarantee-item strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.guarantee-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .datacenter-modal {
        width: 95vw;
        max-height: 95vh;
    }
    
    .tab-nav {
        flex-direction: column;
        gap: 4px;
    }
    
    .guarantee-highlight {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .os-grid,
    .services-grid,
    .guarantee-list {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *:not(.title-word),
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.scroll-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top svg {
    color: white;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
    
    .ip-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ip-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .ip-info-label {
        min-width: unset;
        font-size: 0.75rem;
        opacity: 0.7;
    }
    
    .ip-info-value {
        font-size: 1rem;
        font-weight: 600;
        word-break: break-word;
        width: 100%;
    }
    
    .ip-info-card {
        padding: 1.5rem;
    }
}

.dns-form {
    margin: 2rem 0;
}

.dns-input-group {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    align-items: center;
}

.dns-input {
    flex: 2;
    min-width: 200px;
    padding: 0.875rem 1rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.dns-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(30, 41, 59, 0.8);
}

.dns-select {
    flex: 0 0 auto;
    padding: 0.875rem 1rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.dns-select:hover {
    border-color: var(--primary);
}

.dns-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    flex: 0 0 auto;
    white-space: nowrap;
}

.dns-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.dns-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dns-progress {
    margin: 2rem 0;
}

.dns-progress-fill {
    animation: dnsProgress 2s ease-in-out infinite;
}

@keyframes dnsProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.dns-results {
    margin-top: 2rem;
}

.dns-results-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.dns-results-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.dns-results-header span {
    color: var(--primary);
}

.dns-records-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dns-record-section {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.dns-record-header {
    margin-bottom: 1rem;
}

.dns-record-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.dns-records-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dns-record-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dns-value {
    color: var(--text-primary);
    word-break: break-all;
    flex: 1;
}

.dns-ttl {
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0.7;
}

.dns-priority {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.dns-soa-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.dns-soa-info span {
    font-size: 0.85rem;
}

.dns-error {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    color: #ef4444;
    margin-top: 2rem;
}

.dns-error svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .dns-input-group {
        flex-direction: column;
        flex-wrap: wrap;
    }
    
    .dns-input {
        min-width: unset;
    }
    
    .dns-record-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

.speed-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.control-select {
    padding: 0.875rem 1rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.control-select:hover {
    border-color: var(--primary);
}

.start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.start-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

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

.speedometer-container {
    text-align: center;
    padding: 0.5rem 0;
    min-height: 280px;
}

.speedometer-gauge {
    position: relative;
    margin: 0 auto 0.5rem;
    max-width: 300px;
}

.gauge-svg {
    width: 100%;
    height: auto;
    max-width: 280px;
}

.speed-value-text {
    font-size: 2.2rem;
    font-weight: 900;
    fill: var(--text-primary);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.speed-unit-text {
    font-size: 0.9rem;
    font-weight: 600;
    fill: var(--text-secondary);
    font-family: 'Inter', sans-serif;
}

.speed-graph-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
}

.graph-header {
    margin-bottom: 1rem;
}

.graph-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

#speedChart {
    height: 300px;
    width: 100%;
}

.graph-timestamp {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.server-tag {
    text-align: center;
    margin: 0.5rem 0 1rem 0;
}

.server-tag span {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.test-status {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.metric-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    background: rgba(30, 41, 59, 0.8);
}

.ping-metric {
    border-left: 4px solid #f59e0b;
}

.download-metric {
    border-left: 4px solid #10b981;
}

.upload-metric {
    border-left: 4px solid #3b82f6;
}

.metric-card .metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.ping-metric .metric-icon svg {
    color: var(--primary-light);
}

.download-metric .metric-icon svg {
    color: var(--primary-light);
}

.upload-metric .metric-icon svg {
    color: var(--primary-light);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.1);
    margin-right: 0.75rem;
}

.stat-icon svg {
    color: var(--primary-light);
}

.metric-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.speed-progress {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.progress-header span {
    font-weight: 600;
    color: var(--primary);
}

.speed-results {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.results-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: rgba(30, 41, 59, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

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

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

.progress-details {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    color: #ef4444;
    margin-top: 2rem;
}

.error-message svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .test-info {
        text-align: left;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .result-value {
        font-size: 1.5rem;
    }
}

.hero-title { visibility: visible !important; }
.title-line { visibility: visible !important; }

h1.hero-title .title-line .title-word {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards !important;
    animation-fill-mode: both !important;
    will-change: transform, opacity !important;
    contain: none !important;
}

h1.hero-title .title-line:nth-child(1) .title-word:nth-child(1) {
    animation-delay: 0.3s !important;
}
h1.hero-title .title-line:nth-child(1) .title-word:nth-child(2) {
    animation-delay: 0.5s !important;
}
h1.hero-title .title-line:nth-child(1) .title-word:nth-child(3),
h1.hero-title .title-line:nth-child(1) .title-word.accent:nth-child(3) {
    animation-delay: 0.7s !important;
}
h1.hero-title .title-line:nth-child(2) .title-word:nth-child(1) {
    animation-delay: 0.9s !important;
}
h1.hero-title .title-line:nth-child(2) .title-word:nth-child(2),
h1.hero-title .title-line:nth-child(2) .title-word.gradient:nth-child(2) {
    animation-delay: 1.1s !important;
}

.icon-simple {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 16px;
    font-weight: normal;
}
.icon-ping::before { content: "📡"; }
.icon-speed::before { content: "⚡"; }
.icon-dns::before { content: "🌐"; }
.icon-info::before { content: "ℹ️"; }
.icon-close::before { content: "✕"; }
.icon-copy::before { content: "📋"; }

.status-text:contains("No detectado"),
.status-text:contains("Error") {
    color: #cbd5e1 !important;
}