/*===== GOOGLE FONTS =====*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  --first-color: #009aa6;
  --first-color-alt: #00818c;
  --first-color-send: #00b0bd;
  --first-color-light: rgba(0,154,166,.08);
  --first-color-glow: rgba(0,154,166,.25);
  --logout-color: #e52f2f;
  --title-color: #161212;
  --text-color: #5B5757;
  --text-color-light: #8F8A8A;
  --body-color: #FEFBFB;
  --container-color: #FFF;
  --border-color: rgba(0,0,0,.07);
  --glass-bg: rgba(255,255,255,.72);
  --glass-border: rgba(255,255,255,.5);

  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  /*========== Font weight ==========*/
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== Margins ==========*/
  --mb-1: .5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;

  /*========== Shadows ==========*/
  --shadow-sm: 0 2px 8px rgba(0,154,166,.08);
  --shadow-md: 0 4px 20px rgba(0,154,166,.14);
  --shadow-lg: 0 8px 40px rgba(0,154,166,.18);
  --shadow-card: 0 2px 12px rgba(22,18,18,.1);

  /*========== Transitions ==========*/
  --transition-fast: .2s cubic-bezier(.4,0,.2,1);
  --transition-base: .35s cubic-bezier(.4,0,.2,1);
  --transition-slow: .6s cubic-bezier(.4,0,.2,1);
}

@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 3rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

/*========== BASE ==========*/
*,::before,::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.dark-theme {
  --first-color-send: #161212;
  --title-color: #F3F1F1;
  --text-color: #D1C7C8;
  --body-color: #251D1E;
  --container-color: #302728;
  --border-color: rgba(255,255,255,.07);
  --glass-bg: rgba(48,39,40,.8);
  --glass-border: rgba(255,255,255,.1);
}

.change-theme {
  position: absolute;
  right: 1.5rem;
  top: 2.2rem;
  display: flex;
  color: var(--title-color);
  font-size: 2rem;
  cursor: pointer;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,ul,p { margin: 0; }
h1,h2,h3 { font-weight: var(--font-semi-bold); color: var(--title-color); }
ul { padding: 0; list-style: none; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }

/*========== CLASS CSS ==========*/
.section { padding: 4rem 0 2rem; }

.share.section {
  padding-top: 2rem;
  margin-top: 10px;
  margin-bottom: 80px;
}

.section-title, .section-title-center {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: var(--mb-3);
}

/*========== LAYOUT ==========*/
.l-main { overflow: hidden; }

.bd-container {
  max-width: 1150px;
  width: calc(100% - 3rem);
  margin-left: var(--mb-3);
  margin-right: var(--mb-3);
}

.bd-grid { display: grid; gap: 1.5rem; }

.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: box-shadow var(--transition-base);
}

/*========== NAV ==========*/
.nav__logo img { height: 40px; width: auto; }

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: var(--header-height); /* exact header height */
    left: 0;
    right: 0;
    width: 92%;
    margin: 0 auto;

    transform: translateY(-120%); /* hide above */
    opacity: 0;

    padding: 2rem 0;
    text-align: center;

    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transition: transform 0.35s ease, opacity 0.3s ease;

    box-shadow: var(--shadow-lg);
    border-radius: 1.5rem;
    z-index: 200;
    border: 1px solid var(--glass-border);
  }

  .nav__menu.show-menu {
    transform: translateY(0); /* slide down properly */
    opacity: 1;
  }
   /* Lock scroll while menu is open */
   body.menu-open {
    overflow: hidden;
  }
}

.nav__item { margin-bottom: var(--mb-3); }

