/* =========================================================
   FitSpend
   Homepage Styles — Standalone
   ========================================================= */

/* =========================================================
   Expenses Project
   Shared Styles — Homepage + Dashboard
   ========================================================= */


/* =========================================================
   Variables
   ========================================================= */

:root {
  --bg: #f5f6fa;
  --card: #ffffff;

  --text: #172033;
  --muted: #7a8292;
  --muted-dark: #626b7c;

  --border: #e5e8ef;

  --primary: #6f63d9;
  --primary-dark: #5e52c7;
  --primary-light: #f0edff;
  --primary-lighter: #f7f5ff;

  --income: #27977e;
  --income-dark: #168f77;
  --income-bg: #edf8f5;

  --expense: #c23f61;
  --expense-bg: #fff0f4;

  --cash: #4f82d9;
  --cash-bg: #edf4ff;

  --total: #3a9b88;
  --total-bg: #edf8f5;

  --spending: #c23f61;
  --spending-bg: #fff2f5;

  --shadow:
    0 8px 28px rgba(24, 32, 52, 0.07);

  --shadow-soft:
    0 4px 18px rgba(24, 32, 52, 0.05);

  --shadow-large:
    0 18px 55px rgba(24, 32, 52, 0.10);

  --radius-lg: 22px;
  --radius-md: 17px;
  --radius-sm: 13px;
}


/* =========================================================
   Reset
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  background:
    linear-gradient(
      180deg,
      #f7f8fb 0%,
      #f2f3f7 100%
    );

  color: var(--text);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  font-family: inherit;
}

body,
button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline:
    3px solid rgba(111, 99, 217, 0.22);

  outline-offset: 2px;
}


/* =========================================================
   Shared Container
   ========================================================= */

.section-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: relative;
  z-index: 20;

  width: min(1480px, calc(100% - 36px));

  min-height: 86px;

  margin: 16px auto 0;

  padding: 14px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(255, 255, 255, 0.96);

  border:
    1px solid var(--border);

  border-radius: 24px;

  box-shadow: var(--shadow-soft);
}

.header-inner {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}


/* =========================================================
   Brand
   ========================================================= */

.brand {
  display: flex;
  align-items: center;

  gap: 15px;

  color: var(--text);

  text-decoration: none;

  flex-shrink: 0;
}

.brand-icon {
  width: 56px;
  height: 56px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  gap: 5px;

  padding: 12px;

  border-radius: 17px;

  background:
    linear-gradient(
      145deg,
      #f0edff,
      #e7e2ff
    );
}

.brand-icon span {
  width: 7px;

  border-radius:
    5px 5px 2px 2px;

  background: var(--primary);
}

.brand-icon span:nth-child(1) {
  height: 18px;
}

.brand-icon span:nth-child(2) {
  height: 28px;
}

.brand-icon span:nth-child(3) {
  height: 37px;
}


/* Homepage brand */

.brand-content {
  display: flex;
  flex-direction: column;

  gap: 3px;

  min-width: 0;
}

.brand-name {
  font-size: 19px;
  font-weight: 850;

  letter-spacing: -0.4px;

  white-space: nowrap;
}

.brand-tagline {
  color: var(--muted);

  font-size: 12px;
  font-weight: 500;

  white-space: nowrap;
}


/* Existing Dashboard brand */

.brand-text {
  display: flex;
  flex-direction: column;

  gap: 3px;
}

.brand-text strong {
  font-size: 19px;
  font-weight: 850;

  letter-spacing: -0.4px;
}

.brand-text small {
  color: var(--muted);

  font-size: 12px;
  font-weight: 500;
}


/* =========================================================
   Homepage Navigation
   ========================================================= */

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 28px;

  margin-left: auto;
}

.header-nav a {
  color: #596276;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;

  transition:
    color 0.2s ease;
}

.header-nav a:hover {
  color: var(--primary);
}


/* =========================================================
   Homepage Account Button
   ========================================================= */

.header-actions {
  display: flex;
  align-items: center;

  flex-shrink: 0;
}

