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

:root {
    --primary: #00d4aa;
    --primary-glow: rgba(0, 212, 170, 0.5);
    --primary-dim: rgba(0, 212, 170, 0.15);
    --accent: #7c3aed;
    --accent-glow: rgba(124, 58, 237, 0.5);
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(20, 20, 30, 0.6);
    --bg-card-hover: rgba(30, 30, 45, 0.8);
    --text: #ffffff;
    --text-muted: #8888aa;
    --danger: #ff6b6b;
    --warning: #ffb86c;
    --success: #00d4aa;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-dark);
    min-height: 100vh;
    color: var(--text);
    overflow-x: hidden;
    position: relative;
    cursor: default;
}

::selection {
    background: var(--primary);
    color: var(--bg-dark);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dim);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Animated Background */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.bg-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translate(50px, 30px) scale(1.1);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-30px, 50px) scale(0.95);
        opacity: 0.4;
    }
    75% { 
        transform: translate(-50px, -30px) scale(1.05);
        opacity: 0.35;
    }
}

/* Grid Lines Effect */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
    animation: gridMove 30s linear infinite;
}

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

/* Scanline Effect */
.bg-scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    z-index: 2;
    pointer-events: none;
    opacity: 0.3;
}

/* Container */
.container {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, transparent 100%);
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.nav-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: logoPulse 2s ease-in-out infinite;
}

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

.logo:hover {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.4s ease;
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    transform: translateX(-50%) scale(1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    width: 40px;
    height: 40px;
}

.mobile-menu-btn::before,
.mobile-menu-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

.mobile-menu-btn::before { top: 12px; }
.mobile-menu-btn::after { bottom: 12px; }

.mobile-menu-btn:hover::before,
.mobile-menu-btn:hover::after {
    background: var(--primary);
}

.mobile-menu-btn.active::before {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-btn.active::after {
    bottom: 50%;
    transform: translate(-50%, 50%) rotate(-45deg);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 20px var(--primary-glow); }
    50% { text-shadow: 0 0 40px var(--primary-glow), 0 0 60px var(--primary-glow); }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(0, 212, 170, 0.2); }
    50% { border-color: rgba(0, 212, 170, 0.5); }
}

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

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

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

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

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Header */
header.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

header.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 50%, var(--accent) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 5s ease-in-out infinite;
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

header.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
}

header.page-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 2rem auto 0;
    line-height: 1.8;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 0 80px rgba(0, 212, 170, 0.05),
        0 25px 50px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    animation: borderGlow 4s ease-in-out infinite;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 212, 170, 0.1),
        transparent
    );
    transition: left 0.8s ease;
}

.card:hover::before {
    left: 100%;
}

.card.hero {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 212, 170, 0.08) 100%);
    border: 1px solid rgba(0, 212, 170, 0.2);
}

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

.card-small {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card-small:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.2);
}

.card-small:hover::before {
    transform: scaleX(1);
}

.card-small h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.3s ease;
}

.card-small:hover h3 {
    color: var(--primary);
}

.card-small h3 svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
    transition: transform 0.3s ease;
}

.card-small:hover h3 svg {
    transform: scale(1.2) rotate(5deg);
}

.card-small p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Label */
.label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.label::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

/* IP Display */
.ip-display {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 500;
    color: var(--text);
    text-shadow: 0 0 40px var(--primary-glow);
    margin-bottom: 1.5rem;
    word-break: break-all;
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: textGlow 3s ease-in-out infinite;
}

.ip-display::before,
.ip-display::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.ip-display::before {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.ip-display::after {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}

.ip-display:hover::before,
.ip-display:hover::after {
    opacity: 1;
    width: 30px;
    height: 30px;
}

.ip-display.error {
    color: var(--danger);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    animation: glitch 0.3s ease-in-out;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.info-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.25rem 1rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-item:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 212, 170, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-item:hover::before {
    opacity: 1;
}

.info-item .label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.info-item .label::after {
    display: none;
}

.info-item .value {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-item:hover .value {
    color: var(--primary);
}

.info-item.large .value {
    font-size: 1.1rem;
}

/* VPN Badge */
.vpn-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: scaleIn 0.3s ease;
}

.vpn-badge.yes {
    background: rgba(0, 212, 170, 0.2);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

.vpn-badge.no {
    background: rgba(255, 107, 107, 0.2);
    color: var(--danger);
}

.vpn-badge.mobile {
    background: rgba(255, 184, 108, 0.2);
    color: var(--warning);
}

/* Privacy Note */
.privacy-note {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 212, 170, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 170, 0.1);
}

.privacy-note svg {
    width: 18px;
    height: 18px;
    fill: var(--primary);
    animation: iconGlow 2s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% { filter: drop-shadow(0 0 2px var(--primary)); opacity: 0.8; }
    50% { filter: drop-shadow(0 0 8px var(--primary)); opacity: 1; }
}

/* Section Card */
.section-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title svg {
    width: 28px;
    height: 28px;
    fill: var(--primary);
    transition: transform 0.3s ease;
}

.section-card:hover .section-title svg {
    transform: rotate(10deg) scale(1.1);
}

.section-title .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(124, 58, 237, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
}

.section-title .icon-circle svg {
    width: 24px;
    height: 24px;
}

/* Explain Text */
.explain-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.9;
}

.explain-text p {
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 1rem;
}

.explain-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
}

.explain-text p:last-child {
    margin-bottom: 0;
}

.explain-text strong {
    color: var(--text);
    position: relative;
}

.explain-text strong::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.explain-text strong:hover::after {
    transform: scaleX(1);
}

