/* ═══════════════════════════════════════════════════════════════════════════
   World Gold Diamonds — Trading Page Styles
═══════════════════════════════════════════════════════════════════════════ */

[data-anim] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-anim="fade-right"] { transform: translateX(-40px); }
[data-anim="fade-left"]  { transform: translateX(40px); }
[data-anim].anim-visible { opacity: 1; transform: none; }

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.trading-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.trading-hero-bg { position: absolute; inset: 0; z-index: 0; }
.trading-hero-img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
    transform: scale(1.05);
    animation: heroZoomTrd 12s ease-out forwards;
}
@keyframes heroZoomTrd { to { transform: scale(1); } }
.trading-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.78) 60%, rgba(0,0,0,0.94) 100%);
}
.trading-hero-content { position: relative; z-index: 1; padding: 7rem 0 5rem; }
.trading-hero-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.18;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.trading-hero-sub {
    font-size: 1.05rem;
    color: rgba(245,245,245,0.82);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.hero-eyebrow-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}
.eyebrow-line { display: inline-block; width: 32px; height: 1px; background: var(--gold); opacity: 0.6; }

.btn-trd-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--radius);
    transition: border-color var(--transition), color var(--transition);
}
.btn-trd-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ─── Stat badges in hero ──────────────────────────────────────────────────── */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}
.hero-stat {
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: var(--radius);
    padding: 0.75rem 1.25rem;
    text-align: center;
    min-width: 110px;
}
.hero-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.1;
}
.hero-stat-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white-muted);
    margin-top: 2px;
}

/* ─── Overview info cards ──────────────────────────────────────────────────── */
.overview-card {
    background: var(--black-card);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.overview-card:hover {
    border-color: rgba(201,168,76,0.45);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.overview-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(201,168,76,0.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    color: var(--gold);
    margin-bottom: 1rem;
}
.overview-card h5 { font-size: 1rem; color: var(--white); margin-bottom: 0.5rem; }
.overview-card p  { font-size: 0.875rem; color: var(--white-muted); margin: 0; line-height: 1.65; }

/* ─── Spec table ───────────────────────────────────────────────────────────── */
.spec-table {
    width: 100%;
    border-collapse: collapse;
}
.spec-table tr {
    border-bottom: 1px solid rgba(201,168,76,0.1);
}
.spec-table tr:last-child { border-bottom: none; }
.spec-table td {
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    vertical-align: top;
}
.spec-table td:first-child {
    color: var(--gold);
    font-weight: 600;
    width: 42%;
    white-space: nowrap;
}
.spec-table td:last-child { color: var(--white-muted); }

/* ─── Capacity bars ────────────────────────────────────────────────────────── */
.capacity-item { margin-bottom: 1.5rem; }
.capacity-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}
.capacity-label { font-size: 0.875rem; color: var(--white); font-weight: 500; }
.capacity-value { font-size: 0.875rem; color: var(--gold); font-weight: 600; }
.capacity-bar {
    height: 6px;
    background: rgba(201,168,76,0.12);
    border-radius: 3px;
    overflow: hidden;
}
.capacity-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-radius: 3px;
    width: 0;
    transition: width 1.2s ease 0.3s;
}

/* ─── Process steps ────────────────────────────────────────────────────────── */
.trd-process-track {
    display: flex;
    flex-direction: column;
    max-width: 820px;
    margin: 0 auto;
}
.trd-process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
}
.trd-process-num {
    flex-shrink: 0;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(201,168,76,0.2);
}
.trd-process-connector {
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: -2rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(201,168,76,0.5), rgba(201,168,76,0.1));
}
.trd-process-step:last-child .trd-process-connector { display: none; }
.trd-process-body { flex: 1; margin-bottom: 2rem; }
.trd-process-body h5 { font-size: 1rem; color: var(--white); margin-bottom: 0.4rem; }
.trd-process-body p  { font-size: 0.875rem; color: var(--white-muted); margin: 0; line-height: 1.65; }

