/* ═══════════════════════════════════════════════
   ALWAFI GOLD — GLOBAL STYLESHEET
   ═══════════════════════════════════════════════ */

:root {
    --bg-main: #060606;
    --bg-surface: rgba(18, 18, 18, 0.55);
    --bg-card: rgba(22, 22, 22, 0.7);
    --border-glass: rgba(212, 175, 55, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --gold-primary: #D4AF37;
    --gold-light: #FBE58F;
    --gold-dark: #B6862C;
    --gold-gradient: linear-gradient(135deg, #FBE58F 0%, #D4AF37 50%, #B6862C 100%);
    --silver-gradient: linear-gradient(135deg, #E8E8E8 0%, #BDBDBD 50%, #9E9E9E 100%);
    --text-primary: #F5F5F5;
    --text-muted: #A3A3A3;
    --text-dim: #666;
    --positive: #00C853;
    --negative: #FF3D00;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
    --font-en: 'Inter', sans-serif;
    --font-ar: 'Cairo', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ─── Reset ─────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-en);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.06), transparent 30%),
        radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.04), transparent 30%);
}

body.rtl {
    font-family: var(--font-ar);
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* ─── Ambient Glow ──────────────────────────────── */
.ambient-glow {
    position: fixed;
    top: -15vw;
    left: -10vw;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

.ambient-glow-2 {
    position: fixed;
    bottom: -15vw;
    right: -5vw;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(70px);
    pointer-events: none;
}

/* ─── Glass ─────────────────────────────────────── */
.glass {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

/* ─── Navbar ────────────────────────────────────── */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1400px;
    z-index: 1000;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.navbar.scrolled {
    top: 8px;
    background: rgba(6, 6, 6, 0.85);
    backdrop-filter: blur(30px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.logo-container a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-container .logo {
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.logo-container .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold-gradient);
    color: #000;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    padding: 0.85rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--gold-primary);
    transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Footer ────────────────────────────────────── */
.site-footer {
    margin: 0 auto 20px auto;
    width: 92%;
    max-width: 1400px;
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.footer-brand .logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-copy {
    text-align: right;
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* ─── Page Hero (inner pages) ───────────────────── */
.page-hero {
    padding-top: 130px;
    padding-bottom: 60px;
    text-align: center;
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-pill);
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Section Wrapper ───────────────────────────── */
.section {
    padding: 80px 5%;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-header h2 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Scroll Animations ─────────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s !important;
}

.delay-2 {
    transition-delay: 0.2s !important;
}

.delay-3 {
    transition-delay: 0.3s !important;
}

.delay-4 {
    transition-delay: 0.4s !important;
}

/* ════════════════════════════════════════════════
   HOME PAGE
   ════════════════════════════════════════════════ */

main.home-main {
    padding-top: 120px;
    padding-bottom: 0;
}

/* Hero */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    gap: 4rem;
    padding: 40px 5% 80px;
}

@media (min-width: 1024px) {
    .hero {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.hero-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: slideUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-pill);
    padding: 0.45rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-primary);
    width: fit-content;
    letter-spacing: 0.5px;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

body.rtl .gold-text {
    letter-spacing: 0;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Feature cards */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.feature-item {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: var(--transition);
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.7), rgba(10, 10, 10, 0.9));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.35);
}

.feature-item .icon {
    font-size: 2rem;
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 700;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Live prices panel */
.live-prices-container {
    flex: 0 0 420px;
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.6), rgba(10, 10, 10, 0.8));
    position: relative;
    overflow: hidden;
    animation: scaleIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.live-prices-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--positive);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(0, 200, 83, 0.1);
    padding: 5px 11px;
    border-radius: 50px;
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.pulse {
    width: 7px;
    height: 7px;
    background: var(--positive);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.price-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.price-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.price-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
}

body.rtl .price-card {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 4px solid transparent;
}

body.rtl .price-card:hover {
    transform: translateX(-4px);
}

.price-card.gold {
    border-left-color: var(--gold-primary);
    box-shadow: inset 20px 0 30px -30px rgba(212, 175, 55, 0.2);
}

body.rtl .price-card.gold {
    border-left-color: rgba(255, 255, 255, 0.05);
    border-right-color: var(--gold-primary);
    box-shadow: inset -20px 0 30px -30px rgba(212, 175, 55, 0.2);
}

.price-card.silver {
    border-left-color: #9E9E9E;
    box-shadow: inset 20px 0 30px -30px rgba(200, 200, 200, 0.1);
}

body.rtl .price-card.silver {
    border-left-color: rgba(255, 255, 255, 0.05);
    border-right-color: #9E9E9E;
}

.metal-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.metal-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.metal-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
}

.price-card.gold .price-value {
    color: var(--gold-primary);
}

.price-change {
    font-size: 0.88rem;
    font-weight: 600;
    text-align: right;
    margin-top: 2px;
}

body.rtl .price-change {
    text-align: left;
}

.positive {
    color: var(--positive);
}

.negative {
    color: var(--negative);
}

.disclaimer {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-align: center;
    line-height: 1.5;
}

.flash {
    animation: flash 0.8s ease-out;
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(212, 175, 55, 0.02));
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 2.5rem 5%;
}

.stats-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: block;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Why Cards */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-card {
    padding: 2rem;
    text-align: center;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(212, 175, 55, 0.07);
    transform: translateY(-4px);
}

.why-number {
    width: 48px;
    height: 48px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #000;
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
    margin: 0 5% 80px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 4rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.04) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
}

