/*
 * FinWise AI – Intelligent Loan Eligibility, Credit Analysis & Financial Advisory Platform
 * Core Design System Stylesheet (Clean Banking Theme)
 */

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

:root {
  /* Color Palette */
  --bg-main: #f8fafc;
  --primary: #ffffff;
  --secondary: #f1f5f9;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --navy: #0f172a;
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Typography */
  --font-main: 'Inter', sans-serif;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  /* UI Elements */
  --border-color: #e2e8f0;
  --border-focus: #2563eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Transitions */
  --transition-smooth: all 0.3s ease;
}

/* Splash Screen (Landing Page Animation) */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash-logo {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  opacity: 0;
  transform: scale(0.9);
  animation: splashLogoAnim 2.5s forwards;
}
#splash-logo span {
  color: var(--accent);
}

@keyframes splashLogoAnim {
  0% { opacity: 0; transform: scale(0.9); }
  20% { opacity: 1; transform: scale(1.05); }
  30% { opacity: 1; transform: scale(1); }
  80% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.1); }
}

body.splash-active {
  overflow: hidden;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--secondary);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Hide legacy glow backgrounds */
.bg-glow-container {
  display: none !important;
}

/* Typography Utility Classes */
h1, .text-h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h2, .text-h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

h3, .text-h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--navy);
}

p, .text-p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.highlight-text, .text-gradient {
  color: var(--accent);
}

.text-muted {
  color: var(--text-muted);
}

/* Sticky Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 1rem 2rem;
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo span {
  font-weight: 600;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Mobile Toggle Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0.25rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Layout Grids & Wrappers - Strict 8px System */
.main-container {
  max-width: 1120px;
  margin: clamp(6rem, 10vh, 7rem) auto clamp(3rem, 5vh, 5rem) auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  flex-grow: 1;
  width: 100%;
}

