﻿/* ==========================================================================
   Podstrona 01 - Bankowość i Fintech (Stylizacja dedykowana)
   ========================================================================== */

.fintech-theme {
  --theme-accent: #00828a;
  --theme-mint: #e2f4f2;
  --theme-text-dark: #0f1e36;
}

.fintech-hero {
  padding: 50px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8f9 100%);
  position: relative;
  overflow: hidden;
}

.fintech-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.fintech-hero-title {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--theme-text-dark);
  margin-bottom: 20px;
}

.fintech-hero-subtitle {
  font-size: 1.22rem;
  line-height: 1.6;
  color: #4b586e;
  margin-bottom: 32px;
  max-width: 540px;
}

.fintech-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.btn-fintech-primary {
  background: var(--theme-accent);
  color: #ffffff;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 130, 138, 0.3);
}

.btn-fintech-primary:hover {
  background: #006e75;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 130, 138, 0.4);
}

.btn-fintech-outline {
  background: #ffffff;
  border: 1.5px solid #14213d;
  color: #14213d;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 700;
}

.btn-fintech-outline:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
}

/* Wskaźniki zaufania pod przyciskami */
.fintech-trust-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}

.trust-badge-icon {
  color: var(--theme-accent);
  display: flex;
}

/* Wizualizacja z telefonem i rodziną */
.fintech-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fintech-bg-photo {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
  z-index: 1;
}

.fintech-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.96);
}

/* Odręczne napisy wokół wizualizacji */
.quote-script-top {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  font-family: var(--font-handwriting);
  font-size: 1.85rem;
  color: #4a5c75;
  line-height: 1.15;
  text-align: right;
  transform: rotate(2deg);
}

.quote-mug-bottom {
  position: absolute;
  bottom: 16px;
  right: 20px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-family: var(--font-handwriting);
  font-size: 1.45rem;
  color: #3b4b60;
  line-height: 1.2;
  text-align: center;
  border: 1px solid #f1f5f9;
}

/* Makieta Smartfona */
.phone-mockup-wrapper {
  position: relative;
  z-index: 2;
  width: 310px;
  margin: 20px 0;
  background: #ffffff;
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.22), 0 0 0 2px #d1d5db;
}

.phone-screen {
  background: #ffffff;
  border-radius: 34px;
  overflow: hidden;
  padding: 14px 16px 20px;
  font-size: 0.85rem;
  border: 1px solid #edf2f7;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #1e293b;
  margin-bottom: 12px;
  padding: 0 4px;
}

.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.app-brand-title {
  font-weight: 800;
  font-size: 1rem;
  color: #0f172a;
}

/* Awatary członków rodziny */
.app-members-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.app-avatar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: none;
  background: none;
  cursor: pointer;
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  border: 2px solid transparent;
  transition: var(--transition);
}

.app-avatar-btn.is-active .avatar-circle {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 2px rgba(0, 130, 138, 0.25);
  background: #d6f2f0;
  color: var(--theme-accent);
}

.avatar-add-circle {
  border: 1.5px dashed #94a3b8;
  background: #f8fafc;
  color: #64748b;
  font-size: 1.1rem;
}

.avatar-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
}

/* Karta budżetu */
.app-budget-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 14px;
}

.app-budget-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.app-budget-label {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
}

.app-budget-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #059669;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: 12px;
}

.app-budget-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.app-progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 4px;
}

.app-progress-bar {
  height: 6px;
  border-radius: 4px;
  background: #e2e8f0;
  overflow: hidden;
}

.app-progress-fill {
  height: 100%;
  width: 81%;
  background: var(--theme-accent);
  border-radius: 4px;
}

/* Siatka 4 kafelków */
.app-tiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.app-tile {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-tile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748b;
}

.app-tile-sum {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
}

/* Wykres w aplikacji */
.app-chart-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px;
}

.app-chart-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 6px;
}

.app-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 38px;
}

.chart-bar {
  flex: 1;
  background: #cbd5e1;
  border-radius: 3px 3px 0 0;
  transition: height 0.3s ease;
}

.chart-bar.active {
  background: var(--theme-accent);
}

/* Trzy dolne karty cech (Naturalna polska nazwa itd.) */
.fintech-features-section {
  padding: 40px 0 70px;
  background: #ffffff;
}

.features-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fintech-feature-card {
  background: #ffffff;
  border: 1px solid #e7ecf3;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
}

.fintech-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 130, 138, 0.08);
  border-color: #d1e7e8;
}

.feature-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e6f6f5;
  color: var(--theme-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card-content h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f1e36;
  margin-bottom: 6px;
}

.feature-card-content p {
  font-size: 0.92rem;
  color: #55627a;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .fintech-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fintech-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .fintech-cta-group,
  .fintech-trust-badges {
    justify-content: center;
  }

  .features-three-grid {
    grid-template-columns: 1fr;
  }
}