.account-button {
  min-height: 46px;

  padding: 0 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid #e1e4ea;

  border-radius: 14px;

  background: #ffffff;

  color: var(--text);

  font-size: 14px;
  font-weight: 750;

  text-decoration: none;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.account-button:hover {
  background: #fafbfc;

  border-color: #d6dae2;

  transform: translateY(-1px);
}


/* Existing Dashboard Logout */

.logout-btn {
  min-height: 48px;

  padding: 0 20px;

  border:
    1px solid #e1e4ea;

  border-radius: 14px;

  background: #ffffff;

  color: var(--text);

  font-size: 14px;
  font-weight: 750;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.logout-btn:hover {
  background: #fafbfc;

  border-color: #d6dae2;

  transform: translateY(-1px);
}


/* =========================================================
   Buttons
   ========================================================= */

.primary-button,
.secondary-button {
  min-height: 52px;

  padding: 0 25px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  font-size: 15px;
  font-weight: 800;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.primary-button {
  background:
    linear-gradient(
      145deg,
      #7569df,
      #6256cf
    );

  color: #ffffff;

  box-shadow:
    0 8px 20px rgba(111, 99, 217, 0.20);
}

.primary-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 12px 25px rgba(111, 99, 217, 0.25);
}

.secondary-button {
  border:
    1px solid #dfe3eb;

  background: #ffffff;

  color: #4e586a;
}

.secondary-button:hover {
  background: #fafbfc;

  border-color: #d5d9e1;

  transform: translateY(-2px);
}




/* =========================================================
   HOMEPAGE
   Hero
   ========================================================= */

.hero-section {
  padding:
    82px 0
    78px;
}

.hero-container {
  width: min(1180px, calc(100% - 40px));

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(420px, 0.95fr);

  align-items: center;

  gap: 70px;
}


/* Hero Content */

.hero-content {
  max-width: 650px;
}

.hero-eyebrow,
.section-eyebrow {
  display: inline-block;

  margin-bottom: 15px;

  color: var(--primary);

  font-size: 13px;
  font-weight: 850;

  letter-spacing: 0.3px;
}

.hero-content h1 {
  margin:
    0 0 24px;

  color: #172033;

  font-size:
    clamp(44px, 5vw, 68px);

  line-height: 1.02;

  font-weight: 900;

  letter-spacing: -2.7px;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-description {
  max-width: 600px;

  margin:
    0 0 30px;

  color: #626b7c;

  font-size: 18px;

  line-height: 1.65;

  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;

  gap: 12px;

  flex-wrap: wrap;
}

.hero-note {
  margin-top: 20px;

  display: flex;
  align-items: center;

  gap: 8px;

  color: #747d8d;

  font-size: 13px;
  font-weight: 550;
}

.hero-note-icon {
  width: 22px;
  height: 22px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--income-bg);

  color: var(--income);

  font-size: 12px;
  font-weight: 900;
}


/* =========================================================
   Hero Visual
   ========================================================= */

.hero-visual {
  position: relative;

  min-height: 480px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  position: relative;
  z-index: 2;

  width: min(430px, 100%);

  padding: 28px;

  border:
    1px solid var(--border);

  border-radius: 28px;

  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #faf9ff 100%
    );

  box-shadow: var(--shadow-large);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;
}

.hero-card-top > div:first-child {
  display: flex;
  flex-direction: column;

  gap: 4px;
}

.mini-label {
  color: var(--muted);

  font-size: 12px;
  font-weight: 600;
}

.hero-card-top strong {
  font-size: 18px;
  font-weight: 850;
}

.mini-icon {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  background: var(--primary-light);

  color: var(--primary);

  font-size: 17px;
  font-weight: 900;
}

.hero-daily-limit {
  margin-top: 28px;
}

.hero-daily-limit span {
  font-size: 65px;

  line-height: 1;

  font-weight: 900;

  letter-spacing: -3px;

  color: var(--primary);
}

.hero-card-status {
  margin-top: 13px;

  display: flex;
  align-items: center;

  gap: 7px;

  color: var(--income);

  font-size: 13px;
  font-weight: 750;
}

.status-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--income);
}

