/* ============================================
   RADIOLOGY SOFTWARE FINCO
   Design System: Clinical Precision × Financial Confidence
   Color: Deep Ink + Amber (finance) + Sky Blue (radiology)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- Root Variables ---------- */
:root {
  /* Dark base */
  --ink: #0A0F1C;
  --ink-2: #0F1626;
  --ink-3: #161E30;
  --ink-4: #1E293B;
  --ink-5: #334155;

  /* Primary: Amber (Finance) */
  --amber: #F59E0B;
  --amber-light: #FBBF24;
  --amber-dark: #D97706;
  --amber-glow: rgba(245, 158, 11, 0.15);

  /* Secondary: Sky Blue (Radiology) */
  --sky: #38BDF8;
  --sky-light: #7DD3FC;
  --sky-dark: #0284C7;
  --sky-glow: rgba(56, 189, 248, 0.15);

  /* Neutrals */
  --white: #FFFFFF;
  --pearl: #F8F7F4;
  --pearl-2: #F0F4F8;
  --pearl-3: #E2E8F0;
  --border: #CBD5E1;
  --border-soft: #E2E8F0;

  /* Text */
  --text-dark: #1C2333;
  --text-mid: #475569;
  --text-muted: #94A3B8;
  --text-light: #CBD5E1;
  --text-faint: rgba(255, 255, 255, 0.5);

  /* Functional */
  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(10, 15, 28, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 15, 28, 0.12);
  --shadow-glow-sky: 0 0 30px rgba(56, 189, 248, 0.2);
  --shadow-glow-amber: 0 0 30px rgba(245, 158, 11, 0.2);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Sora', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.font-mono { font-family: 'JetBrains Mono', monospace; }
.text-amber { color: var(--amber); }
.text-sky { color: var(--sky); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.text-mid { color: var(--text-mid); }

/* ---------- Layout ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.section-padding-sm { padding: 64px 0; }
.bg-ink { background: var(--ink); }
.bg-ink-2 { background: var(--ink-2); }
.bg-pearl { background: var(--pearl); }
.bg-pearl-2 { background: var(--pearl-2); }
.bg-white { background: var(--white); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all var(--transition);
}
.header-transparent {
  background: transparent;
}
.header-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(10, 15, 28, 0.06);
}
.header-scrolled .nav-link { color: var(--text-mid); }
.header-scrolled .nav-link:hover { color: var(--sky-dark); }
.header-scrolled .nav-link.active { color: var(--ink); }
.header-scrolled .logo-dark { display: block; }
.header-scrolled .logo-light { display: none; }
.header-transparent .logo-dark { display: none; }
.header-transparent .logo-light { display: block; }
.header-transparent .nav-link { color: rgba(255, 255, 255, 0.7); }
.header-transparent .nav-link:hover { color: var(--white); }
.header-transparent .nav-link.active { color: var(--white); }

.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 40px; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sky);
  transition: width var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-amber);
}
.btn-secondary {
  background: var(--sky);
  color: var(--ink);
}
.btn-secondary:hover {
  background: var(--sky-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-sky);
}
.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text-dark);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--sky);
  color: var(--sky-dark);
}
.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.btn-lg { padding: 16px 36px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(56, 189, 248, 0.12), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(245, 158, 11, 0.10), transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--sky-light);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 .grad-text {
  background: linear-gradient(135deg, var(--sky), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-stat .num {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}
.hero-stat .num .accent { color: var(--amber); }
.hero-stat .label {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 4px;
}

/* Scan line animation */
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
  opacity: 0.4;
  animation: scanMove 6s ease-in-out infinite;
  z-index: 1;
}
@keyframes scanMove {
  0%, 100% { top: 15%; opacity: 0; }
  50% { top: 85%; opacity: 0.4; }
}

/* ---------- Section Headers ---------- */
.section-header { max-width: 680px; margin-bottom: 56px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sky-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--sky);
}
.section-header.center .section-label { justify-content: center; }
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-title.text-white { color: var(--white); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.section-subtitle.text-light { color: var(--text-light); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon.sky { background: var(--sky-glow); color: var(--sky-dark); }
.card-icon.amber { background: var(--amber-glow); color: var(--amber-dark); }
.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.card-top-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.card:hover .card-top-border { transform: scaleX(1); }
.card-top-border.amber { background: var(--amber); }

/* Dark cards */
.card-dark {
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.card-dark:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: var(--ink-3);
}
.card-dark h3 { color: var(--white); }
.card-dark p { color: var(--text-light); }

/* ---------- Grid ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Dual Business Section ---------- */
.dual-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.dual-half {
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dual-software {
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  color: var(--white);
}
.dual-finance {
  background: linear-gradient(135deg, #1A1408, #2A1F08);
  color: var(--white);
}
.dual-half h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.dual-half p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.dual-half ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.dual-half ul li {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.dual-half ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dual-software ul li::before { background: var(--sky); }
.dual-finance ul li::before { background: var(--amber); }

@media (max-width: 768px) {
  .dual-section { grid-template-columns: 1fr; }
  .dual-half { padding: 40px 32px; }
}

/* ---------- Feature List ---------- */
.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-check.sky { background: var(--sky-glow); color: var(--sky-dark); }
.feature-check.amber { background: var(--amber-glow); color: var(--amber-dark); }
.feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 0.9rem;
  color: var(--text-mid);
}
.feature-item .feature-check + div h4 { color: var(--text-dark); }
.card-dark .feature-item h4 { color: var(--white); }
.card-dark .feature-item p { color: var(--text-light); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, var(--sky-glow), transparent 50%),
    radial-gradient(circle at 70% 50%, var(--amber-glow), transparent 50%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  padding: 72px 0 32px;
  color: var(--text-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.7;
}
.footer-col h5 {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--sky); }
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-contact-item svg { flex-shrink: 0; color: var(--sky); margin-top: 3px; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--sky); }
.footer-legal { display: flex; gap: 24px; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ---------- Mobile Menu ---------- */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: var(--transition);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--ink);
  z-index: 200;
  padding: 32px 28px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color var(--transition);
}
.mobile-menu ul li a:hover { color: var(--sky); }
.mobile-menu .btn { width: 100%; margin-top: 24px; justify-content: center; }
.mobile-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 24px;
}

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: flex; color: var(--text-dark); }
  .header-transparent .mobile-toggle { color: var(--white); }
  .header-scrolled .mobile-toggle { color: var(--text-dark); }
}