.nav__link, .nav__logo, .nav__toggle {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.nav__logo:hover { color: var(--first-color); }

.nav__link {
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--first-color);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav__link:hover { color: var(--first-color); }
.nav__link:hover::after { width: 100%; }

.nav__toggle { font-size: 1.3rem; cursor: pointer; }

.show-menu { top: calc(var(--header-height) + 0.5rem); }

.active-link { color: var(--first-color); }
.active-link::before {
  content: '';
  position: absolute;
  bottom: -.75rem;
  left: 45%;
  width: 5px;
  height: 5px;
  background-color: var(--first-color);
  border-radius: 50%;
}

.scroll-header { box-shadow: var(--shadow-md); }

/*========== SCROLL TOP ==========*/
.scrolltop {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .3rem;
  background: var(--first-color);
  border-radius: .5rem;
  z-index: var(--z-tooltip);
  transition: bottom var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-fast);
  visibility: hidden;
  box-shadow: var(--shadow-md);
}

.scrolltop:hover {
  background-color: var(--first-color-alt);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.scrolltop__icon { font-size: 1.5rem; color: #fff; }

.show-scroll { visibility: visible; bottom: 1.5rem; }

/*========== HERO BACKGROUND BLOBS ==========*/
.home {
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: blobFloat 8s ease-in-out infinite alternate;
}

.hero-blob--1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0,154,166,.15) 0%, transparent 70%);
  top: -100px;
  right: -80px;
  animation-delay: 0s;
}

.hero-blob--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,176,189,.12) 0%, transparent 70%);
  bottom: 0;
  left: -60px;
  animation-delay: -3s;
}

.hero-blob--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,130,140,.1) 0%, transparent 70%);
  top: 50%;
  left: 40%;
  animation-delay: -6s;
}

@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -30px) scale(1.08); }
}

/*========== HOME ==========*/
.home__container {
  margin-top: 30px;
  row-gap: .5rem;
  position: relative;
  z-index: 1;
}

.home__img {
  width: 100%;
  max-width: 500px;
  justify-self: center;
  filter: drop-shadow(0 20px 40px rgba(0,154,166,.2));
  animation: floatImg 4s ease-in-out infinite;
}

@keyframes floatImg {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.home__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--first-color-light);
  color: var(--first-color);
  border: 1px solid rgba(0,154,166,.2);
  padding: .35rem .85rem;
  border-radius: 2rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-2);
  animation: fadeInDown .6s ease both;
}

.home__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-2);
  line-height: 1.15;
  animation: fadeInDown .7s ease both .1s;
}

.home__title--accent {
  color: var(--first-color);
  position: relative;
  display: inline-block;
}

.home__title--accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-send));
  border-radius: 2px;
  opacity: .4;
}

.home__description {
  margin-bottom: var(--mb-3);
  color: var(--text-color);
  animation: fadeInDown .8s ease both .2s;
}

/*========== HOME STATS ==========*/
.home__stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: var(--mb-4);
  animation: fadeInDown .9s ease both .3s;
}

.home__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .75rem 1rem;
  background: var(--container-color);
  border-radius: .75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  min-width: 70px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.home__stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.home__stat-num {
  font-size: 1.4rem;
  font-weight: var(--font-bold);
  color: var(--first-color);
  line-height: 1;
}

.home__stat-label {
  font-size: .65rem;
  color: var(--text-color-light);
  text-align: center;
  margin-top: .2rem;
}

.home__cta {
  animation: fadeInUp .8s ease both .4s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

/*========== ANIMATIONS ==========*/
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

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

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

.reveal-left  { animation: fadeInLeft  .7s ease both; }
.reveal-right { animation: fadeInRight .7s ease both; }
.reveal-up    { animation: fadeInUp    .7s ease both; }

/*========== BUTTONS ==========*/

.button {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-send) 100%);
  color: #fff;
  padding: .9rem 1.6rem;
  border-radius: .65rem;
  font-weight: var(--font-semi-bold);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-base);
  box-shadow: 0 4px 14px rgba(0,154,166,.3);
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--first-color-alt) 0%, var(--first-color) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  display: none;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,154,166,.38);
}

.button:hover::before { opacity: 1; }

.button > * { position: relative; z-index: 1;  }
.button > span { position: relative; z-index: 1; }

