/* Layout Styles - Improved Design Without Emojis */

* {
    box-sizing: border-box;
}

.container-fluid {
    max-width: 100%;
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
    overflow: visible;
}

/* Top Header */
.top-header {
    background: #000000;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    overflow: visible;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 100%;
    overflow: visible;
    flex-direction: row-reverse;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    overflow: visible;
}

.header-right .main-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: nowrap;
    overflow: visible;
}

.header-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    display: inline-block;
    flex-shrink: 0;
}

/* Hide mobile menu elements on desktop */
.mobile-menu-grid,
.mobile-menu-section-title,
.mobile-menu-links,
.mobile-search-box,
.mobile-tools-section {
    display: none;
}

.desktop-only {
    display: inline-block !important;
}

.nav-item:focus {
    outline: none;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    flex-direction: row-reverse;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.logo-text {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    font-family: AbarLowFaNum, sans-serif;
    padding: 8px 12px;
    background: #000;
    white-space: nowrap;
}

.logo-icon-wrapper {
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.mobile-menu-btn {
    display: none;
    position: relative;
    width: 42px;
    height: 42px;
    background: rgba(224, 47, 58, 0.1);
    border: 2px solid rgba(224, 47, 58, 0.3);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.mobile-menu-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.mobile-menu-btn:hover {
    border-color: var(--primary-color);
    background: rgba(224, 47, 58, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 47, 58, 0.3);
}

.mobile-menu-btn:hover::before {
    width: 100%;
    height: 100%;
}

.mobile-menu-btn:active {
    transform: translateY(0);
}

/* Hamburger Lines */
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-line:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) translateY(-6px);
}

.hamburger-line:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.hamburger-line:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) translateY(6px);
}

/* Active State Animation */
.mobile-menu-btn.active {
    background: rgba(224, 47, 58, 0.15);
    border-color: var(--primary-color);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Hover effect on lines */
.mobile-menu-btn:hover .hamburger-line {
    background: white;
}

.mobile-menu-btn.active:hover .hamburger-line {
    background: white;
}

/* Main Content */
.main-content {
    background: #000000;
    min-height: calc(100vh - 80px);
    padding: 3rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 2.5rem;
    grid-template-rows: auto 1fr;
}

/* Top Cards */
.top-cards {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    max-height: 130px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.feature-card:focus,
.feature-card:focus-visible {
    outline: none !important;
}

.feature-card.podcast-card {
    background: linear-gradient(135deg, rgba(42, 24, 16, 0.6) 0%, rgba(61, 36, 24, 0.7) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 140, 0, 0.1) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
}

.feature-card.podcast-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 15% 80%, rgba(255, 140, 0, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.feature-card.podcast-card:hover {
    border: 1px solid rgba(255, 140, 0, 0.1) !important;
    background: linear-gradient(135deg, rgba(42, 24, 16, 0.7) 0%, rgba(61, 36, 24, 0.8) 100%);
}

.podcast-icon-wrapper {
    position: absolute;
    left: -30px;
    bottom: -40px;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.podcast-icon-bg {
    position: absolute;
    width: 85%;
    height: 85%;
    background: rgba(255, 140, 0, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    border: 1px solid rgba(255, 140, 0, 0.08);
    z-index: 0;
}

.podcast-icon {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(255, 140, 0, 0.4));
    position: relative;
    z-index: 1;
}

.feature-card.privacy-card {
    background: linear-gradient(135deg, rgba(26, 15, 46, 0.6) 0%, rgba(45, 27, 78, 0.7) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(138, 43, 226, 0.1) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
}

.feature-card.privacy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 15% 20%, rgba(138, 43, 226, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.feature-card.privacy-card:hover {
    border: 1px solid rgba(138, 43, 226, 0.1) !important;
    background: linear-gradient(135deg, rgba(26, 15, 46, 0.7) 0%, rgba(45, 27, 78, 0.8) 100%);
}

.privacy-banner {
    position: absolute;
    left: -30px;
    bottom: -60px;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.privacy-banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.7;
    filter: brightness(1.2) saturate(1.3) drop-shadow(0 4px 12px rgba(138, 43, 226, 0.3));
}

/* Cloudflare Card */
.feature-card.cloudflare-card {
    background: linear-gradient(135deg, rgba(15, 46, 26, 0.3) 0%, rgba(27, 78, 45, 0.4) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(34, 197, 94, 0.15) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
}

.feature-card.cloudflare-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 15% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.feature-card.cloudflare-card:hover {
    background: linear-gradient(135deg, rgba(15, 46, 26, 0.4) 0%, rgba(27, 78, 45, 0.5) 100%);
    border-color: rgba(34, 197, 94, 0.3) !important;
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.15);
}

.cloudflare-bg-icon {
    position: absolute;
    left: -40px;
    top: -40px;
    width: 220px;
    height: 220px;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.cloudflare-bg-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.3) saturate(1.1);
}

.feature-card.cloudflare-card .card-content {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: right;
}

.card-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    color: currentColor;
}

.card-content {
    flex: 1;
    position: relative;
    z-index: 1;
    text-align: right;
}

.card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    line-height: 1.3;
    color: white;
}

.card-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
}

.card-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.65rem;
    border-radius: 50%;
    cursor: pointer;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.card-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-6px);
}

