/* Base Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    direction: rtl;
    font-family: 'Vazirmatn', 'IRANSansWeb(FaNum)', Tahoma, 'B Nazanin', 'Iranian Sans', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.8;
    text-align: right;
}

button, input, select, textarea, a {
    font-family: 'Vazirmatn', 'IRANSansWeb(FaNum)', Tahoma, 'B Nazanin', 'Iranian Sans', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
}

/* Purple Theme Variables (from Site.html) */
:root {
    --purple-main: #7C3AED;
    --purple-light: #A855F7;
    --purple-dark: #5B21B6;
    --purple-soft: #EDE9FE;
    --dark-gray: #1e293b;
    --safe-yellow: #FFC300;
    --water-blue: #4FA2CF;
    --hero-height: 600px;
    --header-height: 72px;
    --earth-brown: #A0522D;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--purple-main);
    border-bottom: 3px solid #e2e8f0;
    padding-bottom: 10px;
    display: inline-block;
}

/* Header — gray navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: var(--header-height);
    z-index: 1000;
    color: #fff;
    background: linear-gradient(135deg, #0b1f3a 0%, #122b4d 100%);
    border-bottom: 1px solid rgba(94, 234, 212, 0.22);
    box-shadow: 0 14px 34px -26px rgba(11, 31, 58, 0.85);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: #e2e8f0;
    box-shadow: 0 10px 30px -18px rgba(11, 31, 58, 0.28);
}

header .container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 24px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: var(--header-height);
    padding: 10px 0;
    margin: 0;
}

.logo {
    font-size: 1.35em;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    white-space: nowrap;
}

.logo-icon {
    width: 26px;
    height: 26px;
    color: #5eead4;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    flex-shrink: 0;
}

/* brand logo image */
.logo img.logo-icon {
    width: auto;
    height: 30px;
    max-width: 132px;
    object-fit: contain;
    object-position: right center;
    border-radius: 6px;
}

/* Two logo variants: light one on the dark navbar, navy-on-white one
   whenever the navbar is in its scrolled / light state (all inner pages). */
.logo img.logo-dark {
    display: none;
}

header.scrolled .logo img.logo-light {
    display: none;
}

header.scrolled .logo img.logo-dark {
    display: inline-block;
}

@media (max-width: 991px) {
    .logo img.logo-icon {
        height: 24px;
        max-width: 106px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
}

header .nav-links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    margin: 0;
    padding: 8px 14px;
    border: none;
    border-radius: 10px;
    background: transparent;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

header .nav-links a:hover {
    color: #5eead4;
    background: rgba(94, 234, 212, 0.12);
}

header.scrolled .logo {
    color: #0b1f3a;
}

header.scrolled .logo-icon {
    color: #0ea5a0;
}

header.scrolled .nav-links a {
    color: #334155;
}

header.scrolled .nav-links a:hover {
    color: #0f766e;
    background: #ecfdf5;
}

header .nav-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    fill: none;
    color: #5eead4;
}

header.scrolled .nav-icon {
    color: #0ea5a0;
}

