/* ============================================================
   Cash Aurivon - ALL site styles in ONE file.
   Order matters for cascade: base/shared -> home -> contact -> legal.
   ============================================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  color: #1a1a1a;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.page-wrapper {
  max-width: 100vw;
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
:root {
  --g: #2dc44d;
  --gd: #25a840;
  --gl: #e8f9ec;
  --bk: #1a1a1a;
  --gr: #6b7280;
  --grl: #f5f5f7;
  --wh: #fff;
  --grad: linear-gradient(135deg, #34d058, #2dc44d 50%, #a8e063);
}

.ctn {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.v {
  opacity: 1;
  transform: translateY(0);
}
.rl {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.rl.v {
  opacity: 1;
  transform: translateX(0);
}
.rr {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.rr.v {
  opacity: 1;
  transform: translateX(0);
}
.d1 {
  transition-delay: 0.1s;
}
.d2 {
  transition-delay: 0.2s;
}
.d3 {
  transition-delay: 0.3s;
}
.d4 {
  transition-delay: 0.4s;
}
.d5 {
  transition-delay: 0.5s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}
.hdr-in {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
}
.logo img {
  width: 68px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gr);
  transition: color 0.2s;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--g);
  transition: width 0.3s;
}
.nav a:hover {
  color: var(--bk);
}
.nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: var(--g);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn:hover {
  background: var(--gd);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 196, 77, 0.35);
}

.mt {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mt span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bk);
  border-radius: 2px;
  transition: all 0.3s;
}
.mm {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 40px;
  flex-direction: column;
  gap: 24px;
}
.mm.open {
  display: flex;
}
.mm a {
  font-size: 18px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
}

.coform {
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.coform .thx-wrap {
  position: absolute;
  inset: 0;
  z-index: 10;
  background-color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  transition: 0.25s;
  transform: scale(0);
}

.coform .thx-wrap.active {
  transform: scale(1);
}

.coform .thx-wrap .thx-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.fg {
  margin-bottom: 20px;
}
.fg label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.fg input,
.fg select,
.fg textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: var(--grl);
  transition: all 0.2s;
  outline: none;
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(45, 196, 77, 0.1);
  background-color: #fff;
}
.fg textarea {
  resize: none;
  min-height: 168px;
}

.fg select {
  appearance: none;
  background-image: url("../img/ic-select.svg");
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: calc(100% - 15px) 50%;
}

.ftr {
  background: #111;
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 32px;
}
.ftr-in {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.ftr .logo {
  color: #fff;
  margin-bottom: 12px;
}
.ftr-lk {
  display: flex;
  gap: 32px;
}
.ftr-lk a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.ftr-lk a:hover {
  color: #fff;
}
.ftr-bt {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1040px) {
  .logo {
    font-size: 16px;
    gap: 10px;
  }
  .logo img {
    width: 54px;
  }
  .nav {
    gap: 14px;
  }
  .nav a {
  }
}

@media (max-width: 1024px) {
  .ctn {
    padding: 0 14px;
  }
  .nav {
    display: none;
  }
  .hdr .btn {
    display: none;
  }
  .mt {
    display: flex;
  }
  .hdr-in {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .coform {
    padding: 30px 15px;
  }
}

/* ================= home page (was css/home.css) ================= */

.hero {
  position: relative;
  padding: 60px 0 80px;
  background: linear-gradient(135deg, #f0fdf4, #fff 40%, #f0fdf4);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 196, 77, 0.08), transparent 70%);
  pointer-events: none;
}
.hero-in {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 .gr {
  color: var(--g);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gr);
  max-width: 600px;
  margin-bottom: 40px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  font-size: 13px;
  color: var(--gr);
}
.badge svg {
  width: 16px;
  height: 16px;
  color: var(--g);
  flex-shrink: 0;
}
.ph-mock {
  position: relative;
  width: 400px;
  animation: float 5s ease-in-out infinite;
}
.ph-mock img {
  width: 100%;
}
.stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}
.stat-l {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gr);
  margin-bottom: 4px;
}
.stat-v {
  font-size: 20px;
  font-weight: 800;
}
.stat-v .gr {
  color: var(--g);
}

