@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #ff5a36;
    --primary-dark: #e84826;
    --dark: #111827;
    --dark-2: #1f2937;
    --text: #374151;
    --muted: #6b7280;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e5e7eb;
    --green: #22c55e;
    --red: #ef4444;
    --radius: 22px;
    --shadow: 0 20px 60px rgba(15, 23, 42, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.8;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--primary); color: white; }

.container { width: min(1160px, calc(100% - 40px)); margin: auto; }

/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    border-radius: 13px; padding: 12px 22px; font-weight: 700; font-size: 14px;
    transition: .25s; cursor: pointer; border: 0;
}
.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 25px rgba(255,90,54,.22); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { border: 1px solid #d9dde5; color: var(--dark); background: white; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: white; color: var(--primary); box-shadow: 0 15px 30px rgba(0,0,0,.12); }
.btn-white:hover { transform: translateY(-3px); }
.btn-small { padding: 9px 17px; font-size: 12px; }
.btn-large { padding: 15px 25px; font-size: 15px; }

/* =========================
   FORMS & INPUTS
========================= */
.group { margin-bottom: 16px; }
label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 600; color: var(--text); }
input, select, textarea {
    width: 100%; padding: 13px; border: 1px solid #e1e6ec; border-radius: 11px;
    outline: none; font-family: inherit; font-size: 14px; background: white; color: var(--dark);
    transition: .2s;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,90,54,.08);
}
textarea { min-height: 100px; resize: vertical; }
input[type="file"] { padding: 9px; background: #fff; }
input[type="checkbox"] { width: auto; }

/* =========================
   ALERTS
========================= */
.alert { padding: 12px; border-radius: 10px; margin-bottom: 18px; font-size: 13px; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fee2e2; }
.alert-success { background: #ecfdf3; color: #15803d; border: 1px solid #d1fae5; }

/* =========================
   AUTH PAGES (Login/Register)
========================= */
.auth-wrapper {
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
    background: radial-gradient(circle at top left, #263246, #111827 55%);
}
.auth-card {
    width: min(440px, 100%); background: white; border-radius: 24px; padding: 35px;
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.auth-logo {
    width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 18px;
    border-radius: 17px; background: linear-gradient(135deg, var(--primary), #ff8a6d);
    color: white; font-size: 22px; font-weight: 900;
}
.auth-title { text-align: center; margin: 0; font-size: 24px; color: var(--dark); }
.auth-subtitle { text-align: center; margin: 8px 0 25px; color: var(--muted); font-size: 13px; }
.auth-footer { text-align: center; margin-top: 22px; color: var(--muted); font-size: 12px; }
.auth-footer a { color: var(--primary); font-weight: 700; }

/* =========================
   ADMIN PANEL LAYOUT (For Tables & Lists)
========================= */
.admin-app { display: flex; min-height: 100vh; background: var(--light); }
.admin-sidebar {
    width: 250px; background: var(--dark); color: white; position: fixed; top: 0; bottom: 0; right: 0;
    padding: 22px 15px; z-index: 100;
}
.admin-main { width: calc(100% - 250px); margin-right: 250px; }
.admin-topbar {
    height: 70px; background: white; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between; padding: 0 30px;
}
.admin-content { padding: 30px; }

/* =========================
   ADMIN COMPONENTS
========================= */
.admin-card { background: white; border: 1px solid var(--border); border-radius: 18px; padding: 25px; margin-bottom: 20px; }
.admin-card-title { color: var(--dark); font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: right; font-size: 12px; color: var(--muted); padding: 12px 15px; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 15px; border-bottom: 1px solid #f0f2f5; font-size: 13px; color: var(--text); }
.admin-table tr:last-child td { border-bottom: 0; }

/* =========================
   STATUS BADGES
========================= */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 50px; font-size: 11px; font-weight: 600; }
.badge-active { background: #ecfdf3; color: #15803d; }
.badge-inactive { background: #fef2f2; color: #b91c1c; }
.badge-pending { background: #fffbeb; color: #b45309; }

/* =========================
   MENU DISPLAY (Public)
========================= */
.menu-hero {
    background: linear-gradient(135deg, #171717, #292929); color: white;
    padding: 45px 20px 35px; text-align: center; border-bottom-left-radius: 25px; border-bottom-right-radius: 25px;
}
.menu-nav {
    display: flex; gap: 8px; overflow-x: auto; white-space: nowrap; 
}
.menu-nav a {
    display: inline-block; color: #555; background: #f3f3f3; padding: 9px 16px; 
    border-radius: 50px; font-size: 13px; font-weight: 600; text-decoration: none;
}
.menu-container { width: min(850px, calc(100% - 30px)); margin: 25px auto 60px; }
.menu-category { margin-bottom: 38px; }
.menu-category-title { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.menu-category-title h2 { margin: 0; font-size: 19px; font-weight: 800; color: #171717; }
.menu-category-line { flex: 1; height: 2px; background: linear-gradient(90deg, #ff5a36, transparent); border-radius: 2px; }

.menu-product {
    display: flex; gap: 15px; background: white; border-radius: 16px; padding: 15px; margin-bottom: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,.04); transition: transform .2s;
}
.menu-product:hover { transform: translateY(-2px); }
.menu-product-img { width: 85px; height: 85px; flex: 0 0 85px; border-radius: 13px; overflow: hidden; background: #fff0eb; display: grid; place-items: center; font-size: 28px; color: var(--primary); }
.menu-product-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-product-content { flex: 1; min-width: 0; }
.menu-product-top { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.menu-product-name { color: #171717; font-size: 15px; font-weight: 700; }
.menu-product-price { color: #fff; background: var(--primary); padding: 4px 10px; border-radius: 50px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.menu-product-desc { margin: 8px 0 0; color: #858585; font-size: 12px; line-height: 1.9; }

/* =========================
   LANDING PAGE STYLES
========================= */
.header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,.92); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229,231,235,.7);
}
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 24px; direction: ltr; }
.logo-mark {
    width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #ff8b55); color: white; font-size: 14px;
    box-shadow: 0 8px 20px rgba(255,90,54,.25);
}
.logo-text { color: var(--dark); }
.desktop-menu { display: flex; align-items: center; gap: 34px; }
.desktop-menu a { font-size: 14px; color: #4b5563; transition: .2s; }
.desktop-menu a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; border: 0; background: #f3f4f6; width: 42px; height: 42px; border-radius: 12px; font-size: 21px; cursor: pointer; }
.mobile-menu { display: none; }

.hero {
    position: relative; overflow: hidden; padding: 100px 0 110px;
    background: radial-gradient(circle at 10% 20%, rgba(255,90,54,.09), transparent 30%), radial-gradient(circle at 90% 70%, rgba(255,180,100,.08), transparent 30%), #fff;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.hero-content { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; background: #fff3ef; color: var(--primary); border: 1px solid #ffe0d8; border-radius: 50px; padding: 7px 14px; font-size: 12px; font-weight: 700; margin-bottom: 22px; }
.pulse { width: 7px; height: 7px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,90,54,.12); }
.hero h1 { font-size: clamp(38px, 4.5vw, 63px); line-height: 1.35; letter-spacing: -1.8px; color: var(--dark); font-weight: 900; margin-bottom: 24px; }
.hero h1 span { color: var(--primary); display: block; }
.hero-content > p { max-width: 590px; color: var(--muted); font-size: 17px; line-height: 2; }
.hero-buttons { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 35px; margin-top: 42px; padding-top: 25px; border-top: 1px solid #edf0f3; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { color: var(--dark); font-size: 18px; }
.trust-item span { color: var(--muted); font-size: 11px; }

.hero-visual { position: relative; min-height: 570px; display: flex; align-items: center; justify-content: center; }
.glow { position: absolute; width: 430px; height: 430px; background: rgba(255,90,54,.10); border-radius: 50%; filter: blur(40px); }
.phone { position: relative; z-index: 2; width: 285px; height: 570px; border: 8px solid #111827; background: #f8fafc; border-radius: 42px; overflow: hidden; box-shadow: 0 35px 80px rgba(15,23,42,.22), inset 0 0 0 1px rgba(255,255,255,.2); transform: rotate(2deg); }
.phone-top { height: 28px; background: #111827; color: white; padding: 3px 18px; display: flex; justify-content: space-between; font-size: 8px; direction: ltr; }
.restaurant-cover { height: 150px; position: relative; background: linear-gradient(135deg, #753b22, #d46e38); }
.cover-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), transparent); }
.restaurant-info { position: absolute; bottom: 17px; right: 14px; left: 14px; color: white; display: flex; align-items: center; gap: 10px; }
.restaurant-logo { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: white; color: var(--primary); font-weight: 900; font-size: 13px; }
.restaurant-info h3 { font-size: 12px; }
.restaurant-info p { font-size: 8px; opacity: .8; }
.phone-body { padding: 13px; }
.welcome { display: flex; align-items: center; gap: 9px; background: white; padding: 10px; border-radius: 13px; box-shadow: 0 4px 15px rgba(0,0,0,.04); }
.welcome span { width: 31px; height: 31px; display: grid; place-items: center; background: #fff4ed; border-radius: 10px; font-size: 14px; }
.welcome strong { font-size: 9px; display: block; }
.welcome small { font-size: 7px; color: #9ca3af; display: block; }
.categories { display: flex; gap: 6px; overflow: hidden; margin: 13px 0; }
.categories span { white-space: nowrap; padding: 5px 10px; background: white; border-radius: 50px; font-size: 7px; color: #6b7280; }
.categories span.active { background: var(--primary); color: white; }
.menu-card { display: flex; gap: 9px; padding: 9px; background: white; border-radius: 14px; margin-bottom: 9px; box-shadow: 0 5px 18px rgba(15,23,42,.05); }
.food-image { width: 65px; height: 65px; border-radius: 11px; flex-shrink: 0; }
.food-one { background: radial-gradient(circle at 50% 50%, #f4b15e 0 24%, transparent 25%), linear-gradient(135deg, #7b3e22, #e59b45); }
.food-two { background: radial-gradient(circle at 50% 55%, #fff2d6 0 25%, transparent 26%), linear-gradient(135deg, #7e3e29, #c77649); }
.food-info { display: flex; flex-direction: column; justify-content: center; }
.food-info strong { font-size: 9px; color: var(--dark); }
.food-info small { font-size: 6px; color: #9ca3af; line-height: 1.5; }
.food-info b { color: var(--primary); font-size: 8px; margin-top: 3px; }

.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.96); border: 1px solid rgba(229,231,235,.8); padding: 11px 14px; border-radius: 15px; box-shadow: 0 15px 35px rgba(15,23,42,.12); animation: floating 4s ease-in-out infinite; }
.floating-card > span { width: 34px; height: 34px; display: grid; place-items: center; background: #ecfdf3; color: var(--green); border-radius: 10px; font-size: 12px; font-weight: 800; }
.floating-card strong { color: var(--dark); font-size: 10px; display: block; }
.floating-card small { color: #9ca3af; font-size: 8px; display: block; }
.card-one { right: 20px; top: 110px; }
.card-two { left: 10px; bottom: 115px; animation-delay: -2s; }
.card-two > span { background: #fff3ef; color: var(--primary); }
@keyframes floating { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.intro-strip { background: #111827; color: white; padding: 60px 0; }
.intro-content { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.section-label { display: inline-block; color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: 1px; margin-bottom: 10px; }
.intro-strip h2 { font-size: 34px; line-height: 1.5; }
.intro-strip h2 span { color: #ff7456; }
.intro-content p { color: #aab2bf; font-size: 15px; line-height: 2; }

.section { padding: 110px 0; }
.section-heading { max-width: 680px; margin: 0 auto 55px; text-align: center; }
.section-heading h2 { font-size: clamp(30px, 4vw, 43px); line-height: 1.5; color: var(--dark); margin-bottom: 15px; font-weight: 900; }
.section-heading h2 span { color: var(--primary); }
.section-heading p { color: var(--muted); font-size: 14px; }

.features { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: white; transition: .3s; }
.feature-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card.featured { background: linear-gradient(145deg, #fff3ef, #fff); border-color: #ffe0d8; }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; background: #fff4ef; border-radius: 15px; font-size: 22px; margin-bottom: 22px; }
.feature-card h3 { font-size: 17px; color: var(--dark); margin-bottom: 9px; }
.feature-card p { color: var(--muted); font-size: 13px; line-height: 2; }
.feature-card a { display: inline-block; color: var(--primary); font-size: 12px; font-weight: 700; margin-top: 15px; }

.how { background: #f8fafc; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: white; border-radius: 22px; padding: 30px; display: flex; gap: 18px; border: 1px solid #edf0f3; }
.step-number { color: var(--primary); font-size: 14px; font-weight: 900; min-width: 35px; }
.step h3 { color: var(--dark); font-size: 16px; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 12px; line-height: 2; }

.why { background: white; }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.why-content h2 { font-size: 42px; line-height: 1.55; color: var(--dark); margin-bottom: 20px; }
.why-content h2 span { color: var(--primary); }
.why-content > p { color: var(--muted); font-size: 14px; line-height: 2.1; }
.check-list { margin-top: 25px; }
.check-list > div { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.check-list span { width: 23px; height: 23px; display: grid; place-items: center; background: #ecfdf3; color: var(--green); border-radius: 50%; font-size: 12px; font-weight: 900; }
.check-list p { font-size: 13px; color: #4b5563; }

.dashboard { background: #f8fafc; border: 1px solid #e8ebef; border-radius: 28px; padding: 27px; box-shadow: 0 25px 70px rgba(15,23,42,.09); }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; }
.dashboard-header small { color: #9ca3af; font-size: 10px; }
.dashboard-header h3 { color: var(--dark); font-size: 20px; }
.avatar { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; background: var(--primary); color: white; font-size: 11px; font-weight: 900; }
.dashboard-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 25px 0; }
.dashboard-stats > div { background: white; padding: 15px; border-radius: 15px; }
.dashboard-stats small, .dashboard-stats strong { display: block; }
.dashboard-stats small { color: #9ca3af; font-size: 9px; }
.dashboard-stats strong { color: var(--dark); font-size: 19px; margin-top: 5px; }
.dashboard-list { display: flex; flex-direction: column; gap: 10px; }
.dashboard-list > div { background: white; border-radius: 15px; padding: 13px; display: flex; align-items: center; gap: 12px; }
.list-icon { width: 39px; height: 39px; display: grid; place-items: center; background: #fff4ef; border-radius: 11px; }
.dashboard-list strong { font-size: 11px; color: var(--dark); display: block; }
.dashboard-list small { color: #9ca3af; font-size: 8px; display: block; }
.dashboard-list b { margin-right: auto; color: var(--primary); font-size: 10px; }

/* PORTFOLIO */
.portfolio { background: #fff; }
.portfolio-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; background: #f8fafc; border: 1px solid #e8ebef; border-radius: 30px; padding: 45px; overflow: hidden; }
.portfolio-content { position: relative; z-index: 2; }
.portfolio-badge { display: inline-block; padding: 7px 13px; border-radius: 50px; background: #fff0eb; color: var(--primary); font-size: 10px; font-weight: 800; margin-bottom: 15px; }
.portfolio-content h3 { color: var(--dark); font-size: 32px; margin-bottom: 12px; }
.portfolio-content > p { color: var(--muted); font-size: 14px; line-height: 2; margin-bottom: 20px; }
.portfolio-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.portfolio-features span { background: white; border: 1px solid #e7eaf0; border-radius: 50px; padding: 7px 11px; color: #4b5563; font-size: 10px; }
.portfolio-preview { min-width: 0; }
.browser { background: #111827; border-radius: 18px; padding: 8px; box-shadow: 0 25px 60px rgba(15,23,42,.18); transform: rotate(-1deg); }
.browser-bar { height: 27px; display: flex; align-items: center; gap: 5px; padding: 0 8px; }
.browser-bar span { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; }
.browser-bar span:nth-child(2) { background: #f59e0b; }
.browser-bar span:nth-child(3) { background: #22c55e; }
.browser-screen { height: 390px; background: white; border-radius: 11px; overflow: hidden; }
.browser-screen iframe { width: 100%; height: 100%; border: 0; }

.cta { padding-top: 40px; }
.cta-box { position: relative; overflow: hidden; min-height: 350px; border-radius: 32px; background: linear-gradient(135deg, #ff5a36, #f03e1c); padding: 70px; display: flex; align-items: center; color: white; }
.cta-content { position: relative; z-index: 2; max-width: 650px; }
.cta .section-label { color: #ffd4c8; }
.cta h2 { font-size: clamp(31px, 4vw, 48px); line-height: 1.5; margin-bottom: 12px; }
.cta h2 span { display: block; color: white; }
.cta p { color: #ffe8e1; font-size: 14px; margin-bottom: 25px; }
.cta-shape { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); }
.shape-one { width: 400px; height: 400px; left: -100px; bottom: -230px; }
.shape-two { width: 500px; height: 500px; right: -180px; top: -300px; }

.faq { background: #f8fafc; }
.faq-list { max-width: 800px; margin: auto; }
.faq-list details { background: white; border: 1px solid #e8ebef; border-radius: 17px; margin-bottom: 12px; overflow: hidden; }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 24px; font-size: 14px; font-weight: 700; color: var(--dark); display: flex; justify-content: space-between; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--primary); font-size: 20px; transition: .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 22px; color: var(--muted); font-size: 13px; line-height: 2; }

.footer { background: #111827; color: white; padding: 70px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.footer-logo .logo-text { color: white; }
.footer p { color: #9ca3af; font-size: 12px; margin-top: 17px; max-width: 330px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; }
.footer-links h4 { font-size: 13px; margin-bottom: 15px; }
.footer-links a { display: block; color: #9ca3af; font-size: 11px; margin-bottom: 9px; transition: .2s; }
.footer-links a:hover { color: white; }
.copyright { border-top: 1px solid rgba(255,255,255,.08); margin-top: 55px; padding-top: 20px; display: flex; justify-content: space-between; color: #6b7280; font-size: 10px; }

/* =========================
   SCROLL REVEAL
========================= */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================
   SHOWCASE
========================= */
.showcase { background: #111827; color: white; }
.showcase-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; align-items: center; }
.showcase-content h2 { font-size: 38px; line-height: 1.5; }
.showcase-content h2 span { color: var(--primary); }
.showcase-content p { color: #aeb7c5; font-size: 15px; line-height: 2.1; margin: 15px 0 22px; }
.showcase-list { display: grid; gap: 10px; margin-bottom: 25px; }
.showcase-list div { display: flex; align-items: center; gap: 9px; color: #dbe1e8; font-size: 14px; }
.showcase-list span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,90,54,.14); color: var(--primary); }
.showcase-frame { position: relative; border-radius: 25px; padding: 9px; background: #202a3a; box-shadow: 0 35px 80px rgba(0,0,0,.35); }
.browser-top { height: 35px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #293446; border-radius: 17px 17px 0 0; }
.browser-top span { width: 7px; height: 7px; border-radius: 50%; background: #647083; }
.browser-screen { position: relative; height: 420px; overflow: hidden; border-radius: 0 0 18px 18px; background: #f7f7f7; }
.browser-screen img { width: 100%; height: 100%; object-fit: cover; }
.browser-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.72)); }
.browser-info { position: absolute; bottom: 25px; right: 25px; left: 25px; z-index: 2; }
.browser-info small { font-size: 12px; color: #ffb29f; }
.browser-info strong { display: block; font-size: 25px; margin-top: 2px; }

/* =========================
   SYSTEM FLOW
========================= */
.system-flow { background: linear-gradient(180deg, #f1f3f6, #f8f9fb); }
.flow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.flow-item { background: white; border: 1px solid var(--border); border-radius: 18px; padding: 22px 12px; text-align: center; position: relative; transition: .25s; }
.flow-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.flow-item:not(:last-child)::after { content: '←'; position: absolute; left: -14px; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 17px; font-weight: 900; }
.flow-icon { width: 50px; height: 50px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 15px; background: #fff0eb; font-size: 21px; }
.flow-item strong { display: block; color: var(--dark); font-size: 14px; }
.flow-item small { color: var(--muted); font-size: 11px; }

/* =========================
   DASHBOARD & BUSINESS ACTIONS
========================= */
.business-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 10px;
    background: #f8fafc;
    border: 1px solid #edf0f3;
    border-radius: 13px;
    text-decoration: none;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    transition: .2s;
}

.action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,90,54,.08);
}

.action-icon {
    font-size: 24px;
    line-height: 1;
}

/* آیکون محصول در جدول محصولات */
.product-thumb {
    width: 50px; 
    height: 50px; 
    border-radius: 10px; 
    object-fit: cover;
}
.product-thumb-placeholder {
    width: 50px; 
    height: 50px; 
    background: #fff0eb; 
    border-radius: 10px; 
    display: grid; 
    place-items: center; 
    font-size: 24px;
}

/* ========================= DASHBOARD SPECIFIC STYLES (Graphic UI) ========================= */
.dash-app { display: flex; min-height: 100vh; }
.dash-sidebar { width: 255px; background: #111827; color: white; position: fixed; right: 0; top: 0; bottom: 0; padding: 22px 15px; z-index: 100; }
.dash-brand { display: flex; align-items: center; gap: 10px; padding: 0 10px 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.dash-brand-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, #ff5a36, #ff825e); font-weight: 900; font-size: 13px; }
.dash-brand strong { font-size: 19px; }
.dash-brand small { display: block; color: #7f8998; font-size: 9px; margin-top: -2px; }
.dash-nav { margin-top: 25px; }
.dash-nav-title { color: #657083; font-size: 9px; padding: 0 12px; margin-bottom: 9px; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 11px; color: #aeb7c5; font-size: 12px; margin-bottom: 4px; transition: .2s; }
.dash-nav a:hover, .dash-nav a.active { color: white; background: rgba(255,90,54,.14); }
.dash-nav a.active { border-right: 3px solid #ff5a36; }
.dash-nav-icon { width: 25px; text-align: center; font-size: 16px; }
.dash-main { width: calc(100% - 255px); margin-right: 255px; }
.dash-topbar { height: 76px; background: white; border-bottom: 1px solid #e7ebf0; display: flex; align-items: center; justify-content: space-between; padding: 0 35px; }
.dash-page-title h1 { color: #111827; font-size: 20px; }
.dash-page-title p { color: #8b95a5; font-size: 10px; margin-top: 2px; }
.dash-top-actions { display: flex; align-items: center; gap: 18px; }
.dash-notification { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #e7ebf0; border-radius: 11px; background: white; font-size: 16px; cursor: pointer; }
.dash-user { display: flex; align-items: center; gap: 9px; }
.dash-avatar { width: 38px; height: 38px; display: grid; place-items: center; background: #fff0eb; color: #ff5a36; border-radius: 11px; font-size: 10px; font-weight: 900; }
.dash-user strong { display: block; color: #111827; font-size: 11px; }
.dash-user small { color: #8b95a5; font-size: 8px; }
.dash-logout { color: #ef4444; font-size: 10px; margin-right: 10px; }
.dash-content { padding: 32px 35px; }
.dash-welcome { background: linear-gradient(120deg, #111827, #202b3c); color: white; border-radius: 20px; padding: 27px 30px; display: flex; justify-content: space-between; align-items: center; overflow: hidden; position: relative; }
.dash-welcome-content { position: relative; z-index: 2; }
.dash-welcome small { color: #9ca3af; font-size: 10px; }
.dash-welcome h2 { font-size: 24px; margin: 5px 0 7px; }
.dash-welcome p { color: #aeb7c5; font-size: 11px; }
.dash-welcome-button { position: relative; z-index: 2; background: #ff5a36; color: white; border-radius: 11px; padding: 11px 18px; font-size: 11px; font-weight: 700; transition: .2s; }
.dash-welcome-button:hover { background: #e84b29; transform: translateY(-2px); }
.dash-welcome-decoration { position: absolute; width: 260px; height: 260px; left: -80px; top: -110px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin: 20px 0; }
.dash-stat { background: white; border: 1px solid #e7ebf0; border-radius: 17px; padding: 20px; }
.dash-stat-top { display: flex; justify-content: space-between; align-items: center; }
.dash-stat-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; background: #fff0eb; font-size: 15px; }
.dash-stat small { color: #8b95a5; font-size: 9px; }
.dash-stat strong { display: block; color: #111827; font-size: 23px; margin-top: 10px; }
.dash-stat-description { color: #8b95a5; font-size: 8px; margin-top: 4px; }
.dash-section-header { display: flex; align-items: center; justify-content: space-between; margin: 30px 0 15px; }
.dash-section-header h2 { color: #111827; font-size: 16px; }
.dash-section-header a { color: #ff5a36; font-size: 10px; font-weight: 700; }
.dash-businesses { background: white; border: 1px solid #e7ebf0; border-radius: 18px; overflow: hidden; }
.dash-business { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 110px; align-items: center; padding: 17px 20px; border-bottom: 1px solid #f0f2f5; }
.dash-business:last-child { border-bottom: none; }
.dash-business-head { background: #fafbfc; color: #8b95a5; font-size: 9px; }
.dash-business-info { display: flex; align-items: center; gap: 11px; }
.dash-business-logo { width: 40px; height: 40px; display: grid; place-items: center; background: #fff0eb; color: #ff5a36; border-radius: 11px; font-size: 12px; font-weight: 900; }
.dash-business-info strong { display: block; color: #111827; font-size: 11px; }
.dash-business-info small { display: block; color: #8b95a5; font-size: 8px; margin-top: 2px; }
.dash-business-type, .dash-business-number { font-size: 10px; color: #5d6675; }
.dash-status { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 5px 9px; border-radius: 50px; font-size: 8px; }
.dash-status.active { color: #15803d; background: #ecfdf3; }
.dash-status.pending { color: #b45309; background: #fffbeb; }
.dash-status.inactive { color: #b91c1c; background: #fef2f2; }
.dash-status-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.dash-business-action { color: #ff5a36; font-size: 10px; font-weight: 700; }
.dash-business-action:hover { color: #e84b29; }
.dash-empty { padding: 45px 20px; text-align: center; color: #8b95a5; font-size: 11px; }
.dash-empty-icon { font-size: 35px; margin-bottom: 10px; }
.dash-empty a { display: inline-block; margin-top: 15px; background: #ff5a36; color: white; padding: 10px 16px; border-radius: 10px; font-size: 10px; }
.dash-quick-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.dash-quick { background: white; border: 1px solid #e7ebf0; border-radius: 15px; padding: 17px; transition: .2s; }
.dash-quick:hover { border-color: #ff5a36; transform: translateY(-3px); }
.dash-quick-icon { font-size: 20px; margin-bottom: 8px; }
.dash-quick strong { display: block; color: #111827; font-size: 11px; }
.dash-quick small { color: #8b95a5; font-size: 8px; }

/* Responsive for Dashboard */
@media(max-width: 1000px) {
    .dash-sidebar { width: 75px; padding: 18px 10px; }
    .dash-brand { justify-content: center; padding: 0 0 20px; }
    .dash-brand > div:last-child, .dash-nav-title, .dash-nav a span:not(.dash-nav-icon) { display: none; }
    .dash-nav a { justify-content: center; }
    .dash-nav a.active { border-right: none; border-bottom: 3px solid #ff5a36; }
    .dash-main { width: calc(100% - 75px); margin-right: 75px; }
    .dash-stats { grid-template-columns: repeat(2,1fr); }
    .dash-quick-actions { grid-template-columns: repeat(2,1fr); }
}
@media(max-width: 700px) {
    .dash-topbar { padding: 0 17px; }
    .dash-content { padding: 20px 15px; }
    .dash-welcome { align-items: flex-start; flex-direction: column; gap: 20px; }
    .dash-businesses { overflow-x: auto; }
    .dash-business { min-width: 700px; }
    .dash-stats { gap: 10px; }
    .dash-quick-actions { grid-template-columns: 1fr 1fr; }
    .dash-user > div:last-of-type { display: none; }
    .dash-logout { margin-right: 0; }
}
@media(max-width: 450px) {
    .dash-stats { grid-template-columns: 1fr 1fr; }
    .dash-quick-actions { grid-template-columns: 1fr; }
    .dash-welcome h2 { font-size: 20px; }
}

/* =========================
   GENERAL RESPONSIVE
========================= */
@media (max-width: 950px) {
    .desktop-menu { display: none; }
    .menu-toggle { display: block; }
    .mobile-menu { position: absolute; top: 78px; right: 20px; left: 20px; background: white; border: 1px solid var(--border); border-radius: 18px; padding: 15px; box-shadow: 0 20px 50px rgba(0,0,0,.1); }
    .mobile-menu.show { display: block; }
    .mobile-menu a { display: block; padding: 11px 12px; font-size: 13px; }
    .mobile-menu .btn { color: white; text-align: center; margin-top: 7px; }
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-content { text-align: center; }
    .hero-content > p { margin: auto; }
    .hero-buttons { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { min-height: 590px; }
    .intro-content { grid-template-columns: 1fr; gap: 20px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; gap: 50px; }
    .why-content { text-align: center; }
    .check-list { display: inline-block; text-align: right; }
    .portfolio-card { grid-template-columns: 1fr; padding: 25px; gap: 35px; }
    .portfolio-content { text-align: center; }
    .portfolio-features { justify-content: center; }
    .portfolio-content .btn { width: 100%; }
    .browser-screen { height: 450px; }
    .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
    .flow-grid { grid-template-columns: repeat(3, 1fr); }
    .flow-item:nth-child(3)::after { display: none; }
}
@media (max-width: 768px) {
    .admin-sidebar { display: none; }
    .admin-main { width: 100%; margin-right: 0; }
    .business-actions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .container { width: min(100% - 28px, 1160px); }
    .nav { height: 68px; }
    .header .btn-small { display: none; }
    .hero { padding: 65px 0 70px; }
    .hero h1 { font-size: 36px; letter-spacing: -1px; }
    .hero-content > p { font-size: 14px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .hero-trust { gap: 22px; }
    .hero-visual { min-height: 540px; }
    .phone { width: 260px; height: 525px; }
    .card-one { right: 0; top: 80px; }
    .card-two { left: 0; bottom: 70px; }
    .floating-card { transform: scale(.85); }
    .features-grid { grid-template-columns: 1fr; }
    .section { padding: 75px 0; }
    .section-heading { margin-bottom: 35px; }
    .section-heading h2 { font-size: 30px; }
    .intro-strip { padding: 45px 0; }
    .intro-strip h2 { font-size: 28px; }
    .why-content h2 { font-size: 31px; }
    .dashboard { padding: 18px; }
    .dashboard-stats { gap: 7px; }
    .dashboard-stats > div { padding: 10px; }
    .dashboard-stats strong { font-size: 15px; }
    .cta-box { padding: 45px 25px; min-height: 330px; border-radius: 25px; }
    .cta h2 { font-size: 31px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .copyright { flex-direction: column; gap: 7px; }
    .footer-links { gap: 20px; }
    .showcase-content h2 { font-size: 28px; }
    .browser-screen { height: 300px; }
    .flow-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-item::after { display: none !important; }
    .business-actions { grid-template-columns: 1fr; }
}