/* ============================================================
   БюджетПро — style.css
   Theme: Luxury Dark + Warm Gold | Playfair Display + Manrope
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark:  #8B6E2A;
  --bg-dark:    #0D0F14;
  --bg-card:    #141720;
  --bg-card2:   #1C1F2A;
  --bg-section: #111318;
  --text-main:  #F0EDE6;
  --text-muted: #8A8D98;
  --text-light: #C8C4BC;
  --green:      #3ECF8E;
  --red:        #F05252;
  --blue:       #5B8BF5;
  --radius:     16px;
  --radius-lg:  24px;
  --shadow:     0 8px 40px rgba(0,0,0,0.45);
  --shadow-gold:0 0 30px rgba(201,168,76,0.2);
  --transition: 0.4s cubic-bezier(0.16,1,0.3,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.7;
}

::selection { background: var(--gold); color: var(--bg-dark); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, .section-title, .hero-title {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
}
.accent-text { color: var(--gold); }
.section-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 900; color: var(--text-main); }
.section-subtitle, .section-desc { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0.75rem auto 0; }
.section-desc { margin: 0.75rem 0 0; }

/* ---------- Navbar ---------- */
#mainNav {
  background: rgba(13,15,20,0.0);
  backdrop-filter: blur(0px);
  padding: 1.25rem 0;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
#mainNav.scrolled {
  background: rgba(13,15,20,0.92);
  backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--bg-dark);
}
.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.25s;
  padding: 0.4rem 0.7rem !important;
}
.nav-link:hover { color: var(--text-main) !important; }
.btn-cta-nav {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-dark) !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta-nav:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.navbar-toggler { border-color: rgba(201,168,76,0.3); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28201%2C168%2C76%2C0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--bg-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.shape-1 { width: 500px; height: 500px; background: var(--gold); top: -100px; right: -80px; animation: float1 8s ease-in-out infinite; }
.shape-2 { width: 300px; height: 300px; background: #3B5BDB; bottom: 10%; left: -80px; animation: float2 10s ease-in-out infinite; }
.shape-3 { width: 200px; height: 200px; background: var(--green); top: 50%; left: 40%; animation: float3 7s ease-in-out infinite; }
.shape-4 { width: 150px; height: 150px; background: var(--gold-light); bottom: 20%; right: 30%; animation: float1 9s ease-in-out infinite reverse; }

@keyframes float1 { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-30px) scale(1.05)} }
@keyframes float2 { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(20px) rotate(10deg)} }
@keyframes float3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-15px)} }

.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 0.8rem; font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-primary-custom {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-dark);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  font-size: 0.95rem;
  display: inline-flex; align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-primary-custom:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(201,168,76,0.35); color: var(--bg-dark); }
.btn-ghost-custom {
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  border: 1px solid rgba(240,237,230,0.2);
  font-size: 0.95rem;
  display: inline-flex; align-items: center;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}
.btn-ghost-custom:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); color: var(--text-main); }

/* Hero Stats */
.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-suffix { font-size: 1.9rem; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }
.stat-divider { width: 1px; height: 40px; background: rgba(201,168,76,0.2); }

