/* ============================================
   HOST RA - Main Stylesheet
   Designed by: امیراحسان رمزی
   Version: 1.0.0
   ============================================ */

/* ============ GOOGLE FONTS ============ */
/* فونت فارسی */
/* فونت ایران‌سنس (Vazirmatn) - نسخه آپلود شده */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  
  /* اعمال فونت به کل سایت */
  :root {
      --font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  * {
      font-family: var(--font-family);
  }
  
  /* برای اطمینان بیشتر */
  body, input, textarea, select, button, h1, h2, h3, h4, h5, h6, p, span, div, a, li, td, th {
      font-family: var(--font-family);
  }
  

/* ============ CSS VARIABLES ============ */
:root {
    /* Primary Colors */
    --primary: #4A00E0;
    --primary-light: #8E2DE2;
    --primary-dark: #3700B3;
    --secondary: #00C9FF;
    --accent: #7F00FF;
    
    /* Gradient Colors */
    --gradient-1: linear-gradient(135deg, #4A00E0 0%, #8E2DE2 50%, #00C9FF 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-4: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    
    /* Background Colors */
    --bg-primary: #0a0a1a;
    --bg-secondary: #12122a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-glass: rgba(255, 255, 255, 0.1);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b0b0cc;
    --text-muted: #8080a0;
    
    /* Border Colors */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(138, 43, 226, 0.3);
    
    /* Shadow */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(138, 43, 226, 0.4);
    --shadow-glow-strong: 0 0 40px rgba(0, 201, 255, 0.5);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-preloader: 9999;
    --z-modal: 1000;
    --z-header: 100;
    --z-dropdown: 200;
    --z-tooltip: 300;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 20px;
}

/* ============ DARK MODE VARIABLES ============ */
[data-theme="dark"] {
    --bg-primary: #0a0a1a;
    --bg-secondary: #12122a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-glass: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #b0b0cc;
    --text-muted: #8080a0;
    --border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] {
    --bg-primary: #f5f5ff;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.8);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #6a6a8a;
    --border-color: rgba(0, 0, 0, 0.1);
}

/* ============ RESET & BASE ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background var(--transition-base), color var(--transition-base);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top left, rgba(74, 0, 224, 0.15), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(0, 201, 255, 0.1), transparent 50%),
        radial-gradient(ellipse at center, rgba(138, 43, 226, 0.05), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ============ SELECTION ============ */
::selection {
    background: var(--primary);
    color: white;
}

::-moz-selection {
    background: var(--primary);
    color: white;
}

/* ============ CONTAINER ============ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============ PRELOADER - MATRIX DATA STREAM ============ */
#preloader {
    position: fixed;
    inset: 0;
    background: #06060f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.matrix-loader {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* خطوط داده */
.data-streams {
    position: absolute;
    inset: 0;
    opacity: 0.15;
}

.stream {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: streamFall 3s linear infinite;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #8E2DE2;
    white-space: nowrap;
}

.stream-1 { left: 5%; animation-duration: 2.5s; animation-delay: 0s; color: #4A00E0; }
.stream-2 { left: 25%; animation-duration: 3s; animation-delay: 0.5s; color: #00C9FF; }
.stream-3 { left: 50%; animation-duration: 2.8s; animation-delay: 1s; color: #8E2DE2; }
.stream-4 { left: 70%; animation-duration: 3.2s; animation-delay: 0.3s; color: #7F00FF; }
.stream-5 { left: 85%; animation-duration: 2.6s; animation-delay: 0.8s; color: #00C9FF; }

@keyframes streamFall {
    0% { transform: translateY(-120%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(120%); opacity: 0; }
}

/* لوگو مرکزی */
.matrix-core {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-pulse {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(138, 43, 226, 0.6);
    animation: corePulseOut 1.5s ease-out infinite;
}

.core-pulse.delay {
    animation-delay: 0.75s;
}

@keyframes corePulseOut {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.core-inner {
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(20, 20, 50, 1) 0%, rgba(10, 10, 30, 1) 100%);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 
        0 0 40px rgba(138, 43, 226, 0.4),
        0 0 80px rgba(74, 0, 224, 0.2),
        inset 0 0 30px rgba(138, 43, 226, 0.1);
    animation: coreBeat 1s ease-in-out infinite;
}

@keyframes coreBeat {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(138, 43, 226, 0.4), 0 0 80px rgba(74, 0, 224, 0.2); }
    50% { transform: scale(1.08); box-shadow: 0 0 60px rgba(138, 43, 226, 0.6), 0 0 100px rgba(0, 201, 255, 0.3); }
}

/* ذرات نور */
.spark-container {
    position: absolute;
    inset: 0;
}

.spark {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00C9FF;
    border-radius: 50%;
    box-shadow: 0 0 10px #00C9FF, 0 0 20px #4A00E0;
    animation: sparkFly 1.5s ease-out infinite;
}

.s1 { top: 50%; left: 50%; animation-delay: 0s; }
.s2 { top: 50%; left: 50%; animation-delay: 0.2s; }
.s3 { top: 50%; left: 50%; animation-delay: 0.4s; }
.s4 { top: 50%; left: 50%; animation-delay: 0.6s; }
.s5 { top: 50%; left: 50%; animation-delay: 0.8s; }
.s6 { top: 50%; left: 50%; animation-delay: 1s; }
.s7 { top: 50%; left: 50%; animation-delay: 1.2s; }
.s8 { top: 50%; left: 50%; animation-delay: 1.4s; }

@keyframes sparkFly {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(
            calc(cos(var(--angle, 0deg)) * 200px),
            calc(sin(var(--angle, 0deg)) * 200px)
        ) scale(0);
        opacity: 0;
    }
}

.s1 { --angle: 0deg; }
.s2 { --angle: 45deg; }
.s3 { --angle: 90deg; }
.s4 { --angle: 135deg; }
.s5 { --angle: 180deg; }
.s6 { --angle: 225deg; }
.s7 { --angle: 270deg; }
.s8 { --angle: 315deg; }

/* درصد لودینگ */
.load-percent {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.percent-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4A00E0, #00C9FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.percent-sign {
    font-size: 1.2rem;
    font-weight: 700;
    color: #8080a0;
}

/* متن */
.load-subtitle {
    position: absolute;
    bottom: -105px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: #6a6a8a;
    white-space: nowrap;
    animation: subtitleBlink 1.5s ease-in-out infinite;
}

@keyframes subtitleBlink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 576px) {
    .matrix-loader {
        width: 300px;
        height: 300px;
    }
    
    .core-inner {
        width: 85px;
        height: 85px;
    }
    
    .core-inner svg {
        width: 120px;
    }
    
    .core-pulse {
        width: 90px;
        height: 90px;
    }
    
    .stream {
        font-size: 0.6rem;
    }
    
    .percent-number {
        font-size: 2.2rem;
    }
    
    .load-subtitle {
        font-size: 0.75rem;
        bottom: -90px;
    }
    
    .load-percent {
        bottom: -55px;
    }
}

/* ============ DARK MODE TOGGLE ============ */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-light);
}

.dark-mode-toggle i {
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: all var(--transition-base);
}

/* ============ HEADER & NAVIGATION ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-svg {
    width: 160px;
    height: 50px;
}

.pulse-dot {
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { 
        r: 3;
        opacity: 1;
    }
    50% { 
        r: 5;
        opacity: 0.5;
    }
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(138, 43, 226, 0.1);
}

.nav-link i {
    font-size: 0.9rem;
}

.nav-link .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform var(--transition-base);
}

.nav-item:hover .fa-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(18, 18, 42, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 0;
    min-width: 250px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background: rgba(138, 43, 226, 0.1);
    color: var(--text-primary);
    padding-right: 25px;
}

.dropdown-menu li a i {
    color: var(--primary-light);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

.hamburger .bar {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-base);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: right var(--transition-slow);
    overflow-y: auto;
    z-index: 100;
}

.mobile-menu-overlay.active .mobile-menu {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    font-weight: 500;
}

.mobile-nav-list li a:hover {
    background: rgba(138, 43, 226, 0.1);
    color: var(--text-primary);
}

.mobile-nav-list li a i {
    width: 20px;
    text-align: center;
    color: var(--primary-light);
}

.mobile-submenu {
    list-style: none;
    padding-right: 30px;
    margin-top: 5px;
    display: none;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu li a {
    padding: 10px 15px;
    font-size: 0.9rem;
}

.mobile-menu-footer {
    margin-top: auto;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.mobile-menu-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.mobile-menu-footer small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-glow);
}

.btn-outline:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-gradient {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -50%; }
    100% { left: 150%; }
}

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Clouds */
.hero-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cloud-hero {
    position: absolute;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 201, 255, 0.1));
    border-radius: 50%;
    filter: blur(40px);
    animation: heroCloudFloat 10s ease-in-out infinite;
}

.cloud-hero-1 {
    width: 300px;
    height: 200px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.cloud-hero-2 {
    width: 250px;
    height: 180px;
    top: 50%;
    right: -3%;
    animation-delay: 2s;
}

.cloud-hero-3 {
    width: 200px;
    height: 150px;
    bottom: 15%;
    left: 30%;
    animation-delay: 4s;
}

.cloud-hero-4 {
    width: 180px;
    height: 130px;
    top: 20%;
    right: 20%;
    animation-delay: 6s;
}

.cloud-hero-5 {
    width: 220px;
    height: 160px;
    bottom: 30%;
    right: 40%;
    animation-delay: 8s;
}

@keyframes heroCloudFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(15px);
    }
    50% {
        transform: translateY(-10px) translateX(30px);
    }
    75% {
        transform: translateY(-25px) translateX(10px);
    }
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    width: fit-content;
}

.pulse-badge {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typewriter {
    position: relative;
}

.typewriter::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary-light);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: medium;
    color: var(--text-secondary);
    line-height: 1.8;
}

