@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Vazirmatn:wght@300;400;500;700;800&display=swap');

:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    
    --primary: #0f172a; /* Elegant Black as Primary */
    --primary-hover: #1e293b;
    --secondary: #2563eb; /* Shopping Blue */
    --accent: #4f46e5;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    
    --shadow-premium: 0 10px 30px rgba(15, 23, 42, 0.06);
    --border-radius: 12px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html[dir="rtl"] {
    --font-family: 'Vazirmatn', sans-serif;
}

html[dir="ltr"] {
    --font-family: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

p {
    text-align: justify;
    text-justify: inter-word;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

/* Language Switcher */
.lang-switcher-container {
    position: relative;
    display: inline-block;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
}

.lang-switcher-btn:hover {
    background: rgba(15, 23, 42, 0.08);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    min-width: 130px;
    z-index: 1000;
    overflow: hidden;
}

html[dir="ltr"] .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-switcher-container:hover .lang-dropdown {
    display: flex;
}

.lang-option {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
}

html[dir="rtl"] .lang-option {
    text-align: right;
}

html[dir="ltr"] .lang-option {
    text-align: left;
}

.lang-option:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.lang-option.active {
    background: #f8fafc;
    color: var(--secondary);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Base Layout */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Shopping Panels */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
}

/* Navbar (Store style) */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo i {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

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

/* Buttons */
.btn {
    padding: 0.65rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-secondary {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: var(--text-secondary);
}

/* Hero Section (Clean store banner) */
.hero {
    position: relative;
    padding: 5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 420px;
    background: radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.05) 0%, transparent 60%), #ffffff;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-title span {
    color: var(--secondary);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: justify;
    line-height: 1.8;
}

.hero-badge {
    background: rgba(37, 99, 235, 0.08);
    color: var(--secondary);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

/* Feature Grid / Categories */
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin: 3.5rem 0 2rem;
    position: relative;
    color: var(--primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    border-radius: 2px;
    background-color: var(--secondary);
}

.main-content {
    flex: 1;
    padding: 0 4rem 4rem;
}

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

/* Product Card (Clean White E-Commerce Card) */
.product-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--text-secondary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.product-image-placeholder {
    height: 200px;
    border-radius: 8px;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 2.5rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.product-code-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.85);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    z-index: 2;
}

.product-brand {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.4rem;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--text-primary);
    line-height: 1.5;
}

.product-locked-price {
    background: #fef2f2;
    border: 1px dashed rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b91c1c;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    background-color: #f8fafc;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.price-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

/* Product Detail Page */
.detail-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 2rem;
}

@media (max-width: 968px) {
    .detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-brand-badge {
    background: rgba(37, 99, 235, 0.08);
    color: var(--secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
    width: fit-content;
}

.tech-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.tech-specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.tech-specs-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.tech-specs-table td {
    padding: 0.85rem 1rem;
}

.tech-specs-table td.label {
    color: var(--text-secondary);
    font-weight: 600;
    width: 35%;
}

/* Forms (Login/Register) */
.form-card {
    max-width: 750px;
    margin: 2rem auto;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    background-color: #ffffff;
    border: 1px solid var(--border-color);
}

.form-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .form-group.full-width {
        grid-column: span 1;
    }
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

input, select, textarea {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: var(--font-family);
    outline: none;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.dashboard-grid > *,
.dashboard-content {
    min-width: 0;
}

@media (max-width: 968px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.dashboard-sidebar {
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: fit-content;
    background-color: #ffffff;
}

.dashboard-nav-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.dashboard-nav-item:hover, .dashboard-nav-item.active {
    color: var(--primary);
    background-color: #f1f5f9;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: #ffffff;
}

.stat-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

/* Admin Content Manager */
.content-manager {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-manager-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: #ffffff;
}

.content-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.45rem;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    background: #ecfeff;
    color: #0e7490;
    font-size: 0.78rem;
    font-weight: 800;
}

.content-manager-header h2 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.45rem;
    font-size: 1.35rem;
    color: var(--primary);
}

.content-manager-header h2 i {
    color: var(--secondary);
}

.content-manager-header p {
    max-width: 720px;
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.8;
}

.content-summary {
    min-width: 118px;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #f8fafc;
    text-align: center;
}

.content-summary span {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.content-summary small {
    color: var(--text-secondary);
    font-weight: 700;
}

.content-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: #ffffff;
}

.content-search {
    position: relative;
}

.content-search i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

html[dir="rtl"] .content-search i {
    right: 1rem;
}

html[dir="ltr"] .content-search i {
    left: 1rem;
}

.content-search input {
    width: 100%;
    height: 48px;
    background: #f8fafc;
}

html[dir="rtl"] .content-search input {
    padding-right: 2.7rem;
}

html[dir="ltr"] .content-search input {
    padding-left: 2.7rem;
}

.content-create {
    position: relative;
}

.content-create > summary {
    min-height: 48px;
    padding: 0 1.1rem;
    border-radius: 8px;
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.content-create > summary::-webkit-details-marker,
.content-card-summary::-webkit-details-marker {
    display: none;
}

.content-create[open] > summary {
    background: var(--primary-hover);
}

.content-create-form {
    position: absolute;
    top: calc(100% + 0.75rem);
    width: min(760px, calc(100vw - 4rem));
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
    z-index: 20;
}

html[dir="rtl"] .content-create-form {
    left: 0;
}

html[dir="ltr"] .content-create-form {
    right: 0;
}

.content-section-tabs {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0.25rem 0 0.35rem;
    -webkit-overflow-scrolling: touch;
}

.content-tab-btn {
    min-height: 42px;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.content-tab-btn i {
    color: #64748b;
}

.content-tab-btn b {
    min-width: 1.55rem;
    height: 1.55rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
}

.content-tab-btn:hover,
.content-tab-btn.active {
    border-color: rgba(37, 99, 235, 0.28);
    background: #eff6ff;
    color: var(--primary);
}

.content-tab-btn.active i,
.content-tab-btn.active b {
    color: var(--secondary);
}

.about-team-editor {
    padding: 1.25rem;
    border-radius: var(--border-radius);
    background: #ffffff;
}

.about-team-editor-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.about-team-editor-head h3 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
    color: var(--primary);
}

.about-team-editor-head h3 i {
    color: var(--secondary);
}

.about-team-editor-head p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.about-team-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
}

.about-team-card > summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    cursor: pointer;
    list-style: none;
}

.about-team-card > summary::-webkit-details-marker {
    display: none;
}

.about-team-card > summary img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.about-team-card > summary strong,
.about-team-card > summary small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.about-team-card > summary strong {
    color: var(--primary);
}

.about-team-card > summary small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.about-team-card > summary b {
    padding: 0.34rem 0.62rem;
    border-radius: 8px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.78rem;
}

.about-team-card[open] > summary b {
    background: var(--secondary);
}

.about-team-form {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
}

.about-team-field {
    padding: 0.9rem 0;
    border-bottom: 1px dashed #cbd5e1;
}

.about-team-field:first-child {
    padding-top: 0;
}

.about-team-field:last-of-type {
    border-bottom: none;
}

.about-team-field h4 {
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
    color: var(--primary);
}

.about-team-lang-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.about-team-lang-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.about-team-lang-grid span {
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 800;
}

.about-team-lang-grid input,
.about-team-lang-grid textarea {
    width: 100%;
    background: #ffffff;
}

.about-team-lang-grid textarea {
    min-height: 92px;
    resize: vertical;
    line-height: 1.7;
}

.about-team-form .btn {
    margin-top: 0.9rem;
}

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

.content-item-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.035);
    overflow: hidden;
}