section {
  padding: 120px 0;
}
.stag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--g);
  margin-bottom: 16px;
}
.stit {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.sdesc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gr);
  max-width: 560px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.rev {
  direction: rtl;
}
.split.rev > * {
  direction: ltr;
}
.phs {
  display: flex;
  justify-content: center;
}
.phs img {
  width: 280px;
  border-radius: 32px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.phs:hover img {
  transform: translateY(-8px) scale(1.02);
}
.amt {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: linear-gradient(135deg, #e8f9ec, #d4f4dc);
  border-radius: 16px;
  font-size: 28px;
  font-weight: 800;
  color: var(--gd);
  margin: 24px 0;
}
.ptags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.ptag {
  padding: 12px 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: default;
  transition: all 0.3s;
}
.ptag:hover {
  border-color: var(--g);
  background: var(--gl);
  color: var(--gd);
  transform: translateY(-2px);
}
.mfeat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.mf {
  padding: 24px;
  background: var(--grl);
  border-radius: 16px;
  transition: all 0.3s;
}
.mf:hover {
  background: var(--gl);
  transform: translateY(-4px);
}
.mf h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.mf p {
  font-size: 13px;
  color: var(--gr);
  line-height: 1.5;
}

.kc {
  background: var(--grl);
}
.cgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.cc {
  padding: 32px 24px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cc:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--g);
}
.ci {
  width: 56px;
  height: 56px;
  background: var(--gl);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all 0.3s;
}
.cc:hover .ci {
  background: var(--g);
  color: #fff;
}
.cc h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.cc p {
  font-size: 13px;
  color: var(--gr);
  line-height: 1.5;
}

.cklist {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cki {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--grl);
  border-radius: 16px;
  transition: all 0.3s;
}
.cki:hover {
  background: var(--gl);
  transform: translateX(8px);
}
.ckic {
  width: 28px;
  height: 28px;
  background: var(--g);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ckic svg {
  width: 14px;
  height: 14px;
  color: #fff;
}
.cki p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.bm {
  background: linear-gradient(180deg, #f0fdf4, #fff);
}
.sgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.sc {
  padding: 32px 24px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sc:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.sn {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  background: var(--grad);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}
.sc h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sc p {
  font-size: 13px;
  color: var(--gr);
  line-height: 1.6;
}

.fcta {
  background: var(--grad);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.fcta h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}
.fcta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}
.bw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: #fff;
  color: var(--gd);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.bw:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.fsm {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-top: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.contact {
  background: var(--grl);
  padding: 120px 0;
}
.cogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 1024px) {
  .hero-in,
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }
  .ph-mock {
    width: 260px;
  }
  .cgrid,
  .sgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cogrid {
    grid-template-columns: 1fr;
  }
  .split.rev {
    direction: ltr;
  }
}
@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }
  .stats {
    flex-direction: column;
    gap: 16px;
  }
  .cgrid,
  .sgrid,
  .mfeat {
    grid-template-columns: 1fr;
  }
  .ph-mock {
    width: 220px;
  }
  .hero-in {
    padding: 0 20px;
  }
  .phs img {
    width: 220px;
  }
}

/* ================= contact page (was css/contact.css) ================= */

.co-hero {
  background: var(--grl);
  padding: 160px 0 80px;
  text-align: center;
}
.co-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.co-hero h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--bk);
  margin-bottom: 12px;
}
.co-hero p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gr);
  max-width: 560px;
  margin: 0 auto 32px;
}
.co-info {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.co-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.co-info-item svg {
  flex-shrink: 0;
}
.co-info-item strong {
  color: var(--bk);
}

.co-form-section {
  padding: 80px 0;
}
.co-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.co-form-wrap h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 32px;
  text-align: center;
}

.info-block {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 40px;
  background: var(--grl);
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  text-align: center;
  margin-bottom: 80px;
}
.info-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.info-block p {
  font-size: 15px;
  color: var(--gr);
  line-height: 1.7;
  margin-bottom: 8px;
}
.info-block .btn {
  margin-top: 16px;
}

@media (max-width: 768px) {
  .info-block {
    padding: 32px 16px;
  }
  .co-hero {
    padding: 120px 0 60px;
  }
  .co-form-section {
    padding: 40px 0;
  }
  .co-info {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* ================= privacy & terms pages (was css/legal.css) ================= */

.legal {
  padding: 160px 0 80px;
}
.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.legal h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.legal .last-upd {
  font-size: 14px;
  color: var(--gr);
  margin-bottom: 48px;
}
.legal h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.legal h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 12px;
}
.legal p {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 16px;
}
.legal ul {
  margin: 0 0 16px 24px;
  list-style: disc;
}
.legal ul li {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 8px;
}
.legal a {
  color: var(--g);
  text-decoration: underline;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .legal {
    padding: 120px 0 60px;
  }
}