/* Dropdown trigger ("نرم‌افزارها") inside the nav */
header .nav-dropdown-trigger {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

header .nav-dropdown-trigger:hover {
    color: #5eead4;
    background: rgba(94, 234, 212, 0.12);
}

header.scrolled .nav-dropdown-trigger {
    color: #334155;
}

header.scrolled .nav-dropdown-trigger:hover {
    color: #0f766e;
    background: #ecfdf5;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Company name sits at the start of the left-hand cluster */
.header-actions .logo {
    margin-inline-end: 6px;
}

/* Basket / user / login pills in the navbar */
.header-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    border: 1px solid rgba(94, 234, 212, 0.38);
    background: rgba(94, 234, 212, 0.1);
    color: #eafffb;
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.header-action:hover {
    background: rgba(94, 234, 212, 0.22);
    border-color: rgba(94, 234, 212, 0.65);
    color: #ffffff;
}

.header-action .fa-shopping-cart,
.header-action .fa-user-circle,
.header-action .fa-sign-in-alt {
    color: #5eead4;
}

.header-action-basket {
    position: relative;
}

header.scrolled .header-action {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #0b1f3a;
}

header.scrolled .header-action:hover {
    background: #ecfdf5;
    border-color: #99f6e4;
    color: #0f766e;
}

header.scrolled .header-action .fa-shopping-cart,
header.scrolled .header-action .fa-user-circle,
header.scrolled .header-action .fa-sign-in-alt {
    color: #0ea5a0;
}

/* Mobile hamburger button (hidden on desktop) */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: rgba(94, 234, 212, 0.12);
    border: 1px solid rgba(94, 234, 212, 0.38);
    border-radius: 12px;
    color: #eafffb;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.25s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(94, 234, 212, 0.22);
}

header.scrolled .mobile-menu-toggle {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #0b1f3a;
}

.header-tagline {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88em;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 12px;
    border-right: 1px solid rgba(94, 234, 212, 0.3);
    margin-right: 4px;
    opacity: 0.95;
}

/* Hero Section - background-image, fixed height, grid layout */
#hero {
    background-color: transparent;
    background-image: url('../Images/back.svg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #1a0a2e;
    padding: 40px 0;
    text-align: center;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: var(--hero-height);
    min-height: 120px;
}

#hero * { }

#hero .cta-button {
    background-color: #fff !important;
    color: var(--purple-main) !important;
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3) !important;
}

@media (max-width: 767px) {
    :root {
        --hero-height: 420px;
        --header-height: 64px;
    }
    header .container {
        padding: 0 16px;
    }
    nav {
        padding: 8px 0;
        gap: 12px;
    }
    .logo {
        font-size: 1.05em;
    }
    header .nav-links a {
        padding: 6px 10px;
    }
    .header-tagline {
        display: none;
    }
    #hero {
        padding: 30px 0;
    }
    #hero > div {
        grid-template-columns: 1fr !important;
    }
    #hero > div > div:empty {
        display: none;
    }
    #hero h1 {
        font-size: 1.9em;
        line-height: 1.4;
    }
    #hero p {
        font-size: 1.1em;
    }
    main {
        padding-top: var(--header-height);
    }
}

/* Top menu collapses into a hamburger panel (tablet + mobile) */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: inline-flex;
    }

    .logo {
        flex: 1;
        min-width: 0;
    }

    .logo .logo-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    .header-actions {
        gap: 6px;
        flex: 1;
        min-width: 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px 12px 14px;
        background: rgba(11, 31, 58, 0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid rgba(94, 234, 212, 0.22);
        box-shadow: 0 18px 40px rgba(11, 31, 58, 0.45);
        z-index: 1500;
    }

    .nav-links.is-open {
        display: flex;
    }

    header .nav-links a {
        justify-content: flex-start;
        padding: 12px 14px;
        font-size: 0.98em;
        border-radius: 10px;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-trigger {
        width: 100%;
        padding: 12px 14px !important;
        border-radius: 10px;
        justify-content: space-between !important;
    }

    .nav-dropdown-trigger:hover {
        background: rgba(255, 255, 255, 0.22);
    }

    .nav-dropdown [x-show] {
        min-width: min(280px, calc(100vw - 24px)) !important;
    }
}

/* Decorative element in Hero */
#hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

#hero h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    position: relative;
}

#hero p {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #c4b5fd;
}

.cta-button {
    display: inline-block;
    background-color: var(--purple-main);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s;
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.3);
}

.cta-button:hover {
    background-color: var(--purple-light);
    transform: translateY(-3px);
}

#hero .cta-button {
    background-color: #fff;
    color: var(--purple-main);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3);
}

#hero .cta-button:hover {
    background-color: #ede9fe;
}

/* General Section Styling */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: #fff;
}

section:nth-child(odd) {
    background-color: #faf5ff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

.product-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px -5px rgba(30, 41, 59, 0.08);
    border-right: 5px solid var(--purple-main);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px -8px rgba(30, 41, 59, 0.15);
}

.product-card h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #1e293b;
}

.product-icon-container {
    margin-bottom: 20px;
}

