﻿/* =============================================
   S A BULLION - Main Stylesheet
   Theme 2: Modern Clean Theme
   ============================================= */

:root {
    --primary: #0f5f3a;
    --primary-dark: #06351f;
    --gold: #D7AD3B;
    --gold-light: #f1d66c;
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --bg-light: #f7f5ee;
    --white: #ffffff;
    --border: #ded8c5;
    --surface: #ffffff;
    --surface-soft: #fbf8ed;
    --success: #16804a;
    --danger: #b92f2f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html[data-theme="night"] {
    --primary: #18a063;
    --primary-dark: #062a1a;
    --gold: #e4bd4a;
    --gold-light: #ffe28a;
    --text-dark: #f4f1e8;
    --text-muted: #c8c1ac;
    --bg-light: #111812;
    --white: #172119;
    --border: #2f3b31;
    --surface: #172119;
    --surface-soft: #1d2a20;
}
body { font-family: 'Montserrat', 'Open Sans', sans-serif; color: var(--text-dark); background: var(--surface); transition: background .2s, color .2s; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ---- TOP CONTACT BAR ---- */
.top-bar {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    padding: 6px 0;
}
.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}
.top-bar a { color: #fff; }
.top-bar .tb-item { display: flex; align-items: center; gap: 6px; }
.top-bar i { font-size: 12px; }

/* ---- HEADER / NAVBAR ---- */
header.site-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 16px;
}
.logo-wrap { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-wrap img { height: 42px; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--primary); line-height: 1.1; white-space: nowrap; }
.logo-text span { display: block; font-size: 9px; font-weight: 500; letter-spacing: 2px; color: var(--gold); }