.button-link {
  background: none;
  padding: 0;
  color: var(--first-color);
  box-shadow: none;
}

.button-link:hover {
  background-color: transparent;
  color: var(--first-color-alt);
  transform: none;
  box-shadow: none;
}

.button-link::before { display: none; }

/*========== TRUST BAR ==========*/
.trust-bar {
  margin-top: 100px;
  margin-bottom: 50px;
  background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-send) 100%);
  padding: 1.25rem 0;
}

.trust-bar__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
}

.trust-bar__item i { font-size: 1.2rem; opacity: .9; }

/*========== FEATURE SECTIONS ==========*/
.feature-section { position: relative; }

.feature-section--alt { background: var(--first-color-light); }

.feature__tag {
  display: inline-block;
  background: var(--first-color-light);
  color: var(--first-color);
  border: 1px solid rgba(0,154,166,.2);
  padding: .25rem .75rem;
  border-radius: 2rem;
  font-size: .72rem;
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--mb-2);
}

.feature-section--alt .feature__tag {
  background: rgba(255,255,255,.6);
}

.feature__list {
  list-style: none;
  margin-top: var(--mb-2);
}

.feature__list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .5rem 0;
  font-size: var(--normal-font-size);
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
}

.feature__list li:last-child { border-bottom: none; }

.feature__list i {
  color: var(--first-color);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/*========== SHARE ==========*/
.share__data { text-align: center; }
.share__description { margin-bottom: var(--mb-2); }

.share__img {
  width: 280px;
  justify-self: center;
  filter: drop-shadow(0 16px 32px rgba(0,154,166,.15));
  transition: filter var(--transition-base);
}

.share__img:hover { filter: drop-shadow(0 24px 48px rgba(0,154,166,.25)); }

.sms__img {
  width: 450px;
  justify-self: center;
  filter: drop-shadow(0 16px 32px rgba(0,154,166,.15));
  transition: filter var(--transition-base);
}

.sms__img:hover { filter: drop-shadow(0 24px 48px rgba(0,154,166,.25)); }

/*========== DECORATION ==========*/
.decoration__subtitle {
  text-align: center;
  color: var(--text-color);
  margin-bottom: var(--mb-4);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.decoration__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.decoration__data {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--container-color);
  box-shadow: var(--shadow-card);
  border-radius: 1.25rem;
  border: 1px solid var(--border-color);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.decoration__data::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-send));
  border-radius: 1.25rem 1.25rem 0 0;
}

.decoration__data:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.decoration__img {
  width: 140px;
  margin-bottom: var(--mb-2);
  transition: transform var(--transition-base);
}

.decoration__data:hover .decoration__img { transform: scale(1.05); }

.decoration__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}

.decoration__desc {
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: var(--mb-2);
}

.decoration__chip {
  display: inline-block;
  background: var(--first-color-light);
  color: var(--first-color);
  border: 1px solid rgba(0,154,166,.2);
  padding: .3rem .85rem;
  border-radius: 2rem;
  font-size: .72rem;
  font-weight: var(--font-semi-bold);
}

/*========== FAQ ==========*/
.faq { background: var(--body-color); }

.faq__container {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__item {
  background: var(--container-color);
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.faq__item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(0,154,166,.2);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  cursor: pointer;
  list-style: none;
  font-size: var(--normal-font-size);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.faq__question::-webkit-details-marker { display: none; }

.faq__item[open] .faq__question {
  color: var(--first-color);
  background: var(--first-color-light);
}

.faq__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--first-color);
}

.faq__item[open] .faq__icon { transform: rotate(180deg); }

.faq__answer {
  padding: 1rem 1.4rem 1.2rem;
  color: var(--text-color);
  font-size: var(--normal-font-size);
  line-height: 1.75;
  border-top: 1px solid var(--border-color);
  animation: fadeInDown .25s ease;
}

/*========== SEND / CONTACT ==========*/
.send { background-color: var(--first-color-send); }