.highlight-text {
    color: var(--secondary);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}


/* ============ HERO VISUAL - HOLOGRAPHIC GLASS ============ */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 480px;
}

.holo-container {
    position: relative;
    width: 380px;
    height: 420px;
}

/* پرتوهای نور */
.light-beam {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: beamPulse 4s ease-in-out infinite;
}

.beam-1 {
    width: 200px;
    height: 200px;
    background: #4A00E0;
    top: -20px;
    left: -30px;
    animation-delay: 0s;
}

.beam-2 {
    width: 180px;
    height: 180px;
    background: #00C9FF;
    bottom: -10px;
    right: -20px;
    animation-delay: 1.5s;
}

.beam-3 {
    width: 150px;
    height: 150px;
    background: #8E2DE2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 3s;
}

@keyframes beamPulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.3); }
}

.beam-3 {
    animation: beamCenter 4s ease-in-out infinite;
}

@keyframes beamCenter {
    0%, 100% { opacity: 0.08; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.18; transform: translate(-50%, -50%) scale(1.4); }
}

/* کارت شیشه‌ای اصلی */
.glass-card {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(-5deg) rotateX(5deg);
    width: 280px;
    z-index: 5;
    animation: cardHover 6s ease-in-out infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
}

@keyframes cardHover {
    0%, 100% { 
        transform: translate(-50%, -50%) rotateY(-5deg) rotateX(5deg) translateY(0); 
    }
    50% { 
        transform: translate(-50%, -50%) rotateY(5deg) rotateX(-3deg) translateY(-15px); 
    }
}