/* Hero Cards */
.hero-visual { position: relative; padding: 40px 0; }
.hero-card-wrapper { position: relative; }
.float-card {
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card-main { position: relative; z-index: 2; }
.card-header-custom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.badge-month { background: rgba(201,168,76,0.15); color: var(--gold); padding: 0.2rem 0.6rem; border-radius: 50px; font-size: 0.72rem; font-weight: 700; }
.budget-bar-group { display: flex; flex-direction: column; gap: 1rem; }
.budget-bar-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.82rem; color: var(--text-muted); }
.budget-bar-item > span:first-child { width: 75px; flex-shrink: 0; }
.bar-track { flex: 1; height: 8px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; transition: width 1.5s cubic-bezier(0.16,1,0.3,1); }
.bar-fill.income { background: linear-gradient(90deg, var(--green), #2fb87c); }
.bar-fill.expense { background: linear-gradient(90deg, var(--red), #d44040); }
.bar-fill.savings { background: linear-gradient(90deg, var(--gold), var(--gold-dark)); }
.bar-value { width: 80px; text-align: right; font-weight: 600; color: var(--text-main); font-size: 0.82rem; }
.card-tip { margin-top: 1.25rem; padding: 0.6rem 0.9rem; background: rgba(62,207,142,0.1); border-radius: 8px; font-size: 0.78rem; color: var(--green); font-weight: 600; }

.card-mini {
  position: absolute;
  padding: 0.9rem 1.1rem;
  display: flex; align-items: center; gap: 0.75rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  z-index: 3;
}
.card-mini i { font-size: 1.3rem; }
.mini-label { color: var(--text-muted); font-size: 0.72rem; }
.mini-value { font-weight: 700; color: var(--text-main); font-size: 0.9rem; }
.card-income { bottom: -20px; left: -30px; background: var(--bg-card2); border-color: rgba(62,207,142,0.25); }
.card-income i { color: var(--green); }
.card-goal { top: -20px; right: -20px; background: var(--bg-card2); border-color: rgba(201,168,76,0.25); }
.card-goal i { color: var(--gold); }

/* Hero Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-arrow { animation: bounce 2s infinite; color: var(--gold); }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* ---------- Sections Global ---------- */
.section-about,
.section-features,
.section-budget,
.section-tips,
.section-calc,
.section-testimonials,
.section-cta { padding: 7rem 0; }
.section-about { background: var(--bg-section); }
.section-features { background: var(--bg-dark); }
.section-budget { background: var(--bg-section); }
.section-tips { background: var(--bg-dark); }
.section-calc { background: var(--bg-section); }
.section-testimonials { background: var(--bg-dark); }
.section-cta { background: var(--bg-section); }
.section-header { max-width: 620px; margin: 0 auto; }

/* ---------- About ---------- */
.about-visual {
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.donut-svg { width: 180px; height: 180px; display: block; margin: 0 auto 1.5rem; }
.donut-bg { fill: none; stroke: rgba(255,255,255,0.04); stroke-width: 20; }
.donut-seg { fill: none; stroke-width: 20; transform-origin: center; transform: rotate(-90deg); transition: stroke-dasharray 1s; }
.seg-1 { stroke: var(--gold); }
.seg-2 { stroke: var(--blue); }
.seg-3 { stroke: var(--red); }
.donut-center-text1 { fill: var(--gold); font-family: 'Playfair Display',serif; font-size: 28px; font-weight: 900; }
.donut-center-text2 { fill: var(--text-muted); font-size: 10px; font-family: 'Manrope',sans-serif; }
.donut-legend { display: flex; flex-direction: column; gap: 0.5rem; }
.legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--text-muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot-1 { background: var(--gold); }
.dot-2 { background: var(--blue); }
.dot-3 { background: var(--red); }
.dot-4 { background: var(--green); }
.dot-needs { background: var(--blue); }
.dot-wants { background: var(--gold); }
.dot-save  { background: var(--green); }

.about-pillars { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.pillar { display: flex; gap: 1rem; align-items: flex-start; }
.pillar-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem;
}
.pillar strong { font-weight: 700; font-size: 0.95rem; color: var(--text-main); display: block; margin-bottom: 0.2rem; }
.pillar p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ---------- Features ---------- */
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
}
.fc-1::before { background: radial-gradient(circle at top left, rgba(201,168,76,0.07), transparent 60%); }
.fc-2::before { background: radial-gradient(circle at top left, rgba(91,139,245,0.07), transparent 60%); }
.fc-3::before { background: radial-gradient(circle at top left, rgba(62,207,142,0.07), transparent 60%); }
.fc-4::before { background: radial-gradient(circle at top left, rgba(201,168,76,0.07), transparent 60%); }
.fc-5::before { background: radial-gradient(circle at top left, rgba(240,82,82,0.07), transparent 60%); }
.fc-6::before { background: radial-gradient(circle at top left, rgba(91,139,245,0.07), transparent 60%); }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,0.25); box-shadow: var(--shadow-gold); }
.feature-card:hover::before { opacity: 1; }

.fc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.fc-1 .fc-icon { background: rgba(201,168,76,0.12); color: var(--gold); }
.fc-2 .fc-icon { background: rgba(91,139,245,0.12); color: var(--blue); }
.fc-3 .fc-icon { background: rgba(62,207,142,0.12); color: var(--green); }
.fc-4 .fc-icon { background: rgba(201,168,76,0.12); color: var(--gold); }
.fc-5 .fc-icon { background: rgba(240,82,82,0.12); color: var(--red); }
.fc-6 .fc-icon { background: rgba(91,139,245,0.12); color: var(--blue); }

.feature-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text-main); }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0 0 1.25rem; }
.fc-tag {
  display: inline-block;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  font-size: 0.72rem; font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

/* ---------- Budget Method ---------- */
.method-steps { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
.method-step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.3s, transform 0.3s;
}
.method-step:hover { border-color: rgba(201,168,76,0.2); transform: translateX(6px); }
.ms-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
  text-align: center;
}
.n50 { color: var(--blue); }
.n30 { color: var(--gold); }
.n20 { color: var(--green); }
.ms-body strong { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.ms-body p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

.budget-visual { display: flex; flex-direction: column; gap: 2rem; }
.budget-ring-wrap { position: relative; width: 160px; height: 160px; margin: 0 auto; }
.ring-segment {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--blue) 0% 50%,
    var(--gold) 50% 80%,
    var(--green) 80% 100%
  );
  display: flex; align-items: center; justify-content: center;
}
.ring-segment span { display: none; }
.ring-center {
  position: absolute; inset: 25px;
  background: var(--bg-section);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; text-align: center; color: var(--text-main);
}

