/* ============================================================
   PriceGold.in — Premium Fintech Theme (Light Mode)
   ============================================================ */

:root {
  /* Colors */
  --bg-body: #f8fafc;        /* Soft off-white background */
  --bg-surface: #ffffff;     /* Pure white for cards */
  --text-primary: #0f172a;   /* Deep Navy for headings */
  --text-secondary: #475569; /* Slate grey for paragraphs */
  --text-muted: #94a3b8;     /* Light grey for notes */
  
  --brand-primary: #0f172a;  /* Primary Brand color */
  --gold-accent: #d4af37;    /* Sophisticated Premium Gold */
  --gold-light: #fef08a;     /* Highlight Gold */
  --silver-accent: #94a3b8;  
  
  --trend-up: #10b981;       /* Emerald Green for profits */
  --trend-up-bg: #d1fae5;
  --trend-down: #ef4444;     /* Red for loss */
  
  /* Shadows & Borders */
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  --font: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--bg-body); color: var(--text-primary); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ================== TOPBAR & HEADER ================== */
.topbar { background: var(--brand-primary); color: #cbd5e1; font-size: 0.8rem; padding: 8px 0; }
.topbar-inner { display: flex; justify-content: space-between; }
.topbar i { color: var(--gold-accent); margin-right: 5px; }

.site-header { background: var(--bg-surface); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--border-color); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo-text { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); }
.logo-icon { color: var(--gold-accent); font-size: 1.4rem; margin-right: 6px; }
.logo-dot { color: var(--gold-accent); }

.main-nav { display: flex; gap: 20px; align-items: center; }
.main-nav a { font-weight: 600; color: var(--text-secondary); font-size: 0.95rem; transition: color 0.2s; }
.main-nav a:hover { color: var(--brand-primary); }
.nav-highlight { color: var(--gold-accent) !important; }