.hero-card-divider {
  height: 1px;

  margin:
    25px 0 20px;

  background: var(--border);
}

.hero-stats {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 20px;
}

.hero-stat {
  display: flex;
  flex-direction: column;

  gap: 6px;
}

.hero-stat span {
  color: var(--muted);

  font-size: 11px;
  font-weight: 600;
}

.hero-stat strong {
  font-size: 20px;
  font-weight: 850;
}


/* =========================================================
   Hero Floating Cards
   ========================================================= */

.hero-floating-card {
  position: absolute;
  z-index: 3;

  min-width: 165px;

  padding: 14px 16px;

  display: flex;
  align-items: center;

  gap: 11px;

  border:
    1px solid var(--border);

  border-radius: 16px;

  background: #ffffff;

  box-shadow:
    0 10px 30px rgba(24, 32, 52, 0.10);
}

.hero-floating-income {
  top: 45px;
  left: 0;
}

.hero-floating-expense {
  right: 0;
  bottom: 48px;
}

.floating-icon {
  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  font-size: 18px;
  font-weight: 800;
}

.hero-floating-income .floating-icon {
  background: var(--income-bg);
  color: var(--income);
}

.hero-floating-expense .floating-icon {
  background: var(--expense-bg);
  color: var(--expense);
}

.hero-floating-card div {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.hero-floating-card small {
  color: var(--muted);

  font-size: 10px;
}

.hero-floating-card strong {
  font-size: 14px;
  font-weight: 850;
}


/* =========================================================
   Section Heading
   ========================================================= */

.section-heading {
  max-width: 700px;

  margin:
    0 auto 48px;

  text-align: center;
}

.section-heading h2 {
  margin:
    0 0 17px;

  color: var(--text);

  font-size:
    clamp(31px, 4vw, 44px);

  line-height: 1.08;

  font-weight: 900;

  letter-spacing: -1.6px;
}

.section-heading p {
  margin: 0;

  color: var(--muted-dark);

  font-size: 16px;

  line-height: 1.7;
}


/* =========================================================
   Features
   ========================================================= */

.features-section {
  padding:
    82px 0 90px;

  background: #ffffff;

  border-top:
    1px solid rgba(229, 232, 239, 0.65);

  border-bottom:
    1px solid rgba(229, 232, 239, 0.65);
}

.features-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.feature-card {
  padding: 25px;

  border:
    1px solid var(--border);

  border-radius: 21px;

  background: #ffffff;

  box-shadow: var(--shadow-soft);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);

  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;

  margin-bottom: 20px;

  display: grid;
  place-items: center;

  border-radius: 14px;

  font-size: 16px;
  font-weight: 850;
}

.feature-icon-purple {
  background: var(--primary-light);
  color: var(--primary);
}

.feature-icon-green {
  background: var(--income-bg);
  color: var(--income);
}

.feature-icon-pink {
  background: var(--expense-bg);
  color: var(--expense);
}

.feature-card h3 {
  margin:
    0 0 9px;

  font-size: 18px;
  font-weight: 850;

  letter-spacing: -0.3px;
}

.feature-card p {
  margin: 0;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.65;
}


/* =========================================================
   Daily Limit Section
   ========================================================= */

.daily-limit-section {
  padding:
    90px 0;
}

.daily-limit-card {
  padding: 55px;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    390px;

  align-items: center;

  gap: 60px;

  overflow: hidden;

  border-radius: 30px;

  background:
    linear-gradient(
      135deg,
      #f1efff 0%,
      #faf9ff 55%,
      #ffffff 100%
    );

  border:
    1px solid #e6e2fa;
}

.daily-limit-content h2 {
  max-width: 600px;

  margin:
    0 0 18px;

  font-size:
    clamp(32px, 4vw, 46px);

  line-height: 1.06;

  font-weight: 900;

  letter-spacing: -1.8px;
}

.daily-limit-content > p {
  max-width: 610px;

  margin:
    0 0 25px;

  color: var(--muted-dark);

  font-size: 16px;

  line-height: 1.7;
}

