/* ============================================
   Pico Digital — Ultra Modern Cyber Theme
   ============================================ */

:root {
    --primary-blue: #00d4ff;
    --dark-blue: #0066cc;
    --cyber-blue: #0ea5e9;
    --deep-blue: #0f172a;
    --grey-900: #14161f;
    --grey-850: #181a24;
    --grey-800: #1c1f2a;
    --grey-750: #202330;
    --grey-700: #252836;
    --grey-650: #2a2d3c;
    --grey-600: #3d4554;
    --grey-500: #6b7280;
    --grey-400: #9ca3af;
    --grey-300: #d1d5db;
    --white: #ffffff;
    --accent-glow: rgba(14, 165, 233, 0.4);
    --font-primary: 'Vazirmatn', 'Estedad', 'Tahoma', sans-serif;
    --font-secondary: 'Estedad', 'Vazirmatn', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }

body {
    font-family: var(--font-primary);
    background-color: var(--grey-900);
    color: var(--grey-300);
    line-height: 1.8;
    direction: rtl;
    overflow-x: hidden;
    /* background-image: radial-gradient(ellipse at 50% 0%, rgba(14, 165, 233, 0.03), transparent 60%); */
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--grey-900); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--cyber-blue), var(--dark-blue)); border-radius: 10px; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 14px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--cyber-blue), #0284c7);
    color: var(--white);
    box-shadow: 0 4px 25px rgba(14, 165, 233, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: var(--cyber-blue);
    border: 1.5px solid rgba(14, 165, 233, 0.35);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    background: rgba(14, 165, 233, 0.12);
    border-color: var(--cyber-blue);
    color: var(--white);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.2);
}

.btn-white-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}
.btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--white);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 1200px;
    background: rgba(20, 22, 31, 0.75);
    backdrop-filter: blur(30px) saturate(1.5);
    -webkit-backdrop-filter: blur(30px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 0 8px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(14, 165, 233, 0.05);
}
.header.scrolled {
    background: rgba(20, 22, 31, 0.92);
    border-color: rgba(14, 165, 233, 0.15);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(14, 165, 233, 0.08);
    top: 12px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    padding: 0 16px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 44px; width: auto; filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.3)); transition: filter 0.3s ease; }
.logo:hover img { filter: drop-shadow(0 0 25px rgba(14, 165, 233, 0.6)); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-links a {
    color: var(--grey-400);
    font-size: 13.5px;
    font-weight: 500;
    position: relative;
    padding: 10px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 6px; right: 50%;
    transform: translateX(50%);
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--cyber-blue), var(--primary-blue));
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--white);
    background: rgba(14, 165, 233, 0.08);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 30%; }

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.mobile-menu-btn:hover { background: transparent; }
.mobile-menu-backdrop { display: none; }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 140px 28px 100px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(0, 102, 204, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: radial-gradient(ellipse at center, black 25%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 70%);
}
.hero-content {
    max-width: 1280px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    color: var(--cyber-blue);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}
.hero-badge::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--cyber-blue);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--cyber-blue), 0 0 24px rgba(14, 165, 233, 0.4);
    animation: pulse 2.5s infinite ease-in-out;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}
.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -1px;
}
.hero-title span {
    background: linear-gradient(135deg, var(--primary-blue), #38bdf8, var(--cyber-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.15rem;
    color: var(--grey-400);
    margin-bottom: 44px;
    max-width: 520px;
    line-height: 2;
}
.hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-image {
    position: relative;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
}
.hero-image img {
    width: 100%;
    max-width: 900px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    filter: drop-shadow(0 24px 50px rgba(14, 165, 233, 0.18));
    transition: transform 0.5s ease, filter 0.5s ease;
}
.hero-image:hover img {
    transform: translateY(-4px) scale(1.01);
    filter: drop-shadow(0 30px 60px rgba(14, 165, 233, 0.22));
}

.inner-hero {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 160px 28px 120px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 22, 31, 0.7) 0%, rgba(20, 22, 31, 0.55) 50%, rgba(20, 22, 31, 0.85) 100%);
    z-index: 1;
}

.inner-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 102, 204, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.inner-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: block;
    width: 100%;
    max-width: 1280px;
}

.inner-hero .section-header {
    margin: 0 auto;
    text-align: center;
}

.inner-hero .section-title {
    font-size: 3.5rem;
    white-space: nowrap;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    text-align: center;
    letter-spacing: -1.5px;
    overflow: visible;
}


@media (min-width: 1025px) {
    .services-page .inner-hero .section-title {
        margin-right: -70px !important;
    }
}

@media (max-width: 768px) {
    .services-page .inner-hero .section-title {
        margin-right: 0 !important;
    }
}

@media (max-width: 480px) {
    .services-page .inner-hero .section-title {
        margin-right: 0 !important;
    }
}

