/* Utilix — Financial Calculator (fin-) */
:root {
    --fin-accent: #ea580c;
    --fin-accent-light: #ffedd5;
    --fin-accent-dark: #c2410c;
    --fin-accent-border: #fed7aa;
}

.fin-hero { padding-bottom: 40px; }
.fin-hero__grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center; }
.fin-hero__main { display: flex; gap: 20px; align-items: flex-start; }
.fin-hero__visual { display: flex; align-items: center; justify-content: center; min-height: 240px; }

.fin-main { padding: 0 0 48px; }
.fin-section-head { margin-bottom: 24px; }
.fin-section-head h2 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 800; color: var(--heading); }
.fin-section-head p { margin: 0; font-size: .875rem; color: #64748b; }
.fin-section-head--center { text-align: center; }
.fin-section-head--center p { margin: 0 auto; max-width: 560px; }
.fin-section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fin-section-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: .75rem; font-weight: 700; color: var(--fin-accent); background: var(--fin-accent-light); border-radius: 999px; margin-bottom: 12px; }
.fin-section-eyebrow i { width: 14px; height: 14px; }
.fin-link { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--fin-accent); text-decoration: none; }
.fin-link i { width: 16px; height: 16px; }

.fin-mode-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 32px; }
.fin-mode-btn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px 12px; background: #fff; border: 2px solid #e8ecf1; border-radius: 16px; cursor: pointer; text-align: center; transition: border-color .2s, box-shadow .2s, transform .15s; font-family: inherit; }
.fin-mode-btn__num { position: absolute; top: 8px; left: 10px; font-size: .5625rem; font-weight: 800; color: #94a3b8; }
.fin-mode-btn:hover { border-color: var(--fin-accent-border); box-shadow: 0 6px 20px rgba(234,88,12,.1); transform: translateY(-2px); }
.fin-mode-btn.is-active { border-color: var(--fin-accent); background: linear-gradient(180deg, #fff7ed 0%, #fff 100%); box-shadow: 0 4px 20px rgba(234,88,12,.15); }
.fin-mode-btn__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; margin-top: 4px; }
.fin-mode-btn__icon i { width: 22px; height: 22px; }
.fin-mode-btn strong { font-size: .6875rem; font-weight: 700; color: var(--heading); line-height: 1.3; }
.fin-mode-btn span:last-child { font-size: .5625rem; color: #94a3b8; line-height: 1.35; }
.fin-mode-btn--purple .fin-mode-btn__icon { background: #ede9fe; color: #7c3aed; }
.fin-mode-btn--green .fin-mode-btn__icon { background: #d1fae5; color: #059669; }
.fin-mode-btn--orange .fin-mode-btn__icon { background: #ffedd5; color: #ea580c; }
.fin-mode-btn--red .fin-mode-btn__icon { background: #fee2e2; color: #dc2626; }
.fin-mode-btn--blue .fin-mode-btn__icon { background: #dbeafe; color: #2563eb; }
.fin-mode-btn--teal .fin-mode-btn__icon { background: #ccfbf1; color: #0d9488; }
.fin-mode-btn--yellow .fin-mode-btn__icon { background: #fef9c3; color: #ca8a04; }
.fin-mode-btn--pink .fin-mode-btn__icon { background: #fce7f3; color: #db2777; }

.fin-calculator-wrap { margin-top: 8px; }
.fin-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.fin-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: 0 4px 24px rgba(15,23,42,.05); display: flex; flex-direction: column; }
.fin-card__head h2 { margin: 0; font-size: 1.0625rem; font-weight: 700; color: var(--heading); }
.fin-card__head p { margin: 4px 0 0; font-size: .75rem; color: #94a3b8; }
.fin-mode-badge { display: inline-block; margin-top: 8px; padding: 4px 10px; font-size: .6875rem; font-weight: 700; color: var(--fin-accent-dark); background: var(--fin-accent-light); border: 1px solid var(--fin-accent-border); border-radius: 999px; }
.fin-mode-desc { margin: 12px 0 18px; padding: 12px 14px; font-size: .8125rem; color: #c2410c; background: var(--fin-accent-light); border: 1px solid var(--fin-accent-border); border-radius: 12px; }

.fin-field { margin-bottom: 16px; }
.fin-field label { display: block; margin-bottom: 4px; font-size: .8125rem; font-weight: 700; color: var(--heading); }
.fin-field small { display: block; margin-bottom: 8px; font-size: .6875rem; color: #94a3b8; }
.fin-field input[type="date"] { width: 100%; padding: 12px 14px; font-size: .875rem; color: var(--heading); background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; font-family: inherit; box-sizing: border-box; }
.fin-field input[type="date"]:focus { outline: none; border-color: var(--fin-accent); box-shadow: 0 0 0 3px rgba(234,88,12,.15); }
.fin-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.fin-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; font-size: .8125rem; font-weight: 700; border-radius: 10px; border: none; cursor: pointer; transition: background .15s; font-family: inherit; }
.fin-btn i { width: 16px; height: 16px; }
.fin-btn--primary { width: 100%; margin-top: 8px; padding: 14px 20px; font-size: .9375rem; color: #fff; background: var(--fin-accent); }
.fin-btn--primary:hover { background: var(--fin-accent-dark); }
.fin-btn--outline { color: var(--fin-accent); background: #fff; border: 1px solid var(--fin-accent-border); }
.fin-btn--outline:hover { background: var(--fin-accent-light); }
.fin-btn--green { color: #059669; border-color: #a7f3d0; }
.fin-btn--green:hover { background: #ecfdf5; }
.fin-btn--red { color: #dc2626; border-color: #fecaca; }
.fin-btn--red:hover { background: #fef2f2; }

.fin-example-box { margin-top: 16px; padding: 12px 14px; font-size: .75rem; line-height: 1.5; color: #2563eb; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; }

.fin-result-content { flex: 1; display: flex; flex-direction: column; }
.fin-result-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.fin-result-header__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--fin-accent-light); color: var(--fin-accent); }
.fin-result-header__icon i { width: 20px; height: 20px; }
.fin-result-header strong { font-size: .9375rem; color: var(--heading); }

.fin-ymd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.fin-ymd-box { padding: 18px 12px; text-align: center; background: #f8fafc; border: 1px solid var(--border); border-radius: 14px; }
.fin-ymd-box span { display: block; font-size: 2rem; font-weight: 800; color: var(--fin-accent); line-height: 1.1; }
.fin-ymd-box small { display: block; margin-top: 6px; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }

.fin-single-result { text-align: center; padding: 24px 16px; margin-bottom: 20px; }
.fin-single-result span { display: block; font-size: 3rem; font-weight: 800; color: var(--fin-accent); line-height: 1; }
.fin-single-result small { display: block; margin-top: 8px; font-size: .8125rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .05em; }

.fin-zodiac-result { text-align: center; padding: 28px 16px; margin-bottom: 20px; }
.fin-zodiac-result span { display: block; font-size: 2.25rem; font-weight: 800; color: var(--fin-accent); }

.fin-result-summary { padding: 14px; background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; }
.fin-result-summary span { display: block; margin-bottom: 6px; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }
.fin-result-summary p { margin: 0; font-size: .875rem; color: var(--heading); line-height: 1.5; }

.fin-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 20px; }
.fin-result-actions .fin-btn { flex: 1; min-width: 120px; }

.fin-all-modes { padding: 48px 0; background: #fff7ed; border-top: 1px solid var(--fin-accent-border); border-bottom: 1px solid var(--fin-accent-border); }
.fin-all-modes { padding: 0 0 48px; }
.fin-mode-grid--compact .fin-mode-btn { padding: 14px 8px; }
.fin-mode-grid--compact .fin-mode-btn__num { display: none; }
.fin-mode-grid--compact .fin-mode-btn span:last-child { display: none; }
.fin-mode-grid--compact { margin-bottom: 0; }
.fin-mode-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; background: #fff; border: 1px solid var(--border); border-radius: 14px; cursor: pointer; font-family: inherit; font-size: .625rem; font-weight: 600; color: var(--heading); transition: border-color .15s, box-shadow .15s; }
.fin-mode-chip:hover { border-color: var(--fin-accent-border); box-shadow: 0 4px 16px rgba(234,88,12,.08); }
.fin-mode-chip__icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; }
.fin-mode-chip__icon i { width: 16px; height: 16px; }
.fin-mode-chip--orange .fin-mode-chip__icon { background: #ffedd5; color: #ea580c; }
.fin-mode-chip--green .fin-mode-chip__icon { background: #d1fae5; color: #059669; }
.fin-mode-chip--orange .fin-mode-chip__icon { background: #ffedd5; color: #ea580c; }
.fin-mode-chip--red .fin-mode-chip__icon { background: #fee2e2; color: #dc2626; }
.fin-mode-chip--blue .fin-mode-chip__icon { background: #dbeafe; color: #2563eb; }
.fin-mode-chip--teal .fin-mode-chip__icon { background: #ccfbf1; color: #0d9488; }
.fin-mode-chip--yellow .fin-mode-chip__icon { background: #fef9c3; color: #ca8a04; }
.fin-mode-chip--pink .fin-mode-chip__icon { background: #fce7f3; color: #db2777; }

.fin-info { padding: 56px 0; background: var(--bg-section); }
.fin-info__grid { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.fin-about-content h2 { margin: 0 0 16px; font-size: 1.5rem; font-weight: 800; color: var(--heading); }
.fin-about-content__lead { margin: 0 0 12px; font-size: .9375rem; line-height: 1.65; color: #475569; }
.fin-about-content__text { margin: 0 0 28px; font-size: .875rem; line-height: 1.65; color: #64748b; }
.fin-about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 28px; }
.fin-about-feature { display: flex; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.fin-about-feature__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.fin-about-feature__icon i { width: 20px; height: 20px; }
.fin-about-feature__icon--orange { background: #ffedd5; color: #ea580c; }
.fin-about-feature__icon--blue { background: #dbeafe; color: #2563eb; }
.fin-about-feature__icon--green { background: #d1fae5; color: #059669; }
.fin-about-feature__icon--yellow { background: #fef9c3; color: #ca8a04; }
.fin-about-feature__icon--orange { background: #ffedd5; color: #ea580c; }
.fin-about-feature__icon--teal { background: #ccfbf1; color: #0d9488; }
.fin-about-feature strong { display: block; font-size: .8125rem; color: var(--heading); }
.fin-about-feature p { margin: 4px 0 0; font-size: .75rem; color: #94a3b8; line-height: 1.45; }

.fin-side-card { padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 4px 20px rgba(15,23,42,.04); }
.fin-side-card--tips { background: linear-gradient(180deg, #fffbeb 0%, #fff 100%); border-color: #fde68a; }
.fin-side-card__title { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .9375rem; font-weight: 700; color: var(--heading); }
.fin-side-card__title i { width: 18px; height: 18px; color: var(--fin-accent); }
.fin-tips-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fin-tips-head__icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: #fef3c7; color: #d97706; }
.fin-tips-head__icon i { width: 18px; height: 18px; }
.fin-tips-head h3 { margin: 0; font-size: .9375rem; font-weight: 700; }
.fin-tips-list { margin: 0; padding: 0; list-style: none; }
.fin-tips-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: .8125rem; color: #64748b; line-height: 1.5; border-bottom: 1px solid #f1f5f9; }
.fin-tips-list li:last-child { border-bottom: none; }
.fin-tips-list__check { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #d1fae5; color: #059669; flex-shrink: 0; margin-top: 2px; }
.fin-tips-list__check i { width: 12px; height: 12px; }

.fin-tools-list { margin: 0; padding: 0; list-style: none; }
.fin-tools-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: .8125rem; font-weight: 600; color: var(--heading); text-decoration: none; border-radius: 10px; transition: background .15s; }
.fin-tools-link:hover { background: #f8fafc; }
.fin-tools-link.is-current { background: var(--fin-accent-light); color: var(--fin-accent-dark); }
.fin-tools-link__icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: #f1f5f9; }
.fin-tools-link__icon i { width: 16px; height: 16px; }
.fin-view-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .8125rem; font-weight: 700; color: var(--fin-accent); text-decoration: none; }

.fin-steps-section { padding: 56px 0; background: #fff7ed; }
.fin-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.fin-step { position: relative; padding: 20px 16px; background: #fff; border: 1px solid var(--border); border-radius: 16px; text-align: center; }
.fin-step__num { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0 auto 12px; font-size: .875rem; font-weight: 800; color: #fff; background: var(--fin-accent); border-radius: 50%; }
.fin-step strong { display: block; margin-bottom: 6px; font-size: .8125rem; color: var(--heading); }
.fin-step p { margin: 0; font-size: .75rem; color: #94a3b8; line-height: 1.45; }

.fin-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); padding: 12px 20px; font-size: .8125rem; font-weight: 600; color: #fff; background: #1e293b; border-radius: 10px; opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s; z-index: 9999; }
.fin-toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

.fin-animate-in { animation: fin-fade-up .5s ease both; }
.fin-animate-in--delay { animation-delay: .08s; }
@keyframes fin-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
    .fin-hero__grid { grid-template-columns: 1fr; }
    .fin-hero__visual { display: none; }
    .fin-mode-grid, .fin-mode-grid--compact { grid-template-columns: repeat(3, 1fr); }
    .fin-calc-grid { grid-template-columns: 1fr; }
    .fin-info__grid { grid-template-columns: 1fr; }
    .fin-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .fin-mode-grid, .fin-mode-grid--compact { grid-template-columns: repeat(2, 1fr); }
    .fin-about-features { grid-template-columns: 1fr; }
    .fin-field-row { grid-template-columns: 1fr; }
    .fin-steps { grid-template-columns: 1fr; }
    .fin-ymd-grid { grid-template-columns: 1fr; }
}

[data-theme="dark"] .fin-card,
[data-theme="dark"] .fin-mode-btn,
[data-theme="dark"] .fin-mode-chip,
[data-theme="dark"] .fin-step,
[data-theme="dark"] .fin-side-card,
[data-theme="dark"] .fin-about-feature { background: var(--bg-section); border-color: var(--border); }
[data-theme="dark"] .fin-mode-btn.is-active { background: linear-gradient(180deg, #431407 0%, var(--bg-section) 100%); }
[data-theme="dark"] .fin-field input[type="date"] { background: #0f172a; border-color: var(--border); color: var(--text); }
[data-theme="dark"] .fin-mode-desc { background: rgba(234,88,12,.15); border-color: #9a3412; color: #fdba74; }
[data-theme="dark"] .fin-example-box { background: rgba(37,99,235,.12); border-color: #1e3a8a; color: #93c5fd; }
[data-theme="dark"] .fin-ymd-box { background: #1a2332; }
[data-theme="dark"] .fin-result-summary { background: #1a2332; }
[data-theme="dark"] .fin-all-modes,
[data-theme="dark"] .fin-steps-section { background: #1c1008; border-color: #78350f; }
[data-theme="dark"] .fin-btn--outline { background: #1a2332; border-color: #9a3412; color: #fdba74; }
[data-theme="dark"] .fin-btn--primary:hover { background: #c2410c; }
[data-theme="dark"] .fin-tools-link.is-current { background: #431407; color: #fdba74; }
[data-theme="dark"] .fin-hero__float { background: var(--bg-section); border-color: var(--border); }
.fin-mode-btn--indigo .fin-mode-btn__icon { background: #e0e7ff; color: #4f46e5; }

.fin-ymd-grid--4 { grid-template-columns: repeat(4, 1fr); }
.fin-duration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.fin-duration-box { padding: 18px 12px; text-align: center; background: #f8fafc; border: 1px solid var(--border); border-radius: 14px; }
.fin-duration-box span { display: block; font-size: 2rem; font-weight: 800; color: var(--fin-accent); line-height: 1.1; }
.fin-duration-box small { display: block; margin-top: 6px; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }

.fin-field input[type="number"],
.fin-field input[type="time"] { width: 100%; padding: 12px 14px; font-size: .875rem; color: var(--heading); background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; font-family: inherit; box-sizing: border-box; }
.fin-field input[type="number"]:focus,
.fin-field input[type="time"]:focus { outline: none; border-color: var(--fin-accent); box-shadow: 0 0 0 3px rgba(234,88,12,.15); }

.fin-check { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 16px; cursor: pointer; }
.fin-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--fin-accent); flex-shrink: 0; }
.fin-check span { font-size: .8125rem; color: var(--heading); line-height: 1.45; }

.fin-info-tip { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; font-size: .75rem; line-height: 1.5; color: #2563eb; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; }
.fin-info-tip i { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.fin-info-tip p { margin: 0; }

.fin-result-header__icon--purple { background: #ede9fe; color: #7c3aed; }
.fin-leap-result { text-align: center; padding: 28px 16px; margin-bottom: 20px; }
.fin-leap-result span { display: block; font-size: 1.5rem; font-weight: 800; color: var(--fin-accent); line-height: 1.3; }

.fin-field select { width: 100%; padding: 12px 14px; font-size: .875rem; color: var(--heading); background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; font-family: inherit; box-sizing: border-box; cursor: pointer; }
.fin-field select:focus { outline: none; border-color: var(--fin-accent); box-shadow: 0 0 0 3px rgba(234,88,12,.15); }

.fin-money-input { display: flex; align-items: stretch; border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; background: #fff; }
.fin-money-input:focus-within { border-color: var(--fin-accent); box-shadow: 0 0 0 3px rgba(234,88,12,.15); }
.fin-money-input__sym { display: flex; align-items: center; padding: 0 12px; font-size: .8125rem; font-weight: 700; color: #64748b; background: #f8fafc; border-right: 1px solid #e2e8f0; flex-shrink: 0; min-width: 44px; justify-content: center; }
.fin-money-input input { flex: 1; border: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 12px 14px !important; }
.fin-money-input input.fin-money-formatted { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.fin-money-input input[type="number"]::-webkit-outer-spin-button,
.fin-money-input input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fin-money-input input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.fin-result-hero { text-align: center; padding: 24px 16px; margin-bottom: 20px; background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%); border: 1px solid var(--fin-accent-border); border-radius: 16px; }
.fin-result-hero__value { display: block; font-size: 2rem; font-weight: 800; color: var(--fin-accent); line-height: 1.15; word-break: break-word; }
.fin-result-hero__label { display: block; margin-top: 8px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #c2410c; }

.fin-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.fin-stat-box { padding: 16px 12px; text-align: center; background: #f8fafc; border: 1px solid var(--border); border-radius: 14px; }
.fin-stat-box__value { display: block; font-size: 1.125rem; font-weight: 800; color: var(--heading); line-height: 1.2; word-break: break-word; }
.fin-stat-box__label { display: block; margin-top: 6px; font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; line-height: 1.35; }

.fin-fields[hidden] { display: none !important; }

.fin-hero__demo { position: relative; width: 100%; max-width: 380px; height: 240px; margin: 0 auto; }

.fin-hero__float { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(15,23,42,.1); z-index: 4; }
.fin-hero__float i { width: 22px; height: 22px; }
.fin-hero__float--calc { top: 4px; right: 8px; color: #ea580c; background: #ffedd5; border-color: #fed7aa; animation: fin-float 4s ease-in-out infinite; }
.fin-hero__float--coins { top: 48px; left: 0; color: #ca8a04; background: #fef9c3; border-color: #fde68a; animation: fin-float 4.5s ease-in-out .3s infinite; }
.fin-hero__float--wallet { bottom: 60px; left: 8px; color: #7c3aed; background: #ede9fe; border-color: #ddd6fe; animation: fin-float 3.8s ease-in-out .6s infinite; }
.fin-hero__float--trend { top: 20px; left: 50%; color: #059669; background: #d1fae5; border-color: #a7f3d0; animation: fin-float 4.2s ease-in-out .2s infinite; }

.fin-hero__device { position: absolute; top: 36px; left: 50%; transform: translateX(-55%); width: 120px; background: #1e293b; border-radius: 14px; padding: 10px; box-shadow: 0 16px 40px rgba(15,23,42,.25); z-index: 2; }
.fin-hero__device-screen { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px; background: #0f172a; border-radius: 8px; margin-bottom: 8px; }
.fin-hero__device-screen i { width: 16px; height: 16px; color: #94a3b8; }
.fin-hero__device-screen span { font-size: .75rem; font-weight: 800; color: #fbbf24; font-family: ui-monospace, monospace; }
.fin-hero__device-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.fin-hero__device-keys span { height: 14px; background: #334155; border-radius: 4px; }
.fin-hero__device-keys--accent { background: var(--fin-accent) !important; }

.fin-hero__coins-stack { position: absolute; bottom: 20px; left: 28px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; z-index: 3; }
.fin-hero__coins-stack i { width: 32px; height: 32px; color: #fbbf24; position: relative; z-index: 2; }
.fin-hero__coin { position: absolute; width: 36px; height: 10px; background: linear-gradient(180deg, #fde68a 0%, #f59e0b 100%); border-radius: 50%; left: 50%; transform: translateX(-50%); }
.fin-hero__coin--1 { bottom: 4px; }
.fin-hero__coin--2 { bottom: 12px; width: 32px; opacity: .9; }
.fin-hero__coin--3 { bottom: 20px; width: 28px; opacity: .8; }

.fin-hero__money-bag { position: absolute; top: 24px; right: 12px; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%); border-radius: 50% 50% 40% 40%; box-shadow: 0 12px 28px rgba(124,58,237,.35); z-index: 3; }
.fin-hero__money-bag i { width: 28px; height: 28px; color: #fff; }

.fin-hero__piggy { position: absolute; bottom: 32px; right: 48px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: #fce7f3; border: 2px solid #fbcfe8; border-radius: 50%; z-index: 3; }
.fin-hero__piggy i { width: 26px; height: 26px; color: #db2777; }

.fin-hero__plant { position: absolute; bottom: 8px; right: 8px; width: 44px; height: 72px; z-index: 3; }
.fin-hero__plant-pot { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 36px; height: 28px; background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%); border-radius: 4px 4px 8px 8px; box-shadow: 0 4px 12px rgba(37,99,235,.25); }
.fin-hero__plant-pot::before { content: ''; position: absolute; top: -4px; left: 2px; right: 2px; height: 6px; background: #93c5fd; border-radius: 2px; }
.fin-hero__plant-stem { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: 3px; height: 28px; background: #16a34a; border-radius: 2px; }
.fin-hero__plant-leaf { position: absolute; width: 18px; height: 12px; background: #22c55e; border-radius: 50% 50% 50% 0; }
.fin-hero__plant-leaf--1 { bottom: 42px; left: 4px; transform: rotate(-35deg); }
.fin-hero__plant-leaf--2 { bottom: 46px; right: 2px; transform: rotate(25deg) scaleX(-1); }

/* Animations */
.fin-float { animation: fin-float 5s ease-in-out infinite; }
.fin-float-slow { animation: fin-float 6s ease-in-out .5s infinite; }
.fin-swing { animation: fin-swing 6s ease-in-out infinite; transform-origin: center center; }
@keyframes fin-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fin-swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.fin-hero__device.fin-float { animation-name: fin-float-device; }
@keyframes fin-float-device { 0%, 100% { transform: translateX(-55%) translateY(0); } 50% { transform: translateX(-55%) translateY(-8px); } }

@media (max-width: 640px) {
    .fin-ymd-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .fin-duration-grid { grid-template-columns: 1fr; }
}

[data-theme="dark"] .fin-field input[type="number"],
[data-theme="dark"] .fin-field input[type="time"],
[data-theme="dark"] .fin-field select { background: #0f172a; border-color: var(--border); color: var(--text); }
[data-theme="dark"] .fin-money-input { background: #0f172a; border-color: var(--border); }
[data-theme="dark"] .fin-money-input__sym { background: #1a2332; border-color: var(--border); color: #94a3b8; }
[data-theme="dark"] .fin-result-hero { background: linear-gradient(180deg, rgba(234,88,12,.15) 0%, rgba(234,88,12,.08) 100%); border-color: rgba(234,88,12,.3); }
[data-theme="dark"] .fin-result-hero__label { color: #fdba74; }
[data-theme="dark"] .fin-stat-box { background: #1a2332; }
[data-theme="dark"] .fin-duration-box { background: #1a2332; }
[data-theme="dark"] .fin-info-tip { background: rgba(37,99,235,.12); border-color: #1e3a8a; color: #93c5fd; }
[data-theme="dark"] .fin-hero__float { background: var(--bg-section); border-color: var(--border); }
[data-theme="dark"] .fin-hero__float--calc { background: rgba(234,88,12,.15); }
[data-theme="dark"] .fin-hero__float--coins { background: rgba(202,138,4,.15); }
[data-theme="dark"] .fin-hero__float--wallet { background: rgba(124,58,237,.15); }
[data-theme="dark"] .fin-hero__float--trend { background: rgba(5,150,105,.15); }
[data-theme="dark"] .fin-hero__piggy { background: rgba(219,39,119,.15); border-color: rgba(219,39,119,.3); }