/* Main Article Section */
.main-article-section {
    background: transparent;
    overflow: hidden;
}

.article-hero {
    position: relative;
    background: linear-gradient(135deg, #003366, #0066cc);
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    border-radius: 20px;
    overflow: hidden;
}

.article-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.article-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.geometric-pattern {
    width: 100%;
    height: 100%;
    position: relative;
}

.pattern-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    display: block;
}

.article-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    padding: 3rem 2.5rem;
    color: white;
    width: 100%;
}

.article-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    align-items: center;
}

.read-time {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.read-time:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.read-time:hover::before {
    left: 100%;
}

.bookmark-btn {
    background: linear-gradient(135deg, rgba(224, 47, 58, 0.9), rgba(199, 8, 18, 0.9));
    border: 1px solid rgba(224, 47, 58, 0.5);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-persian);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

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

.bookmark-btn:hover {
    background: linear-gradient(135deg, #c70812, #e00915);
    border-color: rgba(199, 8, 18, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(224, 47, 58, 0.4);
}

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

.bookmark-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(224, 47, 58, 0.5);
}

.main-title {
    font-size: 2.2rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.article-summary {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 2rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.read-more-btn {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: var(--font-persian);
}

.read-more-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Sidebar */
.main-sidebar {
    background: #111111;
    border-radius: 20px;
    padding: 2rem;
    height: fit-content;
    border: 1px solid #333;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.sidebar-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.sidebar-header h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
}

.suggested-articles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.suggest.cyber-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.suggested-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: #1a1a1a;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #2a2a2a;
    overflow: hidden;
    text-decoration: none;
}

.suggested-item:hover {
    background: #222222;
    transform: translateY(-2px);
    border-color: #444;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.suggested-item:hover h4 {
    color: var(--primary-color);
}

.suggested-thumbnail {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    overflow: hidden;
    position: relative;
    background: #2a2a2a;
    border-radius: 12px;
}

.suggested-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.suggested-item:hover .suggested-thumbnail img {
    transform: scale(1.05);
}

.suggested-content {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.suggested-content h4 {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 600;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.suggested-date {
    color: #888888;
    font-size: 0.75rem;
    font-family: var(--font-persian);
    letter-spacing: 0.3px;
    display: block;
    margin: 0;
}

/* Cyber Threats Section */
.cyber-threats-section {
    margin-top: 3rem;
    background: #111111;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid #333;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cyber-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
    position: relative;
}

.cyber-header::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -100px;
    width: 800px;
    height: 300px;
    background-image: url('../assets/pattern/Topographic.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

.cyber-header h3,
.cyber-header svg {
    position: relative;
    z-index: 1;
}

.cyber-header h3 {
    color: #07902A;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
}

.cyber-header svg {
    color: #07902A;
}

.cyber-main-card {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: row-reverse;
    min-height: 200px;
    text-decoration: none;
    color: inherit;
}

.cyber-main-card:hover {
    border-color: #07902A;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(7, 144, 42, 0.2);
}

.cyber-image {
    width: 45%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.cyber-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cyber-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(7, 144, 42, 0.15);
    color: #07902A;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    width: fit-content;
}

.cyber-content h4 {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: auto;
    font-weight: 600;
    flex: 1;
}

.cyber-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888888;
    font-size: 0.85rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #2a2a2a;
}

.cyber-meta span:last-child {
    color: #07902A;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cyber-meta span:last-child:hover {
    color: #0ab036;
}

.cyber-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.cyber-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.cyber-item:hover {
    border-color: #07902A;
    background: #1f1f1f;
    transform: translateY(-2px);
}

.cyber-number {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: transparent;
    color: #07902A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.95rem;
    border: 2px solid #07902A;
    line-height: 1;
}

.cyber-item-content {
    flex: 1;
}

.cyber-item-content h5 {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cyber-item:hover .cyber-item-content h5 {
    color: #9D0913;
}

.cyber-date {
    color: #07902A;
    font-size: 0.8rem;
    font-weight: 500;
}

.cyber-more {
    display: block;
    text-align: center;
    color: #07902A;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 10px;
    background: rgba(7, 144, 42, 0.1);
    transition: all 0.3s ease;
}

.cyber-more:hover {
    background: rgba(7, 144, 42, 0.2);
}

/* Network and Policy Section - Custom Colors */
.network-policy-section .cyber-header::before {
    filter: invert(48%) sepia(12%) saturate(1200%) hue-rotate(210deg) brightness(95%) contrast(85%);
    opacity: 0.3;
}

.network-policy-section .cyber-header h3 {
    color: #807B97;
}

.network-policy-section .cyber-header svg {
    color: #807B97;
}

.network-policy-section .cyber-main-card:hover {
    border-color: #807B97;
    box-shadow: 0 4px 16px rgba(128, 123, 151, 0.2);
}

.network-policy-section .network-badge {
    background: rgba(128, 123, 151, 0.15);
    color: #807B97;
}

.network-policy-section .cyber-meta span:last-child {
    color: #807B97;
}

.network-policy-section .cyber-meta span:last-child:hover {
    color: #9d98b3;
}

.network-policy-section .cyber-item:hover {
    border-color: #807B97;
}

.network-policy-section .cyber-number {
    color: #807B97;
    border-color: #807B97;
}

.network-policy-section .cyber-date {
    color: #807B97;
}

.network-policy-section .cyber-more {
    color: #807B97;
    background: rgba(128, 123, 151, 0.1);
}

.network-policy-section .cyber-more:hover {
    background: rgba(128, 123, 151, 0.2);
}

/* Footer */
.site-footer {
    background: #0a0a0a;
    border-top: 1px solid #222;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer-section p {
    color: #888888;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #888888;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-link:hover {
    color: var(--primary-color);
    background: rgba(224, 47, 58, 0.1);
    border-color: var(--primary-color);
}

.contact-link svg {
    flex-shrink: 0;
}

.social-media {
    margin-top: 2rem;
}

.social-media h5 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #888888;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link:nth-child(1):hover {
    background: rgba(0, 136, 204, 0.2);
    border-color: #0088cc;
    color: #0088cc;
}

.social-link:nth-child(2):hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
}

.social-link:nth-child(3):hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
}

.social-link:nth-child(4):hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
    color: #ff0000;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    color: #666666;
    font-size: 0.9rem;
    margin: 0;
}

.install-pwa-btn {
    background: linear-gradient(135deg, var(--primary-color), #c70812);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: var(--font-persian);
    box-shadow: 0 4px 12px rgba(224, 47, 58, 0.3);
}

.install-pwa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(224, 47, 58, 0.4);
}

.install-pwa-btn svg {
    animation: bounce-icon 2s infinite;
}

@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Articles Page Styles */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Article card styles moved to components.css */

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .top-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .container, .container-fluid {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #000000;
        flex-direction: column;
        padding: 5rem 0 2rem;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid #222;
        text-align: right;
    }

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

    .article-content {
        padding: 2.5rem 1.5rem;
    }

    .main-title {
        font-size: 1.75rem;
    }

    .article-summary {
        font-size: 1.05rem;
    }

    .article-hero {
        min-height: 450px;
    }

    .top-cards {
        margin-bottom: 2rem;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        min-height: 140px;
        gap: 1rem;
    }

    .card-btn {
        margin: 0 auto;
    }

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

    .suggested-item {
        padding: 0;
        gap: 0.75rem;
    }

    .suggested-thumbnail {
        width: 70px;
        height: 70px;
    }

    .suggested-content {
        padding: 0.75rem;
    }

    .suggested-content h4 {
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cyber-threats-section {
        padding: 1.5rem;
    }

    .cyber-main-card {
        flex-direction: column;
        min-height: auto;
    }

    .cyber-image {
        width: 100%;
        min-height: 180px;
    }

    .cyber-content {
        padding: 1.5rem;
    }

    .cyber-list {
        grid-template-columns: 1fr;
    }

    .cyber-item {
        padding: 0.75rem;
    }

    .cyber-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .cyber-item-content h5 {
        font-size: 0.85rem;
    }
}