.send__title, .send__description { color: #fff; }

.send__description { text-align: center; margin-bottom: var(--mb-4); }

.send__direction {
  display: flex;
  justify-content: space-between;
  background-color: rgba(255,255,255,.95);
  padding: .5rem;
  border-radius: .65rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.send__input {
  width: 70%;
  outline: none;
  border: none;
  font-size: var(--normal-font-size);
  font-family: var(--body-font);
  background: transparent;
}

.send__input::placeholder { font-family: var(--body-font); }

.send__img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.send__img img {
  border-radius: 1rem;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.2));
}

/*========== FOOTER ==========*/
.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer__logo { color: var(--title-color); }
.footer__title { margin-bottom: var(--mb-2); }
.footer__logo, .footer__title { font-size: var(--h3-font-size); }

.footer__link {
  display: inline-block;
  margin-bottom: .75rem;
  color: var(--text-color);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer__link:hover {
  color: var(--first-color);
  padding-left: 4px;
}

.footer__social {
  font-size: 1.5rem;
  color: var(--title-color);
  margin-right: var(--mb-3);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer__social:hover {
  color: var(--first-color);
  transform: scale(1.15);
}

.footer__playstore {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: var(--mb-2);
  background: var(--first-color-light);
  color: var(--first-color);
  border: 1px solid rgba(0,154,166,.2);
  padding: .5rem 1rem;
  border-radius: .5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.footer__playstore:hover {
  background: var(--first-color);
  color: #fff;
  transform: translateY(-2px);
}

.footer__playstore i { font-size: 1.1rem; }

.footer__ownership {
  background: var(--first-color-light);
  border-top: 1px solid rgba(0,154,166,.1);
  padding: 1.5rem 0;
  margin-top: 2rem;
  font-size: var(--small-font-size);
  color: var(--text-color);
  text-align: center;
  line-height: 1.8;
}

.footer__ownership strong { color: var(--title-color); }

.footer__ownership a {
  color: var(--first-color);
  transition: color var(--transition-fast);
}

.footer__ownership a:hover { color: var(--first-color-alt); }

.footer__ownership i { vertical-align: middle; }

.footer__copy {
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-top: 2rem;
  padding-bottom: 1rem;
}

/*========== TERMS & PRIVACY PAGES ==========*/
.terms-list {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.terms-point {
  list-style: disc;
  margin-left: 1.5rem;
}

/*========== PLAY ICON ==========*/
.play-icon {
  font-size: 1.3rem;
  vertical-align: middle;
}

/*========== MEDIA QUERIES ==========*/
@media screen and (max-width: 359px) {
  .home__img, .share__img, .send__img { width: 100%; }
  .home__stats { gap: .75rem; }
}

@media screen and (min-width: 576px) {
  .home__container,
  .share__container,
  .send__container {
    grid-template-columns: repeat(2,1fr);
    align-items: center;
  }

  .home__container { padding: 5rem 0 0; }
  .home__img { order: 1; }

  .section-title-center,
  .share__data,
  .send__description { text-align: initial; }

  .home__img, .share__img, .send__img { width: 100%; }
  .share__img { order: -1; }
  .sms__img { order: 2; }
}

@media screen and (min-width: 768px) {
  body { margin: 0; }

  .section { padding-top: 7rem; }

  .nav { height: calc(var(--header-height) + 1.5rem); }
  .nav__list { display: flex; align-items: center; }
  .nav__item { margin-left: var(--mb-5); margin-bottom: 0; }
  .nav__toggle { display: none; }

  .change-theme { position: initial; margin-left: var(--mb-4); }

  .home__container { padding: 7rem 2rem 0; }
  .share__container { padding: 0 2rem; }

  .send { background: none; }

  .send__container {
    background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-send) 100%);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
  }

  .send__content { padding-top: 2rem; padding-bottom: 2rem; }

  .trust-bar__grid { justify-content: space-around; }
}

@media screen and (min-width: 968px) {
  .bd-container { margin-left: auto; margin-right: auto; }
  .home__img, .share__img, .send__img { width: 469px; }
  .home__container, .share__container, .send__container { column-gap: 5rem; }
}

/*========== DASHBOARD STYLES ==========*/
.dashboard-container { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }
.dashboard-header { margin-bottom: 2rem; }
.dashboard-header h1 { font-size: var(--h2-font-size); color: var(--title-color); margin-bottom: 0.5rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--container-color);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid var(--border-color);
}

.stat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.stat-card i { font-size: 2rem; color: var(--first-color); margin-bottom: 0.5rem; }
.stat-value { font-size: 2rem; font-weight: var(--font-bold); color: var(--title-color); }
.stat-label { font-size: var(--small-font-size); color: var(--text-color-light); margin-top: 0.25rem; }

.controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; }
.right-controls { display: flex; align-items: center; gap: 0.4rem; }

