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

@font-face {
    font-family: 'IRANSansWeb';
    src: url('/asstes/fonts/IRANSansWeb(FaNum).ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #ff6b35;
    --primary-dark: #e85a2b;
    --primary-light: #ff8c5f;
    --orange-soft: #fff4f0;
    --orange-light: #ffe8e0;
    --secondary-color: #ffffff;
    --text-dark: #2d3436;
    --text-gray: #636e72;
    --text-light-gray: #b2bec3;
    --bg-light: #ffffff;
    --bg-gray: #f8f9fa;
    --bg-card: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(255, 107, 53, 0.15);
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff8c5f 100%);
    --gradient-hero: linear-gradient(135deg, #fff4f0 0%, #ffffff 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IRANSansWeb', Tahoma, 'Segoe UI', Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
span,a,button{
    font-family: 'IRANSansWeb', Tahoma, 'Segoe UI', Arial, sans-serif;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

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

.cta-button {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 157, 95, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 80px 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu .nav-links {
    flex-direction: column;
    gap: 0;
}

.mobile-menu .nav-links li {
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.mobile-menu .nav-links a {
    display: block;
    padding: 1.2rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.mobile-menu .cta-button {
    margin-top: 2rem;
    display: block;
    text-align: center;
}

/* =========================
   Admin Panel Header & Mobile Menu
   ========================= */
.admin-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    z-index: 1100;
}

.admin-header .header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.admin-header h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    white-space: nowrap;
}

.admin-desktop-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-desktop-nav a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.admin-desktop-nav a:hover,
.admin-desktop-nav a.active {
    color: #ffffff;
    background: var(--gradient-primary);
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.3);
}

.logout-btn {
    background: #ef4444;
    color: #ffffff !important;
    border-radius: 999px;
    padding-inline: 1.1rem;
}

/* دکمه همبرگری برای منوی موبایل ادمین */
.admin-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(99, 110, 114, 0.3);
    background: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}

.admin-mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-dark);
}

/* منوی کشویی کناری موبایل برای ادمین */
.admin-mobile-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(4px);
    z-index: 1099;
    display: none;
    align-items: stretch;
    justify-content: flex-end;
}

.admin-mobile-menu.active {
    display: flex;
}

.admin-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.admin-mobile-menu-header h2 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.admin-mobile-close {
    border: none;
    background: transparent;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    color: var(--text-gray);
}

.admin-mobile-menu-links {
    padding: 0.75rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-mobile-menu-links a {
    display: block;
    padding: 0.7rem 0.6rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.admin-mobile-menu-links a.active,
.admin-mobile-menu-links a:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-dark);
}

.admin-mobile-menu-links .logout-btn {
    margin-top: 0.5rem;
    text-align: center;
}

.admin-mobile-menu > * {
    background: #ffffff;
    width: min(260px, 80vw);
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.22);
}

/* در حالت باز شدن منو، اسکرول پس‌زمینه را غیرفعال می‌کنیم */
.admin-mobile-menu-open {
    overflow: hidden;
}

/* واکنش‌گرایی هدر ادمین */
@media (max-width: 768px) {
    .admin-desktop-nav {
        display: none;
    }

    .admin-mobile-toggle {
        display: flex;
    }

    .admin-header .header-content {
        padding-inline: 1rem;
    }
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 150px 2rem 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/asstes/img/img-background.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 800;
}

.hero .brand-name {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin: 0;
}

.hero p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ff6b35 100%);
    background-size: 200% 200%;
    color: #ffffff;
    padding: 1.1rem 2.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.35), 0 3px 10px rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.45), 0 5px 15px rgba(255, 107, 53, 0.3);
    background-position: 100% 0;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    padding: 1.1rem 2.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.15);
    position: relative;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.35), 0 3px 10px rgba(255, 107, 53, 0.2);
    border-color: transparent;
}

.btn-secondary:active {
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1), 
                0 0 0 1px rgba(255, 107, 53, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        #ff8c5a 50%, 
        var(--primary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.25), 
                0 0 0 1px rgba(255, 107, 53, 0.15);
    border-color: var(--primary-color);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.2));
}