.cta-banner h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
}

.cta-banner p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    position: relative;
}

.cta-banner .btn-gold {
    position: relative;
}

/* ════════════════════════════════════════════════
   PRODUCTS PAGE
   ════════════════════════════════════════════════ */

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.filter-tab:hover {
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--text-primary);
}

.filter-tab.active {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--gold-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
}

.product-card.hidden {
    display: none;
}

.product-thumb {
    height: 160px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.07);
}

.product-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.thumb-gold-bars {
    background: linear-gradient(135deg, #2a2000, #1a1200);
}

.thumb-jewelry {
    background: linear-gradient(135deg, #1a1500, #0d0d00);
}

.thumb-silver {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
}

.thumb-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    user-select: none;
}

.product-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

body.rtl .product-category-badge {
    left: auto;
    right: 10px;
}

.badge-gold-bars {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge-jewelry {
    background: rgba(255, 180, 50, 0.12);
    color: #FFA500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.badge-silver {
    background: rgba(200, 200, 200, 0.12);
    color: #C0C0C0;
    border: 1px solid rgba(200, 200, 200, 0.3);
}

.product-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.product-body h3 {
    font-size: 1rem;
    font-weight: 700;
}

.product-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex: 1;
}

.product-spec {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.spec-tag {
    font-size: 0.75rem;
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.product-body .btn-outline {
    margin-top: auto;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    text-align: center;
    justify-content: center;
}

/* ════════════════════════════════════════════════
   CALCULATOR PAGE
   ════════════════════════════════════════════════ */

.calc-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.calc-tab {
    padding: 0.65rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    transition: var(--transition);
}

.calc-tab.active {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--gold-primary);
}

.calc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.calc-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.calc-panel h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.form-input,
.form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
    appearance: none;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.03);
}

.form-select option {
    background: #111;
    color: #fff;
}

.karat-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.karat-btn {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    text-align: center;
}

.karat-btn:hover {
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--text-primary);
}

.karat-btn.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.weight-input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
}

.calc-result-panel {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: sticky;
    top: 110px;
}

.result-placeholder {
    text-align: center;
    color: var(--text-dim);
    padding: 3rem 0;
}

.result-placeholder .big-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.4;
}

.result-values {
    display: none;
}

.result-values.show {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-main {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.result-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.result-usd {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold-primary);
    line-height: 1.1;
    margin: 0.5rem 0;
}

.result-iqd {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-row span:first-child {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.result-row span:last-child {
    font-weight: 600;
    font-size: 0.95rem;
}

.calc-disclaimer {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-align: center;
    line-height: 1.6;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
}

/* Live spot price display */
.spot-display {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spot-display .label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.spot-display .value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-primary);
}

/* ════════════════════════════════════════════════
   ANALYTICS PAGE
   ════════════════════════════════════════════════ */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
}

.metric-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.metric-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
}

.metric-sub {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 0.3rem;
}

.metric-card.gold-metric .metric-value {
    color: var(--gold-primary);
}