.search-box {
  display: flex; align-items: center;
  background: var(--container-color);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  flex: 1; max-width: 400px;
  border: 1px solid var(--border-color);
}

.search-box input { border: none; outline: none; background: transparent; width: 100%; font-family: var(--body-font); font-size: var(--normal-font-size); color: var(--text-color); }
.search-box input::placeholder { color: var(--text-color-light); }
.search-box i { color: var(--text-color-light); margin-right: 0.5rem; }

.logout-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background-color: #f44336; color: #fff;
  padding: 0.75rem 1.5rem; border-radius: 0.5rem;
  font-weight: var(--font-semi-bold); cursor: pointer; border: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
  font-family: var(--body-font); font-size: var(--normal-font-size);
}
.logout-btn:hover { background-color: #d32f2f; transform: scale(1.03); }

.refresh-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background-color: var(--first-color); color: #fff;
  padding: 0.75rem 1.5rem; border-radius: 0.5rem;
  font-weight: var(--font-semi-bold); cursor: pointer; border: none;
  transition: background var(--transition-fast);
  font-family: var(--body-font); font-size: var(--normal-font-size);
}
.refresh-btn:hover { background-color: var(--first-color-alt); }
.refresh-btn.loading { opacity: 0.7; pointer-events: none; }
.refresh-btn.loading i { animation: spin 1s linear infinite; }

@keyframes spin { 100% { transform: rotate(360deg); } }