.stat-card:nth-child(2) .stat-icon {
    animation-delay: 0.5s;
}

.stat-card:nth-child(3) .stat-icon {
    animation-delay: 1s;
}

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

/* Dashboard Hero (Admin) */
.dashboard-hero { 
    margin-top: 7rem;
    margin-bottom: 2.5rem;
    padding: 1.8rem 2rem;
    border-radius: 22px;
    background: radial-gradient(circle at top left, rgba(255, 196, 173, 0.35), transparent 55%),
                radial-gradient(circle at bottom right, rgba(255, 107, 53, 0.28), transparent 55%),
                #ffffff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06),
                0 0 0 1px rgba(255, 107, 53, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.4), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
}

.dashboard-hero-main,
.dashboard-hero-meta {
    position: relative;
    z-index: 1;
}

.dashboard-hero-main {
    flex: 2;
}

.dashboard-hero-meta {
    flex: 1.4;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.dashboard-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 107, 53, 0.35);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.25);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.85rem;
}

.dashboard-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.dashboard-hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    font-weight: 800;
    color: var(--text-dark);
}

.dashboard-hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.dashboard-hero-username {
    font-weight: 800;
    color: var(--primary-dark);
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: rgba(255, 107, 53, 0.09);
    margin-right: 0.15rem;
}

.dashboard-hero-restaurant {
    margin-right: 0.35rem;
    font-weight: 600;
    color: var(--text-dark);
}

.dashboard-hero-restaurant-name {
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px dashed rgba(255, 107, 53, 0.45);
    margin-right: 0.3rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.dashboard-hero-meta-item {
    min-width: 150px;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.dashboard-hero-meta-item .meta-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light-gray);
    margin-bottom: 0.3rem;
}

.dashboard-hero-meta-item .meta-value {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-dark);
}

.dashboard-hero-meta-item .meta-value-warning {
    color: #e11d48;
}

@media (max-width: 992px) {
    .dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-hero-meta {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .dashboard-hero {
        padding: 1.4rem 1.2rem;
        margin-top: 6.5rem;
    }

    .dashboard-hero-title {
        font-size: 1.4rem;
    }

    .dashboard-hero-meta-item {
        min-width: calc(50% - 0.5rem);
    }
}

.stat-content {
    position: relative;
    z-index: 2;
}

.stat-card h3 {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 900;
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.stat-number {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c5a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding: 3px;
}

.stat-suffix {
    color: var(--primary-color);
    font-size: 0.7em;
    opacity: 0.8;
}

.stat-card p {
    color: var(--text-gray);
    font-size: clamp(0.9rem, 1.6vw, 1.1rem);
    font-weight: 600;
    margin-top: 0.5rem;
    letter-spacing: 0.3px;
}

.stat-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.stat-card:hover .stat-glow {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.25; }
}

@media (max-width: 640px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        max-width: 100%;
        margin-top: 2rem;
    }

    .stat-card {
        padding: 1.5rem 0.75rem;
        border-radius: 16px;
    }

    .stat-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .stat-card h3 {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
        margin-bottom: 0.5rem;
    }

    .stat-card p {
        font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    }

    .stat-glow {
        width: 150px;
        height: 150px;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* QR Code Section in Hero */
.qr-demo {
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
    padding: 2.5rem 2rem;
    border-radius: 25px;
    display: inline-block;
    margin-top: 2rem;
    border: 2px solid rgba(255, 107, 53, 0.25);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15), 0 0 0 1px rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    min-width: 380px;
    max-width: 450px;
}

.qr-demo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    animation: qrShimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.qr-demo:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.2), 0 0 0 1px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.4);
}

.qr-demo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.qr-demo-header .qr-icon {
    font-size: 1.5rem;
    animation: qrPulse 2s ease-in-out infinite;
}

