/* ==========================================
   نظام الجرد - Landing Page Styles
   ========================================== */

:root {
    --primary-color: #d97706;
    --primary-dark: #b45309;
    --secondary-color: #78350f;
    --accent-color: #fbbf24;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #fef3c7;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    --gradient-hero: linear-gradient(135deg, #78350f 0%, #d97706 50%, #fbbf24 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   Header & Navigation
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled,
.header.header-solid {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.header.scrolled .logo,
.header.header-solid .logo {
    color: var(--primary-color);
}

.logo i {
    font-size: 1.8rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.app-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

.app-icon-large {
    width: 300px;
    height: 300px;
    border-radius: 60px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 8px;
}

.header.scrolled .nav-links a,
.header.header-solid .nav-links a {
    color: var(--text-color);
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.2);
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active,
.header.header-solid .nav-links a:hover,
.header.header-solid .nav-links a.active {
    background: var(--primary-color);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.header.scrolled .mobile-menu-btn {
    color: var(--text-color);
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.hero-text {
    color: var(--white);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: phoneFloat 3s ease-in-out infinite;
}

@keyframes phoneFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

.phone-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.phone-screen span {
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* ==========================================
   Features Section
   ========================================== */

.features {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 28px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==========================================
   Stats Section
   ========================================== */

.stats {
    background: var(--gradient-primary);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ==========================================
   Screenshots Section
   ========================================== */

.screenshots {
    padding: 100px 0;
    background: var(--bg-light);
}

.screenshots-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.screenshot-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.screenshot-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.screenshot-placeholder {
    height: 400px;
    background: linear-gradient(180deg, #e0e7ff 0%, #c7d2fe 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.screenshot-placeholder i {
    font-size: 60px;
    margin-bottom: 15px;
}

.screenshot-placeholder span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ==========================================
   Download Section
   ========================================== */

.download {
    padding: 100px 0;
    background: var(--gradient-hero);
    text-align: center;
}

.download-content {
    color: var(--white);
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    color: var(--text-color);
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.store-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.store-btn i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.store-text {
    text-align: right;
}

.store-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

.store-text strong {
    font-size: 1.3rem;
}

.app-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    color: var(--white);
    opacity: 0.8;
}

.app-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================
   Contact Section
   ========================================== */

.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-card.whatsapp:hover {
    border-color: #25d366;
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card.whatsapp i {
    color: #25d366;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: #111827;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-brand p {
    color: #9ca3af;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: #9ca3af;
}

/* ==========================================
   Mobile Menu
   ========================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    padding: 80px 30px;
    transition: var(--transition);
    z-index: 1001;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid #e5e7eb;
}

/* ==========================================
   Privacy Policy Page
   ========================================== */

.privacy-page {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.privacy-header {
    text-align: center;
    margin-bottom: 50px;
}

.privacy-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.privacy-header h1 i {
    color: var(--primary-color);
}

.last-updated {
    color: var(--text-light);
    margin-top: 10px;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
}

.policy-section h2 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-section h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 20px 0 10px;
}

.policy-section p {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.8;
}

.policy-section ul {
    padding-right: 25px;
    margin-bottom: 15px;
}

.policy-section li {
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.7;
}

.permissions-list {
    display: grid;
    gap: 15px;
}

.permission-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

.permission-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.permission-item strong {
    display: block;
    margin-bottom: 5px;
}

.permission-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.policy-section.agreement {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-color: var(--primary-color);
}

.back-to-home {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshots-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-slider {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .app-info {
        flex-direction: column;
        gap: 15px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .privacy-header h1 {
        font-size: 1.8rem;
    }

    .policy-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}