.inner-hero .section-desc {
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    max-width: 500px;
    margin: 0 auto;
}

.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.wave-bottom .shape-fill {
    fill: var(--grey-900);
}

/* Section */
.section { padding: 100px 28px; position: relative; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 70px; }
.section-header-left { text-align: right; max-width: 640px; margin: 0 0 70px 0; }
.home-page .services-header { justify-content: center; }
.home-page .services-header .section-header-left {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.home-page .services-header .section-title,
.home-page .services-header .section-desc {
    text-align: center;
}
.section-label {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    color: var(--cyber-blue);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}
.section-title { font-size: 2.6rem; margin-bottom: 20px; letter-spacing: -0.5px; }
.section-desc { color: var(--grey-400); font-size: 1.08rem; line-height: 1.9; }

/* Services Section (Image 1) */
.services-section { background: var(--grey-900); position: relative; }
.services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
}
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1280px;
    margin: 0 auto 60px;
    flex-wrap: wrap;
    gap: 24px;
}
.services-header .section-header-left { margin: 0; max-width: 550px; }
.services-header .section-title { font-size: 2.2rem; line-height: 1.3; }
.services-header .section-desc { margin-top: 12px; }

.services-cta {
    text-align: center;
    margin-top: 32px;
}

.services-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: linear-gradient(145deg, rgba(28, 31, 42, 0.6), rgba(20, 22, 31, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(14, 165, 233, 0.06);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 48px; height: 48px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyber-blue);
    margin-bottom: 24px;
    transition: all 0.4s ease;
}
.service-card:hover .service-icon {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 14px; color: var(--white); }
.service-card p { color: var(--grey-500); font-size: 14px; line-height: 1.9; }

/* Process Section (Image 2) */
.process-section {
    background: linear-gradient(180deg, var(--grey-900), var(--grey-850));
    position: relative;
    overflow: hidden;
}
.process-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.15), transparent);
}
.process-header { text-align: center; max-width: 640px; margin: 0 auto 70px; }
.process-steps {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    right: 60px; left: 60px;
    height: 1px;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.3) 0%, rgba(14, 165, 233, 0.1) 25%, rgba(14, 165, 233, 0.1) 75%, rgba(14, 165, 233, 0.3) 100%);
    z-index: 0;
}
.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 260px;
}
.step-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cyber-blue);
    margin-bottom: 24px;
    display: inline-block;
    position: relative;
    background: var(--grey-850);
    padding: 0 12px;
}
.step-title { font-size: 1.15rem; color: var(--white); margin-bottom: 16px; font-weight: 700; }
.step-desc { color: var(--grey-500); font-size: 14px; line-height: 1.9; }

/* Testimonials (Image 3) */
.testimonials-section { background: var(--grey-900); position: relative; }
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.15), transparent);
}
.testimonials-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonial-card {
    background: linear-gradient(145deg, rgba(28, 31, 42, 0.5), rgba(20, 22, 31, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.12);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}
.testimonial-card:hover::before { opacity: 1; }
.quote-mark {
    font-size: 3rem;
    color: var(--cyber-blue);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 8px;
    font-family: Georgia, serif;
}
.testimonial-text { color: var(--grey-300); font-size: 14.5px; line-height: 2; margin-bottom: 28px; }
.testimonial-author { color: var(--grey-500); font-size: 13px; line-height: 1.8; }
.testimonial-author strong { color: var(--grey-400); font-weight: 600; }

/* Blog Section (Image 4) */
.blog-section {
    background: linear-gradient(180deg, var(--grey-850), var(--grey-900));
    position: relative;
}
.blog-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.15), transparent);
}
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1280px;
    margin: 0 auto 60px;
    flex-wrap: wrap;
    gap: 24px;
}
.home-page .blog-header {
    justify-content: center;
}
.home-page .blog-header .section-header-left {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.home-page .blog-header .section-title,
.home-page .blog-header .section-desc {
    text-align: center;
}
.blog-cta {
    text-align: center;
    margin-top: 32px;
}

.cta-section {
    padding-top: 8px;
    padding-bottom: 90px;
}

.cta-box {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 44px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.72)),
        url('../images/hero/cta-optimized.webp') center/cover no-repeat;
    border: 1px solid rgba(14, 165, 233, 0.15);
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.45);
    text-align: center;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(14, 165, 233, 0.18), transparent 60%);
    pointer-events: none;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box .section-title {
    margin-bottom: 18px;
}

.cta-box .section-desc {
    max-width: 760px;
    margin: 0 auto;
}

.cta-actions {
    margin-top: 36px;
}