.qr-demo-header h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.qr-code-wrapper {
    position: relative;
    display: inline-block;
    margin: 0 auto 1.5rem;
}

.qr-code-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: qrGlow 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.qr-code {
    width: 200px;
    height: 200px;
    background: white;
    padding: 1.2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 107, 53, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.qr-code::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.qr-code:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.qr-code:hover::before {
    left: 100%;
}

.qr-code img {
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.3s;
}

.qr-code:hover img {
    transform: scale(1.05);
}

.qr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(255, 140, 95, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 3;
}

.qr-code:hover .qr-overlay {
    opacity: 1;
}

.qr-hover-text {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.qr-demo-footer {
    position: relative;
    z-index: 1;
}

.qr-demo-footer p {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.qr-icon-small {
    font-size: 1.1rem;
    animation: qrBounce 2s ease-in-out infinite;
}

.qr-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
    animation: qrArrowBounce 1.5s ease-in-out infinite;
    margin-top: -1rem;
    margin-bottom: 7px;
}

@keyframes qrShimmer {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg);
    }
}

@keyframes qrPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes qrGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes qrBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes qrArrowBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .qr-demo {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 100%;
        min-width: auto;
        border-radius: 20px;
    }

    .qr-demo-footer p {
        white-space: normal;
        line-height: 1.6;
    }

    .qr-demo-header h3 {
        font-size: 1rem;
    }

    .qr-code-glow {
        width: 170px;
        height: 170px;
    }

    .qr-code {
        width: 150px;
        height: 150px;
        padding: 1rem;
        border-radius: 15px;
    }

    .qr-demo-footer p {
        font-size: 0.85rem;
    }

    .qr-arrow {
        font-size: 1.2rem;
    }
}

/* SEO Description Section */
.seo-description {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #fff4f0 100%);
}

.seo-description-container {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-description-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.15);
    transition: all 0.3s;
}

.seo-description-card:hover {
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.15);
    transform: translateY(-5px);
}

.seo-description-card h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-align: center;
}

.seo-content-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.seo-qr-image-wrapper {
    flex: 0 0 160px;
    max-width: 280px;
    text-align: center;
}

.seo-qr-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.seo-description-content {
    flex: 1;
    min-width: 0;
    color: var(--text-gray);
    line-height: 2;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    text-align: justify;
}

.seo-description-content p {
    margin-bottom: 1.5rem;
}

.seo-description-content p:last-child {
    margin-bottom: 0;
}

.seo-description-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 992px) {
    .seo-qr-image-wrapper {
        flex: 0 0 240px;
        max-width: 240px;
    }
    
    .seo-content-wrapper {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .seo-description {
        padding: 60px 1rem;
    }
    
    .seo-description-card {
        padding: 2rem 1.5rem;
    }

    .seo-description-card h2 {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
    }
    
    .seo-content-wrapper {
        flex-direction: column;
        gap: 2rem;
        margin-top: 1.5rem;
    }
    
    .seo-qr-image-wrapper {
        flex: none;
        max-width: 100%;
        width: 100%;
        order: -1;
    }
}

/* Features Section */
.features {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 800;
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;

}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.15);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: grayscale(0);
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
    
}

/* Pricing Section */
.pricing {
    padding: 50px 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-light);
}

/* Pricing Toggle Switcher */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
    padding: 1rem;
}

.pricing-toggle-label {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 600;
    transition: color 0.3s;
}

.pricing-toggle-label.active {
    color: var(--primary-color);
}

.pricing-toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--bg-gray);
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s;
    border: 2px solid rgba(255, 107, 53, 0.2);
}

.pricing-toggle-switch.active {
    background: var(--gradient-primary);
}

.pricing-toggle-switch::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 50%;
    top: 3px;
    right: 3px;
    transition: transform 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.pricing-toggle-switch.active::after {
    transform: translateX(-30px);
}

.pricing-savings-badge {
    display: inline-block;
    background: #4caf50;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.pricing-original-price {
    text-decoration: line-through;
    color: var(--text-light-gray);
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 53, 0.15);
    position: relative;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    background: linear-gradient(135deg, #fff4f0 0%, #ffffff 100%);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pricing-button {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: auto;
}