/* ---------- Page Banner (inner pages) ---------- */
.page-banner {
  position: relative;
  padding: 160px 0 80px;
  background: var(--ink);
  overflow: hidden;
}
.page-banner-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(56, 189, 248, 0.1), transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 80%, rgba(245, 158, 11, 0.08), transparent 60%);
}
.page-banner-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
}
.page-banner-content { position: relative; z-index: 2; max-width: 760px; }
.page-banner h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.page-banner p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb .separator { opacity: 0.5; }

/* ---------- Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--pearl-2);
  color: var(--text-mid);
  border: 1px solid var(--border-soft);
}
.tag-sky { background: var(--sky-glow); color: var(--sky-dark); border-color: rgba(56, 189, 248, 0.2); }
.tag-amber { background: var(--amber-glow); color: var(--amber-dark); border-color: rgba(245, 158, 11, 0.2); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-label .req { color: #EF4444; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px var(--sky-glow);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* ---------- Case Study Cards ---------- */
.case-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.case-card:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.case-card-body { padding: 28px; }
.case-card-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sky-dark);
  margin-bottom: 12px;
}
.case-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.case-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.case-card-meta {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.case-card-meta span { display: flex; align-items: center; gap: 6px; }

/* ---------- Pricing / Finance Cards ---------- */
.finance-card {
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
}
.finance-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-lg);
}
.finance-card.featured {
  border-color: var(--amber);
  background: linear-gradient(180deg, var(--amber-glow), var(--white) 40%);
}
.finance-card .badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.finance-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.finance-card .rate {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--amber-dark);
  margin-bottom: 4px;
}
.finance-card .rate .period {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}
.finance-card .desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 24px;
}

/* ---------- Blog Cards ---------- */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.blog-card-img {
  height: 200px;
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
}
.blog-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sky-glow), var(--amber-glow));
}
.blog-card-body { padding: 24px; }
.blog-card-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 14px;
}
.blog-card .read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.blog-card:hover .read-more { gap: 10px; }

/* ---------- Stats Row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 56px 0;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-family: 'Sora', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-item .num .accent { color: var(--amber); }
.stat-item .label {
  font-size: 0.88rem;
  color: var(--text-faint);
  margin-top: 8px;
}
@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ---------- Hexagon Pattern ---------- */
.hex-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpolygon points='28,0 56,16 56,50 28,66 0,50 0,16' fill='none' stroke='%2338BDF8' stroke-width='1'/%3E%3Cpolygon points='28,50 56,66 56,100 28,116 0,100 0,66' fill='none' stroke='%2338BDF8' stroke-width='1'/%3E%3C/svg%3E");
}

/* ---------- Misc ---------- */
.divider-line {
  width: 48px;
  height: 3px;
  background: var(--sky);
  border-radius: 2px;
  margin-bottom: 20px;
}
.divider-line.amber { background: var(--amber); }
.divider-line.center { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

/* ---------- Copy Protection ---------- */
body, p, h1, h2, h3, h4, h5, h6, span, div, a, li, td, th, label, blockquote, pre, code {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea, select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
img { -webkit-user-drag: none; pointer-events: none; }
a, button, input, textarea, select, [role="button"], .btn, .nav-link, .mobile-toggle {
  pointer-events: auto !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .section-padding { padding: 64px 0; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .cta-banner { padding: 40px 28px; }
  .cta-banner h2 { font-size: 1.5rem; }
  .container { padding: 0 20px; }
}