.blog-grid-modern {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card-modern {
    background: linear-gradient(145deg, rgba(28, 31, 42, 0.5), rgba(20, 22, 31, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.blog-card-modern:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}
.blog-card-visual {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--grey-800), var(--grey-750));
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.6s ease, opacity 0.4s ease;
}
.blog-card-modern:hover .blog-card-visual img {
    transform: scale(1.05);
    opacity: 1;
}
.blog-category-tag {
    position: absolute;
    top: 16px; right: 16px;
    padding: 6px 16px;
    background: rgba(20, 22, 31, 0.8);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    color: var(--cyber-blue);
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 2;
}
.blog-card-body { padding: 28px; }
.blog-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 14px;
    line-height: 1.6;
    color: var(--white);
    transition: color 0.3s ease;
}
.blog-card-modern:hover .blog-card-body h3 { color: var(--cyber-blue); }
.blog-card-body p { color: var(--grey-500); font-size: 13.5px; line-height: 1.9; margin-bottom: 20px; }
.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--grey-600);
    font-size: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}


/* Legacy Features Grid */
.features-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.feature-card {
    background: linear-gradient(145deg, var(--grey-800), var(--grey-750));
    border: 1px solid rgba(14, 165, 233, 0.08);
    border-radius: 20px;
    padding: 44px 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cyber-blue), var(--primary-blue), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.06), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.feature-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(14, 165, 233, 0.08);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(0, 102, 204, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 28px;
    color: var(--cyber-blue);
    border: 1px solid rgba(14, 165, 233, 0.15);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.1);
}
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.3);
}
.feature-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.feature-card p { color: var(--grey-400); font-size: 14.5px; line-height: 1.9; }

/* Portfolio */
.portfolio-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.portfolio-card {
    background: var(--grey-800);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.portfolio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(5, 6, 8, 0.9) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.portfolio-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(14, 165, 233, 0.06);
}
.portfolio-card:hover::before { opacity: 1; }
.portfolio-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.portfolio-card:hover .portfolio-image { transform: scale(1.08); }
.portfolio-image {
    opacity: 0.9;
    transition: transform 0.6s ease, opacity 0.4s ease;
}
.portfolio-info { padding: 28px; position: relative; z-index: 2; }
.portfolio-info h3 { font-size: 1.15rem; margin-bottom: 10px; }
.portfolio-info p { color: var(--grey-500); font-size: 14px; line-height: 1.8; }
.portfolio-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--cyber-blue);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 14px;
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.pagination-btn {
    padding: 12px 28px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: var(--cyber-blue);
    border-radius: 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}
.pagination-btn:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.15);
    transform: translateY(-2px);
}
.pagination-btn.active {
    background: var(--cyber-blue);
    border-color: var(--cyber-blue);
    color: var(--dark-bg);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

.pagination-nav-btn {
    padding: 12px 18px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: var(--cyber-blue);
    border-radius: 14px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}
.pagination-nav-btn:hover:not(.disabled) {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.4);
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.15);
}
.pagination-nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(14, 165, 233, 0.04);
    border-color: rgba(14, 165, 233, 0.08);
}

/* About */
.about-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.about-image { position: relative; }
.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.5s ease;
}
.about-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(14, 165, 233, 0.08);
}
.about-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(14, 165, 233, 0.12);
    border-radius: 36px;
    z-index: -1;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 44px;
}
.stat-item {
    text-align: center;
    padding: 28px 20px;
    background: linear-gradient(145deg, var(--grey-800), var(--grey-750));
    border-radius: 16px;
    border: 1px solid rgba(14, 165, 233, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.stat-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyber-blue), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}
.stat-item:hover::before { opacity: 1; }
.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue), var(--cyber-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-label { color: var(--grey-400); font-size: 14px; margin-top: 8px; font-weight: 500; }

/* Blog Legacy */
.blog-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}
.blog-card {
    background: var(--grey-800);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(14, 165, 233, 0.06);
}
.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.blog-card:hover .blog-image { transform: scale(1.06); }
.blog-content { padding: 28px; }
.blog-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--grey-500);
}
.blog-meta span { display: flex; align-items: center; gap: 6px; }
.blog-content h3 { font-size: 1.15rem; margin-bottom: 14px; line-height: 1.5; transition: color 0.3s ease; }
.blog-card:hover .blog-content h3 { color: var(--cyber-blue); }
.blog-content p { color: var(--grey-400); font-size: 14.5px; line-height: 1.9; }

/* Contact */
.contact-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
}
.contact-info h3 { font-size: 1.6rem; margin-bottom: 32px; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.contact-item:hover {
    background: rgba(14, 165, 233, 0.04);
    border-color: rgba(14, 165, 233, 0.1);
    transform: translateX(-5px);
}
.contact-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(0, 102, 204, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyber-blue);
    font-size: 22px;
    flex-shrink: 0;
    border: 1px solid rgba(14, 165, 233, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1);
}
.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.2);
}
.contact-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-item p { color: var(--grey-400); font-size: 14px; line-height: 1.7; }
.contact-item a { color: var(--cyber-blue); position: relative; }
.contact-item a::after {
    content: '';
    position: absolute;
    bottom: -2px; right: 0;
    width: 0; height: 1px;
    background: var(--cyber-blue);
    transition: width 0.3s ease;
}
.contact-item a:hover::after { width: 100%; }

