/* ============================================
   EasyFinCalc - Shared Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }

/* --- Layout --- */
.gradient-bg { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%); min-height: 100vh; color: #cbd5e1; }
.container { max-width: 1152px; margin: 0 auto; padding: 0 16px; }

/* --- Header --- */
.site-header { border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(15,23,42,0.8); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1152px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-emoji { font-size: 1.5rem; }
.logo-text { font-size: 1.25rem; font-weight: 700; background: linear-gradient(to right, #60a5fa, #34d399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Desktop Nav */
.main-nav { display: none; align-items: center; gap: 24px; font-size: 0.875rem; color: #94a3b8; }
@media (min-width: 768px) { .main-nav { display: flex; } }
.nav-link { position: relative; text-decoration: none; color: #94a3b8; transition: color 0.3s ease; padding: 4px 0; }
.nav-link:hover { color: #e2e8f0; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, #3b82f6, #10b981); transition: width 0.3s ease; border-radius: 1px; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: #60a5fa; }
.nav-link.active::after { width: 100%; }

/* Hamburger Menu */
.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: none; z-index: 110; }
.hamburger span { display: block; width: 22px; height: 2px; background: #94a3b8; border-radius: 2px; transition: all 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (min-width: 768px) { .hamburger { display: none; } }

/* Mobile Nav Overlay */
.mobile-nav { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15,23,42,0.98); backdrop-filter: blur(20px); z-index: 105; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a { color: #e2e8f0; text-decoration: none; font-size: 1.25rem; font-weight: 500; transition: color 0.2s; }
.mobile-nav a:hover { color: #60a5fa; }
@media (min-width: 768px) { .mobile-nav { display: none !important; } }

/* --- Main --- */
.main-content { max-width: 1152px; margin: 0 auto; padding: 24px 16px; }
.main-content-narrow { max-width: 800px; margin: 0 auto; padding: 48px 16px; }

/* --- Breadcrumb --- */
.breadcrumb { font-size: 0.75rem; color: #64748b; margin-bottom: 16px; }
.breadcrumb a { color: #64748b; text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: #cbd5e1; }
.breadcrumb .sep { margin: 0 4px; }
.breadcrumb .current { color: #94a3b8; }

/* --- Page Title --- */
.page-title-section { margin-bottom: 24px; }
.page-title { font-size: 1.875rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
@media (min-width: 768px) { .page-title { font-size: 2.25rem; } }
.page-subtitle { color: #94a3b8; font-size: 1.125rem; line-height: 1.6; }

/* --- Cards --- */
.card-glass { background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 24px; margin-bottom: 24px; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.card-glass:hover { border-color: rgba(255,255,255,0.12); }
.card-title { font-size: 1.125rem; font-weight: 600; color: #fff; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

/* --- Calculator Grid --- */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
@media (max-width: 768px) { .calc-grid { grid-template-columns: 1fr; } }

/* --- Form Elements --- */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.875rem; color: #94a3b8; margin-bottom: 4px; }
.input-dark { background: rgba(15,23,42,0.6); border: 1px solid rgba(100,116,139,0.3); color: #f1f5f9; border-radius: 8px; padding: 10px 16px; font-size: 1.125rem; width: 100%; transition: all 0.3s ease; font-family: inherit; }
.input-dark:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.15), 0 0 12px rgba(59,130,246,0.1); outline: none; }
.input-dark:hover { border-color: rgba(100,116,139,0.5); }
select.input-dark { appearance: auto; }

/* --- Buttons --- */
.btn-row { display: flex; gap: 12px; padding-top: 8px; }
.btn-primary { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; font-weight: 600; padding: 10px 16px; border-radius: 8px; border: none; cursor: pointer; font-size: 1rem; flex: 1; font-family: inherit; transition: all 0.3s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59,130,246,0.35); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: rgba(100,116,139,0.2); border: 1px solid rgba(100,116,139,0.3); color: #cbd5e1; font-weight: 500; padding: 10px 24px; border-radius: 8px; cursor: pointer; font-size: 1rem; font-family: inherit; transition: all 0.3s ease; }
.btn-secondary:hover { background: rgba(100,116,139,0.3); transform: translateY(-1px); }

/* --- Result Card --- */
.result-card { background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(16,185,129,0.1) 100%); border: 1px solid rgba(59,130,246,0.2); border-radius: 16px; padding: 24px; margin-bottom: 16px; position: relative; overflow: hidden; }
.result-card::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; border-radius: 16px; padding: 1px; background: linear-gradient(135deg, rgba(59,130,246,0.4), rgba(16,185,129,0.4)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 768px) { .result-grid { grid-template-columns: 1fr 1fr; } }
.result-item { background: rgba(15,23,42,0.5); border-radius: 12px; padding: 16px; transition: background 0.3s ease; }
.result-item:hover { background: rgba(15,23,42,0.7); }
.result-label { font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.result-value-lg { font-size: 1.5rem; font-weight: 700; }
.result-value-md { font-size: 1.25rem; font-weight: 700; color: #e2e8f0; }
.text-emerald { color: #34d399; }
.text-blue { color: #60a5fa; }
.text-amber { color: #fbbf24; }

/* --- Progress Bar --- */
.progress-wrap { display: flex; align-items: center; gap: 8px; }
.progress-track { flex: 1; background: #1e293b; border-radius: 9999px; height: 10px; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 9999px; background: linear-gradient(to right, #3b82f6, #10b981); transition: width 0.6s ease; }
.progress-pct { font-size: 0.875rem; font-weight: 600; color: #34d399; }

/* --- Stats Row --- */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; text-align: center; }
.stats-label { font-size: 0.75rem; color: #64748b; }
.stats-value { font-size: 1.125rem; font-weight: 600; color: #e2e8f0; }

/* --- Chart --- */
.chart-wrap { position: relative; height: 350px; }

/* --- Breakdown Table --- */
.details-toggle { cursor: pointer; }
.details-toggle summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.details-toggle summary::-webkit-details-marker { display: none; }
.details-toggle[open] .chevron { transform: rotate(180deg); }
.chevron { transition: transform 0.3s ease; width: 20px; height: 20px; color: #94a3b8; flex-shrink: 0; }
.table-wrap { margin-top: 16px; overflow-x: auto; }
.data-table { width: 100%; font-size: 0.875rem; border-collapse: collapse; }
.data-table th { color: #94a3b8; border-bottom: 1px solid #334155; text-align: left; padding: 8px; }
.data-table th.text-right, .data-table td.text-right { text-align: right; }
.data-table td { padding: 8px; border-bottom: 1px solid #1e293b; color: #cbd5e1; }
.data-table tr:nth-child(even) { background: rgba(15,23,42,0.2); }
.text-emerald-cell { color: #34d399; }
.text-slate-cell { color: #94a3b8; }
.text-white-cell { color: #fff; font-weight: 500; }

/* --- SEO Content --- */
.content-section { font-size: 1rem; line-height: 1.75; }
.content-section h2 { font-size: 1.5rem; font-weight: 700; color: #fff; margin: 0 0 16px; }
.content-section p { color: #cbd5e1; margin-bottom: 16px; }
.content-section em { color: #93c5fd; font-style: italic; }
.content-section strong { color: #fff; font-weight: 600; }
.content-section strong.text-emerald-strong { color: #34d399; }
.formula-box { background: rgba(15,23,42,0.6); border-radius: 12px; padding: 16px; text-align: center; font-family: 'Courier New', monospace; font-size: 1.125rem; color: #93c5fd; margin-bottom: 16px; border: 1px solid rgba(59,130,246,0.15); }
.formula-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 0.875rem; margin-bottom: 24px; }
@media (max-width: 768px) { .formula-grid { grid-template-columns: 1fr; } }
.formula-item { display: flex; align-items: flex-start; gap: 8px; }
.formula-var { color: #60a5fa; font-family: 'Courier New', monospace; font-weight: 700; }
.formula-desc { color: #cbd5e1; }
.content-list { list-style: decimal; padding-left: 24px; margin-bottom: 24px; }
.content-list li { color: #cbd5e1; margin-bottom: 8px; }
.example-table-wrap { overflow-x: auto; margin-bottom: 24px; }

/* --- FAQ --- */
.faq-item { background: rgba(15,23,42,0.4); border-radius: 12px; margin-bottom: 12px; border: 1px solid rgba(255,255,255,0.05); transition: border-color 0.3s ease; }
.faq-item:hover { border-color: rgba(255,255,255,0.1); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; padding: 16px; color: #fff; font-weight: 500; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary .chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 16px 16px; color: #94a3b8; font-size: 0.875rem; line-height: 1.625; }

/* --- Related Calculators --- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { display: block; background: rgba(15,23,42,0.5); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 16px; text-decoration: none; transition: all 0.3s ease; }
.related-card:hover { background: rgba(30,41,59,0.5); border-color: rgba(59,130,246,0.2); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.related-card:hover .related-title { color: #60a5fa; }
.related-icon { font-size: 1.5rem; margin-bottom: 8px; display: block; }
.related-title { color: #fff; font-weight: 600; transition: color 0.3s ease; }
.related-desc { color: #64748b; font-size: 0.875rem; margin-top: 4px; }

/* --- Ad Containers --- */
.ad-container { display: flex; justify-content: center; align-items: center; margin: 24px auto; padding: 8px 0; min-height: 90px; max-width: 728px; width: 100%; position: relative; }
.ad-top { min-height: 100px; max-width: 970px; }
.ad-mid, .ad-content-top { min-height: 260px; max-width: 336px; }
.ad-bottom { min-height: 260px; max-width: 336px; }
@media (max-width: 768px) { .ad-container { margin: 16px auto; min-height: 50px; } .ad-mid, .ad-content-top, .ad-bottom { min-height: 250px; max-width: 100%; } }
.ad-placeholder { text-align: center; color: #64748b; font-size: 0.75rem; padding: 40px 20px; border: 1px dashed rgba(100,116,139,0.2); border-radius: 4px; width: 100%; min-height: inherit; }

/* --- Footer --- */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 32px; background: rgba(15,23,42,0.5); }
.footer-inner { max-width: 1152px; margin: 0 auto; padding: 32px 16px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; font-size: 0.875rem; color: #64748b; gap: 16px; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; gap: 0; } }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.footer-brand-emoji { font-size: 1.25rem; }
.footer-brand-text { font-weight: 600; background: linear-gradient(to right, #60a5fa, #34d399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-social { display: flex; gap: 16px; margin: 12px 0; }
.footer-social a { color: #64748b; transition: color 0.3s ease, transform 0.3s ease; display: flex; align-items: center; }
.footer-social a:hover { color: #60a5fa; transform: translateY(-2px); }
.footer-links { display: flex; gap: 16px; margin-top: 8px; }
@media (min-width: 768px) { .footer-links { margin-top: 0; } }
.footer-links a { color: #64748b; text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: #cbd5e1; }
.footer-copyright { font-size: 0.8rem; color: #475569; }

/* --- Content Pages (About, Contact, Privacy) --- */
.content-block { margin-bottom: 32px; }
.content-block h2 { font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: 12px; }
.content-block p { color: #cbd5e1; line-height: 1.75; margin-bottom: 12px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin: 24px 0; }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 24px; text-align: center; transition: all 0.3s ease; }
.feature-card:hover { border-color: rgba(59,130,246,0.2); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.feature-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.feature-title { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.feature-desc { font-size: 0.875rem; color: #94a3b8; line-height: 1.5; }
.roadmap-list { list-style: none; padding: 0; margin: 16px 0; }
.roadmap-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: #cbd5e1; line-height: 1.5; }
.roadmap-list li:last-child { border-bottom: none; }
.roadmap-status { font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; }
.status-live { background: rgba(16,185,129,0.15); color: #34d399; }
.status-soon { background: rgba(59,130,246,0.15); color: #60a5fa; }
.status-planned { background: rgba(100,116,139,0.15); color: #94a3b8; }
.disclaimer-box { background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.2); border-radius: 12px; padding: 20px; margin-top: 24px; }
.disclaimer-box p { color: #94a3b8; font-size: 0.9rem; line-height: 1.6; margin-bottom: 0; }
.disclaimer-box strong { color: #93c5fd; }

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.contact-info p { color: #cbd5e1; line-height: 1.75; margin-bottom: 16px; }
.contact-method { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.contact-method-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-method-label { font-size: 0.875rem; color: #94a3b8; }
.contact-method-value { color: #60a5fa; text-decoration: none; font-weight: 500; }
.contact-method-value:hover { text-decoration: underline; }
.contact-form-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 32px; }
.contact-form-card h2 { font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: 20px; }
.form-input { background: rgba(15,23,42,0.6); border: 1px solid rgba(100,116,139,0.3); color: #f1f5f9; border-radius: 8px; padding: 10px 16px; font-size: 0.9rem; width: 100%; transition: all 0.3s ease; font-family: inherit; }
.form-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.15), 0 0 12px rgba(59,130,246,0.1); outline: none; }
textarea.form-input { min-height: 120px; resize: vertical; }
.btn-submit { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; font-weight: 600; padding: 12px 24px; border-radius: 8px; border: none; cursor: pointer; font-size: 1rem; width: 100%; font-family: inherit; transition: all 0.3s ease; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59,130,246,0.35); }
.form-note { font-size: 0.75rem; color: #64748b; margin-top: 12px; line-height: 1.5; }

/* Privacy Page */
.policy-section { margin-bottom: 32px; }
.policy-section h2 { font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: 12px; }
.policy-section p { color: #cbd5e1; line-height: 1.75; margin-bottom: 12px; }
.policy-section ul { color: #cbd5e1; line-height: 1.75; padding-left: 24px; margin-bottom: 12px; }
.policy-section li { margin-bottom: 8px; }

/* --- Hero Section (Homepage) --- */
.hero-section { text-align: center; padding: 64px 16px 48px; position: relative; overflow: hidden; }
.hero-section::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at 30% 20%, rgba(59,130,246,0.12) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(16,185,129,0.08) 0%, transparent 50%); animation: heroGlow 8s ease-in-out infinite alternate; pointer-events: none; }
@keyframes heroGlow { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-2%, -2%) scale(1.05); } }
.hero-title { font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 16px; position: relative; z-index: 1; }
@media (min-width: 768px) { .hero-title { font-size: 3.25rem; } }
.hero-title span { background: linear-gradient(135deg, #60a5fa, #34d399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.125rem; color: #94a3b8; max-width: 600px; margin: 0 auto 32px; line-height: 1.6; position: relative; z-index: 1; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

/* --- Calculator Cards Grid (Homepage) --- */
.calc-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 960px; margin: 0 auto 48px; position: relative; z-index: 1; }
@media (max-width: 768px) { .calc-cards-grid { grid-template-columns: 1fr; gap: 16px; } }
@media (min-width: 769px) and (max-width: 1024px) { .calc-cards-grid { grid-template-columns: repeat(2, 1fr); } }
.calc-card { display: block; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 24px; text-decoration: none; transition: all 0.3s ease; position: relative; overflow: hidden; }
.calc-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), rgba(16,185,129,0.4), transparent); opacity: 0; transition: opacity 0.3s ease; }
.calc-card:hover { border-color: rgba(59,130,246,0.25); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 24px rgba(59,130,246,0.08); background: rgba(255,255,255,0.05); }
.calc-card:hover::before { opacity: 1; }
.calc-card-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.calc-card-title { font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 6px; transition: color 0.3s ease; }
.calc-card:hover .calc-card-title { color: #60a5fa; }
.calc-card-desc { font-size: 0.85rem; color: #64748b; line-height: 1.5; }

/* --- Page Load Animations --- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeInUp 0.5s ease forwards; opacity: 0; }
.fade-in-d1 { animation-delay: 0.1s; }
.fade-in-d2 { animation-delay: 0.2s; }
.fade-in-d3 { animation-delay: 0.3s; }
.fade-in-d4 { animation-delay: 0.4s; }
.fade-in-d5 { animation-delay: 0.5s; }
.fade-in-d6 { animation-delay: 0.6s; }

/* Scroll-triggered animation (applied via JS IntersectionObserver) */
.scroll-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Calculator-specific styles kept inline in pages --- */
/* term-toggle, tip-quick-row, split-row, tab-bar, tab-btn, tab-panel */
/* These remain page-specific */

/* ===== Dropdown Navigation ===== */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.nav-dropdown-toggle::after { content: ''; display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-toggle::after { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: 100%; left: -8px; min-width: 240px; background: rgba(15,23,42,0.98); border: 1px solid rgba(100,116,139,0.2); border-radius: 12px; padding: 8px; opacity: 0; visibility: hidden; display: none; transform: translateY(8px); transition: all 0.2s ease; box-shadow: 0 8px 32px rgba(0,0,0,0.4); backdrop-filter: blur(20px); z-index: 100; }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; display: block; transform: translateY(0); }
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; display: block; transform: translateY(0); }
.nav-dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: #cbd5e1; font-size: 0.875rem; transition: all 0.15s; }
.nav-dropdown-item:hover { background: rgba(59,130,246,0.1); color: #f1f5f9; }
.nav-dropdown-icon { font-size: 1.125rem; width: 24px; text-align: center; }
.nav-dropdown-label { display: flex; flex-direction: column; }
.nav-dropdown-title { font-weight: 500; }
.nav-dropdown-desc { font-size: 0.75rem; color: #64748b; }

/* ===== Mobile Nav Section Labels ===== */
.mobile-nav-section { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: #64748b; padding: 16px 24px 4px; font-weight: 600; }
.mobile-nav-section:first-child { padding-top: 24px; }