.daily-limit-points {
  display: flex;
  flex-direction: column;

  gap: 12px;
}

.daily-limit-point {
  display: flex;
  align-items: center;

  gap: 10px;
}

.daily-limit-point span {
  width: 23px;
  height: 23px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--income-bg);

  color: var(--income);

  font-size: 11px;
  font-weight: 900;
}

.daily-limit-point p {
  margin: 0;

  color: #596276;

  font-size: 13px;
  font-weight: 650;
}


/* =========================================================
   Daily Limit Visual
   ========================================================= */

.daily-limit-visual {
  display: flex;
  justify-content: center;
}

.limit-visual-card {
  width: 100%;

  padding: 27px;

  border:
    1px solid rgba(111, 99, 217, 0.12);

  border-radius: 23px;

  background: #ffffff;

  box-shadow:
    0 15px 40px rgba(111, 99, 217, 0.12);
}

.limit-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--muted);

  font-size: 12px;
  font-weight: 700;
}

.limit-check {
  width: 35px;
  height: 35px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  background: var(--primary-light);

  color: var(--primary);

  font-size: 14px;
  font-weight: 900;
}

.limit-number {
  margin-top: 22px;

  color: var(--primary);

  font-size: 62px;
  line-height: 1;

  font-weight: 900;

  letter-spacing: -3px;
}

.limit-caption {
  margin-top: 6px;

  color: var(--muted);

  font-size: 12px;
}

.limit-progress {
  margin-top: 27px;
}

.limit-progress-label {
  margin-bottom: 9px;

  display: flex;
  justify-content: space-between;

  color: var(--muted);

  font-size: 11px;
  font-weight: 650;
}

.limit-progress-label strong {
  color: var(--text);

  font-size: 12px;
}

.limit-progress-bar {
  height: 9px;

  overflow: hidden;

  border-radius: 999px;

  background: #eeeef7;
}

.limit-progress-bar span {
  display: block;

  width: 68%;

  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      #8277e2,
      #6f63d9
    );
}


/* =========================================================
   Dashboard Preview
   ========================================================= */

.dashboard-preview-section {
  padding:
    90px 0;

  background: #ffffff;

  border-top:
    1px solid rgba(229, 232, 239, 0.65);
}

.dashboard-preview {
  padding: 25px;

  border:
    1px solid var(--border);

  border-radius: 27px;

  background:
    linear-gradient(
      180deg,
      #fafbfe,
      #f5f6fa
    );

  box-shadow: var(--shadow-large);
}


/* Preview Header */

.preview-header {
  padding:
    5px 5px 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.preview-brand {
  display: flex;
  align-items: center;

  gap: 11px;
}

.preview-brand-icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  gap: 3px;

  padding: 8px;

  border-radius: 12px;

  background: var(--primary-light);
}

.preview-brand-icon span {
  width: 5px;

  border-radius: 4px;

  background: var(--primary);
}

.preview-brand-icon span:nth-child(1) {
  height: 13px;
}

.preview-brand-icon span:nth-child(2) {
  height: 19px;
}

.preview-brand-icon span:nth-child(3) {
  height: 25px;
}

.preview-brand > div:last-child {
  display: flex;
  flex-direction: column;

  gap: 3px;
}

.preview-brand strong {
  font-size: 14px;
  font-weight: 850;
}

.preview-brand span {
  color: var(--muted);

  font-size: 9px;
}

.preview-account {
  padding:
    9px 14px;

  border:
    1px solid var(--border);

  border-radius: 10px;

  background: #ffffff;

  color: var(--muted);

  font-size: 10px;
  font-weight: 700;
}


/* Preview Actions */

.preview-actions {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 13px;

  margin-bottom: 15px;
}

.preview-action {
  min-height: 100px;

  padding: 16px;

  display: flex;
  align-items: center;

  gap: 12px;

  border:
    1px solid var(--border);

  border-radius: 18px;

  background: #ffffff;

  box-shadow: var(--shadow-soft);
}