.users-table-container { background: var(--container-color); border-radius: 1rem; box-shadow: var(--shadow-card); overflow: hidden; }
.users-table { width: 100%; border-collapse: collapse; }
.users-table thead { background: var(--first-color); color: #fff; }
.users-table th { background-color: var(--first-color) !important; color: #fff !important; padding: 1rem; text-align: left; font-weight: var(--font-semi-bold); font-size: var(--normal-font-size); }
.users-table td { padding: 1rem; border-bottom: 1px solid var(--border-color); color: var(--text-color); }
.users-table tbody tr { transition: background var(--transition-fast); }
.users-table tbody tr:hover { background: var(--first-color-light); }
.users-table tbody tr:last-child td { border-bottom: none; }
.user-id { font-family: 'Courier New', monospace; font-size: 0.85rem; color: var(--text-color-light); word-break: break-all; }
.badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: var(--small-font-size); font-weight: var(--font-semi-bold); }
.badge-active { background: #d4edda; color: #155724; }
.badge-inactive { background: #f8d7da; color: #721c24; }

.loading-state, .error-state, .empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-color-light); }
.loading-state i { font-size: 3rem; color: var(--first-color); animation: spin 1s linear infinite; display: block; margin-bottom: 1rem; }
.error-state i { font-size: 3rem; color: #dc3545; margin-bottom: 1rem; display: block; }
.empty-state i { font-size: 3rem; color: var(--text-color-light); margin-bottom: 1rem; display: block; }
.error-message { font-size: 0.85rem; margin-top: 0.5rem; color: var(--text-color-light); }

body.dark-theme .stat-card,
body.dark-theme .search-box,
body.dark-theme .users-table-container { box-shadow: 0 2px 6px rgba(0,0,0,.3); }

body.dark-theme .users-table td { border-bottom: 1px solid rgba(255,255,255,.05); }
body.dark-theme .users-table tbody tr:hover { background: rgba(0,154,166,.15); }

@media screen and (max-width: 768px) {
  .dashboard-container { padding: 1.5rem 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-card { padding: 1rem; }
  .stat-value { font-size: 1.5rem; }
  .users-table-container { overflow-x: auto; }
  .users-table { min-width: 600px; }
  .controls { flex-direction: column; align-items: stretch; }
  .search-box { max-width: 100%; }
  .refresh-btn { width: 100%; justify-content: center; }
}

@media screen and (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .users-table th, .users-table td { padding: 0.75rem 0.5rem; font-size: var(--small-font-size); }
}

.env-toggle { display: flex; align-items: center; gap: 6px; margin: 0; margin-right: 10px; }
.switch { position: relative; display: inline-block; width: 50px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 24px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #4caf50; }
input:checked + .slider:before { transform: translateX(26px); }

.action-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 12px; font-size: 14px; border: none; border-radius: 6px; cursor: pointer; background-color: #f0f0f0; transition: all 0.2s ease; }
.action-btn:hover { background-color: #e0e0e0; transform: translateY(-2px); }
.sms-btn { color: #007bff; }
.expense-btn { color: #28a745; }

/*========== BLOGS PAGE ==========*/
.blogs-hero { padding: 3rem 0 2rem; text-align: center; }
.blogs-hero__title { font-size: var(--biggest-font-size); font-weight: var(--font-bold); color: var(--title-color); margin-bottom: var(--mb-2); }
.blogs-hero__subtitle { font-size: var(--normal-font-size); color: var(--text-color); max-width: 520px; margin: 0 auto var(--mb-3); }

.blogs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; padding: 2rem 0 4rem; }

.blog-card { background-color: var(--container-color); border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--transition-base), box-shadow var(--transition-base); cursor: pointer; text-decoration: none; display: block; color: inherit; border: 1px solid var(--border-color); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card__img-wrap { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.blog-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.blog-card:hover .blog-card__img-wrap img { transform: scale(1.05); }
.blog-card__img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--first-color-light) 0%, rgba(0,176,189,.1) 100%); }
.blog-card__img-placeholder i { font-size: 3rem; color: var(--first-color); opacity: .4; }
.blog-card__body { padding: 1.25rem 1.5rem 1rem; }
.blog-card__tag { display: inline-block; background-color: var(--first-color-light); color: var(--first-color); font-size: .7rem; font-weight: var(--font-semi-bold); padding: .2rem .65rem; border-radius: 1rem; margin-bottom: .6rem; letter-spacing: .04em; text-transform: uppercase; }
.blog-card__title { font-size: var(--h3-font-size); color: var(--title-color); margin-bottom: .5rem; line-height: 1.4; }
.blog-card__desc { font-size: var(--small-font-size); color: var(--text-color); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__footer { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.5rem 1.25rem; border-top: 1px solid var(--border-color); }
.blog-card__author { display: flex; align-items: center; gap: .5rem; font-size: var(--small-font-size); color: var(--text-color-light); }
.blog-card__author-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--first-color), var(--first-color-send)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: .65rem; font-weight: var(--font-bold); overflow: hidden; flex-shrink: 0; }
.blog-card__author-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.blog-card__read-more { font-size: var(--small-font-size); font-weight: var(--font-semi-bold); color: var(--first-color); display: flex; align-items: center; gap: .25rem; transition: gap var(--transition-fast); }
.blog-card:hover .blog-card__read-more { gap: .5rem; }

/*========== BLOG POST ==========*/
.back-btn { display: inline-flex; align-items: center; gap: .4rem; color: var(--first-color); font-weight: var(--font-semi-bold); font-size: var(--normal-font-size); margin-bottom: var(--mb-3); transition: gap var(--transition-fast), color var(--transition-fast); }
.back-btn:hover { color: var(--first-color-alt); gap: .65rem; }
.back-btn i { font-size: 1.2rem; }

.blog-post__hero { width: 100%; aspect-ratio: 16 / 6; border-radius: 1rem; overflow: hidden; background: linear-gradient(135deg, var(--first-color-light) 0%, rgba(0,176,189,.15) 100%); display: flex; align-items: center; justify-content: center; margin-bottom: var(--mb-4); }
.blog-post__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-post__hero-placeholder i { font-size: 4rem; color: var(--first-color); opacity: .35; }
.blog-post__title { font-size: var(--biggest-font-size); font-weight: var(--font-bold); color: var(--title-color); line-height: 1.25; margin-bottom: var(--mb-3); margin-top: var(--mb-2); }
.blog-post__author { display: flex; align-items: center; gap: 1rem; margin-bottom: var(--mb-4); padding-bottom: var(--mb-3); border-bottom: 1px solid var(--border-color); }
.blog-post__author-avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--first-color), var(--first-color-send)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; font-weight: var(--font-bold); flex-shrink: 0; }
.blog-post__author-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.blog-post__author-info { display: flex; flex-direction: column; }
.blog-post__author-name { font-size: var(--normal-font-size); font-weight: var(--font-semi-bold); color: var(--title-color); }
.blog-post__author-date { font-size: var(--small-font-size); color: var(--text-color-light); }
.blog-post__content { color: var(--text-color); font-size: var(--normal-font-size); line-height: 1.85; }
.blog-post__content h2 { font-size: var(--h2-font-size); color: var(--title-color); margin: var(--mb-4) 0 var(--mb-2); }
.blog-post__content h3 { font-size: var(--h3-font-size); color: var(--title-color); margin: var(--mb-3) 0 var(--mb-1); }
.blog-post__content p { margin-bottom: var(--mb-3); }
.blog-post__content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: var(--mb-3); }
.blog-post__content ul li { margin-bottom: .5rem; }
.blog-post__divider { border: none; border-top: 1px solid var(--border-color); margin: var(--mb-6) 0 var(--mb-5); }