.contact-item.map-button {
    background-image: url('../images/map/map.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.9;
    cursor: pointer;
    padding-bottom: 100px;
}

.contact-item.map-button h4 {
    color: #fff;
}

.contact-form {
    background: linear-gradient(145deg, var(--grey-800), var(--grey-750));
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}
.contact-form::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyber-blue), var(--primary-blue));
}
.form-group { margin-bottom: 24px; }
.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--grey-300);
    font-weight: 500;
}
.form-control {
    width: 100%;
    padding: 16px 20px;
    background: var(--grey-850);
    border: 1px solid var(--grey-650);
    border-radius: 14px;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 14.5px;
    transition: all 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--cyber-blue);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1), 0 0 20px rgba(14, 165, 233, 0.08);
}
.form-control::placeholder { color: var(--grey-600); }
textarea.form-control { min-height: 160px; resize: vertical; }

/* Packages */
.packages-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}
.package-card {
    background: linear-gradient(145deg, var(--grey-800), var(--grey-750));
    border: 1px solid rgba(14, 165, 233, 0.12);
    border-radius: 24px;
    padding: 44px 36px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}
.package-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--cyber-blue), var(--primary-blue), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}
.package-card:hover {
    transform: translateY(-12px) scale(1.01);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(14, 165, 233, 0.08);
}
.package-card:hover::before { transform: scaleX(1); }
.package-badge {
    display: inline-block;
    padding: 8px 22px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    color: var(--cyber-blue);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    width: fit-content;
    letter-spacing: 0.3px;
}
.package-card h3 { font-size: 1.5rem; margin-bottom: 12px; letter-spacing: -0.3px; }
.package-desc { color: var(--grey-400); font-size: 15px; margin-bottom: 28px; line-height: 1.9; }
.package-list { list-style: none; margin-bottom: 36px; flex-grow: 1; }
.package-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--grey-300);
    font-size: 14.5px;
    margin-bottom: 16px;
    line-height: 1.7;
}
.package-list li::before {
    content: '';
    width: 20px; height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230ea5e9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
}
.package-card .btn { width: 100%; padding: 16px; font-size: 15px; }
.package-card.featured {
    border-color: rgba(14, 165, 233, 0.25);
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.06), var(--grey-800));
}
.package-card.featured::after {
    content: 'پرفروش‌ترین';
    position: absolute;
    top: 20px; left: 20px;
    padding: 5px 16px;
    background: linear-gradient(135deg, var(--cyber-blue), var(--dark-blue));
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}
.individual-services {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

body.admin-body {
    margin: 0;
    background: var(--grey-900);
    min-height: 100vh;
    color: var(--white);
    font-family: var(--font-primary);
}

body.admin-body * {
    box-sizing: border-box;
}

/* Admin Panel */
body.admin-body {
    min-height: 100vh;
    background: var(--grey-900);
}

.admin-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 90;
}

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

.admin-sidebar {
    width: var(--sidebar-width, 280px);
    background: linear-gradient(180deg, var(--grey-850), var(--grey-900));
    border-left: 1px solid rgba(14, 165, 233, 0.08);
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.admin-sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(14, 165, 233, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-sidebar-header img {
    height: 44px;
    filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.3));
    flex-shrink: 0;
}

.admin-sidebar-header span {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.admin-sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.admin-sidebar-nav::-webkit-scrollbar { width: 3px; }
.admin-sidebar-nav::-webkit-scrollbar-thumb { background: var(--grey-700); border-radius: 4px; }

.admin-nav-group {
    margin-bottom: 8px;
}

.admin-nav-label {
    font-size: 11px;
    color: var(--grey-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-radius: 14px;
    color: var(--grey-400);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
}

.admin-nav-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--cyber-blue), var(--primary-blue));
    border-radius: 4px;
    transition: height 0.3s ease;
}

.admin-nav-item:hover {
    background: rgba(14, 165, 233, 0.06);
    color: var(--grey-200);
}

.admin-nav-item.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(0, 102, 204, 0.06));
    color: var(--cyber-blue);
    border-color: rgba(14, 165, 233, 0.15);
}

.admin-nav-item.active::before {
    height: 60%;
}

.admin-nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.admin-nav-badge {
    margin-right: auto;
    background: linear-gradient(135deg, var(--cyber-blue), var(--dark-blue));
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
    min-width: 22px;
    text-align: center;
}

.admin-sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(14, 165, 233, 0.08);
}

.admin-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(14, 165, 233, 0.04);
    border: 1px solid rgba(14, 165, 233, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-user-card:hover {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.15);
}