.content-item-card[hidden] {
    display: none;
}

.content-card-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.95rem 1rem;
    cursor: pointer;
    list-style: none;
}

.content-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.content-card-main {
    min-width: 0;
}

.content-card-main strong,
.content-card-main small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-card-main strong {
    color: var(--primary);
    font-size: 0.98rem;
}

.content-card-main small {
    margin-top: 0.2rem;
    color: var(--text-secondary);
    font-size: 0.83rem;
}

.content-section-badge {
    padding: 0.22rem 0.55rem;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: #475569;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
}

.content-open-label {
    min-width: 70px;
    padding: 0.42rem 0.65rem;
    border-radius: 8px;
    background: var(--primary);
    color: #ffffff;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 800;
}

.content-item-card details[open] .content-open-label {
    background: var(--secondary);
}

.content-card-body {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background: #f8fafc;
}

.content-language-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.content-language-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.content-language-grid span,
.content-section-select span {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-secondary);
}

.content-language-grid textarea {
    width: 100%;
    min-height: 118px;
    resize: vertical;
    line-height: 1.7;
    background: #ffffff;
}

.content-card-actions {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.content-section-select {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 220px;
}

.content-delete-form {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #cbd5e1;
}

.content-delete-form button {
    border: none;
    background: transparent;
    color: var(--danger);
    font-family: var(--font-family);
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.content-empty-state {
    padding: 2.5rem 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: var(--text-secondary);
    text-align: center;
}

.content-empty-state i {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 2rem;
    color: #94a3b8;
}

.content-empty-state p {
    text-align: center;
    font-weight: 800;
}

@media (max-width: 860px) {
    .content-manager-header,
    .content-toolbar,
    .content-card-actions {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .content-summary {
        width: 100%;
    }

    .content-create > summary {
        width: 100%;
    }

    .content-create-form {
        position: static;
        width: 100%;
        margin-top: 0.75rem;
        box-shadow: none;
    }

    .content-card-summary {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .content-section-badge,
    .content-open-label {
        width: fit-content;
        grid-column: 2;
    }

    .content-language-grid {
        grid-template-columns: 1fr;
    }

    .content-section-select {
        min-width: 0;
    }

    .about-team-grid,
    .about-team-lang-grid {
        grid-template-columns: 1fr;
    }

    .about-team-card > summary {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .about-team-card > summary b {
        width: fit-content;
        grid-column: 2;
    }
}

/* Footer (Dark Accent Footer) */
.footer {
    padding: 3rem 4rem;
    background-color: #0f172a;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 4rem;
}

.footer a {
    color: #94a3b8;
}

.footer a:hover {
    color: #ffffff;
}

/* Nav Toggle & Hamburger Menu */
.nav-toggle {
    display: none;
}
.nav-toggle-label {
    display: none;
}
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}
html[dir="rtl"] .nav-menu {
    margin-right: 2.5rem;
}
html[dir="ltr"] .nav-menu {
    margin-left: 2.5rem;
}

/* Responsive Table container */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

/* Layout containers */
.catalog-layout, .cart-layout, .checkout-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}
.cart-layout {
    grid-template-columns: 2fr 1fr;
}
.checkout-layout {
    grid-template-columns: 1.5fr 1fr;
}

/* Catalog Page Header */
.catalog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.catalog-page-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.catalog-page-title i {
    color: var(--secondary);
    font-size: 1.3rem;
}

.catalog-result-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 10px;
    color: var(--secondary);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Professional Filter Sidebar */
.catalog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: fit-content;
    position: sticky;
    top: 100px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.filter-section {
    border-bottom: 1px solid var(--border-color);
}

.filter-section:last-of-type {
    border-bottom: none;
}

.filter-section-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.015);
}

.filter-section-header i {
    color: var(--secondary);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.filter-section-header h3 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

.filter-section-body {
    padding: 0.5rem 1rem 1rem;
}

/* Category Tree Navigation */
.category-tree-group {
    margin-bottom: 0.15rem;
}

.category-tree-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.category-tree-item i:first-child {
    font-size: 0.8rem;
    width: 18px;
    text-align: center;
    color: var(--border-color);
    transition: color 0.2s ease;
}

.category-tree-item span {
    flex: 1;
}

.category-tree-item .tree-toggle {
    font-size: 0.65rem;
    color: var(--text-secondary);
    opacity: 0.5;
    transition: all 0.2s ease;
    width: auto;
}

.category-tree-item:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--secondary);
}