/* ================== BANNER & HERO ================== */
.city-banner { background: #fff; border-bottom: 1px solid var(--border-color); padding: 12px 0; font-size: 0.9rem; color: var(--text-secondary); }
.city-banner-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.city-select { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 6px 12px; font-weight: 600; color: var(--text-primary); outline: none; }
.city-note { font-size: 0.8rem; color: var(--text-muted); }

.hero-section { padding: 40px 20px; }
.hero-header { margin-bottom: 25px; }
.page-title { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.5px; }
.page-title span { color: var(--gold-accent); }
.page-subtitle { color: var(--text-secondary); font-size: 1rem; margin-top: 5px; }

/* Live Badges */
.live-price-wrap { display: flex; gap: 15px; margin-bottom: 30px; flex-wrap: wrap; }
.live-price-badge { background: var(--bg-surface); border: 1px solid var(--border-color); padding: 10px 16px; border-radius: 50px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-sm); }
.live-indicator { background: #fee2e2; color: #dc2626; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.live-indicator .pulse { animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 1;} 50% {opacity: 0.4;} 100% {opacity: 1;} }
.live-text { font-size: 0.95rem; color: var(--text-secondary); }
.live-text strong { color: var(--text-primary); font-size: 1.1rem; }

/* Premium Cards */
.premium-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 15px; }
.premium-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-md); transition: transform 0.2s, box-shadow 0.2s; }
.premium-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #cbd5e1; }
.card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.icon-box { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.gold-icon { background: #fef9c3; color: var(--gold-accent); }
.silver-icon { background: #f1f5f9; color: var(--silver-accent); }
.card-titles h3 { font-size: 1.1rem; color: var(--text-primary); }
.card-titles p { font-size: 0.75rem; color: var(--text-muted); }
.card-price { font-size: 1.8rem; font-weight: 800; color: var(--text-primary); margin-bottom: 5px; }
.card-trend { display: inline-block; padding: 4px 8px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; }
.trend-positive { background: var(--trend-up-bg); color: var(--trend-up); }
.trend-negative { background: #fee2e2; color: var(--trend-down); }
.disclaimer-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; }

/* ================== TABLES & CHARTS ================== */
.section-heading { margin-bottom: 20px; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; }
.section-heading h2 { font-size: 1.4rem; color: var(--text-primary); }
.section-heading i { color: var(--gold-accent); margin-right: 8px; }

.tables-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 40px;}
.rate-block h3 { font-size: 1.1rem; margin-bottom: 15px; color: var(--text-secondary); }
.table-wrapper { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.premium-table { width: 100%; border-collapse: collapse; text-align: left; }
.premium-table th { background: #f8fafc; padding: 14px 20px; font-size: 0.85rem; color: var(--text-secondary); font-weight: 600; border-bottom: 1px solid var(--border-color); }
.premium-table td { padding: 14px 20px; border-bottom: 1px solid var(--border-color); font-size: 0.95rem; font-weight: 500; color: var(--text-primary); }
.premium-table tr:last-child td { border-bottom: none; }
.premium-table tr:hover td { background: #f1f5f9; }

.trend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 40px; }
.trend-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
.trend-card h3 { font-size: 1.1rem; margin-bottom: 15px; color: var(--text-primary); }
.chart-shell { height: 300px; width: 100%; }

/* ================== CALCULATOR ================== */
.calculator-section { margin-bottom: 40px; }
.calc-wrapper { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); max-width: 800px; margin: 0 auto; }
.calc-header { text-align: center; margin-bottom: 25px; }
.calc-header h2 { font-size: 1.6rem; color: var(--text-primary); }
.calc-header p { color: var(--text-secondary); font-size: 0.95rem; }
.calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 25px; }
.calc-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.calc-input { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-body); color: var(--text-primary); font-size: 1rem; outline: none; transition: border 0.2s; }
.calc-input:focus { border-color: var(--gold-accent); }
.btn-primary { width: 100%; background: var(--brand-primary); color: #fff; font-size: 1.1rem; font-weight: 600; padding: 14px; border-radius: var(--radius-sm); transition: background 0.2s; }
.btn-primary:hover { background: #1e293b; }

.calc-result-box { margin-top: 25px; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: var(--radius-md); padding: 20px; }
.res-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.95rem; color: var(--text-secondary); border-bottom: 1px solid #e2e8f0; }
.res-row:last-child { border-bottom: none; }
.res-row strong { color: var(--text-primary); }
.res-row.total { font-size: 1.2rem; font-weight: 700; color: var(--brand-primary); margin-top: 10px; border-top: 2px solid #cbd5e1; padding-top: 15px; }

/* ================== PREMIUM SEO ARTICLE (GROWW STYLE) ================== */
.seo-article-section { margin-bottom: 50px; }
.seo-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.seo-card h2 { font-size: 1.8rem; color: var(--text-primary); margin-bottom: 25px; border-bottom: 2px solid var(--border-color); padding-bottom: 15px; }
.article-content h3 { font-size: 1.2rem; color: var(--text-primary); margin-top: 25px; margin-bottom: 10px; }
.article-content p { color: var(--text-secondary); line-height: 1.8; font-size: 1rem; margin-bottom: 15px; }

/* ================== FAQs ================== */
.faq-section { margin-bottom: 50px; }
.faq-accordion { display: flex; flex-direction: column; gap: 15px; max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }
.faq-btn { width: 100%; text-align: left; padding: 20px; font-size: 1.05rem; font-weight: 600; color: var(--text-primary); display: flex; justify-content: space-between; align-items: center; background: #fff; }
.faq-btn:hover { background: #f8fafc; }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: #fff; }
.faq-content p { padding: 0 20px 20px; color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }
.faq-btn.active { color: var(--gold-accent); }
.faq-btn.active i { transform: rotate(180deg); }
.faq-content.open { max-height: 300px; }

/* ================== INSIGHTS & CHIPS ================== */
.insights-section { margin-bottom: 60px; }
.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.insight-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.insight-card h3 { font-size: 1.2rem; color: var(--brand-primary); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.insight-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.insight-highlight { background: #f8fafc; padding: 15px; border-left: 4px solid var(--gold-accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.insight-highlight h4 { font-size: 1rem; color: var(--text-primary); margin-bottom: 5px; }

.chip-container { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-chip { background: var(--bg-body); border: 1px solid var(--border-color); color: var(--text-secondary); font-size: 0.85rem; padding: 8px 16px; border-radius: 30px; font-weight: 500; transition: all 0.2s; }
.seo-chip:hover { background: var(--gold-light); color: var(--gold-accent); border-color: var(--gold-accent); }

/* ================== FOOTER ================== */
.site-footer { background: var(--brand-primary); color: #94a3b8; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { margin-top: 15px; font-size: 0.9rem; line-height: 1.6; }
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icons a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; transition: background 0.3s; }
.social-icons a:hover { background: var(--gold-accent); }
.footer-links h4, .footer-legal h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #cbd5e1; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-accent); }
.footer-legal p { font-size: 0.85rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 768px) {
  .header-inner { height: 60px; }
  .main-nav { display: none; }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .seo-card { padding: 20px; }
  .page-title { font-size: 1.8rem; }
}