.admin-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cyber-blue), var(--dark-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.admin-user-info {
    flex: 1;
    min-width: 0;
}

.admin-user-info strong {
    display: block;
    font-size: 13px;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-user-info span {
    font-size: 11px;
    color: var(--grey-500);
}

.admin-main {
    flex: 1;
    margin-right: var(--sidebar-width, 280px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    height: 72px;
    background: transparent;
    border-bottom: 1px solid rgba(14, 165, 233, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-page-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
}

.admin-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--grey-500);
    font-size: 13px;
}

.admin-breadcrumb a:hover { color: var(--cyber-blue); }

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(14, 165, 233, 0.05);
    border: 1px solid rgba(14, 165, 233, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-400);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.admin-icon-btn:hover {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.2);
    color: var(--cyber-blue);
    transform: translateY(-2px);
}

.admin-icon-btn .notif-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 8px #ef4444;
}

.admin-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.admin-section {
    display: none;
    animation: fadeSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-section.active {
    display: block;
}

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

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.admin-stat-card {
    background: linear-gradient(145deg, var(--grey-800), var(--grey-750));
    border: 1px solid rgba(14, 165, 233, 0.08);
    border-radius: 20px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.admin-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyber-blue), var(--primary-blue));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.admin-stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(14, 165, 233, 0.18);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.admin-stat-card:hover::before { opacity: 1; }

.admin-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.admin-stat-icon.blue {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(0, 102, 204, 0.1));
    color: var(--cyber-blue);
}

.admin-stat-icon.green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.1));
    color: #22c55e;
}

.admin-stat-icon.purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(147, 51, 234, 0.1));
    color: #a855f7;
}

.admin-stat-icon.orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 88, 12, 0.1));
    color: #f97316;
}

.admin-stat-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.admin-stat-label {
    font-size: 13px;
    color: var(--grey-500);
    margin-bottom: 16px;
}