.category-tree-item:hover i:first-child {
    color: var(--secondary);
}

.category-tree-item.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--secondary);
    font-weight: 700;
}

.category-tree-item.active i:first-child {
    color: var(--secondary);
}

.category-tree-item.parent {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.category-tree-item.parent i:first-child {
    color: var(--secondary);
}

/* Category Children (Collapsible) */
.category-tree-children {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding-right: 1rem;
}

.category-tree-children.expanded {
    max-height: 500px;
}

.category-tree-item.child {
    padding: 0.4rem 0.85rem;
    font-size: 0.83rem;
    font-weight: 500;
}

.category-tree-item.child i {
    font-size: 0.55rem !important;
}

/* Filter Select Dropdown */
.filter-select {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--primary);
    background: #ffffff;
    transition: all 0.2s ease;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
}

.filter-select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Filter Checkbox */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    transition: color 0.2s ease;
}

.filter-checkbox:hover {
    color: var(--primary);
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.filter-checkbox-mark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.filter-checkbox-mark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.65rem;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.filter-checkbox input[type="checkbox"]:checked ~ .filter-checkbox-mark {
    background: var(--secondary);
    border-color: var(--secondary);
}

.filter-checkbox input[type="checkbox"]:checked ~ .filter-checkbox-mark::after {
    opacity: 1;
}

/* Sort Options */
.sort-options {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.sort-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sort-option i {
    font-size: 0.8rem;
    width: 18px;
    text-align: center;
}

.sort-option:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--secondary);
}