.budget-example-box {
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.bex-header { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.bex-header strong { color: var(--text-main); }
.bex-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.82rem; }
.bex-cat { width: 100px; display: flex; align-items: center; gap: 0.4rem; color: var(--text-muted); flex-shrink: 0; }
.bex-bar { flex: 1; height: 8px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden; }
.bex-fill { height: 100%; border-radius: 4px; transition: width 1.5s cubic-bezier(0.16,1,0.3,1); }
.f-needs { background: var(--blue); }
.f-wants { background: var(--gold); }
.f-save  { background: var(--green); }
.bex-val { width: 70px; text-align: right; font-weight: 600; color: var(--text-main); }

/* ---------- Tips ---------- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.tip-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.tip-card:hover { border-color: rgba(201,168,76,0.25); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.tip-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  flex-shrink: 0;
}
.tip-card h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.tip-card p { font-size: 0.83rem; color: var(--text-muted); margin: 0; }

/* ---------- Calculator ---------- */
.calc-card {
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.calc-input-group { margin-bottom: 2rem; }
.calc-input-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; }
.input-with-currency { position: relative; margin-bottom: 1rem; }
.currency-symbol {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.2rem; font-weight: 700; pointer-events: none;
}
.calc-input {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius); color: var(--text-main); padding: 1rem 1rem 1rem 2.5rem;
  font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700;
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.calc-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }
.calc-input::-webkit-inner-spin-button, .calc-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.calc-range {
  -webkit-appearance: none; width: 100%; height: 4px;
  background: rgba(255,255,255,0.08); border-radius: 2px; outline: none;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  cursor: pointer; box-shadow: 0 0 8px rgba(201,168,76,0.4);
}
.range-labels { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--text-muted); margin-top: 0.4rem; }