.admin-stat-change {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

.admin-stat-change.up {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.admin-stat-change.down {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.admin-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.admin-card {
    background: linear-gradient(145deg, var(--grey-800), var(--grey-750));
    border: 1px solid rgba(14, 165, 233, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.admin-card-header {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(14, 165, 233, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.admin-card-body {
    padding: 28px;
}

.admin-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    height: 200px;
    padding-top: 20px;
}

.admin-chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.admin-chart-bar-fill {
    width: 100%;
    max-width: 40px;
    background: linear-gradient(180deg, var(--cyber-blue), rgba(14, 165, 233, 0.2));
    border-radius: 8px 8px 4px 4px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.admin-chart-bar-fill::after {
    content: attr(data-value);
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: var(--grey-400);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-chart-bar:hover .admin-chart-bar-fill::after {
    opacity: 1;
}

.admin-chart-bar-label {
    font-size: 11px;
    color: var(--grey-600);
}

.admin-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.admin-activity-item:last-child { border-bottom: none; }

.admin-activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-activity-content { flex: 1; }

.admin-activity-content p {
    font-size: 13px;
    color: var(--grey-300);
    line-height: 1.7;
    margin-bottom: 4px;
}

.admin-activity-content span {
    font-size: 12px;
    color: var(--grey-600);
}

.admin-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table thead th {
    background: var(--grey-850);
    padding: 16px 20px;
    text-align: right;
    font-size: 12px;
    font-weight: 700;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    white-space: nowrap;
}

.admin-table tbody td {
    padding: 18px 20px;
    font-size: 14px;
    color: var(--grey-300);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease;
}

.admin-table tbody tr:hover td {
    background: rgba(14, 165, 233, 0.03);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.admin-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.admin-status.unread {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}
.admin-status.unread::before { background: #eab308; box-shadow: 0 0 6px #eab308; }

.admin-status.read {
    background: rgba(14, 165, 233, 0.1);
    color: var(--cyber-blue);
}
.admin-status.read::before { background: var(--cyber-blue); }

.admin-status.replied {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}
.admin-status.replied::before { background: #22c55e; }

.admin-status.published {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}
.admin-status.published::before { background: #22c55e; }

.admin-status.draft {
    background: rgba(107, 114, 128, 0.1);
    color: var(--grey-500);
}
.admin-status.draft::before { background: var(--grey-500); }

.admin-actions {
    display: flex;
    gap: 8px;
}

.admin-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--grey-400);
    transition: all 0.3s ease;
}

.admin-action-btn:hover { transform: translateY(-2px); }

.admin-action-btn.view:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.2);
    color: var(--cyber-blue);
}

.admin-action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-search {
    position: relative;
    width: 320px;
    max-width: 100%;
}

.admin-search input {
    width: 100%;
    padding: 14px 18px 14px 48px;
    background: var(--grey-800);
    border: 1px solid var(--grey-700);
    border-radius: 14px;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.admin-search input:focus {
    outline: none;
    border-color: var(--cyber-blue);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.08);
}

.admin-search svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey-500);
    width: 18px;
    height: 18px;
}

.admin-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-filter-btn {
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--grey-400);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.admin-filter-btn.active {
    background: rgba(14, 165, 233, 0.12);
    color: var(--cyber-blue);
    border-color: rgba(14, 165, 233, 0.25);
}

.admin-table-empty {
    text-align: center;
    padding: 52px 24px 28px;
    color: var(--grey-400);
}

.admin-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: rgba(14,165,233,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyber-blue);
}

.admin-table-empty h3 {
    margin-bottom: 8px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-form-group.full {
    grid-column: 1 / -1;
}

.admin-form-group label {
    font-size: 14px;
    color: var(--grey-300);
    font-weight: 600;
}

.required { color: #ef4444; }

.admin-form-control {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    background: rgba(255,255,255,0.02);
    color: var(--white);
    padding: 14px 16px;
    font-size: 14px;
    font-family: var(--font-primary);
    outline: none;
    transition: all 0.3s ease;
}

.admin-form-control:focus {
    border-color: rgba(14,165,233,0.5);
    box-shadow: 0 0 0 4px rgba(14,165,233,0.08);
}

textarea.admin-form-control {
    min-height: 120px;
    resize: vertical;
}

.rte-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px 14px 0 0;
    padding: 10px 12px;
}

.rte-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.04);
    background: transparent;
    color: var(--grey-300);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.rte-btn svg {
    width: 16px;
    height: 16px;
}

.rte-separator {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.08);
    margin: 0 2px;
}

.rte-editor {
    min-height: 220px;
    max-height: 440px;
    overflow-y: auto;
    direction: rtl;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-top: none;
    border-radius: 0 0 14px 14px;
    color: var(--white);
    padding: 18px 18px 20px;
    line-height: 2;
    outline: none;
}

.image-upload-area {
    border: 1px dashed rgba(14,165,233,0.35);
    background: rgba(14,165,233,0.04);
    border-radius: 18px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-upload-area:hover { border-color: rgba(14,165,233,0.55); }

.image-upload-input { display: none; }

#imageUploadPlaceholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    color: var(--grey-400);
}

.image-upload-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(14,165,233,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyber-blue);
    margin-bottom: 14px;
}

.image-upload-text {
    font-size: 15px;
    color: var(--grey-300);
    margin-bottom: 8px;
}

.image-upload-hint {
    font-size: 12px;
    color: var(--grey-500);
}

.image-preview-wrap {
    position: absolute;
    inset: 0;
}

.image-preview-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 14px;
}

.image-preview-btn {
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(239,68,68,0.12);
    color: #fca5a5;
    border: 1px solid rgba(239,68,68,0.2);
    cursor: pointer;
}

.image-file-name {
    position: absolute;
    left: 16px;
    bottom: 14px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(0,0,0,0.4);
    color: var(--grey-300);
    font-size: 12px;
}

.preview-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.preview-modal.active {
    display: flex;
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.preview-box {
    position: relative;
    width: min(900px, calc(100vw - 32px));
    max-height: 85vh;
    background: var(--grey-850);
    border: 1px solid rgba(14,165,233,0.12);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    overflow: hidden;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.preview-body {
    padding: 24px;
    max-height: calc(85vh - 92px);
    overflow-y: auto;
}

.preview-content {
    color: var(--grey-300);
    line-height: 2;
}

.preview-content h1,
.preview-content h2,
.preview-content h3,
.preview-content h4 {
    margin: 1.2em 0 0.7em;
}

.preview-content p, .preview-content ul, .preview-content ol {
    margin-bottom: 1em;
}

.preview-content img {
    max-width: 100%;
    border-radius: 16px;
    margin: 20px 0;
}

@media (max-width: 1024px) {
    .admin-sidebar {
        display: none;
    }

    .admin-sidebar.open {
        display: flex;
    }

    .admin-main {
        margin-right: 0;
    }

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

    .admin-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-topbar {
        padding: 0 20px;
    }

    .admin-content { padding: 20px; }

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

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar-overlay {
        z-index: 90;
    }

    .admin-sidebar {
        width: min(86vw, 320px);
        z-index: 100;
    }

    .admin-sidebar.open {
        display: flex;
    }
}

/* Login */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(14, 165, 233, 0.08), transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 102, 204, 0.06), transparent 60%);
    background-color: var(--grey-900);
    position: relative;
}
.login-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.login-box {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(145deg, var(--grey-800), var(--grey-750));
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 24px;
    padding: 52px 44px;
    margin: 24px auto;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(14, 165, 233, 0.05);
}

@media (min-height: 760px) {
    .login-container {
        align-items: center;
    }

    .login-box {
        margin: 0 auto;
    }
}

.login-box img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    max-height: 96px;
    object-fit: contain;
    margin: 0 auto 28px;
    filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.3));
}
.login-box h2 { margin-bottom: 10px; font-size: 1.5rem; }
.login-box p { color: var(--grey-400); margin-bottom: 36px; font-size: 14px; }