.more-blogs__title { font-size: var(--h2-font-size); color: var(--title-color); font-weight: var(--font-bold); margin-bottom: var(--mb-4); }
.more-blogs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.more-blogs__viewall { display: inline-flex; align-items: center; gap: .4rem; margin-top: var(--mb-4); color: var(--first-color); font-weight: var(--font-semi-bold); font-size: var(--normal-font-size); transition: gap var(--transition-fast); }
.more-blogs__viewall:hover { gap: .7rem; color: var(--first-color-alt); }

@media screen and (max-width: 576px) {
  .blogs-grid, .more-blogs__grid { grid-template-columns: 1fr; }
  .blog-post__title { font-size: 1.6rem; }
  .blog-post__hero { aspect-ratio: 16 / 8; }
  .home__stats { flex-wrap: wrap; gap: .75rem; }
  .trust-bar__grid { gap: 1rem 1.5rem; }
}

/*========== BLOG BREADCRUMB ==========*/
.blog-breadcrumb {
  margin-bottom: var(--mb-2);
}

.blog-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem;
  list-style: none;
  padding: 0;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.blog-breadcrumb__list li a {
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
  transition: color var(--transition-fast);
}

.blog-breadcrumb__list li a:hover {
  color: var(--first-color-alt);
}

.blog-breadcrumb__list li[aria-current="page"] {
  color: var(--text-color);
}

.blog-breadcrumb__list i {
  font-size: .9rem;
  color: var(--text-color-light);
}

/*========== BLOG IN-POST CTA ==========*/
.blog-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: var(--mb-2);
  font-size: var(--normal-font-size);
}

.blog-cta i {
  font-size: 1.2rem;
}