.glass-card-inner {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 50%, 
        rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(138, 43, 226, 0.2);
    position: relative;
    overflow: hidden;
}

.glass-card-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(138, 43, 226, 0.1) 50%,
        transparent 70%
    );
    animation: glassShine 4s ease-in-out infinite;
}

@keyframes glassShine {
    0%, 100% { transform: translate(-30%, -30%) rotate(0deg); }
    50% { transform: translate(30%, 30%) rotate(180deg); }
}

/* هدر کارت */
.card-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.card-dots .dot.red { background: #ff5f56; box-shadow: 0 0 8px rgba(255, 95, 86, 0.5); }
.card-dots .dot.yellow { background: #ffbd2e; box-shadow: 0 0 8px rgba(255, 189, 46, 0.5); }
.card-dots .dot.green { background: #27c93f; box-shadow: 0 0 8px rgba(39, 201, 63, 0.5); }

.card-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 3px;
    margin-right: auto;
}

/* محتوای کارت */
.card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-label {
    width: 35px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.status-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.status-fill {
    height: 100%;
    border-radius: 3px;
    animation: fillBar 3s ease-in-out infinite;
}

.cpu-fill {
    width: 23%;
    background: linear-gradient(90deg, #4A00E0, #8E2DE2);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.ram-fill {
    width: 45%;
    background: linear-gradient(90deg, #00C9FF, #4A00E0);
    box-shadow: 0 0 10px rgba(0, 201, 255, 0.5);
}

.ssd-fill {
    width: 12%;
    background: linear-gradient(90deg, #7F00FF, #8E2DE2);
    box-shadow: 0 0 10px rgba(127, 0, 255, 0.5);
}

.net-fill {
    width: 80%;
    background: linear-gradient(90deg, #00C9FF, #00ff88);
    box-shadow: 0 0 10px rgba(0, 201, 255, 0.5);
}

@keyframes fillBar {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.status-value {
    width: 55px;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
}

/* آیکون‌های شناور */
.card-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.card-icons .icon-float {
    position: absolute;
    font-size: 1.2rem;
    color: rgba(138, 43, 226, 0.3);
    animation: iconDrift 5s ease-in-out infinite;
}

.card-icons .icon-float:nth-child(1) {
    top: 15px;
    right: 15px;
    animation-delay: 0s;
}

.card-icons .icon-float:nth-child(2) {
    bottom: 20px;
    right: 20px;
    animation-delay: 1.5s;
}

.card-icons .icon-float:nth-child(3) {
    bottom: 30px;
    left: 20px;
    animation-delay: 3s;
}

@keyframes iconDrift {
    0%, 100% { transform: translate(0, 0); opacity: 0.2; }
    50% { transform: translate(5px, -10px); opacity: 0.4; }
}

/* کارت‌های کوچک شناور */
.mini-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(18, 18, 42, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    z-index: 3;
    animation: miniFloat 5s ease-in-out infinite;
    transition: all 0.3s ease;
}

.mini-card:hover {
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.2);
    transform: translateY(-5px) scale(1.05);
}

.mini-card i {
    font-size: 1.2rem;
    color: #8E2DE2;
    width: 35px;
    height: 35px;
    background: rgba(138, 43, 226, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-card strong {
    display: block;
    font-size: 0.95rem;
    color: #ffffff;
}

.mini-card small {
    font-size: 0.7rem;
    color: #8080a0;
}

.mini-1 {
    top: 5px;
    right: 0;
    animation-delay: 0s;
}

.mini-2 {
    bottom: 50px;
    left: -15px;
    animation-delay: 1.7s;
}

.mini-3 {
    bottom: -5px;
    right: -10px;
    animation-delay: 3.4s;
}

@keyframes miniFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .holo-container {
        width: 340px;
        height: 380px;
    }
    
    .glass-card {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .hero-visual {
        min-height: 350px;
    }
    
    .holo-container {
        width: 280px;
        height: 320px;
    }
    
    .glass-card {
        top: 50%;
        width: 220px;
    }
    
    .glass-card-inner {
        padding: 18px;
        border-radius: 20px;
    }
    
    .status-label {
        width: 28px;
        font-size: 0.65rem;
    }
    
    .status-value {
        width: 45px;
        font-size: 0.65rem;
    }
    
    .mini-card {
        padding: 10px 14px;
        gap: 8px;
    }
    
    .mini-card i {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .mini-card strong {
        font-size: 0.8rem;
    }
    
    .mini-card small {
        font-size: 0.65rem;
    }
    
    .mini-2 {
        bottom: 40px;
        left: -5px;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        min-height: 260px;
    }
    
    .holo-container {
        width: 220px;
        height: 260px;
    }
    
    .glass-card {
        top: 50%;
        width: 180px;
    }
    
    .glass-card-inner {
        padding: 15px;
        border-radius: 16px;
    }
    
    .card-dots .dot {
        width: 7px;
        height: 7px;
    }
    
    .card-title {
        font-size: 0.5rem;
        letter-spacing: 2px;
    }
    
    .status-row {
        gap: 6px;
    }
    
    .status-bar {
        height: 4px;
    }
    
    .status-label {
        width: 24px;
        font-size: 0.6rem;
    }
    
    .status-value {
        width: 38px;
        font-size: 0.6rem;
    }
    
    .card-icons .icon-float {
        font-size: 1rem;
    }
    
    .mini-card {
        padding: 8px 10px;
        gap: 6px;
        border-radius: 12px;
    }
    
    .mini-card i {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    .mini-card strong {
        font-size: 0.7rem;
    }
    
    .mini-card small {
        font-size: 0.6rem;
    }
    
    .mini-1 {
        top: 0;
        right: -5px;
    }
    
    .mini-2 {
        bottom: 30px;
        left: -10px;
    }
    
    .mini-3 {
        bottom: -5px;
        right: -5px;
    }
}


/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    color: var(--bg-secondary);
}

.wave-divider svg {
    width: 100%;
    height: auto;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .server-animation {
        width: 250px;
        height: 250px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* ============ LEARN SECTION ============ */
.learn-section {
    padding: 100px 0;
    position: relative;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.section-badge i {
    color: var(--primary-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.learn-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.learn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity var(--transition-slow);
    z-index: -1;
}

.learn-card:hover::before {
    opacity: 0.05;
}

.learn-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.learn-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
}

.learn-icon-wrapper i {
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.3;
    z-index: 1;
}

.learn-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.learn-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
    text-align: justify;
}

.learn-card strong {
    color: var(--secondary);
}

.learn-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.learn-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(138, 43, 226, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all var(--transition-base);
}

.learn-features span:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: var(--primary-light);
    color: var(--text-primary);
}

.learn-features span i {
    color: #00ff88;
    font-size: 0.8rem;
}

/* ============ HOSTING PLANS SECTION ============ */
.hosting-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.clouds-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cloud-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.08;
    animation: cloudDrift 15s ease-in-out infinite;
}

.cloud-bg-1 {
    width: 400px;
    height: 300px;
    background: #4A00E0;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.cloud-bg-2 {
    width: 350px;
    height: 250px;
    background: #00C9FF;
    bottom: 15%;
    right: -8%;
    animation-delay: 5s;
}

.cloud-bg-3 {
    width: 300px;
    height: 200px;
    background: #8E2DE2;
    top: 50%;
    left: 40%;
    animation-delay: 10s;
}

@keyframes cloudDrift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -20px) scale(1.1);
    }
    50% {
        transform: translate(-20px, -40px) scale(0.9);
    }
    75% {
        transform: translate(-30px, 10px) scale(1.05);
    }
}

/* Hosting Tabs */
.hosting-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 30px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-secondary);
    font-family: 'Vazirmatn', sans-serif;
    min-width: 220px;
}

.tab-btn i {
    font-size: 1.8rem;
    transition: all var(--transition-base);
}

.tab-btn span {
    font-size: 1rem;
    font-weight: 600;
}

.tab-btn small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tab-btn:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.tab-btn.active {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-glow-strong);
    transform: translateY(-5px);
}

.tab-btn.active i {
    color: white;
    animation: iconBounce 0.6s ease;
}

.tab-btn.active small {
    color: rgba(255, 255, 255, 0.8);
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Plans Container */
.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Plan Card - Linux Normal */
.plan-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.plan-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    transition: all var(--transition-slow);
}

.plan-card:hover::after {
    opacity: 0.2;
    width: 300px;
    height: 300px;
}

.plan-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 60px rgba(74, 0, 224, 0.3);
}

.plan-card.popular {
    border-color: var(--primary-light);
    background: linear-gradient(135deg, rgba(74, 0, 224, 0.1), rgba(0, 201, 255, 0.05));
    box-shadow: var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-1);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(138, 43, 226, 0);
    }
}

.plan-header {
    text-align: center;
}

.plan-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.plan-type {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.plan-price {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-right: 5px;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-item i {
    color: #00ff88;
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-item i.fa-times {
    color: #ff4444;
}

.plan-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
}

.stat-mini {
    text-align: center;
}

.stat-mini-value {
    font-size: x-small;
    font-weight: 700;
    color: var(--secondary);
}

.stat-mini-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 3px;
}

.plan-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Dedicated Server Card Style */
.plan-card.dedicated {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(74, 0, 224, 0.1));
    border: 2px solid var(--primary-light);
}

.plan-card.dedicated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.01) 10px,
        rgba(255, 255, 255, 0.01) 20px
    );
    pointer-events: none;
}