.pricing-button.primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.pricing-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.pricing-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.pricing-button.secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
}

.pricing-discount {
    text-align: center;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pricing-discount-message {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff4f0 0%, #ffe8e0 100%);
    border-radius: 15px;
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.discount-message-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Order Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 25px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease-out;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    overscroll-behavior: contain;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--orange-light);
    color: var(--primary-color);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.modal-header p {
    color: var(--text-gray);
    font-size: 1rem;
}

.selected-plan {
    background: var(--orange-light);
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.selected-plan strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'IRANSansWeb', Tahoma, 'Segoe UI', Arial, sans-serif;
    transition: all 0.3s;
    background: #ffffff;
}

.form-group select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    padding-left: 3rem;
    padding-right: 1.25rem;
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'IRANSansWeb', Tahoma, 'Segoe UI', Arial, sans-serif;
    transition: all 0.3s;
    background: #ffffff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23ff6b35' d='M7 10L2 5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1.25rem center;
    background-size: 14px 14px;
    font-weight: 500;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group select:hover {
    border-color: rgba(255, 107, 53, 0.4);
    background-color: rgba(255, 107, 53, 0.02);
}

.form-group select:active {
    border-color: var(--primary-color);
}

.form-group select option {
    padding: 0.75rem 1rem;
    background: #ffffff;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group select option:hover {
    background: var(--orange-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-submit:active {
    transform: translateY(0);
}

/* Trust Section */
.trust-section {
    background: var(--orange-soft);
    padding: 100px 2rem;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.trust-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.15);
    min-width: 200px;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.trust-badge:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.trust-badge-icon {
    font-size: 3rem;
}

.trust-badge h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.trust-badge p {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-align: center;
}

/* Trust Logos / Certifications */
.trust-logos-section {
    background: #ffffff;
    padding: 60px 2rem 40px;
}

.trust-logos-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header.section-header--compact {
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.section-header.section-header--compact h2 {
    margin-bottom: 0.5rem;
}

.section-header.section-header--compact p {
    margin-bottom: 0;
}

.trust-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.75rem;
    align-items: stretch;
}

.trust-logo-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.4rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.25s ease;
}

.trust-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 107, 53, 0.35);
}

.trust-logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.trust-logo-image img {
    max-height: 64px;
    width: auto;
    object-fit: contain;
    display: block;
}

.trust-logo-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.15);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-rating {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    text-align: justify;

}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ffffff;
}

.testimonial-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.testimonial-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Demo Section */
.demo-section {
    background: var(--orange-soft);
    padding: 100px 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.demo-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.demo-cta {
    background: #ffffff;
    padding: 3rem;
    border-radius: 30px;
    border: 2px solid var(--primary-color);
    margin-top: 3rem;
    box-shadow: var(--shadow-lg);
}

.demo-cta h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 800;
}

.demo-cta p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.demo-cta .qr-demo {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.faq {
    padding: 100px 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    margin-bottom: 1rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.15);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
    font-weight: 700;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--orange-light);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: var(--text-gray);
    line-height: 1.8;
    
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background: #1e1f25;
    padding: 60px 2rem 30px;
    border-top: 1px solid rgba(255, 107, 53, 0.15);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 1.5rem;
    transition: border-color 0.3s, background 0.3s;
}

.footer-section:hover {
    border-color: rgba(255, 107, 53, 0.4);
}

.footer-toggle {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

.footer-toggle .toggle-icon {
    font-size: 1.4rem;
    transition: transform 0.3s;
}

.footer-section.active .toggle-icon {
    transform: rotate(180deg);
}

.footer-panel {
    margin-top: 1rem;
}

.footer-panel p,
.footer-panel a {
    color: var(--text-light-gray);
    text-decoration: none;
    line-height: 2;
    display: block;
    transition: color 0.3s;
}

.footer-panel a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 107, 53, 0.15);
    color: #bfc4d8;
    font-size: 0.9rem;
}