/*========== REVIEWS ==========*/
.reviews {
  overflow: hidden;
  padding-bottom: 3rem;
}

.reviews__subtitle {
  text-align: center;
  color: var(--text-color);
  margin-top: -.75rem;
  margin-bottom: var(--mb-4);
  font-size: var(--small-font-size);
}

.reviews__track-wrapper {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.reviews__track-wrapper:active { cursor: grabbing; }

.reviews__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: reviewsScroll 32s linear infinite;
  padding: 1rem 0.5rem;
}

.reviews__track:hover { animation-play-state: paused; }

@keyframes reviewsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review__card {
  background: var(--container-color);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.5rem;
  width: 300px;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.review__card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 3.5rem;
  color: var(--first-color);
  opacity: .12;
  font-family: Georgia, serif;
  line-height: 1;
}

.review__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}

.review__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-send));
  color: #fff;
  font-size: .75rem;
  font-weight: var(--font-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review__name {
  display: block;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  font-size: var(--small-font-size);
}

.review__location {
  display: block;
  font-size: .7rem;
  color: var(--text-color-light);
}

.review__stars {
  color: #f5a623;
  font-size: .9rem;
  margin-bottom: .65rem;
  letter-spacing: 1px;
}

.review__text {
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.7;
  margin: 0;
}

.review__img img {
  border-radius: 50%;
}

/*========== MOBILE FIXES ==========*/
@media screen and (max-width: 768px) {

  /* Nav menu: open below header, never overlap hero */
  .nav__menu.show-menu {
    top: calc(var(--header-height) + 0.5rem);
  }

  body.menu-open main {
    filter: blur(2px);
  }

  /* Lock body scroll while menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Trust bar — tighten margins */
  .trust-bar {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }

  .trust-bar__grid {
    gap: .85rem 1.5rem;
  }

  /* Feature sections */
  .share.section {
    margin-bottom: 2rem;
    padding-top: 1.5rem;
  }

  /* SMS img */
  .sms__img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Share img */
  .share__img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Share data */
  .share__data {
    text-align: center;
  }

  /* Feature list */
  .feature__list li {
    text-align: left;
  }

  /* Reviews */
  .review__card {
    width: 260px;
  }

  /* Home stats */
  .home__stats {
    gap: .6rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .home__stat {
    min-width: 60px;
    padding: .6rem .75rem;
  }

  /* Decoration cards */
  .decoration__container {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  /* FAQ */
  .faq__container {
    width: 100%;
  }

  .faq__question {
    padding: 1rem;
    font-size: var(--small-font-size);
  }

  .faq__answer {
    padding: .85rem 1rem 1rem;
    font-size: var(--small-font-size);
  }

  /* Contact section */
  .send__direction {
    flex-direction: column;
    gap: .75rem;
  }

  .send__input {
    width: 100%;
    padding: .5rem;
  }

  .send__direction .button {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer__ownership {
    padding: 1.25rem 1rem;
    font-size: .72rem;
  }
}

@media screen and (max-width: 576px) {

  /* Home section top padding to clear fixed header */
  .home__container {
    margin-top: 0;
    padding-top: 4rem;
  }

  /* Home badge */
  .home__badge {
    font-size: .7rem;
    padding: .3rem .65rem;
  }

  /* CTA button full width */
  .home__cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Section titles */
  .section-title {
    font-size: 1.2rem;
  }

  /* Reviews */
  .review__card {
    width: 230px;
    padding: 1.1rem;
  }

  .review__card::before {
    font-size: 2.5rem;
  }

  /* Decoration cards full width */
  .decoration__container {
    max-width: 100%;
  }

  .decoration__data {
    padding: 1.5rem 1rem;
  }

  /* Feature tag */
  .feature__tag {
    font-size: .65rem;
  }

  /* sms__img order on mobile */
  .sms__img {
    order: -1;
  }

  /* Footer */
  .footer__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Hide send img on very small screens */
  .send__img {
    display: none;
  }
}