.preview-action-icon {
  width: 43px;
  height: 43px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  border-radius: 12px;

  color: #ffffff;

  font-size: 21px;
  font-weight: 300;
}

.preview-income-action .preview-action-icon {
  background:
    linear-gradient(
      145deg,
      #20a78b,
      #168f77
    );
}

.preview-expense-action .preview-action-icon {
  background:
    linear-gradient(
      145deg,
      #6f45e8,
      #5734d3
    );
}

.preview-payday-action .preview-action-icon {
  background:
    linear-gradient(
      145deg,
      #747b91,
      #596276
    );

  font-size: 12px;
  font-weight: 800;
}

.preview-action div:last-child {
  display: flex;
  flex-direction: column;

  gap: 4px;

  min-width: 0;
}

.preview-action strong {
  font-size: 13px;
  font-weight: 850;
}

.preview-action span {
  color: var(--muted);

  font-size: 9px;
}


/* Preview Financial Grid */

.preview-financial-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 13px;

  margin-bottom: 13px;
}

.preview-financial-card {
  min-height: 155px;

  padding: 20px;

  border:
    1px solid var(--border);

  border-radius: 18px;

  background: #ffffff;

  box-shadow: var(--shadow-soft);
}

.preview-financial-card > span {
  display: block;

  margin-bottom: 14px;

  color: var(--muted-dark);

  font-size: 11px;
  font-weight: 750;
}

.preview-financial-card strong {
  display: block;

  margin-bottom: 9px;

  color: var(--text);

  font-size: 30px;
  line-height: 1;

  font-weight: 900;

  letter-spacing: -1px;
}

.preview-financial-card small {
  color: var(--muted);

  font-size: 9px;
}

.preview-primary-card {
  background:
    linear-gradient(
      145deg,
      #faf9ff,
      #f0edff
    );

  border-color: #e4e0fa;
}

.preview-primary-card strong {
  color: var(--primary);
}


/* Preview Secondary */

.preview-secondary-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 13px;
}

.preview-secondary-card {
  min-height: 92px;

  padding: 16px;

  border:
    1px solid var(--border);

  border-radius: 16px;

  background: #ffffff;
}

.preview-secondary-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;
}

.preview-secondary-card span {
  color: var(--muted);

  font-size: 10px;
  font-weight: 700;
}

.preview-secondary-card strong {
  font-size: 17px;
  font-weight: 850;
}

.preview-secondary-card small {
  display: block;

  margin-top: 7px;

  color: var(--muted);

  font-size: 8px;
}


/* =========================================================
   How It Works
   ========================================================= */

.how-it-works-section {
  padding:
    90px 0;
}

.steps-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.step-card {
  position: relative;

  padding: 30px;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: 22px;

  background: #ffffff;

  box-shadow: var(--shadow-soft);
}

.step-number {
  position: absolute;

  top: 20px;
  right: 22px;

  color: #e9eaf0;

  font-size: 31px;
  font-weight: 900;
}

.step-icon {
  width: 52px;
  height: 52px;

  margin-bottom: 25px;

  display: grid;
  place-items: center;

  border-radius: 15px;

  background: var(--primary-light);

  color: var(--primary);

  font-size: 21px;
  font-weight: 850;
}

.step-card:nth-child(2) .step-icon {
  background: var(--expense-bg);
  color: var(--expense);
}

.step-card:nth-child(3) .step-icon {
  background: var(--income-bg);
  color: var(--income);
}

.step-card h3 {
  margin:
    0 0 9px;

  font-size: 18px;
  font-weight: 850;
}

.step-card p {
  margin: 0;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.65;
}


/* =========================================================
   Benefits
   ========================================================= */

.benefits-section {
  padding:
    0 0 90px;
}

.benefits-card {
  padding: 55px;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    350px;

  align-items: center;

  gap: 70px;

  border-radius: 30px;

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #faf9ff
    );

  border:
    1px solid var(--border);

  box-shadow: var(--shadow-soft);
}

.benefits-content h2 {
  margin:
    0 0 18px;

  font-size:
    clamp(32px, 4vw, 45px);

  line-height: 1.08;

  font-weight: 900;

  letter-spacing: -1.7px;
}