.calc-results { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.calc-result-item {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: border-color 0.3s;
}
.calc-result-item:hover { border-color: rgba(201,168,76,0.2); }
.cr-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.cr-needs .cr-icon { background: rgba(91,139,245,0.12); color: var(--blue); }
.cr-wants .cr-icon { background: rgba(201,168,76,0.12); color: var(--gold); }
.cr-savings .cr-icon { background: rgba(62,207,142,0.12); color: var(--green); }
.cr-body { flex: 1; }
.cr-label { font-size: 0.78rem; color: var(--text-muted); }
.cr-value { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--text-main); }
.cr-pct { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); }

.calc-annual {
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.04));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.9rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.6rem;
}
.calc-annual i { color: var(--gold); }
.calc-annual strong { color: var(--gold); font-size: 1.1rem; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tc-featured {
  border-color: rgba(201,168,76,0.3);
  background: linear-gradient(145deg, var(--bg-card2), var(--bg-card));
  box-shadow: var(--shadow-gold);
}
.tc-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 1rem; display: flex; gap: 0.15rem; }
.testimonial-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.tc-author { display: flex; align-items: center; gap: 0.75rem; }
.tc-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.75rem; color: var(--bg-dark); flex-shrink: 0;
}
.tc-author strong { display: block; font-size: 0.88rem; }
.tc-author span { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- CTA ---------- */
.cta-box {
  position: relative;
  background: linear-gradient(135deg, #1A1D27, #141720);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 4rem;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}
.cta-bg-effect {
  position: absolute; top: -50px; right: -50px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.12), transparent 70%);
  pointer-events: none;
}
.cta-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 900; margin-bottom: 0.75rem; }
.cta-subtitle { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.5rem; }
.cta-features { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.cta-features span { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; }
.cta-features i { color: var(--green); }

.cta-form { display: flex; flex-direction: column; gap: 0.75rem; }
.cta-email-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  color: var(--text-main);
  padding: 0.9rem 1.25rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.cta-email-input:focus { border-color: var(--gold); }
.cta-email-input::placeholder { color: var(--text-muted); }
.btn-cta-main {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-dark);
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  border: none;
  font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-cta-main:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.35); }
.cta-privacy { font-size: 0.75rem; color: var(--text-muted); text-align: center; display: flex; align-items: center; justify-content: center; gap: 0.35rem; }
.cta-privacy i { color: var(--green); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0A0C10;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 5rem 0 2rem;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-desc { font-size: 0.85rem; color: var(--text-muted); max-width: 280px; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.footer-socials a:hover { background: rgba(201,168,76,0.12); color: var(--gold); border-color: rgba(201,168,76,0.3); }
.footer-heading { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: 0.6rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-newsletter-desc { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 1rem; }
.footer-form { display: flex; gap: 0.5rem; }
.footer-form input {
  flex: 1; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; color: var(--text-main); padding: 0.7rem 1rem; font-size: 0.85rem;
  outline: none; transition: border-color 0.2s;
}
.footer-form input:focus { border-color: var(--gold); }
.footer-form input::placeholder { color: var(--text-muted); }
.footer-form button {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none; color: var(--bg-dark); font-size: 0.9rem; cursor: pointer;
  transition: transform 0.2s;
}
.footer-form button:hover { transform: scale(1.05); }
.footer-bottom {
  margin-top: 4rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem; color: var(--text-muted);
}

/* ---------- Intersection Observer Animations ---------- */
.reveal,
.reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1) var(--d, 0s),
              transform 0.8s cubic-bezier(0.16,1,0.3,1) var(--d, 0s);
}
.reveal-right { transform: translateX(50px); }
.reveal.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hero-visual { margin-top: 3rem; }
  .card-income { left: 0; }
  .card-goal  { right: 0; }
  .cta-box { padding: 2.5rem 2rem; }
  .hero-stats { gap: 1.25rem; }
}
@media (max-width: 767px) {
  .hero-title { font-size: 2.4rem; }
  .tips-grid { grid-template-columns: 1fr; }
  .section-about, .section-features, .section-budget,
  .section-tips, .section-calc, .section-testimonials, .section-cta { padding: 4.5rem 0; }
  .footer-bottom { flex-direction: column; }
}