.product-icon {
    width: 48px;
    height: 48px;
    color: var(--purple-main);
    fill: currentColor;
}

/* Know More Link */
.know-more-link {
    display: inline-flex;
    align-items: center;
    color: var(--purple-main);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: color 0.2s ease;
}

.know-more-link:hover {
    color: var(--purple-light);
    text-decoration: underline;
}

.know-more-link svg {
    margin-right: 5px;
    transform: scaleX(-1);
}

/* Hero SVG */
.hero-software-vector {
    width: 80%;
    max-width: 600px;
    height: auto;
    margin-bottom: 40px;
}

/* About Section */
#about-us .content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

#about-us .text-content {
    flex: 2;
}

#about-us .image-placeholder {
    flex: 1;
    background-color: #e2e8f0;
    min-height: 250px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 600;
    padding: 20px;
}

.about-icon {
    width: 60px;
    height: 60px;
    color: #1e293b;
    fill: currentColor;
    margin-bottom: 15px;
}

/* Clients Section */
#clients {
    background-color: #fff;
    text-align: center;
}

.clients-section {
    background: #faf5ff;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--purple-soft);
    color: var(--purple-main);
    font-size: 0.85em;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    padding: 10px 0;
    max-width: 1050px;
    margin: 0 auto;
}

.client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 140px;
    padding: 24px 20px;
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(30, 41, 59, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.client-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(124, 58, 237, 0.16);
    border-color: var(--purple-light);
}

.client-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--purple-soft);
    color: var(--purple-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.client-card:hover .client-icon {
    background: var(--purple-main);
    color: #fff;
    transform: scale(1.06);
}

.client-name {
    font-size: 1em;
    font-weight: 600;
    color: var(--dark-gray);
    line-height: 1.4;
}

/* Pricing Section */
#pricing {
    background-color: #faf5ff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.pricing-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px -5px rgba(30, 41, 59, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border 0.3s ease;
    border: 3px solid transparent;
}

.pricing-card.featured {
    border-color: var(--purple-main);
    transform: scale(1.02);
    box-shadow: 0 15px 40px -8px rgba(124, 58, 237, 0.15);
}

.pricing-card h3 {
    font-size: 1.8em;
    color: var(--purple-main);
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.price-display {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--dark-gray);
    margin: 20px 0;
    line-height: 1.2;
}

.price-currency {
    font-size: 0.5em;
    font-weight: 500;
    color: #475569;
    display: block;
}

.price-description {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.features-list {
    list-style: none;
    text-align: right;
    margin-bottom: 30px;
    flex-grow: 1;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95em;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
    margin-left: 0;
    margin-right: 5px;
    transform: scaleX(1);
}

.pricing-cta {
    margin-top: auto;
    width: 100%;
    display: block;
    background-color: var(--purple-main);
    color: #fff;
    padding: 14px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s;
}

.pricing-cta:hover {
    background-color: var(--purple-light);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.5);
}

.pricing-card.featured .pricing-cta {
    background-color: var(--dark-gray);
    color: #fff;
}

.pricing-card.featured .pricing-cta:hover {
    background-color: #374151;
}

/* Artahesab Detail Section */
#artahesab-detail {
    padding-top: 50px;
    padding-bottom: 30px;
}

.artahesab-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.artahesab-text {
    flex: 1;
    padding: 10px 20px;
    order: 2;
    text-align: right;
}

.artahesab-image {
    flex: 1;
    max-width: 420px;
    order: 1;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artahesab-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(30, 41, 59, 0.06);
}

.artahesab-feature-list {
    list-style: none;
    margin-top: 10px;
}

.artahesab-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #f1f5f9;
    font-size: 1.05em;
}

.artahesab-feature-list .check-icon {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
}

/* Didban / Peymab Detail Sections */
#didban-detail, #peymab-detail {
    padding-top: 50px;
}

.didban-content, .peymab-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.didban-text, .peymab-text {
    flex: 1;
    padding: 20px;
    order: 2;
}

.didban-svg-container, .peymab-svg-container {
    flex: 1;
    max-width: 500px;
    order: 1;
    padding: 20px;
}