.benefits-content > p {
  max-width: 620px;

  margin:
    0 0 25px;

  color: var(--muted-dark);

  font-size: 15px;

  line-height: 1.7;
}

.benefits-list {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 12px 25px;
}

.benefit-item {
  display: flex;
  align-items: center;

  gap: 9px;
}

.benefit-item span {
  width: 22px;
  height: 22px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--income-bg);

  color: var(--income);

  font-size: 10px;
  font-weight: 900;
}

.benefit-item p {
  margin: 0;

  color: #596276;

  font-size: 12px;
  font-weight: 650;
}


/* Benefits Visual */

.benefits-visual {
  display: flex;
  justify-content: center;
}

.benefit-number-card {
  width: 100%;

  padding: 30px;

  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      #f0edff,
      #e7e2ff
    );

  box-shadow:
    0 15px 35px rgba(111, 99, 217, 0.14);
}

.benefit-number-card > span {
  color: #77709e;

  font-size: 11px;
  font-weight: 700;
}

.benefit-number-card strong {
  display: block;

  margin-top: 18px;

  color: var(--primary);

  font-size: 66px;

  line-height: 1;

  font-weight: 900;

  letter-spacing: -3px;
}

.benefit-number-card small {
  display: block;

  margin-top: 8px;

  color: #77709e;

  font-size: 11px;
  font-weight: 700;
}

.benefit-status {
  margin-top: 24px;

  padding-top: 15px;

  display: flex;
  align-items: center;

  gap: 8px;

  border-top:
    1px solid rgba(111, 99, 217, 0.14);

  color: #66608d;

  font-size: 10px;
  font-weight: 700;
}

.benefit-status span {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--income);
}


/* =========================================================
   Final CTA
   ========================================================= */

.final-cta-section {
  padding:
    0 0 90px;
}

.final-cta {
  padding:
    70px 30px;

  text-align: center;

  border-radius: 30px;

  background:
    linear-gradient(
      135deg,
      #f0edff 0%,
      #faf9ff 100%
    );

  border:
    1px solid #e4e0fa;
}

.final-cta-content {
  max-width: 700px;

  margin: 0 auto;
}

.final-cta h2 {
  margin:
    0 0 16px;

  font-size:
    clamp(32px, 4vw, 45px);

  line-height: 1.08;

  font-weight: 900;

  letter-spacing: -1.7px;
}

.final-cta p {
  max-width: 570px;

  margin:
    0 auto 28px;

  color: var(--muted-dark);

  font-size: 15px;

  line-height: 1.7;
}

.cta-button {
  min-width: 145px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding:
    35px 0;

  background: #ffffff;

  border-top:
    1px solid var(--border);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;
}

.footer-brand {
  display: flex;
  align-items: center;

  gap: 10px;
}

.footer-brand-icon {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  gap: 3px;

  padding: 7px;

  border-radius: 11px;

  background: var(--primary-light);
}

.footer-brand-icon span {
  width: 5px;

  border-radius: 4px;

  background: var(--primary);
}

.footer-brand-icon span:nth-child(1) {
  height: 12px;
}

.footer-brand-icon span:nth-child(2) {
  height: 18px;
}

.footer-brand-icon span:nth-child(3) {
  height: 24px;
}

