/* CSS Reset & Variables */
:root {
    --bg-color: #050505;
    --surface-color: #111111;
    --surface-light: #1A1A1A;
    --primary: #4F46E5; /* Indigo */
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary: #06B6D4; /* Cyan */
    --secondary-glow: rgba(6, 182, 212, 0.4);
    --text-main: #FFFFFF;
    --text-muted: #A1A1AA;
    --border-color: #27272A;
    --success: #10B981;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.nav-container {
    max-width: 1200px;
    width: 90%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-logo-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    color: white;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-cta {
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-cta.btn-user {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10B981;
}

.nav-cta.btn-user:hover {
    background: #10B981;
    color: #111111;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.nav-cta.btn-admin {
    background: rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.4);
    color: #818CF8;
}

.nav-cta.btn-admin:hover {
    background: #4F46E5;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

/* Ambient Background Glows */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
    animation: float 20s infinite alternate ease-in-out;
}

.glow-1 {
    top: -200px;
    right: -100px;
    background: var(--primary-glow);
}

.glow-2 {
    bottom: -200px;
    left: -100px;
    background: var(--secondary-glow);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 5rem;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Download Actions */
.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 3.5rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 36px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 280px;
    justify-content: flex-start;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.download-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.btn-android:hover {
    border-color: rgba(16, 185, 129, 0.6);
    background: rgba(16, 185, 129, 0.15);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.2);
}

.btn-windows:hover {
    border-color: rgba(6, 182, 212, 0.6);
    background: rgba(6, 182, 212, 0.15);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.2);
}

.download-btn i {
    width: 38px;
    height: 38px;
}

.btn-android i {
    color: #10B981;
}

.btn-windows i {
    color: #06B6D4;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-text span {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.btn-text strong {
    font-size: 1.25rem;
    font-weight: 800;
}

/* Quick Access / Menu Cards */
.access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-bottom: 6rem;
    z-index: 10;
}

.access-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    backdrop-filter: blur(20px);
}

.access-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.access-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.access-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(6, 182, 212, 0.2));
    color: var(--secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.access-card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
    color: var(--success);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.arrow-icon {
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.3s, color 0.3s;
    align-self: flex-end;
}

.access-card:hover .arrow-icon {
    transform: translateX(-10px);
    color: var(--text-main);
}

/* Section Titles */
.section-header {
    text-align: center;
    margin: 8rem 0 5rem 0;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Feature Rows */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 8rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-label {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.feature-text h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #E4E4E7;
}

.feature-list li i {
    color: var(--success);
    margin-top: 4px;
}

.feature-visual {
    flex: 1.2;
    position: relative;
}

/* Abstract Mockups for Visuals */
.mockup-container {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, var(--surface-color), var(--surface-light));
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3F3F46;
}
.mockup-dot:nth-child(1) { background: #EF4444; }
.mockup-dot:nth-child(2) { background: #F59E0B; }
.mockup-dot:nth-child(3) { background: #10B981; }

.mockup-body {
    flex: 1;
    display: flex;
    gap: 1rem;
}

.mockup-sidebar {
    width: 25%;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-line {
    height: 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    width: 100%;
}
.mockup-line.short { width: 60%; }

.mockup-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-chart {
    flex: 1;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.chart-bar {
    position: absolute;
    bottom: 0;
    width: 15%;
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}

/* Specific Device Adjustments */
.mockup-phone {
    aspect-ratio: 9/19;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    border-radius: 36px;
    border: 8px solid #27272A;
    padding: 0;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 24px;
    background: #27272A;
    border-radius: 0 0 12px 12px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    text-align: center;
    color: var(--text-muted);
    margin-top: 5rem;
}

@media (max-width: 992px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    .feature-list li {
        justify-content: center;
    }
    .mockup-phone {
        width: 80%;
        max-width: 250px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-logo {
        font-size: 1.1rem;
    }
    
    .nav-logo img {
        width: 32px !important;
        height: 32px !important;
    }

    .nav-cta {
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 12px;
    }
    
    .nav-actions {
        gap: 5px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .download-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .download-btn {
        width: 100%;
        min-width: unset;
        justify-content: center;
        padding: 12px 20px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .feature-row {
        gap: 2rem;
    }

    .mockup-container {
        padding: 10px;
        border-radius: 12px;
    }
    
    .mockup-body {
        flex-direction: column;
    }

    .mockup-sidebar {
        width: 100%;
        flex-direction: row;
        height: auto;
    }

    .mockup-line, .mockup-line.short {
        width: 20%;
        height: 8px;
        margin-top: 0 !important;
    }

    .mockup-chart {
        min-height: 150px;
    }
}

/* New Integrated Sections */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

.advantage-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.advantage-card.card-primary:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 70, 229, 0.4);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(79, 70, 229, 0.06) 100%);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

.advantage-card.card-success:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(16, 185, 129, 0.06) 100%);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.advantage-card.card-secondary:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.4);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(6, 182, 212, 0.06) 100%);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.advantage-card.card-error:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 68, 68, 0.4);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(239, 68, 68, 0.06) 100%);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.15);
}

.advantage-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.advantage-icon-wrapper.primary {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.advantage-icon-wrapper.secondary {
    background: rgba(6, 182, 212, 0.1);
    color: var(--secondary);
}

.advantage-icon-wrapper.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.advantage-icon-wrapper.error {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.advantage-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.advantage-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Detail Features Grid */
.detail-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.detail-feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(5px);
}

.detail-feature-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.detail-feature-card i {
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-feature-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.detail-feature-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Restaurant Features Specifics */
.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.restaurant-feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.restaurant-feature-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(16, 185, 129, 0.04) 100%);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.1);
}

.restaurant-icon {
    background: rgba(6, 182, 212, 0.1);
    color: var(--secondary);
    padding: 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.restaurant-feature-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Hero Images Layout */
.hero-images-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1300px;
    padding: 0 1rem;
}

.logo-box, .main-image-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(79, 70, 229, 0.45));
    animation: float-logo 6s ease-in-out infinite;
}

.hero-main-img {
    width: 580px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 45px rgba(6, 182, 212, 0.45));
    animation: float-main 8s ease-in-out infinite;
}

@keyframes float-logo {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes float-main {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-14px) scale(1.015); }
}

@media (max-width: 768px) {
    .hero-images-container {
        gap: 2rem;
        flex-direction: column;
    }
    
    .hero-logo-img {
        width: 100px;
        height: 100px;
    }
    
    .hero-main-img {
        width: 320px;
    }
}

