/* ========================================
   FutureMindApps - Main Stylesheet
======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
}

img {
    max-width: 100%;
}

h1 {
    text-align: center;
    font-size: 60px;
}

p {
    text-align: center;
    font-size: 24px;
}


/* ========================================
   General container
======================================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* ========================================
   Header
======================================== */

.site-header {
    position: relative;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
}

.nav {
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: auto;
    height: 70px;
    max-width: 380px;
    object-fit: contain;
}

.header-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.header-links a:hover {
    color: #60a5fa;
}

.menu-toggle {
    display: none;
}


/* ========================================
   Hero section
======================================== */

.hero {
    padding: 40px 0 50px;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 18px;
    background: rgba(96, 165, 250, 0.15);
    color: #93c5fd;
    border-radius: 20px;
    font-size: 14px;
}

.hero h1 {
    margin: 0;
    text-align: left;
    font-size: 72px;
}

.hero h2 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 38px;
    line-height: 1.3;
}

.hero-text {
    margin-bottom: 35px;
    color: #cbd5e1;
    text-align: left;
    font-size: 20px;
    line-height: 1.7;
}

.hero-button {
    display: inline-block;
    padding: 15px 30px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: background 0.3s;
}

.hero-button:hover {
    background: #3b82f6;
}

.apps {
    color: #2ea7ff;
}


/* ========================================
   Products
======================================== */

.products-section {
    padding: 20px 0 60px;
}

.section-title {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 42px;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.product-card {
    width: 160px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.product-icon {
    font-size: 28px;
}

.product-card h3 {
    font-size: 16px;
}

.product-card p {
    font-size: 13px;
    line-height: 1.5;
}

.version {
    display: block;
    margin-top: 12px;
    font-size: 12px;
}

.download-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

.download-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}


/* ========================================
   Categories
======================================== */

.categories-section {
    padding: 80px 0;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.category-card {
    width: 280px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
}

.category-icon {
    margin-bottom: 15px;
    font-size: 42px;
}

.category-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
}

.category-card p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6;
}


/* ========================================
   About and contact
======================================== */

.about-section,
.contact-section {
    padding: 80px 0;
}

.about-text {
    max-width: 800px;
    color: #cbd5e1;
    text-align: left;
    font-size: 20px;
    line-height: 1.8;
}

.about-text a {
    color: #60a5fa;
    overflow-wrap: anywhere;
}


/* ========================================
   Features
======================================== */

.features-section {
    padding: 70px 0;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
}

.feature-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    font-size: 18px;
}


/* ========================================
   Screenshots
======================================== */

.screenshots-section {
    padding: 10px 0 40px;
}

.screenshots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.screenshots-grid img {
    width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: transform 0.3s;
}

.screenshots-grid img:hover {
    transform: scale(1.03);
}


/* ========================================
   Footer
======================================== */

.site-footer {
    margin-top: 80px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.footer-content p {
    margin: 0;
    color: #cbd5e1;
    font-size: 15px;
    text-align: left;
}

.menu {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
}

.menu a {
    margin: 0;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.menu a:hover {
    color: #60a5fa;
}


/* ========================================
   Mobile layout برای موبایل 
======================================== */

@media (max-width: 768px) {

    .container {
        width: 92%;
    }

    .nav {
        min-height: 80px;
        justify-content: space-between;
    }

    .logo img {
        width: 230px;
        max-width: 68vw;
    }

    .menu-toggle {
        display: block;
        flex-shrink: 0;
        margin-left: 12px;
        padding: 8px 11px;
        background: transparent;
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 8px;
        font-size: 25px;
        line-height: 1;
        cursor: pointer;
    }

    .header-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #0f172a;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
        z-index: 9999;
    }

    .header-links.open {
        display: flex;
    }

    .header-links a {
        display: block;
        width: 100%;
        margin: 0;
        padding: 13px 12px;
        color: white;
        text-align: left;
        border-radius: 6px;
    }

    .header-links a:hover {
        background: rgba(255, 255, 255, 0.07);
    }

    .hero {
        padding: 30px 0 30px;
    }

    .hero h1 {
        font-size: 48px;
        line-height: 1.05;
        overflow-wrap: anywhere;
    }

    .hero h2 {
        font-size: 29px;
        line-height: 1.35;
    }

    .hero-text {
        font-size: 18px;
        line-height: 1.65;
    }

    .section-title {
        font-size: 36px;
    }

    .products-grid,
    .categories-grid {
        flex-direction: column;
    }

    .product-card,
    .category-card {
        width: 100%;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu {
        margin-left: 0;
        justify-content: flex-start;
        gap: 14px 18px;
    }
}


/* ========================================
   Small mobile screens
======================================== */

@media (max-width: 420px) {

    .logo img {
        width: auto;
        height: 55px;
        max-width: 68vw;
    }

    .menu-toggle {
        padding: 7px 9px;
        font-size: 23px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero h2 {
        font-size: 27px;
    }

    .hero-button {
        width: 100%;
        text-align: center;
    }
}