/* Footer */
.scroll-top {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--cyber-blue), var(--dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    border: none;
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4), 0 0 20px rgba(14, 165, 233, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 30;
}
.scroll-top:hover {
    transform: translateX(-50%) translateY(-6px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.6), 0 0 30px rgba(14, 165, 233, 0.3);
}
.scroll-top svg { width: 24px; height: 24px; }

.footer {
    background: linear-gradient(180deg, var(--grey-850), var(--grey-900));
    padding: 28px 28px 36px;
    position: relative;
    overflow: visible;
    z-index: 2;
    isolation: isolate;
}
.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    padding-top: 40px;
}
.footer-brand img {
    display: block;
    width: min(100%, 246px);
    height: auto;
    aspect-ratio: 3 / 1;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.2));
}
.footer-brand p { color: var(--grey-400); font-size: 14.5px; line-height: 2; max-width: 320px; }
.footer-links h4 {
    font-size: 1.05rem;
    margin-bottom: 24px;
    color: var(--white);
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}
.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 32px; height: 2px;
    background: linear-gradient(90deg, var(--cyber-blue), var(--primary-blue));
    border-radius: 2px;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; list-style: none; }
.footer-links a {
    color: var(--grey-400);
    font-size: 14.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
}
.footer-links a::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyber-blue);
    opacity: 0.5;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.footer-links a:hover::before {
    opacity: 1;
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
    transform: scale(1.3);
}
.footer-links a::after {
    content: '';
    width: 0; height: 1px;
    background: var(--cyber-blue);
    transition: width 0.3s ease;
    position: absolute;
    bottom: -2px; right: 16px;
}
.footer-links a:hover { color: var(--cyber-blue); transform: translateX(-4px); }
.footer-links a:hover::after { width: calc(100% - 16px); }
.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 1;
}
.footer-bottom p { color: var(--grey-600); font-size: 13px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
    width: 44px; height: 44px;
    border-radius: 14px;
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid rgba(14, 165, 233, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-400);
    transition: all 0.3s ease;
    font-size: 18px;
}
.footer-social a:hover {
    background: rgba(14, 165, 233, 0.18);
    border-color: rgba(14, 165, 233, 0.35);
    color: var(--cyber-blue);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.15);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-content, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-main { margin-right: 0; }
    .hero-title { font-size: 2.8rem; }
    .inner-hero .section-title { font-size: 2.6rem; white-space: normal; }
    .services-grid, .testimonials-grid, .blog-grid-modern { grid-template-columns: repeat(2, 1fr); }
    .process-steps { flex-wrap: wrap; justify-content: center; }
    .process-steps::before { display: none; }
    .process-step { max-width: 45%; flex: 0 0 45%; }
}

@media (max-width: 768px) {
    .header { width: calc(100% - 24px); top: 12px; border-radius: 16px; }
    .inner-hero .section-title { white-space: normal; font-size: 2rem; }
    .nav-links {
        display: flex;
        position: absolute;
        top: calc(100% + 10px); left: 0; right: 0;
        background: rgba(18, 21, 30, 0.98);
        backdrop-filter: blur(28px) saturate(1.25);
        flex-direction: column;
        padding: 10px;
        gap: 3px;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(14, 165, 233, 0.06);
        transform-origin: top center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(0.98);
        pointer-events: none;
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }
    .nav-links a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 11px 16px;
        border-radius: 12px;
        font-size: 14px;
        color: var(--grey-300);
    }
    .nav-links a::after { right: 16px; bottom: 8px; transform: none; width: 0; }
    .nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(14, 165, 233, 0.12); }
    .nav-links a:hover::after, .nav-links a.active::after { width: 28px; }
    .mobile-menu-btn {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.05);
    }
    .mobile-menu-btn:hover, .mobile-menu-btn[aria-expanded="true"] { background: rgba(14, 165, 233, 0.14); border-color: rgba(14, 165, 233, 0.35); }
    .mobile-menu-backdrop { display: none; }
    .hero { padding-top: 120px; min-height: auto; padding-bottom: 60px; }
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .services-grid, .testimonials-grid, .blog-grid-modern { grid-template-columns: 1fr; }
    .services-header, .blog-header { flex-direction: column; align-items: flex-start; }
    .process-step { max-width: 100%; flex: 0 0 100%; }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand {
        text-align: center;
    }
    .footer-brand img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-grid .footer-links:last-child { grid-column: 1 / -1; }
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 6px;
    }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .contact-form { padding: 32px 24px; }
    .section { padding: 80px 20px; }
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px; left: 30px;
    padding: 18px 28px;
    background: linear-gradient(145deg, var(--grey-800), var(--grey-750));
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 16px;
    color: var(--white);
    font-size: 14px;
    z-index: 9999;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 30px rgba(14, 165, 233, 0.1);
    backdrop-filter: blur(20px);
    max-width: 400px;
    line-height: 1.7;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: rgba(34, 197, 94, 0.4); color: #4ade80; }