.server-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.spec-value {
    font-size: smaller;
    font-weight: 700;
    color: var(--secondary);
}

/* High Traffic Plan Style */
.plan-card.high-traffic {
    border-color: rgba(0, 201, 255, 0.3);
}

.plan-card.high-traffic:hover {
    border-color: var(--secondary);
    box-shadow: 0 20px 60px rgba(0, 201, 255, 0.3);
}

.traffic-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(0, 201, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--secondary);
    font-size: 0.9rem;
}

.traffic-indicator i {
    animation: rocketPulse 1.5s infinite;
}

@keyframes rocketPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ============ DOMAIN SECTION ============ */
.domain-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.domain-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Domain Checker */
.domain-checker {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-base);
}

.domain-checker:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.domain-checker-header,
.domain-prices-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.domain-checker-header i,
.domain-prices-header i {
    font-size: 1.8rem;
    color: var(--primary-light);
}

.domain-checker-header h3,
.domain-prices-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.domain-search-box {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.domain-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-base);
    direction: ltr;
    text-align: left;
}

.domain-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2);
}

.domain-extension {
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.domain-extension:focus {
    outline: none;
    border-color: var(--primary-light);
}

.btn-check-domain {
    white-space: nowrap;
}

.btn-full-check {
    width: 100%;
    justify-content: center;
    margin-top: 15px;
}

/* Domain Prices */
.domain-prices {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-base);
}

