:root {
    --primary: #007BFF; /* آبی روشن و جذاب */
    --primary-dark: #004A99; /* آبی تیره و شیک */
    --secondary: #FF4081; 
    --accent: #00E5FF; 
    --dark: #1A1A2E; 
    --darker: #16213E;
    --light: #F8F9FF; 
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-dark: linear-gradient(135deg, var(--primary-dark), var(--darker));
    --gradient-hover: linear-gradient(135deg, var(--secondary), var(--accent));
    
    --shadow-sm: 0 1px 10px rgba(0, 123, 255, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 123, 255, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 123, 255, 0.4);
    --shadow-xl: 0 20px 50px rgba(0, 123, 255, 0.5);
    
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    --rounded-sm: 12px;
    --rounded-md: 20px;
    --rounded-lg: 30px;
    --rounded-full: 100px;
    
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Vazir', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.8;
    overflow-x: hidden;
}

.cinematic-header {
    height: 100vh;
    min-height: 800px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    isolation: isolate;
    background: var(--gradient-dark);
    will-change: transform;
}

.light-effect {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(138, 43, 226, 0.3) 0%,
        rgba(26, 26, 46, 0) 50%
    );
    animation: light-move 20s infinite alternate linear;
    z-index: -1;
}

@keyframes light-move {
    0% { transform: translate(-25%, -25%); }
    100% { transform: translate(25%, 25%); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    filter: blur(1px);
    will-change: transform;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    background: linear-gradient(to right, white, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: var(--rounded-full);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    margin: 0 15px;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.7);
    background: var(--gradient-hover);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.3), 
        transparent);
    transform: translateX(-100%);
    transition: 0.6s;
    z-index: -1;
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-secondary {
    background: var(--glass);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn i {
    margin-left: 8px;
}

.features-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, #f0f2ff, #e6e9ff);
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-radius: var(--rounded-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    border: 1px solid var(--glass-border);
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    background: rgba(255,255,255,0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--primary);
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.feature-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
}

.slider-section {
    padding: 120px 0;
    background: var(--gradient-dark);
    color: white;
    position: relative;
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.slide {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: var(--darker);
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%);
    transition: var(--transition);
    color: var(--primary);
    font-size: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: none;
    outline: none;
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    right: 20px;
}

.slider-next {
    left: 20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.cta-section {
    padding: 150px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--darker));
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.cta-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.cta-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.waves {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    z-index: 1;
}