        @font-face { 
            font-family: 'Baloo Bhaijaan 2';
            src: url('https://quamtex.ir/fonts/webfonts/baloo-bhaijaan-2-arabic-500-normal.woff') format('woff');
            font-weight: normal; font-style: normal;
        }

        :root {
            --primary: #112548;
            --primary-hover: #1e3a6e;
            --accent: #3b82f6;
            --bg-input: #f8fafc;
            --border-light: #e2e8f0;
            --text-muted: #64748b;
            --shadow-soft: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        body {
            margin: 0;
            font-family: 'Baloo Bhaijaan 2', sans-serif;
            background-color: #dae0e2;
            color: var(--primary);
        }

.main-container {
  display: flex;
  flex-direction: row;
}

.main-content {
  padding: clamp(1rem, 2vw, 2rem);
  margin: clamp(0.5rem, 1.5vw, 1.5rem);
  background-color: #ffffff;
  border-radius: 24px;
  font-size: clamp(0.938rem, 0.842rem + 0.426vw, 1.188rem);
  text-align: center;
  /* مدرن‌سازی سایه کانتینر اصلی */
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--primary);
  width: 100%;
  direction: rtl;
}

        h1 {
            font-size: 26px;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }

        /* --- باکس ابزار --- */
        .ip-wrapper {
            margin: 20px 0;
            border-radius: 24px;
            background: #ffffff;
            border: 2px solid var(--border-light);
            padding: clamp(1.5rem, 3vw, 2.5rem);
            box-sizing: border-box;
        }

        .label-text {
            font-size: 1.1rem;
            color: var(--text-muted);
            margin-bottom: 10px;
        }

        /* باکس نمایش آی‌پی */
        .results {
            background-color: #f0f9ff;
            border: 2px dashed #bae6fd;
            border-radius: 20px;
            font-size: clamp(1.8rem, 3vw, 2.5rem);
            font-weight: bold;
            padding: 25px;
            margin: 15px auto;
            max-width: 600px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .results:hover {
            background-color: #e0f2fe;
            border-color: var(--primary);
            transform: translateY(-3px);
            box-shadow: 0 12px 20px -5px rgba(0,0,0,0.1);
        }

        .copy-hint {
            font-size: 0.85rem;
            font-weight: normal;
            color: var(--accent);
            opacity: 0.8;
        }

        /* گرید جزئیات */
        .details-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 30px;
        }

        .detail-card {
            background-color: var(--bg-input);
            border: 1px solid var(--border-light);
            border-radius: 18px;
            padding: 18px;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: 0.3s;
        }

        .detail-card i {
            font-size: 1.6rem;
            color: var(--accent);
            margin-bottom: 10px;
        }

        .detail-card .val {
            font-weight: bold;
            font-size: 1.05rem;
            direction: ltr;
        }

        .clickable-card {
            cursor: pointer;
            background-color: #f0fdf4;
            border-color: #bbf7d0;
        }

        .clickable-card:hover {
            background-color: #dcfce7;
            transform: scale(1.03);
        }

        /* دکمه */
        button.pop {
            font-family: inherit;
            font-size: 1.1rem;
            padding: 12px 35px;
            border: none;
            border-radius: 50px;
            background: linear-gradient(135deg, var(--primary) 0%, #2c4a85 100%);
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 35px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        button.pop:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px rgba(17, 37, 72, 0.3);
        }

        /* بخش توضیحات */
        .description-title {
            color: var(--primary);
            border-bottom: 2px solid var(--border-light);
            padding-bottom: 10px;
            margin-bottom: 15px;
        }

        /* نوتیفیکیشن */
        .notification {
            display: none;
        }
        
        /* بخش توضیحات مدرن نسخه ۲ */
.description-v2 {
    background: #ffffff;
    padding: clamp(1.5rem, 3vw, 3rem);
    border-radius: 24px;
    text-align: right;
    direction: rtl;
    border: 2px solid var(--border-light);
}

.description-header {
    margin-bottom: 40px;
}

.description-title {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.description-lead {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 900px;
}

/* گرید ویژگی‌ها */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    background: var(--bg-input);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #fff;
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.5rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-item h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* نوت امنیتی */
.security-note {
    margin-top: 40px;
    padding: 15px 20px;
    background-color: #fffbeb;
    border-right: 4px solid #f59e0b;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #92400e;
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}