.enamad-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.enamad-badge img {
    max-width: 100px;
    height: auto;
    transition: transform 0.3s;
}

.enamad-badge img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .enamad-badge {
        gap: 1rem;
        margin-bottom: 0.75rem;
    }

    .enamad-badge img {
        max-width: 80px;
    }
}

.footer .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer .social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.3s;
}

.footer .social-link:hover {
    background: var(--primary-color);
    color: #1e1f25;
    transform: translateY(-4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-container .cta-button {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        padding: 120px 1rem 60px;
        min-height: auto;
    }

    .hero-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: nowrap;
    }

    .btn-primary,
    .btn-secondary {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
        padding: 0.95rem 1.25rem;
        font-size: 0.9rem;
    }

    .features,
    .testimonials,
    .faq,
    .trust-section {
        padding: 40px 1rem;
    }

    .trust-logos-section {
        padding: 30px 1rem 20px;
    }

    .faq-item {
        margin-bottom: 0.75rem;
        border-radius: 12px;
    }

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .faq-item.active .faq-answer {
        padding: 1rem 1.25rem;
    }

    .faq-answer {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .faq-icon {
        font-size: 0.85rem;
    }

    .trust-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-top: 2rem;
    }

    .trust-badge {
        min-width: auto;
        width: 100%;
        padding: 1.25rem 1rem;
        border-radius: 16px;
        gap: 0.75rem;
    }

    .trust-badge-icon {
        font-size: 2rem;
    }

    .trust-badge h4 {
        font-size: 1rem;
    }

    .trust-badge p {
        font-size: 0.8rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* hide security feature card on mobile only */
    .features-grid .feature-card:nth-child(6) {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.75rem 1.5rem;
        border-radius: 16px;
    }

    .testimonial-card::before {
        font-size: 3.5rem;
        top: 0.75rem;
        right: 1rem;
    }

    .testimonial-rating {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .modal-overlay {
        padding: 0.25rem;
        align-items: flex-start;
        padding-top: 0.5rem;
    }

    .modal-content {
        padding: 1rem 0.75rem;
        margin: 0;
        max-width: 100%;
        max-height: calc(100vh - 1rem);
        border-radius: 16px;
        width: calc(100% - 0.5rem);
    }

    .modal-header {
        margin-bottom: 1rem;
    }

    .modal-header h2 {
        font-size: 1.3rem;
        margin-bottom: 0.25rem;
    }

    .modal-header p {
        font-size: 0.9rem;
    }

    .modal-close {
        top: 0.5rem;
        left: 0.5rem;
        font-size: 1.5rem;
        width: 32px;
        height: 32px;
    }

    .selected-plan {
        padding: 0.75rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }

    .selected-plan strong {
        font-size: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.7rem 1rem;
        padding-left: 2.5rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    
    .form-group select {
        background-position: left 0.75rem center;
    }

    .form-submit {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
        margin-top: 0.75rem;
        border-radius: 40px;
    }

    .pricing-toggle-container {
        margin: 1.5rem 0 2rem;
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .pricing-toggle-label {
        font-size: 0.9rem;
    }

    .pricing-toggle-switch {
        width: 55px;
        height: 28px;
    }

    .pricing-toggle-switch::after {
        width: 22px;
        height: 22px;
        top: 2.5px;
        right: 2.5px;
    }

    .pricing-toggle-switch.active::after {
        transform: translateX(-27px);
    }

    .pricing-card {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }

    .pricing-header {
        margin-bottom: 1.25rem;
    }

    .pricing-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .pricing-price {
        font-size: 2.25rem;
        margin-bottom: 0.4rem;
    }

    .pricing-period {
        font-size: 0.85rem;
    }

    .pricing-features {
        margin: 1rem 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 1rem;
    }

    .pricing-features li {
        padding: 0.5rem 0;
        font-size: 0.85rem;
        gap: 0.5rem;
        border-bottom: none;
        border-right: 1px solid rgba(255, 107, 53, 0.1);
    }

    .pricing-features li:nth-child(even) {
        border-right: none;
    }

    .pricing-features li::before {
        font-size: 1rem;
    }

    .pricing-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        margin-top: 1rem;
    }

    .pricing-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        top: -12px;
    }

    .demo-section {
        padding: 50px 1rem 40px;
    }

    .demo-section .section-header {
        margin-bottom: 2rem;
    }

    .demo-section .section-header h2 {
        font-size: clamp(1.3rem, 3vw, 1.5rem);
        margin-bottom: 0.75rem;
    }

    .demo-section .section-header p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .demo-cta {
        padding: 1.5rem 1.25rem;
        border-radius: 18px;
        margin-top: 1.5rem;
    }

    .demo-cta h3 {
        font-size: 1.2rem;
        margin-bottom: 0.625rem;
    }

    .demo-cta p {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    .demo-cta .hero-buttons {
        margin-bottom: 1.5rem;
        gap: 0.75rem;
        flex-wrap: nowrap;
    }

    .demo-cta .btn-primary,
    .demo-cta .btn-secondary {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0.85rem 1.15rem;
        font-size: 0.875rem;
    }

    .demo-cta .qr-demo {
        margin-top: 1.5rem;
        padding: 1.25rem;
        border-radius: 14px;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .demo-cta .qr-code {
        width: 120px;
        height: 120px;
    }

    .demo-cta .qr-demo p {
        font-size: 0.8rem;
        margin-top: 0.625rem;
        margin-bottom: 0;
    }

    .qr-demo {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-section {
        padding: 0.75rem 1rem;
        border-radius: 12px;
    }

    .footer-panel {
        max-height: 0;
        overflow: hidden;
        margin-top: 0;
        transition: max-height 0.35s ease, padding-top 0.3s ease;
    }

    .footer-section.active .footer-panel {
        max-height: 600px;
        margin-top: 0.5rem;
        padding-top: 0.25rem;
    }

    .footer-toggle {
        font-size: 0.95rem;
        padding: 0.25rem 0;
    }

    .footer-panel p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }

    .footer-panel a {
        font-size: 0.85rem;
        line-height: 1.8;
        padding: 0.25rem 0;
    }

    .footer .social-links {
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .footer .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.4rem;
    }

    .hero .brand-name {
        font-size: 2rem;
    }

    .hero-buttons {
        gap: 0.625rem;
        flex-wrap: nowrap;
    }

    .btn-primary,
    .btn-secondary {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
    }

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

    .features-grid {
        gap: 0.5rem;
    }

    .feature-card {
        padding: 1rem 0.5rem;
        border-radius: 12px;
    }

    .feature-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .feature-card h3 {
        font-size: clamp(0.8rem, 2.5vw, 0.95rem);
        margin-bottom: 0.4rem;
    }

    .feature-card p {
        font-size: clamp(0.7rem, 2vw, 0.8rem);
        line-height: 1.5;
    }

    .faq {
        padding: 30px 0.75rem;
    }

    .faq-item {
        margin-bottom: 0.5rem;
        border-radius: 10px;
    }

    .faq-question {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .faq-item.active .faq-answer {
        padding: 0.875rem 1rem;
    }

    .faq-answer {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .faq-icon {
        font-size: 0.75rem;
    }

    .pricing-toggle-container {
        margin: 1.25rem 0 1.5rem;
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .pricing-toggle-label {
        font-size: 0.85rem;
    }

    .pricing-toggle-switch {
        width: 50px;
        height: 26px;
    }

    .pricing-toggle-switch::after {
        width: 20px;
        height: 20px;
    }

    .pricing-toggle-switch.active::after {
        transform: translateX(-24px);
    }

    .pricing-grid {
        gap: 0.875rem;
    }

    .pricing-card {
        padding: 1.25rem 1rem;
    }

    .pricing-header {
        margin-bottom: 1rem;
    }

    .pricing-title {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .pricing-price {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }

    .pricing-period {
        font-size: 0.8rem;
    }

    .pricing-features {
        margin: 0.875rem 0;
        gap: 0.4rem 0.75rem;
    }

    .pricing-features li {
        padding: 0.4rem 0;
        font-size: 0.8rem;
    }

    .pricing-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .pricing-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.85rem;
        top: -10px;
    }

    .stat-card {
        padding: 1.5rem 1rem;
        padding-bottom: 0;
    }

    .trust-badges {
        gap: 0.625rem;
        margin-top: 1.5rem;
    }

    .trust-badge {
        padding: 1rem 0.75rem;
        border-radius: 14px;
        gap: 0.625rem;
    }

    .trust-badge-icon {
        font-size: 1.75rem;
    }

    .trust-badge h4 {
        font-size: 0.9rem;
    }

    .trust-badge p {
        font-size: 0.75rem;
    }

    .testimonials-grid {
        gap: 0.875rem;
    }

    .testimonial-card {
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
    }

    .testimonial-card::before {
        font-size: 3rem;
        top: 0.5rem;
        right: 0.75rem;
    }

    .testimonial-rating {
        font-size: 0.95rem;
        margin-bottom: 0.625rem;
    }

    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .demo-section {
        padding: 40px 1rem 30px;
    }

    .demo-section .section-header {
        margin-bottom: 1.5rem;
    }

    .trust-logos-section {
        padding: 25px 1rem 15px;
    }

    .section-header.section-header--compact {
        margin-bottom: 1rem;
        margin-top: 0;
    }

    .section-header.section-header--compact h2 {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        margin-bottom: 0.4rem;
    }

    .section-header.section-header--compact p {
        font-size: 0.85rem;
        margin-bottom: 0;
        line-height: 1.5;
    }

    .trust-logos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .trust-logo-card {
        padding: 1rem 0.75rem;
        border-radius: 14px;
    }

    .trust-logo-image img {
        max-height: 52px;
    }

    .demo-section .section-header h2 {
        font-size: 1.2rem;
        margin-bottom: 0.625rem;
    }

    .demo-section .section-header p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .demo-cta {
        padding: 1.25rem 1rem;
        border-radius: 16px;
        margin-top: 1.25rem;
    }

    .demo-cta h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .demo-cta p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .demo-cta .hero-buttons {
        margin-bottom: 1.25rem;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .demo-cta .btn-primary,
    .demo-cta .btn-secondary {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0.75rem 0.875rem;
        font-size: 0.8rem;
    }

    .demo-cta .qr-demo {
        margin-top: 1.25rem;
        padding: 1rem;
        border-radius: 12px;
        width: 100%;
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
    }

    .demo-cta .qr-code {
        width: 110px;
        height: 110px;
    }

    .demo-cta .qr-demo p {
        font-size: 0.75rem;
        margin-top: 0.5rem;
        margin-bottom: 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading optimization */
img {
    content-visibility: auto;
}
.logo img{
    width: 128px;
    display: block;
}

/* Floating Consultation Button */
.floating-consultation {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    max-width: 200px;
    opacity: 1;
    visibility: visible;
}

.floating-consultation.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-consultation:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
    animation: none;
}

.floating-consultation.hidden:hover {
    transform: translateY(20px);
}

.floating-consultation-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.floating-consultation-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 53, 0.6);
    }
}

@media (max-width: 768px) {
    .floating-consultation {
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.6rem 0.85rem;
        font-size: 0.75rem;
        max-width: 160px;
    }

    .floating-consultation.hidden {
        transform: translateX(-50%) translateY(20px);
    }

    .floating-consultation:hover {
        transform: translateX(-50%) translateY(-3px);
    }

    .floating-consultation.hidden:hover {
        transform: translateX(-50%) translateY(20px);
    }

    .floating-consultation-icon {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .floating-consultation {
        bottom: 10px;
        padding: 0.5rem 0.7rem;
        font-size: 0.7rem;
        max-width: 140px;
    }
}