nav.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: nowrap;
}
nav.main-nav ul li a {
    font-size: 11px;
    font-weight: 600;
    padding: 6px 7px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0;
    border-radius: 4px;
    transition: color 0.2s;
    white-space: nowrap;
    display: block;
}
nav.main-nav ul li a:hover,
nav.main-nav ul li a.active { color: var(--primary); }
.btn-login {
    background: var(--primary);
    color: #fff !important;
    padding: 7px 13px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    margin-left: 4px;
}
.btn-login:hover { background: var(--primary-dark) !important; color: #fff !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; flex-shrink: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; }

/* ---- HERO SECTION ---- */
.hero {
    background: linear-gradient(135deg, #062a1a 0%, #0f5f3a 48%, #061a11 100%);
    padding: 60px 0 40px;
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 80%, rgba(215,173,59,0.18) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 20%, rgba(215,173,59,0.12) 0%, transparent 50%);
    pointer-events: none;
}
.hero .container { display: flex; align-items: center; gap: 40px; position: relative; z-index: 1; }
.hero-text { flex: 1; }
.hero-text h1 {
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.hero-text .tagline {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 16px;
}
.hero-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary-cta {
    background: var(--primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
    display: inline-block;
}
.btn-primary-cta:hover { background: var(--primary-dark); color: #fff; }
.btn-gold-cta {
    background: var(--gold);
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
    display: inline-block;
}
.btn-gold-cta:hover { background: #b8922e; color: #fff; }
.hero-image { flex: 1; text-align: center; }
.hero-image img { max-height: 340px; width: 100%; object-fit: contain; border-radius: 12px; }

/* ---- LIVE RATES SECTION ---- */
.live-rates-section {
    background: var(--bg-light);
    padding: 50px 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin-top: 6px;
    border-radius: 2px;
}
.view-all { font-size: 13px; font-weight: 600; color: var(--primary); }
.view-all:hover { text-decoration: underline; }

.rates-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.rate-card {
    background: var(--surface);
    border-radius: 10px;
    padding: 16px 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    text-align: center;
}
.rate-card .metal-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5e6b8 0%, #dbb84d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 3px 8px rgba(201,168,76,0.3);
}
.rate-card .metal-icon i { color: #fff; font-size: 20px; }
.rate-card .metal-name { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.rate-card .metal-price { font-size: 22px; font-weight: 800; color: var(--primary); }
.rate-card .metal-hl { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.rate-card .metal-change { font-size: 12px; font-weight: 700; color: #22a022; margin-top: 2px; }
.rate-card .metal-change.down { color: #cc0000; }

.rate-card.gold-card,
.rate-card.silver-card,
.rate-card.forex-card,
.rate-card.mcx-gold-card,
.rate-card.mcx-silver-card { border-top: none; }

/* ---- FEATURES STRIP ---- */
.features-strip {
    background: var(--surface);
    padding: 36px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
}
.feature-item img { width: 44px; height: 44px; object-fit: contain; margin-bottom: 10px; }
.feature-item .fi-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(123,24,24,0.2);
}
.feature-item .fi-icon i { color: #fff; }
.feature-item p { font-size: 11px; font-weight: 700; color: var(--text-dark); line-height: 1.4; text-transform: uppercase; }

/* ---- Theme 2 Feature Section (Gold Release + Products + Why Choose) ---- */
.mid-section {
    padding: 24px 0 18px;
    background: var(--surface);
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}
.mid-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.05fr .85fr;
    gap: 12px;
    align-items: stretch;
}

/* ---- Online Tools ---- */
.tools-section {
    background: #fff;
    padding: 44px 0;
    border-bottom: 1px solid var(--border);
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.tool-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px 14px;
    min-height: 142px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
.tool-card i { color: var(--primary); font-size: 24px; }
.tool-card span {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.25;
}
.tool-card small {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.45;
}

/* Gold Release Program */
.gold-release-card {
    position: relative;
    overflow: hidden;
    min-height: 158px;
    border-radius: 8px;
    padding: 18px 18px;
    background:
        radial-gradient(circle at 84% 74%, rgba(227,177,57,.34), transparent 28%),
        linear-gradient(135deg, #5c001e 0%, #29000e 78%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(88,0,30,.2);
}
.gold-release-card::after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -36px;
    width: 150px;
    height: 92px;
    background: rgba(214,153,32,.48);
    border-radius: 50%;
}
.gold-release-card .gr-badge {
    color: #f7d886;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .2px;
    display: inline-block;
    margin-bottom: 10px;
}
.gold-release-card h3 {
    position: relative;
    z-index: 1;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: 0;
}
.gold-release-card p {
    position: relative;
    z-index: 1;
    max-width: 170px;
    font-size: 10px;
    opacity: .9;
    margin-bottom: 14px;
    line-height: 1.45;
}
.btn-gold-mini {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: #d99b22;
    color: #27000e;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}
.btn-gold-mini:hover { background: #f0bc42; color: #27000e; }
.release-art {
    position: absolute;
    right: 24px;
    bottom: 18px;
    z-index: 1;
    color: #d99b22;
    font-size: 56px;
    opacity: .95;
}
.release-art span {
    position: absolute;
    right: -16px;
    bottom: -14px;
    width: 82px;
    height: 20px;
    border-radius: 50%;
    background: rgba(215,154,35,.42);
}
.btn-white-cta {
    background: #fff;
    color: var(--primary);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: background 0.2s;
}
.btn-white-cta:hover { background: var(--gold); color: #fff; }

/* Our Products */
.products-card {
    border-radius: 8px;
    padding: 18px 18px 12px;
    background: var(--surface);
    border: 1px solid #ececec;
    box-shadow: 0 6px 16px rgba(0,0,0,.05);
}
.theme2-title {
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: 0;
}
.theme2-title span {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}
.product-item {
    min-height: 82px;
    text-align: center;
    background: #fff;
    border-radius: 0;
    padding: 8px 8px;
    box-shadow: none;
    border-left: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.product-item:first-child { border-left: 0; }
.product-item:hover {
    transform: translateY(-2px);
    box-shadow: none;
}
.product-item img {
    height: 42px;
    max-width: 58px;
    object-fit: contain;
}
.product-item p {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dark);
}
.view-products {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    color: #111;
}

/* Why Choose */
.why-choose-card {
    border-radius: 8px;
    padding: 18px 18px;
    background: var(--surface);
    border: 1px solid #ececec;
    box-shadow: 0 6px 16px rgba(0,0,0,.05);
}
.why-choose-card h3 {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #111;
}
.why-list { list-style: none; }
.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    color: #333;
    margin-bottom: 9px;
    font-weight: 700;
    line-height: 1.35;
    padding: 0;
    border-bottom: 0;
}
.why-list li i { color: #c49325; margin-top: 1px; flex-shrink: 0; }

/* ---- About Band ---- */
.about-band {
    background: var(--bg-light);
    padding: 52px 0;
}
.about-band-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 34px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.about-band h2 {
    font-size: 28px;
    line-height: 1.18;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.about-band p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
}
.trust-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.trust-list div {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 18px;
}
.trust-list strong {
    display: block;
    color: var(--primary);
    font-size: 24px;
    font-weight: 900;
}
.trust-list span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 3px;
}

/* ---- FOOTER ---- */
footer.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 32px 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #333;
}
.footer-col .fc-icon { font-size: 20px; color: var(--gold); margin-bottom: 6px; }
.footer-col p { font-size: 13px; color: #ccc; line-height: 1.5; }
.footer-col a { color: #ccc; font-size: 13px; }
.footer-col a:hover { color: var(--gold); }
.footer-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #888; margin-bottom: 4px; }
.footer-value { font-size: 14px; font-weight: 600; color: #fff; }

.social-icons { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.social-icons a {
    width: 34px;
    height: 34px;
    background: #333;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    transition: background 0.2s;
}
.social-icons a i {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    line-height: 1;
    text-align: center;
    transform: translate(-50%, -50%);
}
.social-icons a i::before {
    display: block;
    line-height: 1;
}
.social-icons a:hover { background: var(--primary); }

.footer-bottom {
    text-align: center;
    padding: 16px 0;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #333;
}
.footer-bottom a { color: #888; margin: 0 10px; }
.footer-bottom a:hover { color: var(--gold); }

/* ---- CONTAINER ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =============================================
   THEME 1: Live Rates Page Styles
   ============================================= */

/* T1 Header Bar (logo + contact + login) */
.t1-header-bar {
    background: var(--surface);
    padding: 14px 0;
}
.t1-header-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.t1-header-right {
    display: flex;
    align-items: center;
    gap: 26px;
}
.t1-header-info {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.t1-header-info i { color: var(--gold); font-size: 14px; }
.t1-header-info a { color: #444; }
.t1-header-info a:hover { color: var(--primary); }

.t1-logo { display: flex; align-items: center; gap: 10px; }
.t1-logo img { height: 50px; width: auto; }
.t1-logo-text { font-size: 26px; font-weight: 900; color: var(--primary); }
.t1-logo-sub { font-size: 10px; font-weight: 600; letter-spacing: 3px; color: var(--gold); display: block; }

.btn-login-t1 {
    background: var(--surface);
    color: var(--primary) !important;
    padding: 8px 20px !important;
    border-radius: 5px;
    font-weight: 700 !important;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.btn-login-t1:hover { background: var(--primary); color: #fff !important; }

/* T1 Navigation */
.t1-nav {
    background: var(--surface);
    padding: 0;
    border-bottom: 2px solid #e8e8e8;
}
.t1-nav .container { display: flex; align-items: center; justify-content: center; }
.t1-nav ul { list-style: none; display: flex; flex: 1; flex-wrap: nowrap; justify-content: center; }
.t1-nav ul li a {
    display: block;
    color: #444;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 13px 5px;
    letter-spacing: 0.1px;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.t1-nav ul li a:hover { color: var(--primary); }
.t1-nav ul li a.active {
    color: var(--primary);
    border-bottom-color: var(--gold);
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* T1 Live Rates Banner (hidden - H1 kept for SEO) */
.t1-rates-banner { display: none; }

/* T1 Tabs - Pill Style */
.t1-tabs {
    background: var(--surface-soft);
    padding: 14px 0;
    border-bottom: none;
}
.t1-tabs .container { display: flex; gap: 12px; align-items: center; }
.t1-tab-btn {
    padding: 11px 30px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #777;
    cursor: pointer;
    border: 2px solid #ccc;
    background: var(--surface);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
}
.t1-tab-btn.active {
    background: var(--primary);
    color: var(--gold);
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(123,24,24,0.25);
}
.t1-tab-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}
.t1-tab-btn i { font-size: 14px; }
.t1-tab-btn.active i { color: var(--gold-light); }

/* T1 Spot Rates */
.t1-spot-rates { padding: 28px 0; background: var(--surface-soft); }
.t1-spot-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.t1-spot-card {
    background: var(--surface);
    border: 1px solid #e8dcc0;
    border-radius: 12px;
    padding: 20px 14px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(180,150,80,0.08);
    transition: box-shadow 0.2s;
}
.t1-spot-card:hover { box-shadow: 0 4px 16px rgba(180,150,80,0.15); }
.t1-spot-card .sc-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5e6b8 0%, #dbb84d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 3px 8px rgba(201,168,76,0.3);
}
.t1-spot-card .sc-icon img { height: 28px; object-fit: contain; filter: brightness(0) invert(1); }
.t1-spot-card .sc-icon i { color: #fff; font-size: 20px; }
.t1-spot-card .sc-name { font-size: 11px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.t1-spot-card .sc-price { font-size: 22px; font-weight: 900; color: var(--primary); }
.t1-spot-card .sc-hl { font-size: 11px; color: #999; margin-top: 4px; }
.t1-spot-card .sc-change { font-size: 12px; font-weight: 700; color: #00aa00; margin-top: 3px; }

/* T1 Metal Rates Table */
.t1-metal-rates { padding: 20px 0 30px; background: var(--surface); }
.t1-rates-table { width: 100%; border-collapse: collapse; }
.t1-rates-table thead { background: var(--primary); color: #fff; }
.t1-rates-table thead th { padding: 14px 20px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.t1-rates-table thead th:first-child { text-align: left; }
.t1-rates-table thead th:not(:first-child) { text-align: center; }
.t1-rates-table tbody tr { border-bottom: 1px solid #f0f0f0; }
.t1-rates-table tbody tr:hover { background: #fafafa; }
.t1-rates-table tbody tr.trade-row { cursor: pointer; }
.t1-rates-table tbody tr.trade-row:hover { background: #fff7df; }
.t1-rates-table tbody tr.trade-row:focus { outline: 2px solid var(--gold); outline-offset: -2px; background: #fff7df; }
.t1-rates-table tbody td { padding: 16px 20px; font-size: 15px; }
.t1-rates-table tbody td:first-child { font-weight: 700; }
.t1-rates-table tbody td:not(:first-child) { text-align: center; font-weight: 800; color: var(--primary); font-size: 17px; }
.metal-label { display: flex; align-items: center; gap: 10px; }
.metal-badge { background: var(--gold); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 3px; }
.metal-badge-muted { background: #888; }
.net-position-badge { display: inline-flex; align-items: baseline; gap: 3px; margin-left: 2px; background: #2e8b45; color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 10px; white-space: nowrap; }
.net-position-badge.short { background: #b31b1b; }
.net-position-badge small { font-size: 8px; font-weight: 700; }
.rate-loading-row { text-align: center !important; color: #999 !important; font-weight: 600 !important; }

/* T1 Why Section */
.t1-why { padding: 40px 0; background: var(--bg-light); }
.t1-why h2 { text-align: center; font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 28px; color: var(--text-dark); }
.t1-why h2 span { color: var(--primary); }
.t1-why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; }
.t1-why-item .wi-icon { font-size: 40px; color: var(--primary); margin-bottom: 10px; }
.t1-why-item img { height: 48px; object-fit: contain; margin-bottom: 10px; }
.t1-why-item p { font-size: 12px; font-weight: 700; color: var(--text-dark); line-height: 1.4; }

/* T1 Footer */
.t1-footer { background: var(--primary); color: #fff; padding: 30px 0 0; }
.t1-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.t1-fc .tf-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.t1-fc .tf-value { font-size: 14px; font-weight: 700; color: #fff; }
.t1-fc a { color: #fff; }
.t1-fc p { font-size: 12px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.t1-fc i { font-size: 20px; color: rgba(255,255,255,0.8); margin-bottom: 6px; }
.t1-footer-bottom { background: rgba(0,0,0,0.2); text-align: center; padding: 12px; font-size: 12px; color: rgba(255,255,255,0.7); }
.t1-footer-bottom a { color: rgba(255,255,255,0.7); margin: 0 10px; }

/* Live Rate Flash Animation */
@keyframes flash-green { 0%,100%{background:transparent} 50%{background:rgba(0,180,0,0.15)} }
@keyframes flash-red { 0%,100%{background:transparent} 50%{background:rgba(200,0,0,0.12)} }
.flash-up { animation: flash-green 0.6s; }
.flash-down { animation: flash-red 0.6s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .rates-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .mid-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(3, 1fr); }
    .about-band-grid { grid-template-columns: 1fr; }
    .t1-spot-grid { grid-template-columns: repeat(3, 1fr); }
    .t1-why-grid { grid-template-columns: repeat(3, 1fr); }
    .t1-footer-grid { grid-template-columns: repeat(2, 1fr); }
    nav.main-nav { display: none; }
    nav.main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.1); padding: 16px; z-index: 999; }
    nav.main-nav.open ul { flex-direction: column; }
    nav.main-nav.open ul li a { padding: 10px 14px; border-radius: 4px; }
    .hamburger { display: flex; }
    .hero .container { flex-direction: column; }
    .hero-text h1 { font-size: 36px; }
    .t1-nav ul { flex-wrap: wrap; }
    .t1-header-right { gap: 16px; }
    .t1-header-info { font-size: 12px; }
    .t1-tabs .container { flex-wrap: wrap; }
}

@media (max-width: 900px) {
    .t1-nav ul { flex-wrap: wrap; }
    .t1-nav ul li a { padding: 10px 8px; }
}

@media (max-width: 768px) {
    .t1-header-bar .container { flex-wrap: wrap; gap: 10px; }
    .t1-header-right { gap: 12px; width: 100%; justify-content: flex-end; }
    .t1-header-info.hide-mobile { display: none; }
    .t1-tab-btn { padding: 9px 20px; font-size: 11px; }
}

@media (max-width: 600px) {
    .rates-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .t1-spot-grid { grid-template-columns: repeat(2, 1fr); }
    .t1-why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-text h1 { font-size: 28px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .t1-footer-grid { grid-template-columns: 1fr; }
    .t1-header-info { display: none; }
    .t1-tab-btn { padding: 8px 16px; font-size: 10px; letter-spacing: 0.5px; }
}

/* Loading spinner */
.rate-loading { color: #aaa; font-size: 12px; }

/* =============================================
   SKELETON LOADING EFFECTS
   ============================================= */
@keyframes skeleton-shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.skeleton {
    background: linear-gradient(90deg, var(--border) 25%, rgba(215,173,59,0.12) 50%, var(--border) 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.8s ease-in-out infinite;
    border-radius: 4px;
    color: transparent !important;
    pointer-events: none;
    user-select: none;
}

.skeleton * { visibility: hidden; }

.skeleton-text {
    display: inline-block;
    min-width: 80px;
    height: 1em;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--border) 25%, rgba(215,173,59,0.12) 50%, var(--border) 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.8s ease-in-out infinite;
    vertical-align: middle;
}

.skeleton-price {
    display: inline-block;
    min-width: 100px;
    height: 1.2em;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--border) 25%, rgba(215,173,59,0.12) 50%, var(--border) 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.8s ease-in-out infinite;
}

.skeleton-circle {
    border-radius: 50%;
    background: linear-gradient(90deg, var(--border) 25%, rgba(215,173,59,0.12) 50%, var(--border) 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.8s ease-in-out infinite;
}

.skeleton-row {
    height: 52px;
    background: linear-gradient(90deg, var(--border) 25%, rgba(215,173,59,0.12) 50%, var(--border) 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.8s ease-in-out infinite;
    border-radius: 6px;
    margin-bottom: 8px;
}

.skeleton-card {
    background: linear-gradient(90deg, var(--border) 25%, rgba(215,173,59,0.12) 50%, var(--border) 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.8s ease-in-out infinite;
    border-radius: 10px;
    min-height: 120px;
}

.rate-card .metal-price .skeleton-price,
.t1-spot-card .sc-price .skeleton-price {
    min-width: 90px;
    height: 24px;
}

/* Skeleton table rows */
.skeleton-table-row td {
    position: relative;
    overflow: hidden;
}
.skeleton-table-row td::after {
    content: '';
    display: block;
    height: 14px;
    width: 70%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--border) 25%, rgba(215,173,59,0.12) 50%, var(--border) 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.8s ease-in-out infinite;
}
.skeleton-table-row td:first-child::after { width: 55%; }
.skeleton-table-row td:not(:first-child)::after { margin: 0 auto; width: 60%; }

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes revealLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes revealRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes revealScale {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

.anim-ready.anim-visible { animation-fill-mode: both; }

.anim-fade-up.anim-visible    { animation: revealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.anim-fade-in.anim-visible    { animation: revealFade 0.6s ease both; }
.anim-slide-left.anim-visible { animation: revealLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.anim-slide-right.anim-visible{ animation: revealRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.anim-scale-in.anim-visible   { animation: revealScale 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* Stagger delays for grid children */
.anim-stagger.anim-visible > *:nth-child(1)  { animation-delay: 0s; }
.anim-stagger.anim-visible > *:nth-child(2)  { animation-delay: 0.08s; }
.anim-stagger.anim-visible > *:nth-child(3)  { animation-delay: 0.16s; }
.anim-stagger.anim-visible > *:nth-child(4)  { animation-delay: 0.24s; }
.anim-stagger.anim-visible > *:nth-child(5)  { animation-delay: 0.32s; }
.anim-stagger.anim-visible > *:nth-child(6)  { animation-delay: 0.40s; }
.anim-stagger.anim-visible > *:nth-child(7)  { animation-delay: 0.48s; }
.anim-stagger.anim-visible > *:nth-child(8)  { animation-delay: 0.56s; }
.anim-stagger.anim-visible > *:nth-child(9)  { animation-delay: 0.64s; }

.anim-stagger.anim-visible > * {
    animation: revealUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* =============================================
   HERO ANIMATIONS
   ============================================= */
@keyframes heroTextIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroTaglineIn {
    from { opacity: 0; letter-spacing: 12px; }
    to   { opacity: 1; letter-spacing: 4px; }
}
@keyframes heroImageIn {
    from { opacity: 0; transform: scale(0.9) translateX(30px); }
    to   { opacity: 1; transform: scale(1) translateX(0); }
}
@keyframes heroBtnIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-text h1 {
    animation: heroTextIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.hero-text .tagline {
    animation: heroTaglineIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
.hero-text p {
    animation: heroTextIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}
.hero-btns {
    animation: heroBtnIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}
.hero-image {
    animation: heroImageIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

/* Hero image crossfade */
.hero-image img {
    transition: opacity 0.8s ease;
}
.hero-image img.hero-fading {
    opacity: 0;
}

/* =============================================
   INNER HERO ANIMATIONS
   ============================================= */
@keyframes innerHeroSlide {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.inner-hero h1 {
    animation: innerHeroSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.inner-hero p {
    animation: innerHeroSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}
.inner-hero .btn-white-cta {
    animation: innerHeroSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

/* =============================================
   ENHANCED HOVER & MICRO-INTERACTIONS
   ============================================= */

/* Rate cards lift + glow */
.rate-card {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.rate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(215,173,59,0.18);
}

/* Feature icons bounce on hover */
.feature-item .fi-icon {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.feature-item:hover .fi-icon {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 6px 18px rgba(15,95,58,0.3);
}
.feature-item p {
    transition: color 0.2s;
}
.feature-item:hover p {
    color: var(--primary);
}

/* Why-choose items */
@keyframes checkPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.why-list li:hover i {
    animation: checkPop 0.4s ease;
    color: var(--primary);
}

/* Trust list items */
.trust-list div {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.trust-list div:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(15,95,58,0.12);
    border-left-color: var(--gold);
}

/* Gold release card shimmer overlay */
@keyframes goldShimmer {
    0% { left: -60%; }
    100% { left: 130%; }
}
.gold-release-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(215,173,59,0.12) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: goldShimmer 4s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

/* Button press effect */
.btn-primary-cta,
.btn-gold-cta,
.btn-gold-mini,
.btn-white-cta {
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary-cta:active,
.btn-gold-cta:active,
.btn-gold-mini:active,
.btn-white-cta:active {
    transform: scale(0.97);
}

/* Nav link hover underline */
.t1-nav ul li a {
    position: relative;
}
.t1-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: width 0.3s ease, left 0.3s ease;
}
.t1-nav ul li a:hover::after,
.t1-nav ul li a.active::after {
    width: 100%;
    left: 0;
}

/* Service cards */
.service-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.service-card:hover {
    transform: translateY(-6px);
}
.service-card .svc-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card:hover .svc-icon {
    transform: scale(1.1);
}

/* Product items */
.product-item {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.25s ease;
}
.product-item:hover {
    transform: translateY(-3px);
    background: var(--surface-soft);
}
.product-item img {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-item:hover img {
    transform: scale(1.1);
}

/* Cert badges */
.cert-badge {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cert-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15,95,58,0.12);
}

/* Social icons */
.social-icons a {
    transition: background 0.2s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.social-icons a:hover {
    transform: scale(1.15);
}

/* Spot card hover */
.t1-spot-card {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.t1-spot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(180,150,80,0.18);
}

/* Why-section icons */
.t1-why-item .wi-icon {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s;
}
.t1-why-item:hover .wi-icon {
    transform: scale(1.15);
    color: var(--gold);
}

/* Footer columns fade up */
@keyframes footerReveal {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.t1-footer.anim-visible .t1-fc:nth-child(1) { animation: footerReveal 0.5s ease 0s both; }
.t1-footer.anim-visible .t1-fc:nth-child(2) { animation: footerReveal 0.5s ease 0.08s both; }
.t1-footer.anim-visible .t1-fc:nth-child(3) { animation: footerReveal 0.5s ease 0.16s both; }
.t1-footer.anim-visible .t1-fc:nth-child(4) { animation: footerReveal 0.5s ease 0.24s both; }
.t1-footer.anim-visible .t1-fc:nth-child(5) { animation: footerReveal 0.5s ease 0.32s both; }

/* Content cards on inner pages */
.content-card {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.content-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}

/* Dashboard tiles */
.dash-tile,
.module-action {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.dash-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.module-action:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.1); }

/* Login card animation */
@keyframes loginCardIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.lc {
    animation: loginCardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Tab panel transition */
.tab-panel { transition: opacity 0.3s ease; }
.tab-panel.active { opacity: 1; }

/* Tab button active state pulse */
@keyframes tabPulse {
    0% { box-shadow: 0 0 0 0 rgba(15,95,58,0.35); }
    70% { box-shadow: 0 0 0 8px rgba(15,95,58,0); }
    100% { box-shadow: 0 0 0 0 rgba(15,95,58,0); }
}
.t1-tab-btn.active {
    animation: tabPulse 0.6s ease;
}

/* Highlight box shimmer */
.highlight-box {
    position: relative;
    overflow: hidden;
}
.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: goldShimmer 5s ease-in-out infinite;
    pointer-events: none;
}

/* Position card hover */
.position-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.position-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* Reduced motion: disable all animations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .anim-ready { opacity: 1; }
    .skeleton, .skeleton-text, .skeleton-price, .skeleton-circle, .skeleton-row, .skeleton-card {
        animation: none;
        background: var(--border);
    }
}

/* ---- Themed Inner Pages ---- */
.inner-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 34px 0;
}
.inner-hero .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.inner-hero h1 { font-size: 28px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.inner-hero p { color: rgba(255,255,255,0.82); font-size: 13px; margin-top: 6px; }
.inner-panel { padding: 36px 0 52px; background: var(--bg-light); min-height: 420px; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.content-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
}
.content-card.wide { grid-column: span 2; }
.content-card.full { grid-column: 1 / -1; }
.content-card h2,
.content-card h3 { color: var(--primary); font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.content-card h2 { font-size: 20px; }
.content-card h3 { font-size: 15px; }
.content-card p,
.content-card li { color: #333; font-size: 14px; line-height: 1.7; }
.content-card ul { padding-left: 18px; }
.coming-soon-card {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.coming-soon-card h2 {
    margin: 0;
    color: var(--primary);
    font-size: 32px;
    letter-spacing: 0;
}
.detail-list { display: grid; gap: 10px; }
.detail-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid #eee; }
.detail-row span:first-child { color: #777; font-size: 12px; text-transform: uppercase; font-weight: 800; }
.detail-row span:last-child { font-size: 14px; font-weight: 600; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.calc-toolbar {
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 16px;
}
.calc-type-group {
    display: flex;
    align-items: center;
    gap: 18px;
}
.calc-type-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
}
.calc-type-group input {
    margin: 0;
}
.calc-add-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 10px 18px;
    line-height: 1;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; color: #666; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 11px 12px;
    font-family: inherit;
    font-size: 14px;
    background: var(--surface);
    color: var(--text-dark);
}
.field textarea { min-height: 110px; resize: vertical; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table th { background: var(--primary); color: #fff; text-align: left; font-size: 12px; text-transform: uppercase; padding: 12px; }
.data-table td { border-bottom: 1px solid #eee; padding: 12px; font-size: 14px; }
.data-table input { width: 100%; border: 1px solid #ddd; border-radius: 5px; padding: 8px; }
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-scroll .data-table {
    min-width: 640px;
}
.summary-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.summary-box { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.summary-box span { display: block; color: #777; font-size: 11px; text-transform: uppercase; font-weight: 800; margin-bottom: 5px; }
.summary-box strong { color: var(--primary); font-size: 20px; }
.message-list { display: grid; gap: 14px; }
.message-item { border: 1px solid var(--border); border-radius: 8px; background: #fff; overflow: hidden; }
.message-item p { padding: 16px; }
.message-date { background: #f4e8c1; color: #3d2b00; font-size: 12px; font-weight: 800; text-align: right; padding: 10px 16px; }
.status-note { color: #777; font-size: 13px; margin-top: 10px; }

@media (max-width: 900px) {
    .content-grid { grid-template-columns: 1fr; }
    .content-card.wide { grid-column: auto; }
    .form-grid { grid-template-columns: 1fr; }
    .calc-toolbar { align-items: stretch; }
    .calc-type-group { width: 100%; }
    .calc-add-row { width: 100%; }
    .summary-strip { grid-template-columns: repeat(2, 1fr); }
    .inner-hero .container { display: block; }
}

@media (max-width: 520px) {
    .detail-row { grid-template-columns: 1fr; gap: 3px; }
    .summary-strip { grid-template-columns: 1fr; }
}

/* ---- S A Bullion dashboard and trading modules ---- */
.theme-toggle {
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text-dark);
    border-radius: 6px;
    min-height: 36px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font: 700 11px 'Montserrat', sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
}
.theme-toggle i { color: var(--gold); margin: 0; font-size: 13px; }
.dashboard-shell {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
}
.dashboard-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.dash-tile,
.position-card {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    padding: 16px;
}
.dash-tile span,
.position-card span {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.dash-tile strong,
.position-card strong {
    color: var(--primary);
    font-size: 22px;
}
.module-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.module-action {
    min-height: 118px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.module-action i { color: var(--gold); font-size: 24px; }
.module-action strong { color: var(--text-dark); font-size: 13px; text-transform: uppercase; }
.module-action small { color: var(--text-muted); font-size: 11px; line-height: 1.45; }
.net-position-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.position-card.net strong { color: var(--success); }
.position-card.net.short strong { color: var(--danger); }
.trade-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}
.trade-panel {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    background: var(--surface-soft);
}
.comment-box {
    min-height: 86px;
}
.trade-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.trade-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.trade-status-row span {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
}
.orders-table button {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--primary);
    padding: 7px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 800;
    font-size: 11px;
}
html[data-theme="night"] .t1-rates-table tbody tr:hover,
html[data-theme="night"] .t1-rates-table tbody tr.trade-row:hover {
    background: #1d2a20;
}
html[data-theme="night"] .message-date { background: #2d3b25; color: var(--gold-light); }

@media (max-width: 992px) {
    .dashboard-shell,
    .trade-workspace { grid-template-columns: 1fr; }
    .dashboard-tiles,
    .module-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .net-position-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .dashboard-tiles,
    .module-actions { grid-template-columns: 1fr; }
    .theme-toggle span { display: none; }
    .theme-toggle { padding: 8px 10px; }
    .rate-display { flex-direction: column; }
    .order-action-row { align-items: stretch; flex-direction: column; }
}

/* ---- Services Page ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,0.11); }
.service-card .svc-icon { font-size: 46px; color: var(--primary); margin-bottom: 14px; }
.service-card h3 { font-size: 15px; font-weight: 800; color: var(--primary); text-transform: uppercase; margin-bottom: 10px; letter-spacing: 0.5px; }
.service-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } }

/* ---- Process Steps ---- */
.process-list { list-style: none; margin-top: 8px; }
.process-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.step-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
}
.step-body h4 { font-size: 14px; font-weight: 800; color: var(--text-dark); margin-bottom: 3px; text-transform: uppercase; }
.step-body p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ---- About page ---- */
.about-intro { font-size: 15px; line-height: 1.8; color: #333; margin-bottom: 18px; }
.cert-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
}
.cert-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}
.cert-badge i { color: var(--primary); font-size: 18px; }

/* ---- Highlight box ---- */
.highlight-box {
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    padding: 24px 22px;
    margin-bottom: 0;
}
.highlight-box h3 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.highlight-box p { color: rgba(255,255,255,0.88); font-size: 13px; line-height: 1.6; }
.highlight-box .btn-white-cta { margin-top: 14px; display: inline-block; }

/* ---- Device responsive hardening ---- */
html {
    overflow-x: hidden;
}

body {
    min-width: 320px;
    overflow-x: hidden;
}

.container {
    width: min(100%, 1200px);
}

.t1-header-bar .container,
.header-inner,
.section-header,
.inner-hero .container {
    min-width: 0;
}

.t1-logo,
.logo-wrap {
    min-width: 0;
}

.t1-logo-text,
.logo-text {
    overflow-wrap: anywhere;
}

.t1-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.t1-nav .container {
    justify-content: flex-start;
    min-width: max-content;
}

.t1-nav ul {
    justify-content: flex-start;
}

.t1-rates-table,
.orders-table {
    min-width: 680px;
}

.t1-metal-rates .container,
.content-card > div[style*="overflow-x:auto"] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rate-card,
.t1-spot-card,
.content-card,
.dash-tile,
.position-card,
.module-action,
.tool-card,
.service-card {
    min-width: 0;
}

.rate-card .metal-price,
.t1-spot-card .sc-price,
.position-card strong,
.dash-tile strong,
.summary-box strong {
    overflow-wrap: anywhere;
}

@media (min-width: 993px) and (max-width: 1180px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .t1-logo img {
        height: 44px;
    }

    .t1-logo-text {
        font-size: 22px;
    }

    .t1-logo-sub {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .t1-header-right {
        gap: 14px;
    }

    .t1-header-info {
        font-size: 12px;
    }

    .t1-nav .container {
        min-width: 0;
    }

    .t1-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .t1-nav ul li a {
        padding: 10px 7px;
    }

    .theme-toggle span {
        display: none;
    }

    .rates-grid,
    .t1-spot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .features-grid,
    .tools-grid,
    .t1-why-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mid-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-choose-card {
        grid-column: 1 / -1;
    }

    .t1-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .t1-header-bar .container {
        align-items: flex-start;
        gap: 16px;
    }

    .t1-logo img {
        height: 46px;
    }

    .t1-logo-text {
        font-size: 23px;
    }

    .t1-header-right {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px;
        max-width: 430px;
    }

    .t1-nav .container {
        min-width: 0;
    }

    .t1-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0;
    }

    .t1-nav ul li a {
        padding: 10px 9px;
    }

    .hero {
        padding: 42px 0 32px;
    }

    .hero .container {
        align-items: flex-start;
        gap: 24px;
    }

    .hero-image img {
        max-height: 280px;
    }

    .section-header {
        gap: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .trust-list,
    .summary-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .t1-header-bar {
        padding: 10px 0;
    }

    .t1-header-bar .container {
        align-items: center;
    }

    .t1-logo img {
        height: 42px;
    }

    .t1-logo {
        gap: 8px;
        max-width: 100%;
    }

    .t1-logo-text {
        font-size: 20px;
        line-height: 1.1;
    }

    .t1-logo-sub {
        font-size: 8px;
        letter-spacing: 1.6px;
    }

    .t1-header-right {
        justify-content: flex-start;
        width: 100%;
        flex-wrap: wrap;
    }

    .btn-login-t1,
    .theme-toggle {
        min-height: 36px;
    }

    .t1-nav {
        border-top: 1px solid var(--border);
    }

    .t1-nav .container {
        min-width: max-content;
        padding-left: 12px;
        padding-right: 12px;
    }

    .t1-nav ul {
        flex-wrap: nowrap;
    }

    .t1-nav ul li a {
        padding: 11px 10px;
        font-size: 10px;
    }

    .hero {
        padding: 34px 0 28px;
    }

    .hero .container {
        gap: 22px;
    }

    .hero-text .tagline {
        letter-spacing: 2px;
    }

    .hero-text p {
        margin-bottom: 22px;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .live-rates-section,
    .about-band,
    .tools-section {
        padding: 34px 0;
    }

    .features-strip,
    .t1-why {
        padding: 30px 0;
    }

    .t1-tabs .container {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
    }

    .t1-tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .t1-metal-rates .container {
        padding-left: 0;
        padding-right: 0;
    }

    .t1-rates-table thead th,
    .t1-rates-table tbody td {
        padding-left: 14px;
        padding-right: 14px;
    }

    .inner-hero {
        padding: 26px 0;
    }

    .inner-hero .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .inner-panel {
        padding: 24px 0 38px;
    }

    .content-card {
        padding: 18px;
    }

    .dashboard-links,
    .hero-btns,
    .action-row,
    .order-action-row {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-links a,
    .hero-btns a,
    .action-row a,
    .action-row button,
    .order-action-row button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .trade-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .refresh-btn {
        float: none;
        width: 100%;
        min-height: 38px;
    }
}

@media (max-width: 600px) {
    .rates-grid,
    .t1-spot-grid,
    .features-grid,
    .tools-grid,
    .t1-why-grid,
    .products-grid,
    .trust-list {
        grid-template-columns: 1fr;
    }

    .rate-card,
    .t1-spot-card {
        text-align: left;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 12px;
        align-items: center;
    }

    .rate-card .metal-icon,
    .t1-spot-card .sc-icon {
        width: 46px;
        height: 46px;
        grid-row: span 3;
        margin: 0;
    }

    .rate-card .metal-name,
    .rate-card .metal-price,
    .rate-card .metal-hl,
    .rate-card .metal-change,
    .t1-spot-card .sc-name,
    .t1-spot-card .sc-price,
    .t1-spot-card .sc-hl,
    .t1-spot-card .sc-change {
        min-width: 0;
    }

    .rate-card .metal-price,
    .t1-spot-card .sc-price {
        font-size: 20px;
    }

    .products-grid {
        gap: 10px;
    }

    .product-item {
        border: 1px solid var(--border);
        border-radius: 8px;
    }

    .product-item:first-child {
        border-left: 1px solid var(--border);
    }

    .summary-strip,
    .net-position-grid {
        grid-template-columns: 1fr;
    }

    .orders-table {
        min-width: 760px;
    }

    .t1-rates-table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed;
    }

    .t1-rates-table thead th:first-child,
    .t1-rates-table tbody td:first-child {
        width: 46%;
    }

    .t1-rates-table thead th:not(:first-child),
    .t1-rates-table tbody td:not(:first-child) {
        width: 27%;
    }

    .t1-rates-table thead th {
        padding: 10px 8px;
        font-size: 11px;
        letter-spacing: 0;
    }

    .t1-rates-table tbody td {
        padding: 12px 8px;
        font-size: 13px;
    }

    .t1-rates-table tbody td:not(:first-child) {
        font-size: 14px;
    }

    .metal-label {
        gap: 6px;
    }

    .metal-badge {
        font-size: 9px;
        padding: 2px 5px;
    }
}

@media (max-width: 420px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .t1-logo img {
        height: 38px;
    }

    .t1-logo-text {
        font-size: 18px;
    }

    .t1-logo-sub {
        letter-spacing: 1px;
    }

    .btn-login-t1 {
        padding: 8px 12px !important;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .hero-text .tagline {
        font-size: 12px;
        letter-spacing: 1.2px;
    }

    .section-title,
    .t1-why h2 {
        font-size: 19px;
    }

    .inner-hero h1 {
        font-size: 23px;
    }

    .content-card {
        padding: 16px 14px;
    }

    .theme-toggle {
        padding: 8px 9px;
    }
}

@media (orientation: landscape) and (max-height: 520px) and (max-width: 932px) {
    .hero {
        padding: 24px 0;
    }

    .hero .container {
        flex-direction: row;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .hero-image img {
        max-height: 190px;
    }

    .inner-hero {
        padding: 20px 0;
    }
}