/* SVG Icons sizing */
.feature-icon svg, .contact-icon svg { width: 28px; height: 28px; }
.admin-nav a svg { width: 20px; height: 20px; flex-shrink: 0; }
.hero-badge svg { width: 8px; height: 8px; }


/* ============================================
   Chatbot Widget — Pico Assistant
   ============================================ */

.chatbot-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9998;
    direction: rtl;
}

.chatbot-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyber-blue), var(--dark-blue));
    border: 2px solid rgba(14, 165, 233, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4), 0 0 20px rgba(14, 165, 233, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

.chatbot-toggle:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.6), 0 0 30px rgba(14, 165, 233, 0.3);
}

.chatbot-toggle svg {
    width: 32px;
    height: 32px;
    color: white;
    z-index: 2;
    position: relative;
}

.chatbot-toggle::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyber-blue), var(--primary-blue));
    opacity: 0.3;
    animation: chatbotPulse 2.5s infinite ease-in-out;
    z-index: 0;
}

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

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 400px;
    max-width: calc(100vw - 56px);
    height: 580px;
    max-height: calc(100vh - 140px);
    background: linear-gradient(145deg, var(--grey-850), var(--grey-900));
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(14, 165, 233, 0.08);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

.chatbot-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chatbot-header {
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(0, 102, 204, 0.08));
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.chatbot-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyber-blue), var(--dark-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.chatbot-avatar svg {
    width: 24px;
    height: 24px;
    color: white;
}

.chatbot-header-text h4 {
    font-size: 1rem;
    color: var(--white);
    margin: 0;
    font-weight: 700;
}

.chatbot-header-text span {
    font-size: 12px;
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.chatbot-header-text span::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse 2s infinite;
}

.chatbot-close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--grey-400);
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
}

.chatbot-message {
    max-width: 88%;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.9;
    animation: messageSlide 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    word-wrap: break-word;
    white-space: normal;
    font-family: var(--font-primary);
}

.chatbot-message strong {
    font-weight: 800;
    color: inherit;
}

.chatbot-message em {
    font-style: italic;
    color: inherit;
}

.chatbot-message a {
    color: inherit;
    text-decoration: underline;
}

@keyframes messageSlide {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-message.bot {
    align-self: flex-start;
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.1), rgba(0, 102, 204, 0.05));
    border: 1px solid rgba(14, 165, 233, 0.12);
    color: var(--grey-200);
    border-bottom-right-radius: 4px;
}

.chatbot-message.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--cyber-blue), #0284c7);
    color: white;
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25);
}

.chatbot-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 18px;
    align-self: flex-start;
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.08), rgba(0, 102, 204, 0.03));
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 18px;
    border-bottom-right-radius: 4px;
    animation: messageSlide 0.3s ease;
}

.chatbot-typing span {
    width: 7px;
    height: 7px;
    background: var(--cyber-blue);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.chatbot-typing span:nth-child(1) { animation-delay: -0.32s; }
.chatbot-typing span:nth-child(2) { animation-delay: -0.16s; }

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

.chatbot-input-area {
    padding: 14px 18px 18px;
    border-top: 1px solid rgba(14, 165, 233, 0.08);
    background: var(--grey-850);
    flex-shrink: 0;
}

.chatbot-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    background: var(--grey-800);
    border: 1px solid var(--grey-700);
    border-radius: 18px;
    padding: 6px 6px 6px 12px;
    transition: all 0.3s ease;
}

.chatbot-input-wrapper:focus-within {
    border-color: var(--cyber-blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.08);
}

.chatbot-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 14px;
    padding: 10px 4px;
    resize: none;
    min-height: 20px;
    max-height: 100px;
    line-height: 1.6;
}

.chatbot-input::placeholder {
    color: var(--grey-600);
}

.chatbot-send {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cyber-blue), #0284c7);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-bottom: 1px;
}

.chatbot-send:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.chatbot-send:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.chatbot-send svg {
    width: 18px;
    height: 18px;
}

.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--grey-700); border-radius: 4px; }

@media (max-width: 480px) {
    .chatbot-window {
        right: 12px;
        left: 12px;
        bottom: 90px;
        width: auto;
        max-width: none;
        border-radius: 20px;
        height: calc(100vh - 158px);
        max-height: calc(100vh - 158px);
    }
    .chatbot-widget {
        right: 16px;
        bottom: 16px;
    }
    .chatbot-toggle {
        width: 56px;
        height: 56px;
    }
    .chatbot-toggle svg {
        width: 26px;
        height: 26px;
    }
}