.metric-card.positive-metric .metric-value {
    color: var(--positive);
}

.metric-card.negative-metric .metric-value {
    color: var(--negative);
}

.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.75rem;
}

.chart-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
}

.chart-price {
    font-size: 1.8rem;
    font-weight: 800;
}

.chart-price.gold-price {
    color: var(--gold-primary);
}

.chart-price.silver-price {
    color: #BDBDBD;
}

.chart-container {
    height: 200px;
    position: relative;
}

.karat-table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 3rem;
}

.karat-table-wrap h3 {
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border-glass);
}

.karat-table {
    width: 100%;
    border-collapse: collapse;
}

.karat-table th {
    padding: 0.85rem 2rem;
    text-align: left;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-glass);
}

body.rtl .karat-table th {
    text-align: right;
}

.karat-table td {
    padding: 1.1rem 2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-glass);
}

.karat-table tr:last-child td {
    border-bottom: none;
}

.karat-table tr:hover td {
    background: rgba(212, 175, 55, 0.03);
}

.karat-table .karat-cell {
    font-weight: 700;
    color: var(--gold-primary);
}

.analytics-disclaimer {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-dim);
    padding-bottom: 2rem;
}

/* ════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════ */

.contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.contact-form-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form .form-input,
.contact-form .form-select,
.contact-form .form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.9rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    appearance: none;
}

.contact-form .form-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.contact-form .form-input:focus,
.contact-form .form-select:focus,
.contact-form .form-textarea:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.03);
}

.contact-form .form-select option {
    background: #111;
}

.honeypot-field {
    display: none !important;
}

.form-submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gold-gradient);
    color: #000;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-feedback {
    display: none;
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.form-feedback.success {
    display: block;
    background: rgba(0, 200, 83, 0.08);
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.form-feedback.error {
    display: block;
    background: rgba(255, 61, 0, 0.08);
    border: 1px solid rgba(255, 61, 0, 0.2);
}

.form-feedback h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-feedback p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Info cards */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: var(--transition);
}

.info-card:hover {
    border-color: rgba(212, 175, 55, 0.25);
}

.info-card-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    display: block;
}

.info-card h3 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.info-card p,
.info-card a {
    font-size: 0.95rem;
    line-height: 1.7;
}

.info-card a {
    color: var(--gold-primary);
}

.info-card a:hover {
    text-decoration: underline;
}

.hours-closed {
    color: var(--negative);
    font-weight: 600;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    text-align: left;
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: color 0.2s;
}

body.rtl .faq-question {
    text-align: right;
}

.faq-question:hover {
    color: var(--gold-primary);
}

.faq-chevron {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--text-muted);
    flex-shrink: 0;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--border-glass);
    padding-top: 1rem;
}

/* ─── Keyframes ──────────────────────────────── */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(35px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 200, 83, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0);
    }
}

@keyframes flash {
    0% {
        background: rgba(212, 175, 55, 0.15);
    }

    100% {
        background: rgba(255, 255, 255, 0.02);
    }
}

/* ─── Responsive ────────────────────────────── */
@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .calc-layout {
        grid-template-columns: 1fr;
    }

    .calc-result-panel {
        position: static;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-copy {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        background: rgba(8, 8, 8, 0.97);
        backdrop-filter: blur(30px);
        border: 1px solid var(--border-glass);
        border-radius: var(--radius-md);
        flex-direction: column;
        padding: 1rem;
        gap: 0.25rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
    }

    .hamburger {
        display: flex;
    }

    .navbar {
        padding: 0.85rem 1.25rem;
        width: 95%;
    }

    .gold-text {
        font-size: 3rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-banner {
        padding: 2.5rem 1.5rem;
    }

    .cta-banner h2 {
        font-size: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .karat-table th,
    .karat-table td {
        padding: 0.85rem 1rem;
    }

    .footer-links {
        gap: 1rem;
    }

    .site-footer {
        padding: 2rem 1.5rem;
    }

    .live-prices-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .karat-selector {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn-gold,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Footer Creator ────────────────────────────── */
.footer-creator {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.creator-link {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.creator-link:hover {
    opacity: 0.8;
}

.creator-logo {
    height: 24px;
    object-fit: contain;
}

.creator-text {
    color: var(--gold-primary);
    font-weight: 600;
}