/* ─── Verification badges ──────────────────────────────────────────────────── */
.verify-badge {
    background: var(--black-card);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: border-color var(--transition);
}
.verify-badge:hover { border-color: rgba(201,168,76,0.4); }
.verify-badge-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(201,168,76,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--gold);
}
.verify-badge h6 { font-size: 0.9rem; color: var(--white); margin-bottom: 4px; }
.verify-badge p  { font-size: 0.82rem; color: var(--white-muted); margin: 0; line-height: 1.55; }

/* ─── Contract timeline ────────────────────────────────────────────────────── */
.contract-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    position: relative;
}
.contract-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, rgba(201,168,76,0.15), rgba(201,168,76,0.45), rgba(201,168,76,0.15));
}
.contract-step { text-align: center; padding: 0 1rem 0; position: relative; }
.contract-step-dot {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--black-card);
    border: 2px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
    color: var(--gold);
    position: relative;
    z-index: 1;
    transition: background var(--transition);
}
.contract-step:hover .contract-step-dot { background: rgba(201,168,76,0.15); }
.contract-step h6 { font-size: 0.875rem; color: var(--white); margin-bottom: 0.35rem; }
.contract-step p  { font-size: 0.8rem; color: var(--white-muted); margin: 0; line-height: 1.55; }

/* ─── Shipping grid ────────────────────────────────────────────────────────── */
.ship-card {
    background: var(--black-card);
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: border-color var(--transition), transform var(--transition);
}
.ship-card:hover {
    border-color: rgba(201,168,76,0.4);
    transform: translateY(-3px);
}
.ship-card-icon {
    font-size: 1.75rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
    display: block;
}
.ship-card h6 { font-size: 0.95rem; color: var(--white); margin-bottom: 0.4rem; }
.ship-card p  { font-size: 0.825rem; color: var(--white-muted); margin: 0; line-height: 1.6; }

/* ─── Destinations ─────────────────────────────────────────────────────────── */
.dest-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 2rem;
    font-size: 0.82rem;
    color: var(--white-muted);
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.dest-pill:hover { background: rgba(201,168,76,0.18); border-color: rgba(201,168,76,0.5); color: var(--gold); }
.dest-pill i { color: var(--gold); font-size: 0.75rem; }

/* ─── FCO / PDF Viewer ─────────────────────────────────────────────────────── */
.fco-section {
    background: var(--black-soft);
    border-top: 1px solid rgba(201,168,76,0.15);
    border-bottom: 1px solid rgba(201,168,76,0.15);
}
.fco-viewer-wrap {
    background: var(--black-card);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius);
    overflow: hidden;
}
.fco-viewer-header {
    background: rgba(201,168,76,0.07);
    border-bottom: 1px solid rgba(201,168,76,0.18);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.fco-viewer-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.04em;
}
.fco-viewer-title i { color: var(--gold); }
.fco-embed {
    width: 100%;
    height: 680px;
    display: block;
    border: none;
    background: #1e1e1e;
}
.fco-unavailable {
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--white-muted);
    font-size: 0.9rem;
}
.fco-unavailable i {
    font-size: 2.5rem;
    color: rgba(201,168,76,0.35);
}

/* ─── CTA Banner ───────────────────────────────────────────────────────────── */
.trd-cta-section { position: relative; overflow: hidden; padding: 6.5rem 0; }
.trd-cta-bg { position: absolute; inset: 0; z-index: 0; }
.trd-cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.18) saturate(0.3); }
.trd-cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.92) 100%); }

.btn-whatsapp-trd {
    background: #25d366;
    color: #fff;
    border: 2px solid #25d366;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}
.btn-whatsapp-trd:hover { background: transparent; color: #25d366; }

/* ─── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .contract-steps::before { display: none; }
    .contract-step { margin-bottom: 1.5rem; }
}
@media (max-width: 767.98px) {
    .trading-hero-content { padding: 5rem 0 3.5rem; }
    .fco-embed { height: 420px; }
    .trd-process-step { gap: 1rem; }
    .trd-process-connector { left: 23px; }
    .hero-stats { gap: 0.75rem; }
    .hero-stat { min-width: 90px; padding: 0.6rem 0.9rem; }
}