.domain-prices:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.prices-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.price-row:hover {
    background: rgba(138, 43, 226, 0.05);
    border-color: var(--border-color);
    transform: translateX(-5px);
}

.extension-name {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.extension-name i {
    color: var(--primary-light);
}

.price-value {
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.domain-note {
    margin-top: 25px;
    padding: 20px;
    background: rgba(0, 201, 255, 0.05);
    border-radius: var(--radius-md);
    border-right: 3px solid var(--secondary);
}

.domain-note i {
    color: var(--secondary);
    font-size: 1.2rem;
    float: right;
    margin-left: 10px;
}

.domain-note strong {
    color: var(--secondary);
    display: block;
    margin-bottom: 10px;
    font-size: x-small;
}

.domain-note ol {
    padding-right: 20px;
    margin: 10px 0;
}

.domain-note li {
    color: var(--text-secondary);
    margin-bottom: 5px;
    font-size: 0.5rem;
}

.highlight-note {
    background: rgba(138, 43, 226, 0.1);
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    margin-top: 15px;
    font-size: 0.3rem;
}

.highlight-note a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

/* ============ DOMAIN MODAL - MOBILE FRIENDLY ============ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-secondary, #12122a);
    border: 1px solid var(--border-color, rgba(255,255,255,0.08));
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 900px;
    max-height: 92vh;
    height: 85vh;
    display: flex;
    flex-direction: column;
    z-index: 1;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
}

.modal.active .modal-content {
    transform: translateY(0);
}

/* دستگیره کشیدن (موبایل) */
.modal-handle {
    display: none;
    width: 40px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin: 12px auto 0;
    cursor: grab;
}

/* هدر مودال */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,0.06));
    flex-shrink: 0;
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.modal-header h3 i {
    color: var(--primary-light, #8E2DE2);
}

.modal-close-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: rgba(255, 68, 68, 0.3);
    color: #ff4444;
}

/* بدنه */
.modal-body {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.domain-iframe-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
}

.domain-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 24px 24px;
}

/* ============ دسکتاپ ============ */
@media (min-width: 769px) {
    .modal {
        align-items: center;
    }
    
    .modal-content {
        border-radius: 24px;
        height: 85vh;
        max-height: 800px;
        transform: translateY(30px) scale(0.96);
    }
    
    .modal.active .modal-content {
        transform: translateY(0) scale(1);
    }
    
    .modal-handle {
        display: none;
    }
    
    .modal-header {
        padding: 20px 25px;
    }
    
    .domain-iframe-wrapper iframe {
        border-radius: 0 0 24px 24px;
    }
}