.sort-option.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--secondary);
    font-weight: 700;
}

/* Clear Filters Button */
.filter-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    margin: 1rem;
    background: #ffffff;
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.filter-clear-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.04);
}

/* Active Filter Tags */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--secondary);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
}

.active-filter-tag i {
    font-size: 0.65rem;
}


/* Tablet & Mobile Media Queries */
@media (max-width: 968px) {
    /* Header / Navbar responsive */
    .navbar {
        padding: 0 1.5rem;
    }
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: var(--primary);
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        z-index: 99;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        margin: 0 !important;
    }
    .nav-toggle:checked ~ .nav-menu {
        display: flex;
    }
    .nav-links {
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
        align-items: stretch;
        text-align: center;
    }
    .nav-auth {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: stretch;
    }
    .nav-auth .btn, .lang-switcher-container, .lang-switcher-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
        min-height: auto;
        gap: 2rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-desc {
        text-align: center;
    }
    .hero-content div[style*="display: flex"] {
        flex-direction: column;
        width: 100%;
    }
    .hero-content div[style*="display: flex"] a {
        width: 100%;
        justify-content: center;
    }
    
    /* Main Content Padding */
    .main-content {
        padding: 0 1.5rem 3rem;
    }
    
    /* Layouts collapse */
    .catalog-layout, .cart-layout, .checkout-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .catalog-sidebar {
        position: static;
    }
    .catalog-header {
        flex-direction: column;
    }
    
    /* Footer collapse */
    .footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 2.5rem 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

/* Homepage Premium Sections Styling */

/* Quick Access to Products */
.quick-access-section {
    margin-top: 4rem;
    padding: 3rem 0;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.quick-access-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.quick-access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), #6366f1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.quick-access-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.quick-access-info-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quick-access-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.07) 0%, rgba(99, 102, 241, 0.13) 100%);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.3s ease;
}

.quick-access-card:hover .quick-access-icon {
    background: linear-gradient(135deg, var(--secondary) 0%, #6366f1 100%);
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.quick-access-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    transition: color 0.3s ease;
}

.quick-access-card:hover .quick-access-title {
    color: var(--secondary);
}

.quick-access-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-secondary);
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-access-card:hover .quick-access-arrow {
    background: var(--secondary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* RTL Arrow translation */
[dir="rtl"] .quick-access-card:hover .quick-access-arrow {
    transform: translateX(-4px);
}

/* LTR Arrow translation */
[dir="ltr"] .quick-access-card:hover .quick-access-arrow {
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .quick-access-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 640px) {
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
    .quick-access-card {
        padding: 1rem 1.25rem;
    }
}

/* Value Propositions */
.props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.prop-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.prop-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-premium);
}

.prop-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.prop-card:hover .prop-icon {
    background: var(--secondary);
    color: #ffffff;
    transform: scale(1.05);
}

.prop-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.prop-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* B2B Process Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.step-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    border: 3px solid var(--bg-main);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.step-card:hover .step-number {
    background: var(--secondary);
}