/* Tip List */
.tip-list {
    list-style: none;
}

.tip-list li {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    display: flex;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.tip-list li:hover {
    padding-left: 1rem;
    background: rgba(0, 212, 170, 0.03);
}

.tip-list li:last-child {
    border-bottom: none;
}

.tip-list li::before {
    content: '→';
    color: var(--primary);
    font-weight: 600;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.tip-list li:hover::before {
    transform: translateX(5px);
}

.tip-list li strong {
    color: var(--text);
    position: relative;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: rgba(0, 212, 170, 0.2);
    transform: translateY(-2px);
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.stat-item:hover::after {
    width: 50%;
}

.stat-item .stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.stat-item .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

/* Time Badge */
.time-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.time-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #00b894);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 212, 170, 0.4);
}

.btn-primary:hover svg {
    transform: rotate(180deg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Feature List */
.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    background: rgba(0, 212, 170, 0.1);
    transform: translateX(5px);
}

.feature-list li .check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 212, 170, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.feature-list li .check svg {
    width: 14px;
    height: 14px;
    fill: var(--primary);
}

/* Compare Table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.compare-table th,
.compare-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.compare-table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    background: rgba(0, 0, 0, 0.2);
}

.compare-table td {
    font-size: 1rem;
    color: var(--text);
}

.compare-table tr {
    transition: all 0.3s ease;
}

.compare-table tbody tr:hover td {
    background: rgba(0, 212, 170, 0.05);
}

.compare-table tbody tr:hover td:first-child {
    border-left: 3px solid var(--primary);
    padding-left: calc(1.25rem - 3px);
}

/* Footer */
footer {
    position: relative;
    z-index: 10;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}

footer .footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

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

footer .footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

footer .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

footer .footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

footer .footer-links a:hover::after {
    width: 100%;
}

footer .footer-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
}

footer .badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

footer .badge:hover {
    border-color: rgba(0, 212, 170, 0.3);
    background: rgba(0, 212, 170, 0.1);
}

footer .badge svg {
    width: 16px;
    height: 16px;
    fill: var(--primary);
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.status-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    transform: translate(-50%, -50%);
    animation: statusRing 2s ease-in-out infinite;
    opacity: 0.5;
}

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

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

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

.tool-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tool-card:hover {
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 212, 170, 0.1);
}

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

.tool-card .tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(124, 58, 237, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.3);
}

.tool-card .tool-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary);
}

.tool-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.tool-card:hover h3 {
    color: var(--primary);
}

.tool-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Counter Animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.count-up {
    animation: countUp 0.5s ease forwards;
}

/* Loading Animation */
.loading-dots {
    display: flex;
    gap: 4px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: loadingDot 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loadingDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* Mobile Menu Open State */
.nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInDown 0.3s ease;
}

.nav-links.open li {
    width: 100%;
}

.nav-links.open a {
    display: block;
    padding: 1rem;
    text-align: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-links.open a:hover {
    background: rgba(0, 212, 170, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .card, .section-card, .tool-card {
        padding: 1.75rem;
    }
    
    .ip-display {
        font-size: 2rem;
    }

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

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

    .status-bar {
        flex-direction: column;
        gap: 0.75rem;
    }

    header.page-header h1 {
        font-size: 2.5rem;
    }

    header.page-header p {
        font-size: 1rem;
    }

    .compare-table {
        display: block;
        overflow-x: auto;
    }

    footer .footer-inner {
        flex-direction: column;
        text-align: center;
    }

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

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

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

    header.page-header h1 {
        font-size: 2rem;
    }

    .ip-display {
        font-size: 1.5rem;
    }

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

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

    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .modal-content h2 {
        font-size: 1.25rem;
    }

    .modal-warning {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .modal-warning svg {
        margin-top: 0;
    }

    .btn-modal {
        width: 100%;
    }

    .page-wrapper {
        padding-top: 60px;
    }

    .nav-inner {
        padding: 0 1rem;
    }

    .card, .section-card, .tool-card {
        padding: 1.25rem;
        margin: 0 0.5rem;
    }

    .stats-grid {
        gap: 0.5rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Extra responsive fixes */
@media (min-width: 1200px) {
    .container {
        max-width: 1000px;
    }

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

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

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

    .ip-display {
        font-size: 3.5rem;
    }

    header.page-header h1 {
        font-size: 4rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn-modal:active {
        transform: scale(0.98);
    }

    .info-item:active {
        transform: translateY(-4px) scale(1.02);
    }

    .tool-card:active,
    .card-small:active {
        transform: translateY(-2px);
    }

    input[type="range"] {
        min-height: 44px;
        min-width: 44px;
    }

    .checkbox-item label {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (orientation: landscape) and (max-height: 500px) {
    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }

    header.page-header h1 {
        font-size: 1.75rem;
    }
}

/* Disclaimer Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--primary-dim);
    border-radius: 16px;
    padding: 2rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: all 0.3s ease;
    box-shadow: 0 0 40px rgba(0, 212, 170, 0.2);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

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

.modal-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--primary);
}

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

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-warning {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
}

.modal-warning svg {
    width: 20px;
    height: 20px;
    fill: var(--danger);
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-warning span {
    color: var(--warning);
    font-size: 0.9rem;
    line-height: 1.5;
}

.btn-modal {
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Outfit', sans-serif;
}

.btn-modal:hover {
    background: #00e6b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.4);
}

.ip-display.waiting {
    color: var(--text-muted);
    font-size: 1rem;
    font-style: italic;
}