/* ============ موبایل ============ */
@media (max-width: 768px) {
    .modal-content {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        height: 90vh;
        max-height: 90vh;
    }
    
    .modal-handle {
        display: block;
    }
    
    .modal-header {
        padding: 12px 16px;
    }
    
    .modal-header h3 {
        font-size: 1rem;
    }
    
    .modal-close-btn {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
    
    .domain-iframe-wrapper iframe {
        border-radius: 0;
    }
}
/* تم روشن برای مودال */
[data-theme="light"] .modal-content {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modal-handle {
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .modal-close-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #333;
}

[data-theme="light"] .modal-close-btn:hover {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

/* ============ GUIDE STEPS ============ */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.guide-step {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.guide-step:hover {
    border-color: var(--border-color);
    background: rgba(138, 43, 226, 0.05);
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--gradient-1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: white;
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.step-content a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.guide-note {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 201, 255, 0.05);
    border-radius: var(--radius-md);
    border-right: 3px solid var(--secondary);
    margin-top: 20px;
}

.guide-note i {
    color: var(--secondary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.guide-note a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

/* ============ ABOUT SECTION ============ */
.about-section {
    padding: 100px 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.about-feature {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: default;
}

.about-feature:hover {
    border-color: var(--primary-light);
    transform: translateX(-10px);
    box-shadow: var(--shadow-glow);
    background: rgba(138, 43, 226, 0.05);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.3rem;
    color: white;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============ ABOUT VISUAL - DATA CENTER ============ */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.datacenter-container {
    position: relative;
    width: 420px;
    height: 400px;
    perspective: 800px;
    transform-style: preserve-3d;
}

/* رک‌های سرور */
.server-rack {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: linear-gradient(180deg, 
        rgba(20, 20, 40, 0.95) 0%, 
        rgba(30, 30, 55, 0.95) 100%);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(138, 43, 226, 0.1);
    transform-style: preserve-3d;
}

.rack-1 {
    top: 20px;
    left: 30px;
    width: 90px;
    transform: rotateY(8deg);
    animation: rackFloat1 4s ease-in-out infinite;
}

.rack-2 {
    top: 20px;
    right: 30px;
    width: 90px;
    transform: rotateY(-8deg);
    animation: rackFloat2 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes rackFloat1 {
    0%, 100% { transform: rotateY(8deg) translateY(0); }
    50% { transform: rotateY(8deg) translateY(-8px); }
}

@keyframes rackFloat2 {
    0%, 100% { transform: rotateY(-8deg) translateY(0); }
    50% { transform: rotateY(-8deg) translateY(-8px); }
}

.rack-unit {
    display: flex;
    gap: 4px;
    padding: 6px 4px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    justify-content: center;
}

.unit-light {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    animation: lightBlink 1.5s ease-in-out infinite;
}

.unit-light.green {
    background: #00ff88;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

.unit-light.blue {
    background: #00C9FF;
    box-shadow: 0 0 8px rgba(0, 201, 255, 0.6);
}

.rack-1 .rack-unit:nth-child(1) .unit-light:nth-child(1) { animation-delay: 0s; }
.rack-1 .rack-unit:nth-child(1) .unit-light:nth-child(2) { animation-delay: 0.3s; }
.rack-1 .rack-unit:nth-child(1) .unit-light:nth-child(3) { animation-delay: 0.6s; }
.rack-1 .rack-unit:nth-child(2) .unit-light:nth-child(1) { animation-delay: 0.9s; }
.rack-1 .rack-unit:nth-child(2) .unit-light:nth-child(2) { animation-delay: 1.2s; }
.rack-1 .rack-unit:nth-child(2) .unit-light:nth-child(3) { animation-delay: 0.4s; }
.rack-1 .rack-unit:nth-child(3) .unit-light:nth-child(1) { animation-delay: 0.7s; }
.rack-1 .rack-unit:nth-child(3) .unit-light:nth-child(2) { animation-delay: 1.0s; }
.rack-1 .rack-unit:nth-child(3) .unit-light:nth-child(3) { animation-delay: 0.2s; }
.rack-1 .rack-unit:nth-child(4) .unit-light:nth-child(1) { animation-delay: 0.5s; }
.rack-1 .rack-unit:nth-child(4) .unit-light:nth-child(2) { animation-delay: 0.8s; }
.rack-1 .rack-unit:nth-child(4) .unit-light:nth-child(3) { animation-delay: 1.1s; }

.rack-2 .rack-unit:nth-child(1) .unit-light:nth-child(1) { animation-delay: 0.2s; }
.rack-2 .rack-unit:nth-child(1) .unit-light:nth-child(2) { animation-delay: 0.5s; }
.rack-2 .rack-unit:nth-child(1) .unit-light:nth-child(3) { animation-delay: 0.8s; }
.rack-2 .rack-unit:nth-child(2) .unit-light:nth-child(1) { animation-delay: 1.1s; }
.rack-2 .rack-unit:nth-child(2) .unit-light:nth-child(2) { animation-delay: 0.3s; }
.rack-2 .rack-unit:nth-child(2) .unit-light:nth-child(3) { animation-delay: 0.6s; }
.rack-2 .rack-unit:nth-child(3) .unit-light:nth-child(1) { animation-delay: 0.9s; }
.rack-2 .rack-unit:nth-child(3) .unit-light:nth-child(2) { animation-delay: 0.1s; }
.rack-2 .rack-unit:nth-child(3) .unit-light:nth-child(3) { animation-delay: 0.4s; }
.rack-2 .rack-unit:nth-child(4) .unit-light:nth-child(1) { animation-delay: 0.7s; }
.rack-2 .rack-unit:nth-child(4) .unit-light:nth-child(2) { animation-delay: 1.0s; }
.rack-2 .rack-unit:nth-child(4) .unit-light:nth-child(3) { animation-delay: 0.3s; }

@keyframes lightBlink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* مانیتور نمایشگر */
.monitor-screen {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 140px;
    background: linear-gradient(180deg, 
        rgba(10, 10, 30, 0.95) 0%, 
        rgba(20, 20, 50, 0.95) 100%);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(138, 43, 226, 0.15),
        inset 0 0 30px rgba(0, 201, 255, 0.05);
    animation: screenGlow 3s ease-in-out infinite;
}

@keyframes screenGlow {
    0%, 100% { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(138, 43, 226, 0.15); }
    50% { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 201, 255, 0.3); }
}

.screen-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.screen-line {
    height: 2px;
    border-radius: 1px;
    animation: lineScan 3s ease-in-out infinite;
}

.line-1 {
    width: 90%;
    background: linear-gradient(90deg, #00C9FF, transparent);
    animation-delay: 0s;
}

.line-2 {
    width: 70%;
    background: linear-gradient(90deg, #8E2DE2, transparent);
    animation-delay: 0.5s;
}

.line-3 {
    width: 85%;
    background: linear-gradient(90deg, #4A00E0, transparent);
    animation-delay: 1s;
}

.line-4 {
    width: 60%;
    background: linear-gradient(90deg, #00C9FF, transparent);
    animation-delay: 1.5s;
}

@keyframes lineScan {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.screen-graph {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 50px;
    margin-top: 8px;
    padding: 0 5px;
}

.graph-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    animation: graphPulse 2s ease-in-out infinite;
}

.bar-1 {
    height: 60%;
    background: linear-gradient(180deg, #00C9FF, #4A00E0);
    animation-delay: 0s;
}

.bar-2 {
    height: 80%;
    background: linear-gradient(180deg, #8E2DE2, #4A00E0);
    animation-delay: 0.3s;
}

.bar-3 {
    height: 45%;
    background: linear-gradient(180deg, #00C9FF, #8E2DE2);
    animation-delay: 0.6s;
}

.bar-4 {
    height: 90%;
    background: linear-gradient(180deg, #7F00FF, #00C9FF);
    animation-delay: 0.9s;
}

.bar-5 {
    height: 70%;
    background: linear-gradient(180deg, #4A00E0, #00C9FF);
    animation-delay: 1.2s;
}

@keyframes graphPulse {
    0%, 100% { transform: scaleY(0.8); }
    50% { transform: scaleY(1); }
}

/* ذرات داده */
.data-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.data-particle {
    position: absolute;
    font-size: 0.6rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: rgba(0, 201, 255, 0.4);
    animation: dataFloat 6s ease-in-out infinite;
}

.dp-1 { top: 15%; left: 10%; animation-delay: 0s; }
.dp-2 { top: 25%; right: 15%; animation-delay: 1.5s; }
.dp-3 { bottom: 35%; left: 20%; animation-delay: 3s; }
.dp-4 { bottom: 20%; right: 10%; animation-delay: 4.5s; }
.dp-5 { top: 50%; left: 50%; animation-delay: 2s; }

@keyframes dataFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    25% { transform: translateY(-15px) translateX(10px); opacity: 0.6; }
    50% { transform: translateY(-8px) translateX(20px); opacity: 0.4; }
    75% { transform: translateY(-20px) translateX(5px); opacity: 0.7; }
}

/* نشان‌های وضعیت */
.status-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(18, 18, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.7rem;
    color: #b0b0cc;
    animation: badgeFloat 4s ease-in-out infinite;
}

.sb-1 {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.sb-2 {
    bottom: 20px;
    left: 15px;
    animation-delay: 1.3s;
}

.sb-3 {
    bottom: 20px;
    right: 15px;
    animation-delay: 2.6s;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.sb-1 {
    animation: badgeFloatCenter 4s ease-in-out infinite;
}

@keyframes badgeFloatCenter {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00C9FF;
    animation: dotPulse 2s ease-in-out infinite;
}

.status-dot.online {
    background: #00ff88;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.status-badge i {
    color: #00C9FF;
    font-size: 0.7rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .datacenter-container {
        width: 360px;
        height: 350px;
    }
    
    .monitor-screen {
        width: 190px;
        height: 120px;
    }
    
    .rack-1, .rack-2 {
        width: 75px;
    }
}

@media (max-width: 768px) {
    .about-visual {
        order: -1;
        margin-bottom: 20px;
    }
    
    .datacenter-container {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    
    .rack-1 {
        left: 15px;
        width: 65px;
    }
    
    .rack-2 {
        right: 15px;
        width: 65px;
    }
    
    .monitor-screen {
        width: 160px;
        height: 100px;
        bottom: 20px;
    }
    
    .screen-graph {
        height: 35px;
        gap: 4px;
    }
    
    .unit-light {
        width: 6px;
        height: 6px;
    }
    
    .data-particle {
        font-size: 0.5rem;
    }
    
    .status-badge {
        padding: 5px 10px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .datacenter-container {
        width: 250px;
        height: 250px;
    }
    
    .rack-1 {
        left: 5px;
        width: 55px;
        padding: 8px;
        gap: 3px;
    }
    
    .rack-2 {
        right: 5px;
        width: 55px;
        padding: 8px;
        gap: 3px;
    }
    
    .rack-unit {
        padding: 4px 3px;
        gap: 3px;
    }
    
    .unit-light {
        width: 5px;
        height: 5px;
    }
    
    .monitor-screen {
        width: 130px;
        height: 85px;
        bottom: 15px;
        padding: 8px;
        border-radius: 8px;
    }
    
    .screen-line {
        height: 1.5px;
    }
    
    .screen-graph {
        height: 28px;
        gap: 3px;
    }
    
    .data-particle {
        font-size: 0.45rem;
    }
    
    .dp-3, .dp-5 {
        display: none;
    }
    
    .status-badge {
        padding: 4px 8px;
        font-size: 0.6rem;
        gap: 4px;
    }
    
    .status-dot {
        width: 6px;
        height: 6px;
    }
}

/* ============ CONTACT SECTION ============ */
.contact-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.contact-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cloud-contact {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.06;
    animation: contactCloudFloat 12s ease-in-out infinite;
}

.cloud-contact-1 {
    width: 350px;
    height: 250px;
    background: #4A00E0;
    top: 20%;
    left: -5%;
}

.cloud-contact-2 {
    width: 300px;
    height: 200px;
    background: #00C9FF;
    bottom: 10%;
    right: -5%;
    animation-delay: 6s;
}

@keyframes contactCloudFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, -30px); }
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.contact-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.map-container {
    width: 100%;
    margin-top: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    display: block;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-1);
    opacity: 0.3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-subtitle {
    color: var(--text-muted) !important;
    font-size: 0.8rem !important;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    transform: translateX(-5px);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 1.1rem;
}

.social-link:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.social-link:hover .fa-telegram { color: #0088cc; }
.social-link:hover .fa-instagram { color: #e4405f; }
.social-link:hover .fa-whatsapp { color: #25d366; }
.social-link:hover .fa-github { color: #ffffff; }

.footer-badge {
    margin-top: 10px;
}

.footer-badge img {
    opacity: 0.8;
    transition: all var(--transition-base);
}

.footer-badge img:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.footer-credit {
    font-size: 0.8rem !important;
}

.footer-credit a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}

.footer-credit a:hover {
    color: var(--primary-light);
}

/* ============ BACK TO TOP BUTTON ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: rgba(18, 18, 42, 0.9);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.back-to-top::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A00E0, #8E2DE2, #00C9FF);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.5);
}

.back-to-top:hover::before {
    opacity: 1;
}

.back-to-top:hover .btt-circle circle {
    stroke-dasharray: 145;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.8s ease;
}

.back-to-top:hover i {
    animation: bounceUp 0.6s ease infinite;
}

/* SVG دایره */
.btt-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.btt-circle circle {
    stroke-dasharray: 145;
    stroke-dashoffset: 145;
    transition: stroke-dashoffset 0.3s ease;
}

/* آیکون */
.back-to-top i {
    font-size: 1.1rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.back-to-top:hover i {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

@keyframes bounceUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* تولتیپ */
.btt-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(18, 18, 42, 0.95);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.3);
    pointer-events: none;
}

.btt-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid rgba(18, 18, 42, 0.95);
}

.back-to-top:hover .btt-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
    
    .back-to-top i {
        font-size: 1rem;
    }
    
    .btt-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
    }
    
    .back-to-top i {
        font-size: 0.9rem;
    }
}

/* ============ ANIMATIONS ============ */
/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Fade In */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Scale In */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.5s ease forwards;
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

/* Stagger Animation Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }

/* ============ PARALLAX EFFECTS ============ */
.parallax {
    transition: transform 0.1s linear;
}

/* ============ GLASS MORPHISM HOVER EFFECT ============ */
.glass-hover {
    transition: all var(--transition-base);
}

.glass-hover:hover {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ============ GRADIENT BORDER ============ */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: var(--gradient-1);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gradient-border:hover::before {
    opacity: 1;
}

/* ============ TEXT GRADIENT HOVER ============ */
.text-gradient-hover {
    transition: all var(--transition-base);
}

.text-gradient-hover:hover {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ CUSTOM SCROLLBAR FOR MODALS ============ */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

/* ============ PRINT STYLES ============ */
@media print {
    .header,
    .footer,
    .back-to-top,
    .dark-mode-toggle,
    .mobile-menu-overlay {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============ SELECTION STYLE ============ */
::selection {
    background: var(--primary);
    color: white;
    text-shadow: none;
}

/* ============ FOCUS VISIBLE ============ */
:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============ SKELETON LOADING ============ */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-card) 25%,
        rgba(255, 255, 255, 0.05) 50%,
        var(--bg-card) 75%
    );
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}