.step-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats Counter Bar */
.stats-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    margin: 4rem 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .stats-bar {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(to right, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #94a3b8;
}

/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: center;
    justify-items: center;
    width: 100%;
}

.brand-logo-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #94a3b8;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.brand-logo-card:hover {
    color: var(--secondary);
    border-color: var(--secondary);
    box-shadow: var(--shadow-premium);
    transform: translateY(-2px);
}

.brand-logo-card i {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

/* Blog Home Section */
.blog-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.blog-home-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    height: 100%;
}

.blog-home-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-premium);
}

.blog-home-img {
    height: 180px;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-home-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-home-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.blog-home-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--primary);
    line-height: 1.5;
}

.blog-home-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-home-link {
    margin-top: auto;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-home-link:hover {
    color: var(--primary);
}

/* Guide Page Layout */
.guide-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}
.guide-layout.reverse {
    grid-template-columns: 1fr 1.2fr;
}
@media (max-width: 768px) {
    .guide-layout, .guide-layout.reverse {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 3rem;
}
@media (max-width: 968px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* About Page Premium Sections */
.ceo-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-top: 3.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
}
.ceo-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 3px solid var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}
.team-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}
.team-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-premium);
}
.team-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}
.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
}
.testimonial-quote {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.testimonial-client {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.client-initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
@media (max-width: 968px) {
    .ceo-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ceo-avatar {
        margin: 0 auto;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 580px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Split Login Layout */
.login-layout-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: calc(100vh - 200px);
    margin-top: 2rem;
    gap: 3rem;
    align-items: center;
}
.login-brand-panel {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--border-radius);
    padding: 4rem 3rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 20px 40px rgba(15,23,42,0.25);
}
.login-brand-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 50%);
    pointer-events: none;
}
.brand-content {
    position: relative;
    z-index: 2;
}
.brand-logo-large {
    margin-bottom: 2rem;
}
.login-brand-panel h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brand-subtitle {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.brand-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.brand-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #cbd5e1;
}
.brand-features li i {
    color: var(--secondary);
}

@media (max-width: 968px) {
    .login-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .login-brand-panel {
        padding: 3rem 2rem;
        height: auto;
    }
    .login-brand-panel h2 {
        font-size: 1.8rem;
    }
}

/* Minimal Elegance Theme Styles */
.minimal-hero {
    position: relative;
    padding: 6rem 0;
    background-color: #ffffff;
    margin-bottom: 4rem;
}
.minimal-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}
.minimal-hero-title {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: #0f172a;
    margin-bottom: 1.5rem;
}
.minimal-hero-title span {
    color: var(--secondary);
}
.minimal-hero-desc {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-align: justify;
}
.minimal-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f1f5f9;
    color: #334155;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
}
.minimal-mockup-container {
    display: flex;
    justify-content: center;
}
.minimal-mockup-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    border-top: 4px solid var(--secondary);
}
.mockup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding: 0.85rem 0;
}
.mockup-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.mockup-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}
.mockup-value {
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 700;
}

/* Grayscale Brand Logos (Stripe-Style) */
.brand-logo-card img {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.03);
}

@media (max-width: 968px) {
    .minimal-hero {
        padding: 4rem 0;
        text-align: center;
    }
    .minimal-hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .minimal-hero-title {
        font-size: 2.5rem;
    }
    .minimal-hero-desc {
        text-align: justify;
        text-justify: inter-word;
    }
    .minimal-mockup-container {
        display: none; /* Hide decorative mockup on tablet/mobile for clean presentation */
    }
    .minimal-hero .hero-main-content {
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column !important;
        width: 100% !important;
        gap: 1rem !important;
    }
    .hero-buttons .btn {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* SEO Breadcrumbs and Search Enhancements */
.breadcrumbs-container {
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
}
.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
}
.breadcrumbs-item {
    color: var(--text-secondary);
}
.breadcrumbs-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumbs-item a:hover {
    color: var(--secondary);
}
.breadcrumbs-item.active {
    color: var(--primary);
    font-weight: 600;
}

/* Form Accessibility Focus Styles */
input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 1px;
    border-color: var(--secondary) !important;
}

/* Skip Link / Navigation Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--secondary);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}