.flex-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.flex-col { display: flex; flex-direction: column; gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Clean Cards Design System */
.glass-card {
  background: var(--primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

/* Floating Card Variation (Minimized for banking) */
.glass-card-floating {
  animation: floatCard 6s infinite ease-in-out;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

/* Buttons Design System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--primary);
  color: var(--navy);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--secondary);
  border-color: #cbd5e1;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Inputs Design System */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.glass-input,
.glass-select {
  background: var(--primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  min-height: 48px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
  width: 100%;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.glass-input::placeholder {
  color: var(--text-muted);
}

.glass-input:focus,
.glass-select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Range Slider Custom Styling */
.glass-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  outline: none;
  transition: var(--transition-smooth);
}

.glass-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--accent);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.glass-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.glass-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--accent);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.glass-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
}

/* Result Panels Design System */
.result-panel {
  background: var(--primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Dynamic Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  width: fit-content;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
}

.badge-warning {
  background: #fef3c7;
  color: #92400e;
}

.badge-danger {
  background: #fee2e2;
  color: #991b1b;
}

/* Footer Section */
.footer {
  margin-top: 4rem;
  padding: 4rem 2rem 2rem 2rem;
  background: var(--primary);
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.footer-content {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}

.footer-logo span {
  color: var(--accent);
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-col h4 {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Hardware Acceleration / Performance Optimization */
.animate-fade-in,
.animate-fade-up,
.animate-slide-in-left,
.animate-slide-in-right {
  will-change: transform, opacity;
}

.animate-fade-up {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-slide-in-right {
  animation: slideInRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Staggered Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Responsive Media Breaks */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 70px; /* Below navbar */
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: var(--primary);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: height 0.3s ease;
    z-index: 999;
    padding: 0;
  }
  .nav-links.active {
    height: 300px;
    padding: 2rem 0;
    box-shadow: var(--shadow-md);
  }
  .navbar { padding: 1rem 1.25rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .btn { width: 100%; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

/* =========================================
   Module Specific Styles
   ========================================= */

/* --- Loan Page Styles --- */
.result-icon-container {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  background: var(--secondary);
  transition: var(--transition-smooth);
}

.status-approved .result-icon-container {
  background: #d1fae5;
}
.status-approved .svg-check {
  stroke: #059669;
}

.status-rejected .result-icon-container {
  background: #fee2e2;
}
.status-rejected .svg-cross {
  stroke: #dc2626;
}

/* SVG draw animations */
.svg-check path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawStroke 0.6s ease forwards 0.2s;
}

.svg-cross line {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawStroke 0.6s ease forwards;
}

@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: center;
}

.result-metric-card {
  background: var(--secondary);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 8px;
}

.result-val {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.25rem;
  color: var(--navy);
}

@media (max-width: 768px) {
  .result-metrics { grid-template-columns: 1fr; }
}

/* --- Credit Page Styles --- */
.stagger-card {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: transform, opacity;
}

.stagger-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-card:nth-child(1) { transition-delay: 0.1s; }
.stagger-card:nth-child(2) { transition-delay: 0.2s; }
.stagger-card:nth-child(3) { transition-delay: 0.3s; }

.score-display-ring {
  font-size: 3.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

/* --- EMI Page Styles --- */
.input-sync-group {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 1rem;
  align-items: center;
}

.glass-input-sync {
  text-align: right;
  font-weight: 600;
}

.amortization-bar-container {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.amortization-bar {
  height: 8px;
  background: var(--secondary);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
}

.bar-fill-principal {
  height: 100%;
  background: var(--accent);
  transition: width 1s ease;
  width: 0%;
}

.bar-fill-interest {
  height: 100%;
  background: var(--warning);
  transition: width 1s ease;
  width: 0%;
}

.bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.label-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.35rem;
}
.dot-principal { background: var(--accent); }
.dot-interest { background: var(--warning); }

.emi-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
  margin-top: 1.5rem;
}

.emi-summary-card {
  background: var(--secondary);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 8px;
}

.emi-summary-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .input-sync-group { grid-template-columns: 1fr; gap: 0.5rem; }
  .glass-input-sync { text-align: left; }
  .emi-summary-grid { grid-template-columns: 1fr; }
}

/* --- Tips (AI Chat) Page Styles --- */
.chat-container {
  display: flex;
  flex-direction: column;
  height: 500px;
  background: var(--primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

.tips-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--primary);
}
.advisor-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.advisor-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(37,99,235,0.1);
  color: var(--accent);
  border-radius: 50%;
  position: relative;
}
.advisor-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid var(--primary);
  border-radius: 50%;
}
.advisor-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}
.advisor-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.chat-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  border: 1px solid transparent;
}

.chat-history {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-main);
}

.chat-input-row {
  display: flex;
  padding: 1rem 1.5rem;
  background: var(--primary);
  border-top: 1px solid var(--border-color);
  gap: 0.75rem;
}

.tips-preview-input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  background: var(--bg-main);
  color: var(--navy);
  transition: all 0.2s;
}
.tips-preview-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.message-bubble {
  max-width: 80%;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: messageSlideIn 0.3s ease forwards;
  opacity: 0;
  transform: translateY(10px);
}

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

.message-user {
  align-self: flex-end;
  background: var(--accent);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.message-ai {
  align-self: flex-start;
  background: var(--primary);
  border: 1px solid var(--border-color);
  color: var(--navy);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.interactive-card {
  cursor: pointer;
}
.interactive-card:active { transform: scale(0.98); }

.interactive-card h3 { display: flex; align-items: center; gap: 0.5rem; }

.card-click-hint {
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 1rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--transition-smooth);
}
.interactive-card:hover .card-click-hint { opacity: 1; }

.chat-thinking {
  align-self: flex-start;
  background: var(--primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  display: none;
  align-items: center;
  gap: 5px;
  box-shadow: var(--shadow-sm);
}

.thinking-dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: thinkingPulse 1.2s infinite ease-in-out;
}

.thinking-dot:nth-child(2) { animation-delay: 0.2s; }
.thinking-dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* -------------------------------------
 * Chat Markdown Rendering Styles
 * ------------------------------------- */
.message-bubble p {
  margin-bottom: 0.5rem;
}
.message-bubble p:last-child {
  margin-bottom: 0;
}
.message-bubble ul, .message-bubble ol {
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
}
.message-bubble h1,
.message-bubble h2,
.message-bubble h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.message-bubble strong {
  font-weight: 600;
  color: var(--primary);
}
.message-ai strong {
  color: var(--accent);
}

@keyframes thinkingPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* Feature Icons */
.feature-icon-wrapper {
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.75rem;
  background: #eff6ff;
  border-radius: 8px;
}
.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.feature-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.feature-link:hover {
  text-decoration: underline;
}
