/* طراحی مشابه ArvanCloud - مدرن و حرفه‌ای */

:root {
    --arvan-primary: #0a63f2;
    --arvan-primary-dark: #0848b8;
    --arvan-primary-light: #e8f1fd;
    --arvan-gradient: linear-gradient(135deg, #0a63f2 0%, #8b5cf6 100%);
    --arvan-text: #1a202c;
    --arvan-text-light: #4a5568;
    --arvan-bg: #ffffff;
    --arvan-bg-light: #f7fafc;
    --arvan-border: #e2e8f0;
    --arvan-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --arvan-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Typography - مشابه ArvanCloud */
body {
    font-family: 'Vazirmatn', 'Vazir', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--arvan-text);
    line-height: 1.6;
    font-size: 16px;
}

/* Header - طراحی مدرن ArvanCloud */
.arvan-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--arvan-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.arvan-header nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.arvan-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--arvan-primary);
    text-decoration: none;
}

.arvan-logo img {
    height: 40px;
}

.arvan-nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.arvan-nav-menu a {
    color: var(--arvan-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    padding: 0.5rem 0;
}

.arvan-nav-menu a:hover {
    color: var(--arvan-primary);
}

.arvan-btn-primary {
    background: var(--arvan-gradient);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--arvan-shadow);
}

.arvan-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--arvan-shadow-lg);
    color: white;
}

.arvan-btn-secondary {
    background: var(--arvan-bg-light);
    color: var(--arvan-text);
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--arvan-border);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.arvan-btn-secondary:hover {
    background: var(--arvan-primary-light);
    border-color: var(--arvan-primary);
    color: var(--arvan-primary);
}

/* Hero Section - طراحی مدرن */
.arvan-hero {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.arvan-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230a63f2' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.arvan-hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.arvan-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--arvan-text);
    margin-bottom: 1.5rem;
}

.arvan-hero-subtitle {
    font-size: 1.25rem;
    color: var(--arvan-text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

.arvan-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Cards - طراحی کارت‌های ArvanCloud */
.arvan-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--arvan-shadow);
    transition: all 0.3s;
    border: 1px solid var(--arvan-border);
    height: 100%;
}

.arvan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--arvan-shadow-lg);
    border-color: var(--arvan-primary-light);
}

.arvan-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--arvan-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--arvan-primary);
}

.arvan-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--arvan-text);
    margin-bottom: 1rem;
}

.arvan-card-description {
    color: var(--arvan-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.arvan-card-link {
    color: var(--arvan-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.arvan-card-link:hover {
    gap: 0.75rem;
}

/* Section Styles */
.arvan-section {
    padding: 5rem 0;
}

.arvan-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.arvan-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--arvan-text);
    margin-bottom: 1rem;
}

.arvan-section-description {
    font-size: 1.125rem;
    color: var(--arvan-text-light);
    line-height: 1.7;
}

/* Grid Layout */
.arvan-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Container */
.arvan-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Footer */
.arvan-footer {
    background: var(--arvan-text);
    color: white;
    padding: 4rem 0 2rem;
}

.arvan-footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.arvan-footer-column h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.arvan-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.arvan-footer-column ul li {
    margin-bottom: 0.75rem;
}

.arvan-footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.arvan-footer-column ul li a:hover {
    color: white;
}

.arvan-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Badge */
.arvan-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--arvan-primary-light);
    color: var(--arvan-primary);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Responsive - Mobile First Approach */
/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .arvan-header nav {
        padding: 0 1rem;
    }
    
    .arvan-logo {
        font-size: 1.25rem;
    }
    
    .arvan-logo img {
        height: 32px;
    }
    
    .arvan-hero {
        padding: 3rem 0 2rem;
    }
    
    .arvan-hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .arvan-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .arvan-hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .arvan-hero-buttons .arvan-btn-primary,
    .arvan-hero-buttons .arvan-btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    .arvan-section {
        padding: 3rem 0;
    }
    
    .arvan-section-title {
        font-size: 1.75rem;
    }
    
    .arvan-section-description {
        font-size: 1rem;
    }
    
    .arvan-container {
        padding: 0 1rem;
    }
    
    .arvan-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .arvan-card {
        padding: 1.5rem;
    }
    
    .arvan-card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .arvan-card-title {
        font-size: 1.25rem;
    }
    
    .arvan-card-description {
        font-size: 0.95rem;
    }
    
    .arvan-footer {
        padding: 3rem 0 1.5rem;
    }
    
    .arvan-footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .arvan-btn-primary,
    .arvan-btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Touch targets minimum 44x44px */
    .arvan-nav-menu a,
    .arvan-btn-primary,
    .arvan-btn-secondary {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .arvan-hero-title {
        font-size: 2.25rem;
    }
    
    .arvan-section-title {
        font-size: 2rem;
    }
    
    .arvan-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .arvan-hero-title {
        font-size: 3rem;
    }
    
    .arvan-section-title {
        font-size: 2.25rem;
    }
    
    .arvan-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .arvan-nav-menu {
        gap: 1.5rem;
    }
    
    .arvan-nav-menu a {
        font-size: 0.9rem;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .arvan-hero-title {
        font-size: 3.25rem;
    }
    
    .arvan-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .arvan-hero-title {
        font-size: 3.5rem;
    }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .arvan-hero {
        padding: 4rem 0 3rem;
    }
    
    .arvan-section {
        padding: 4rem 0;
    }
}

/* Tablet Landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .arvan-hero {
        padding: 3rem 0 2rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .arvan-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .arvan-header,
    .arvan-footer,
    .arvan-btn-primary,
    .arvan-btn-secondary {
        display: none;
    }
    
    .arvan-section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode styles if needed */
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
    .arvan-hero {
        padding: 2rem 0 1.5rem;
    }
    
    .arvan-hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .arvan-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

