/*
Theme Name: نَویس‌فروش
Theme URI: https://navisforush.ir
Author: NavisForush Team
Author URI: https://t.me/navisforush
Description: قالب لندینگ پیج اپلیکیشن نَویس‌فروش - مدیریت هوشمند فروشگاه و وبلاگ وردپرس
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: navisforush
Tags: rtl, farsi, persian, landing-page, one-page, custom-logo
*/

/* Variables */
:root {
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --primary-dark: #5b21b6;
    --secondary: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    --gradient-light: linear-gradient(135deg, rgba(124,58,237,0.1) 0%, rgba(37,99,235,0.1) 100%);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-sm: 0 10px 40px rgba(124, 58, 237, 0.15);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    transition: color 0.3s;
}

header.scrolled .logo { color: var(--dark); }

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--white); }
header.scrolled .nav-links a { color: var(--gray); }
header.scrolled .nav-links a:hover { color: var(--primary); }

.header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

header.scrolled .header-btn {
    background: var(--gradient);
    color: var(--white);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
}

header.scrolled .menu-toggle { color: var(--dark); }

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--white);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
}

.mobile-download {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 14px 24px !important;
    border-radius: 12px;
    text-align: center;
    margin-top: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient);
    padding: 140px 0 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero .orb-1 {
    width: 600px;
    height: 600px;
    background: #a855f7;
    top: -200px;
    right: -100px;
}

.hero .orb-2 {
    width: 400px;
    height: 400px;
    background: #3b82f6;
    bottom: 100px;
    left: -100px;
}

.hero .orb-3 {
    width: 300px;
    height: 300px;
    background: #06b6d4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--white);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item { text-align: center; }

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* Hero Phone */
.hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.8; }
}

.phone-frame {
    position: relative;
    z-index: 2;
    animation: float 5s ease-in-out infinite;
}

.phone-frame img {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
    z-index: 3;
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card i { color: var(--primary); }

.card-1 {
    top: 15%;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    left: -20px;
    animation-delay: 1s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-light);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--light);
    padding: 32px;
    border-radius: 24px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--white);
    border-color: #e2e8f0;
    transform: translateY(-8px);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
}

.feature-icon.purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.feature-icon.blue { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.feature-icon.green { background: linear-gradient(135deg, #059669, #10b981); }
.feature-icon.orange { background: linear-gradient(135deg, #d97706, #f59e0b); }
.feature-icon.pink { background: linear-gradient(135deg, #db2777, #ec4899); }
.feature-icon.cyan { background: linear-gradient(135deg, #0891b2, #06b6d4); }

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Screenshots */
.screenshots {
    padding: 80px 0 50px;
    background: var(--light);
}

.screenshots-slider {
    overflow-x: auto;
    overflow-y: visible;
    padding: 10px 0 30px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.screenshots-slider::-webkit-scrollbar { display: none; }

.slider-track {
    display: flex;
    gap: 16px;
    padding: 0 20px;
    width: max-content;
}

.slider-track.dragging { cursor: grabbing; }

.slide {
    flex-shrink: 0;
    width: 220px;
    scroll-snap-align: center;
    text-align: center;
}

.slide img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.slide:hover img { transform: scale(1.02); }

.slide span {
    display: block;
    margin-top: 12px;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.85rem;
}

.slider-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--gray-light);
    font-size: 0.8rem;
    margin-top: 8px;
}

/* Download */
.download {
    position: relative;
    padding: 100px 0;
    background: var(--gradient);
    overflow: hidden;
}

.download-bg .orb-1 {
    width: 500px;
    height: 500px;
    background: #a855f7;
    top: -150px;
    left: -100px;
}

.download-bg .orb-2 {
    width: 400px;
    height: 400px;
    background: #3b82f6;
    bottom: -100px;
    right: -100px;
}

.download-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.download h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.download p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--dark);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.btn-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.btn-text { text-align: right; }

.btn-text span {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
}

.btn-text strong {
    font-size: 1.2rem;
    font-weight: 700;
}

.app-specs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.spec {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(124, 58, 237, 0.3);
}

/* Footer */
footer {
    background: var(--dark);
    padding: 32px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 700;
}

.footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

footer p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .floating-card { display: none; }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-phone { order: -1; }
    .phone-wrapper { max-width: 200px; }
    
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .badge { margin: 0 auto 16px; }
    
    .nav-links, .header-btn { display: none; }
    .menu-toggle { display: block; }
    
    .features { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .screenshots { padding: 60px 0 40px; }
    .download { padding: 60px 0; }
    .contact { padding: 50px 0; }
}

@media (max-width: 768px) {
    .hero { padding: 100px 0 0; min-height: auto; }
    .hero h1 { font-size: 1.6rem; line-height: 1.4; }
    .hero p { font-size: 0.95rem; margin-bottom: 20px; }
    .badge { font-size: 0.8rem; padding: 6px 14px; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .feature-card { padding: 16px; border-radius: 16px; }
    .feature-icon { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px; }
    .feature-card h3 { font-size: 0.95rem; margin-bottom: 6px; }
    .feature-card p { font-size: 0.8rem; line-height: 1.5; }
    
    .section-header h2 { font-size: 1.4rem; }
    .section-header p { font-size: 0.9rem; }
    
    .slide { width: 160px; }
    .slide span { font-size: 0.75rem; margin-top: 8px; }
    
    .app-specs { gap: 16px; }
    .spec { font-size: 0.85rem; }
    
    .download h2 { font-size: 1.5rem; }
    .download p { font-size: 0.95rem; margin-bottom: 24px; }
    .download-btn { padding: 12px 20px; border-radius: 12px; }
    .btn-icon { width: 40px; height: 40px; }
    .btn-text strong { font-size: 1rem; }
    
    .contact h2 { font-size: 1.4rem; }
    .contact-btn { padding: 14px 28px; font-size: 1rem; }
    
    .footer-content { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .hero { padding: 90px 0 0; }
    .hero h1 { font-size: 1.4rem; }
    .hero p { font-size: 0.9rem; }
    .phone-wrapper { max-width: 170px; }
    .phone-frame img { border-radius: 24px; }
    
    .hero-buttons { flex-direction: column; width: 100%; gap: 10px; }
    .btn { width: 100%; justify-content: center; padding: 12px 20px; font-size: 0.9rem; }
    
    .hero-stats { gap: 12px; }
    .stat-number { font-size: 1.1rem; }
    .stat-label { font-size: 0.7rem; }
    .stat-divider { height: 30px; }
    
    .features { padding: 50px 0; }
    .features-grid { gap: 10px; }
    .feature-card { padding: 14px; }
    .feature-icon { width: 38px; height: 38px; margin-bottom: 10px; }
    .feature-card h3 { font-size: 0.85rem; }
    .feature-card p { font-size: 0.75rem; }
    
    .screenshots { padding: 50px 0 30px; }
    .slide { width: 140px; }
    .slide img { border-radius: 16px; }
    
    .download { padding: 50px 0; }
    .app-specs { flex-direction: column; gap: 10px; }
    
    .contact { padding: 40px 0; }
}