.didban-svg, .peymab-svg {
    width: 100%;
    height: auto;
    max-height: 400px;
}

.didban-text h3, .peymab-text h3, .artahesab-text h3 {
    font-size: 1.8em;
    color: var(--dark-gray);
    margin-bottom: 15px;
    border-right: 4px solid var(--purple-light);
    padding-right: 10px;
}

.didban-feature-list, .peymab-feature-list {
    list-style: none;
    margin-top: 20px;
}

.didban-feature-list li, .peymab-feature-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.list-bullet {
    font-weight: 800;
    color: var(--purple-main);
    font-size: 1.2em;
    line-height: 1.6;
}

/* Peymab water theme */
#peymab-detail {
    background-color: #f3e8ff;
}

#peymab-detail .peymab-text h2 {
    color: var(--dark-gray);
    border-bottom: 3px solid var(--water-blue);
}

#peymab-detail .list-bullet {
    color: var(--water-blue);
}

/* Footer */
footer {
    background: #0b1220;
    color: #cbd5e1;
    font-size: 0.92em;
}

/* Top CTA band */
.footer-cta {
    background: linear-gradient(135deg, var(--purple-main) 0%, var(--purple-dark) 100%);
    padding: 36px 0;
}
.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-cta h3 {
    color: #fff;
    font-size: 1.5em;
    margin: 0 0 6px;
    font-weight: 800;
}
.footer-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.02em;
}
.footer-cta-btn {
    background: #fff;
    color: var(--purple-dark);
    padding: 13px 30px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

/* Main columns */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.6fr;
    gap: 40px;
    padding: 56px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: right;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.12em;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 16px;
}
.footer-tagline {
    color: #94a3b8;
    line-height: 1.85;
    margin: 0 0 22px;
    max-width: 360px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover {
    background: var(--purple-main);
    color: #fff;
    transform: translateY(-3px);
}
.footer-grid h4 {
    color: #fff;
    font-size: 1.05em;
    font-weight: 700;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--purple-main);
    display: inline-block;
}
.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-grid ul li {
    margin-bottom: 11px;
}
.footer-grid a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.25s ease;
    display: inline-flex;
    align-items: center;
}
.footer-grid a:hover {
    color: #fff;
}
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #cbd5e1;
    line-height: 1.6;
}
.contact-list i {
    color: var(--purple-light);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

/* Trust badges */
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: center;
}
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9em;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.footer-badge:hover {
    background: rgba(124, 58, 237, 0.18);
    border-color: var(--purple-main);
    color: #fff;
}
.footer-badge i {
    color: var(--purple-light);
}

/* Bottom bar */
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 0 28px;
}
.footer-bottom p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9em;
}
.footer-legal {
    display: flex;
    gap: 22px;
}
.footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88em;
    transition: color 0.25s ease;
}
.footer-legal a:hover {
    color: #fff;
}

/* Footer responsive */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 44px 0 32px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-legal {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* Responsive */
@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .didban-content {
        flex-direction: row;
        text-align: right;
    }

    .didban-text { order: 1; }
    .didban-svg-container { order: 2; }

    #peymab-detail .peymab-content {
        flex-direction: row;
        text-align: right;
    }

    #peymab-detail .peymab-text { order: 2; }
    #peymab-detail .peymab-svg-container { order: 1; }

    .artahesab-content {
        flex-direction: row;
        align-items: center;
    }

    .artahesab-text {
        order: 1;
        flex: 0 0 66.666%;
        max-width: 66.666%;
    }

    .artahesab-image {
        order: 2;
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    #hero h1 {
        font-size: 2.8em;
    }

    #about-us .content {
        flex-direction: row;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.6fr;
    }
}

/* Economy Plan */
.pricing-card.economy {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #10b981;
    position: relative;
    overflow: hidden;
}

.pricing-card.economy::before {
    content: "\2728";
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    opacity: 0.2;
}

.economy-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.economy-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.special-option {
    transition: all 0.3s ease;
}

.special-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .special-option > div {
        flex-direction: column;
        text-align: center;
    }
}
