* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a1a;
    color: #ffffff;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Gradient & Modern Colors */
.gradient-text {
    background: linear-gradient(135deg, #7c3aed, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Desktop Navigation */
.desktop-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-full {
    font-size: 14px;
    letter-spacing: 2px;
    margin-left: 12px;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #7c3aed;
}

.nav-cta {
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    padding: 10px 24px;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Main Content Padding */
.main-content {
    padding-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 24px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(124,58,237,0.15), transparent 70%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    background: rgba(124,58,237,0.2);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 13px;
    color: #a78bfa;
    display: inline-block;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 40px;
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    padding: 14px 32px;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 8px;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 14px 32px;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    margin: 0 8px;
}

.btn-outline {
    border: 1px solid #7c3aed;
    padding: 12px 28px;
    border-radius: 40px;
    color: #7c3aed;
    text-decoration: none;
}

/* Services */
.services {
    padding: 100px 0;
}

.section-label {
    font-size: 13px;
    letter-spacing: 3px;
    color: #7c3aed;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.services h2 {
    font-size: 40px;
    margin-bottom: 56px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: rgba(255,255,255,0.03);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: #7c3aed;
    transform: translateY(-4px);
}

.service-card i {
    font-size: 40px;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.service-card p {
    color: #aaa;
    line-height: 1.6;
}

/* Work Section */
.work {
    padding: 100px 0;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 48px 0;
}

.work-item {
    background: rgba(255,255,255,0.03);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.work-video-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1e1e3a, #0a0a1a);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #7c3aed;
}

.work-video-placeholder i {
    font-size: 48px;
}

.work-item h3 {
    padding: 20px 20px 8px;
}

.work-item p {
    padding: 0 20px;
    color: #aaa;
    font-size: 14px;
}

.work-tag {
    display: inline-block;
    margin: 12px 20px 20px;
    background: rgba(124,58,237,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #a78bfa;
}

/* About */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 20px;
    margin-bottom: 24px;
}

.about-text p {
    color: #aaa;
    margin-bottom: 32px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.about-stats strong {
    font-size: 32px;
    color: #7c3aed;
}

.skills {
    display: grid;
    flex-wrap: wrap;
    gap: 12px;
}

.skills span {
    background: rgba(255,255,255,0.05);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
}

.about-image .image-placeholder {
    background: linear-gradient(135deg, #48392f7d, #0a070e);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image i {
    font-size: 120px;
    color: rgba(255,255,255,0.2);
}

/* Contact */
.contact {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 48px;
}

.contact-info-card {
    background: rgba(255,255,255,0.03);
    padding: 32px;
    border-radius: 24px;
}

.contact-info-card p {
    margin: 16px 0;
}

.contact-info-card a {
    color: white;
    text-decoration: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 14px 20px;
    border-radius: 16px;
    color: white;
    font-family: inherit;
}

.contact-form button {
    border: none;
    cursor: pointer;
}

/* Bottom Navigation (App Style) */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 400px;
    width: 90%;
    background: rgba(20, 20, 40, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    padding: 12px 20px;
    border-radius: 60px;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #888;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.bottom-nav-item i {
    font-size: 22px;
}

.bottom-nav-item.active {
    color: #7c3aed;
}

/* Footer */
.site-footer {
    background: #05050f;
    padding: 60px 24px 30px;
    margin-top: 60px;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    line-height: 2;
}

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    font-size: 12px;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .main-content {
        padding-top: 0;
    }
    .hero h1 {
                font-size: 20px;
        text-align: left;
    }
    .hero-sub {
font-size: 12px;
        text-align: right;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    .btn-primary, .btn-secondary {
        width: 80%;
        justify-content: center;
    }
    .services-grid, .work-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    .section-label {
        text-align: center;
    }
    .services h2, .work h2, .contact h2 {
        font-size: 20px;
        text-align: center;
    }
    .site-footer {
        margin-bottom: 70px;
        padding-bottom: 30px;
    }
}

/* حذف استایل قدیمی bottom-nav و فقط نگه‌داشتن bottom-nav-mobile */
.bottom-nav {
    display: none; /* غیرفعال کردن استایل قدیمی */
}

/* اصلاح bottom-nav-mobile */
.bottom-nav-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1100;
}

/* پنهان شدن در دسکتاپ */
@media (min-width: 769px) {
    .bottom-nav-mobile {
        display: none;
    }
}

/* اضافه کردن فاصله از پایین در موبایل برای فوتر */
@media (max-width: 768px) {
    .site-footer {
        margin-bottom: 70px;
        padding-bottom: 20px;
    }
}
/* Hero Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.25;
    pointer-events: none;
}

.hero {
    position: relative;
    overflow: hidden;
}

/* حالت موبایل - opacity کمتر برای خوانایی بهتر متن */
@media (max-width: 768px) {
    .hero-video-bg {
        opacity: 0.15;
    }
}
.work-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    margin-bottom: 1rem;
}

.work-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.work-video-wrapper video:focus {
    outline: none;
}

/* Optional: custom play button styling */
.work-video-wrapper::-webkit-media-controls {
    z-index: 2;
}