.footer-brand > div:last-child {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.footer-brand strong {
  font-size: 13px;
  font-weight: 850;
}

.footer-brand span {
  color: var(--muted);

  font-size: 9px;
}

.footer-links {
  display: flex;
  align-items: center;

  gap: 20px;
}

.footer-links a {
  color: var(--muted);

  font-size: 11px;
  font-weight: 650;

  text-decoration: none;
}

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

.footer-copy {
  color: #9aa1ae;

  font-size: 10px;
}




/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 980px) {

  .site-header {
    width:
      calc(100% - 28px);
  }

  .header-nav {
    gap: 16px;
  }

  .hero-container {
    grid-template-columns:
      1fr;

    gap: 45px;

    text-align: center;
  }

  .hero-content {
    max-width: 750px;

    margin: 0 auto;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-note {
    justify-content: center;
  }

  .hero-visual {
    min-height: 430px;
  }

  .features-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .daily-limit-card {
    grid-template-columns:
      1fr;

    gap: 40px;
  }

  .daily-limit-content {
    text-align: center;
  }

  .daily-limit-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .daily-limit-points {
    max-width: 500px;

    margin: 0 auto;

    text-align: left;
  }

  .benefits-card {
    grid-template-columns:
      1fr;

    gap: 40px;
  }

  .benefits-content {
    text-align: center;
  }

  .benefits-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .benefits-list {
    max-width: 600px;

    margin: 0 auto;

    text-align: left;
  }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 680px) {

  /* -------------------------------------------------------
     Header
     ------------------------------------------------------- */

  .site-header {
    width:
      calc(100% - 20px);

    min-height: 72px;

    margin-top: 10px;

    padding:
      10px 13px;

    border-radius: 20px;
  }

  .header-inner {
    gap: 10px;
  }

  .header-nav {
    display: none;
  }

  .brand {
    gap: 10px;

    min-width: 0;
  }

  .brand-icon {
    width: 43px;
    height: 43px;

    padding: 9px;

    border-radius: 13px;
  }

  .brand-icon span {
    width: 5px;
  }

  .brand-icon span:nth-child(1) {
    height: 14px;
  }

  .brand-icon span:nth-child(2) {
    height: 21px;
  }

  .brand-icon span:nth-child(3) {
    height: 28px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-tagline {
    font-size: 9px;
  }

  .account-button,
  .logout-btn {
    min-height: 42px;

    padding:
      0 14px;

    border-radius: 12px;

    font-size: 12px;
  }
  /* -------------------------------------------------------
     Homepage Hero
     ------------------------------------------------------- */

  .hero-section {
    padding:
      55px 0
      58px;
  }

  .hero-container,
  .section-container,
  .footer-inner {
    width:
      calc(100% - 28px);
  }

  .hero-content h1 {
    font-size:
      clamp(38px, 11vw, 52px);

    letter-spacing: -2px;
  }

  .hero-description {
    font-size: 15px;

    line-height: 1.6;
  }

  .hero-actions {
    width: 100%;

    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-note {
    align-items: flex-start;

    text-align: left;

    font-size: 11px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-card {
    width:
      calc(100% - 20px);

    padding: 23px;

    border-radius: 23px;
  }

  .hero-daily-limit span {
    font-size: 54px;
  }

  .hero-floating-card {
    min-width: 140px;

    padding: 11px 12px;

    border-radius: 13px;
  }

  .hero-floating-income {
    top: 20px;
    left: -2px;
  }

  .hero-floating-expense {
    right: -2px;
    bottom: 22px;
  }

  .floating-icon {
    width: 31px;
    height: 31px;

    border-radius: 9px;
  }


  /* -------------------------------------------------------
     Sections
     ------------------------------------------------------- */

  .features-section,
  .daily-limit-section,
  .dashboard-preview-section,
  .how-it-works-section {
    padding:
      65px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2 {
    font-size: 31px;

    letter-spacing: -1.2px;
  }

  .section-heading p {
    font-size: 14px;
  }


  /* -------------------------------------------------------
     Features
     ------------------------------------------------------- */

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

    gap: 12px;
  }

  .feature-card {
    padding: 21px;

    border-radius: 18px;
  }


  /* -------------------------------------------------------
     Daily Limit
     ------------------------------------------------------- */

  .daily-limit-card {
    padding: 30px 22px;

    border-radius: 23px;
  }

  .daily-limit-content h2 {
    font-size: 31px;

    letter-spacing: -1.2px;
  }

  .daily-limit-content > p {
    font-size: 14px;
  }

  .limit-visual-card {
    padding: 22px;
  }

  .limit-number {
    font-size: 54px;
  }


  /* -------------------------------------------------------
     Dashboard Preview
     ------------------------------------------------------- */

  .dashboard-preview {
    padding: 13px;

    border-radius: 21px;
  }

  .preview-header {
    padding:
      5px 3px 15px;
  }

  .preview-brand strong {
    font-size: 12px;
  }

  .preview-brand span {
    font-size: 8px;
  }

  .preview-account {
    padding:
      7px 9px;

    font-size: 8px;
  }

  .preview-actions {
    gap: 7px;
  }

  .preview-action {
    min-height: 88px;

    padding: 10px;

    gap: 7px;

    border-radius: 14px;
  }

  .preview-action-icon {
    width: 33px;
    height: 33px;

    border-radius: 9px;

    font-size: 16px;
  }

  .preview-action strong {
    font-size: 10px;
  }

  .preview-action span {
    font-size: 7px;
  }

  .preview-financial-grid,
  .preview-secondary-grid {
    gap: 7px;
  }

  .preview-financial-card {
    min-height: 120px;

    padding: 12px;

    border-radius: 14px;
  }

  .preview-financial-card > span {
    font-size: 8px;

    margin-bottom: 10px;
  }

  .preview-financial-card strong {
    font-size: 22px;
  }

  .preview-financial-card small {
    font-size: 7px;
  }

  .preview-secondary-card {
    min-height: 75px;

    padding: 10px;

    border-radius: 12px;
  }

  .preview-secondary-card span {
    font-size: 7px;
  }

  .preview-secondary-card strong {
    font-size: 13px;
  }

  .preview-secondary-card small {
    font-size: 6px;
  }


  /* -------------------------------------------------------
     How It Works
     ------------------------------------------------------- */

  .steps-grid {
    grid-template-columns:
      1fr;

    gap: 12px;
  }

  .step-card {
    padding: 23px;

    border-radius: 18px;
  }


  /* -------------------------------------------------------
     Benefits
     ------------------------------------------------------- */

  .benefits-section {
    padding-bottom: 65px;
  }

  .benefits-card {
    padding: 30px 22px;

    border-radius: 23px;
  }

  .benefits-content h2 {
    font-size: 31px;

    letter-spacing: -1.2px;
  }

  .benefits-content > p {
    font-size: 14px;
  }

  .benefits-list {
    grid-template-columns:
      1fr;
  }

  .benefit-number-card {
    padding: 25px;

    border-radius: 19px;
  }


  /* -------------------------------------------------------
     Final CTA
     ------------------------------------------------------- */

  .final-cta-section {
    padding-bottom: 65px;
  }

  .final-cta {
    padding:
      50px 22px;

    border-radius: 23px;
  }

  .final-cta h2 {
    font-size: 31px;

    letter-spacing: -1.2px;
  }

  .final-cta p {
    font-size: 14px;
  }


  /* -------------------------------------------------------
     Footer
     ------------------------------------------------------- */

  .site-footer {
    padding:
      28px 0;
  }

  .footer-inner {
    flex-direction: column;

    align-items: center;

    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;

    justify-content: center;

    gap: 12px 18px;
  }

  .footer-copy {
    font-size: 9px;
  }

}


/* =========================================================
   Very Small Phones
   ========================================================= */

@media (max-width: 360px) {

  .site-header {
    width:
      calc(100% - 14px);
  }

  .hero-container,
  .section-container,
  .footer-inner {
    width:
      calc(100% - 20px);
  }

  .brand-tagline {
    display: none;
  }

  .brand-name {
    font-size: 14px;
  }

  .account-button,
  .logout-btn {
    padding:
      0 11px;

    font-size: 11px;
  }
  .hero-container,
  .section-container,
  .footer-inner {
    width:
      calc(100% - 20px);
  }

  .brand-tagline {
    display: none;
  }

  .brand-name {
    font-size: 14px;
  }

  .account-button,
  .logout-btn {
    padding:
      0 11px;

    font-size: 11px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-floating-card {
    min-width: 126px;
  }

  .hero-floating-card small {
    font-size: 8px;
  }

  .hero-floating-card strong {
    font-size: 12px;
  }


}


/* =========================================================
   Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    transition-duration:
      0.01ms !important;

    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;
  }
}
