/* =============================================
   FAITH IN FUTURE – Global Styles
   ============================================= */

/* Variables */
:root {
    --bg-color: #050505;
    --surface-color: #121212;
    --surface2: #1a1a1a;
    --accent-gold: #D4AF37;
    --accent-gold-dim: #aa8c2c;
    --accent-silver: #C0C0C0;
    --text-primary: #F5F5F5;
    --text-secondary: #B0B0B0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --max-width: 1200px;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius: 8px;
    --green: #16a34a;
    --red: #dc2626;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ---- Utilities ---- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.hidden {
    display: none !important;
}

.text-gold {
    background: linear-gradient(135deg, #FDD043, #D4AF37, #B08D26);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    font-family: var(--font-body);
}

.btn:hover {
    background: var(--accent-gold);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-secondary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: none;
}

/* ---- Header ---- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: padding 0.3s ease;
}

header.scrolled {
    padding: 0.8rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #FDD043, #D4AF37, #B08D26);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.hamburger {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    border-radius: 4px;
}

/* ---- Hero ---- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('assets/hero_bg.png') no-repeat center center/cover;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 0.85) 80%, var(--bg-color) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

/* ---- Services ---- */
.services {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.4rem;
    margin: 0.5rem 0;
}

.section-header>p:first-child {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
}

.section-sub {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--surface-color);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--surface2);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-icon svg {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.15) rotate(3deg);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

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

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent-gold);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ---- Angle One Section ---- */
.angle-section {
    padding: 6rem 0;
    background: var(--surface-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.angle-tabs {
    display: flex;
    gap: 0;
    justify-content: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.angle-tab {
    flex: 1;
    padding: 0.8rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.angle-tab:last-child {
    border-right: none;
}

.angle-tab.active,
.angle-tab:hover {
    background: var(--accent-gold);
    color: #000;
}

.angle-content {
    max-width: 700px;
    margin: 0 auto;
}

.angle-panel {
    display: block;
}

.angle-info {
    background: var(--bg-color);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
}

.angle-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.angle-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.angle-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.angle-features li {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ---- About ---- */
.about {
    padding: 6rem 0;
    background: var(--surface-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text>p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat h4 {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 0.3rem;
}

.stat span {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.about-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-card {
    background: var(--bg-color);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    transition: all 0.3s;
}

.about-card:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-4px);
}

/* ---- Social Media Section ---- */
.social-section {
    padding: 7rem 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.social-card {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    display: block;
    transition: all 0.4s ease;
    cursor: pointer;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.whatsapp-card:hover {
    border-color: #25D366;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.15);
}

.instagram-card:hover {
    border-color: #E1306C;
    box-shadow: 0 20px 40px rgba(225, 48, 108, 0.15);
}

.youtube-card:hover {
    border-color: #FF0000;
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.15);
}

.social-icon {
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
}

.social-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.social-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    color: var(--accent-gold);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ---- Footer ---- */
footer {
    padding: 5rem 0 2rem;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
}

.footer-social a {
    font-size: 1.4rem;
    transition: transform 0.3s;
}

.footer-social a:hover {
    transform: scale(1.2);
}

.footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #555;
    font-size: 0.78rem;
}

/* ---- Scroll Reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.open {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    background: var(--surface-color);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius);
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-wide {
    max-width: 680px;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--accent-gold);
}

.modal-title {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.modal-sub {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 1.8rem;
}

/* ---- Forms ---- */
.modal-form,
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select {
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.3s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--surface2);
}

.form-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem;
    font-size: 0.9rem;
}

/* Toggle buttons */
.toggle-group {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    overflow: hidden;
}

.toggle-btn {
    flex: 1;
    padding: 0.7rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.toggle-btn:last-child {
    border-right: none;
}

.toggle-btn.active {
    background: var(--accent-gold);
    color: #000;
    font-weight: 600;
}

/* Insurance type grid */
.ins-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.ins-type-btn {
    padding: 0.7rem 0.5rem;
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.ins-type-btn.active,
.ins-type-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.08);
}

/* Bonds / Unlisted table */
.bonds-table-wrap {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.bonds-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.bonds-table th {
    background: var(--bg-color);
    color: var(--accent-gold);
    padding: 0.7rem 0.8rem;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bonds-table td {
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
}

.bonds-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
}

.badge-active {
    background: rgba(22, 163, 74, 0.15);
    color: #4ade80;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.table-note {
    color: #555;
    font-size: 0.78rem;
    margin-top: 0.5rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--surface2);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    z-index: 9999;
    transition: transform 0.4s ease;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
    padding: 10rem 0 4rem;
    background: linear-gradient(180deg, #0a0a0a 0%, var(--bg-color) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.page-tag {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.82rem;
    margin-bottom: 0.8rem;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   MARKET DATA PAGE
   ============================================ */
/* Ticker */
.ticker-outer {
    background: var(--surface2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    padding: 0.6rem 0;
}

.ticker-wrap {
    overflow: hidden;
    position: relative;
}

.ticker-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.tick-item {
    display: inline-flex;
    gap: 0.5rem;
    font-size: 0.82rem;
    align-items: center;
    flex-shrink: 0;
    padding: 0 0.5rem;
}

.tick-item strong {
    color: var(--text-primary);
}

.tick-up {
    color: #4ade80;
}

.tick-down {
    color: #f87171;
}

/* Index grid */
.market-section {
    padding: 4rem 0;
}

.index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.index-card {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s;
}

.index-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
}

.idx-label {
    color: var(--text-secondary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.idx-price {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 0.3rem;
}

.idx-change {
    font-size: 0.88rem;
    font-weight: 600;
}

.skeleton {
    background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    height: 120px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.data-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.82rem;
    margin-top: 1.5rem;
}

/* Market tables grid */
.market-tables-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.market-table-card {
    background: var(--surface-color);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.table-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.table-card-header h3 {
    font-size: 1rem;
}

.gainers-header {
    border-top: 3px solid #4ade80;
}

.losers-header {
    border-top: 3px solid #f87171;
}

.high-header {
    border-top: 3px solid #60a5fa;
}

.low-header {
    border-top: 3px solid #f59e0b;
}

.live-badge {
    background: rgba(22, 163, 74, 0.15);
    color: #4ade80;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.table-responsive {
    overflow-x: auto;
}

.market-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.market-table th {
    color: var(--text-secondary);
    padding: 0.7rem 1rem;
    text-align: left;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--font-body);
    font-weight: 600;
}

.market-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
}

.market-table tr:last-child td {
    border-bottom: none;
}

.market-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
}

.loading-row {
    text-align: center;
    color: #444;
}

/* ============================================
   RESEARCH PAGE
   ============================================ */
.research-section {
    padding: 5rem 0;
}

.report-card {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s;
}

.report-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.demo-report {
    border-color: rgba(212, 175, 55, 0.3);
}

.report-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gold);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
}

.premium-tag {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: #fff;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.report-header h3 {
    font-size: 1.2rem;
}

.report-date {
    color: var(--text-secondary);
    font-size: 0.82rem;
    margin-top: 0.3rem;
}

.report-rating {
    font-size: 1rem;
}

.report-summary {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.report-stocks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stock-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 3px;
}

.login-gate {
    background: var(--surface2);
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: var(--radius);
    padding: 4rem 2rem;
    text-align: center;
    margin: 3rem 0;
}

.gate-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gate-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.gate-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1rem 4rem;
    background: radial-gradient(ellipse at center top, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
}

.login-container {
    background: var(--surface-color);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius);
    padding: 3rem;
    width: 100%;
    max-width: 440px;
}

.login-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.login-brand h2 {
    font-size: 2rem;
}

.login-brand p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 0.3rem;
}

.auth-tabs {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.auth-tab-btn {
    flex: 1;
    padding: 0.7rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-tab-btn.active {
    background: var(--accent-gold);
    color: #000;
    font-weight: 600;
}

.form-forgot {
    text-align: right;
}

.form-forgot a {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.form-forgot a:hover {
    color: var(--accent-gold);
}

.auth-error {
    color: #f87171;
    font-size: 0.85rem;
    text-align: center;
}

.auth-note {
    color: #444;
    font-size: 0.75rem;
    text-align: center;
    margin-top: 1.5rem;
}

/* ============================================
   ABOUT US PAGE
   ============================================ */
.about-page-section {
    padding: 6rem 0;
}

.about-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.mission-text h2 {
    font-size: 2.4rem;
    margin: 0.5rem 0 1.5rem;
    line-height: 1.2;
}

.mission-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.section-tag-inline {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.82rem;
}

.mission-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.value-card {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s;
}

.value-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
}

.value-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    display: block;
}

.value-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.about-stats-section {
    padding: 5rem 0;
    background: var(--surface-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.big-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.big-stat h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, #FDD043, #D4AF37, #B08D26);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.big-stat p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.service-list-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s;
}

.service-list-item:hover {
    border-color: rgba(212, 175, 55, 0.2);
}

.sli-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.service-list-item h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.service-list-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.about-cta {
    padding: 5rem 0;
}

.cta-box {
    background: var(--surface-color);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius);
    padding: 4rem;
    text-align: center;
}

.cta-box h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {

    .about-content,
    .about-mission {
        grid-template-columns: 1fr;
    }

    .about-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .big-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .market-tables-grid {
        grid-template-columns: 1fr;
    }

    .services-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .page-title {
        font-size: 2.4rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.98);
        padding: 1.5rem 2rem;
        gap: 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: block;
    }

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

    .footer-content>.footer-brand {
        grid-column: 1 / -1;
    }

    .ins-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal {
        padding: 1.8rem;
    }

    header nav {
        position: relative;
    }

    .about-mission {
        grid-template-columns: 1fr;
    }

    .mission-values {
        grid-template-columns: 1fr 1fr;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }

    .angle-tabs {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

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

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

    .big-stats {
        grid-template-columns: 1fr 1fr;
    }

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

/* ============================================
   JOIN THE FAMILY NAV BUTTON
   ============================================ */
.nav-join-btn {
    background: linear-gradient(135deg, #D4AF37, #FDD043) !important;
    color: #000 !important;
    padding: 0.45rem 1.1rem !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    border-bottom: none !important;
    letter-spacing: 0.5px !important;
    animation: joinPulse 2.5s ease-in-out infinite;
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
}

.nav-join-btn:hover {
    background: linear-gradient(135deg, #FDD043, #D4AF37) !important;
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.6) !important;
    transform: translateY(-1px);
}

@keyframes joinPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }

    50% {
        box-shadow: 0 0 22px rgba(212, 175, 55, 0.55);
    }
}

/* ============================================
   SERVICE CARD – subtle gold tint background
   ============================================ */
.service-card {
    background: linear-gradient(135deg, #141414 0%, #181510 100%);
}

.service-icon {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* ============================================
   INNER PAGE HERO BACKGROUNDS
   ============================================ */
.page-hero {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.9) 80%, var(--bg-color) 100%);
    z-index: 1;
}

.market-hero {
    background-image: url('assets/stock_market_gold_1_1773436608742.png');
}

.research-hero {
    background-image: url('assets/stock_market_gold_2_1773436625596.png');
}

.login-hero {
    background-image: url('assets/stock_market_gold_3_1773436642273.png');
}

.about-hero {
    background-image: url('assets/stock_market_gold_1_1773436608742.png');
}

.tools-hero {
    background-image: url('assets/stock_market_gold_2_1773436625596.png');
}

/* ============================================
   MARKET TABLES – animated & engaging
   ============================================ */
.market-table-card {
    position: relative;
    overflow: hidden;
}

.market-table-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
    animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.market-table tr {
    transition: background 0.2s;
}

.market-table tbody tr:hover td {
    background: rgba(212, 175, 55, 0.05);
    color: var(--text-primary);
}

.gain-val {
    color: #4ade80;
    font-weight: 600;
}

.loss-val {
    color: #f87171;
    font-weight: 600;
}

.neutral-val {
    color: var(--text-secondary);
}

/* Animated progress bar for % change */
.pct-bar-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pct-bar {
    height: 4px;
    border-radius: 2px;
    min-width: 4px;
    max-width: 60px;
    transition: width 0.8s ease;
}

.pct-bar.gain {
    background: #4ade80;
}

.pct-bar.loss {
    background: #f87171;
}

/* ============================================
   UNLISTED STOCK SELECTOR
   ============================================ */
.unlisted-stock-list {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) transparent;
}

.unlisted-stock-list::-webkit-scrollbar {
    width: 4px;
}

.unlisted-stock-list::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

.stock-select-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.25s;
}

.stock-select-item:last-child {
    border-bottom: none;
}

.stock-select-item:hover {
    background: rgba(212, 175, 55, 0.06);
}

.stock-select-item.selected {
    background: rgba(212, 175, 55, 0.12);
    border-left: 3px solid var(--accent-gold);
}

.stock-select-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.stock-select-info strong {
    color: var(--text-primary);
    font-size: 0.88rem;
}

.stock-select-info span {
    color: var(--accent-gold);
    font-size: 0.82rem;
    font-weight: 600;
}

/* ============================================
   TOOLS PAGE
   ============================================ */
.tools-section {
    padding: 4rem 0 6rem;
}

.tools-tab-bar {
    display: flex;
    gap: 0;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tool-tab-btn {
    flex: 1;
    padding: 0.9rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.tool-tab-btn:last-child {
    border-right: none;
}

.tool-tab-btn.active,
.tool-tab-btn:hover {
    background: var(--accent-gold);
    color: #000;
    font-weight: 600;
}

.tab-icon {
    font-size: 1rem;
}

.tool-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.calc-inputs {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.calc-type-toggle {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.calc-type-btn {
    flex: 1;
    padding: 0.65rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-type-btn:last-child {
    border-right: none;
}

.calc-type-btn.active {
    background: var(--accent-gold);
    color: #000;
    font-weight: 600;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    margin-top: 0.4rem;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}

.calc-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem;
}

.calc-results {
    background: var(--surface-color);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-main {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 6px;
}

.result-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.result-value {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #FDD043, #D4AF37, #B08D26);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.88rem;
}

.result-item span {
    color: var(--text-secondary);
}

.calc-disclaimer {
    color: #444;
    font-size: 0.74rem;
    text-align: center;
    margin-top: auto;
}

.donut-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.donut-svg {
    width: 140px;
    height: 140px;
}

.donut-legend {
    display: flex;
    gap: 1.2rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.donut-legend span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.donut-legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

@media (max-width: 700px) {
    .tool-card-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESEARCH PAGE – Free reports visible
   ============================================ */
.free-reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}