/* ===================================================================
   Digital Ascent Trading — Landing Page Styles
   Brand: Navy #17298c  ·  Amber #f7941d
   =================================================================== */

:root {
  --navy: #17298c;
  --navy-deep: #0f1c66;
  --navy-soft: #2a3ba8;
  --amber: #f7941d;
  --amber-deep: #e07d0a;
  --ink: #101534;
  --slate: #4a5175;
  --muted: #6b7196;
  --line: #e7e9f4;
  --bg: #ffffff;
  --bg-soft: #f5f7ff;
  --bg-tint: #eef1fb;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(23, 41, 140, .06);
  --shadow-md: 0 14px 40px rgba(23, 41, 140, .10);
  --shadow-lg: 0 30px 70px rgba(23, 41, 140, .16);
  --container: 1180px;
  --ease: cubic-bezier(.16, .84, .44, 1);
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); font-weight: 800; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--bg-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.light { color: var(--amber); background: rgba(247,148,29,.14); }

.grad-text {
  background: linear-gradient(100deg, var(--navy) 20%, var(--amber) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  --btn-pad: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  padding: var(--btn-pad);
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-lg { --btn-pad: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(120deg, var(--amber), var(--amber-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(247,148,29,.32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(247,148,29,.42); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-3px); background: var(--bg-soft); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--navy);
  letter-spacing: -.01em;
}
.brand-name span { color: var(--amber); }

.nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--slate);
  padding: 8px 14px;
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--navy); background: var(--bg-soft); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 3px; border-radius: 3px; background: var(--navy);
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(48% 48% at 82% -5%, rgba(247,148,29,.20), transparent 62%),
    radial-gradient(46% 46% at 4% 12%, rgba(23,41,140,.18), transparent 58%),
    radial-gradient(40% 45% at 65% 105%, rgba(42,59,168,.12), transparent 60%),
    linear-gradient(180deg, #eef2ff 0%, var(--bg) 68%);
}
/* Subtle tech grid, faded with a soft mask */
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(23,41,140,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23,41,140,.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 55% 28%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 78% 68% at 55% 28%, #000 35%, transparent 78%);
}
/* Glowing amber blob (top-right) */
.hero-bg::after {
  content: "";
  position: absolute;
  width: 560px; height: 560px; border-radius: 50%;
  top: -180px; right: -140px;
  background: radial-gradient(circle at 35% 35%, rgba(247,148,29,.42), rgba(247,148,29,0) 66%);
  filter: blur(34px);
  animation: blob 18s ease-in-out infinite alternate;
}
/* Glowing navy blob (bottom-left) */
.hero::before {
  content: "";
  position: absolute; z-index: -1;
  width: 520px; height: 520px; border-radius: 50%;
  bottom: -220px; left: -160px;
  background: radial-gradient(circle at 40% 40%, rgba(23,41,140,.34), rgba(23,41,140,0) 68%);
  filter: blur(40px);
  animation: blob 22s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}
@keyframes blob {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-40px, 30px) scale(1.12); }
  100% { transform: translate(30px, -20px) scale(.96); }
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.hero-title { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -.02em; }
.hero-title .grad-text { display: block; }
.hero-sub {
  font-size: 1.12rem;
  color: var(--slate);
  margin: 22px 0 32px;
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--navy);
  line-height: 1;
}
.stat span { font-size: .88rem; color: var(--muted); }

/* Hero visual */
.hero-visual { position: relative; min-height: 500px; }
.hero-orb {
  position: absolute; inset: 0; margin: auto;
  width: 340px; height: 340px; border-radius: 50%;
  background: conic-gradient(from 120deg, var(--navy), var(--amber), var(--navy));
  filter: blur(8px);
  opacity: .14;
  animation: spin 22s linear infinite;
  z-index: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-cards { position: absolute; inset: 0; z-index: 1; }
.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 16px;
  box-shadow: var(--shadow-md);
  width: 228px;
  animation: float 6s ease-in-out infinite;
}
/* Scattered / random placement */
.hero-cards .hero-card:nth-child(1) { top: 0;    left: 2%;   animation-duration: 6.5s; animation-delay: 0s;   }
.hero-cards .hero-card:nth-child(2) { top: 15%;  right: 0;   animation-duration: 7.2s; animation-delay: .8s;  }
.hero-cards .hero-card:nth-child(3) { top: 33%;  left: 8%;   animation-duration: 5.8s; animation-delay: 1.6s; }
.hero-cards .hero-card:nth-child(4) { top: 50%;  right: 3%;  animation-duration: 6.8s; animation-delay: .4s;  }
.hero-cards .hero-card:nth-child(5) { bottom: 12%; left: 0;  animation-duration: 7.5s; animation-delay: 2.2s; }
.hero-cards .hero-card:nth-child(6) { bottom: 0; right: 6%;  animation-duration: 6.2s; animation-delay: 1.2s; }

.hc-icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  font-size: 1.25rem;
  background: var(--bg-tint);
  border-radius: 12px;
}
.hc-title { font-family: var(--font-head); font-weight: 700; font-size: .94rem; color: var(--ink); }
.hc-text { font-size: .78rem; color: var(--muted); }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== Trust strip ===== */
.trust { background: var(--navy); color: #fff; padding: 26px 0; }
.trust-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-label {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.trust-items { display: flex; gap: 34px; flex-wrap: wrap; }
.trust-items span {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: rgba(255,255,255,.92);
}

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.02em; }
.section-lead { color: var(--slate); font-size: 1.08rem; margin-top: 16px; }

/* ===== Services ===== */
.services { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--amber));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.sc-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  border-radius: 16px;
  margin-bottom: 20px;
}
.sc-icon[data-accent="blue"] { background: var(--bg-tint); }
.sc-icon[data-accent="orange"] { background: rgba(247,148,29,.14); }

.service-card h3 { font-size: 1.24rem; margin-bottom: 12px; }
.sc-desc { color: var(--slate); font-size: .96rem; margin-bottom: 18px; }
.sc-list { display: grid; gap: 12px; }
.sc-list li {
  position: relative;
  padding-left: 26px;
  font-size: .9rem;
  color: var(--slate);
}
.sc-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 700;
  color: #fff; background: var(--amber);
  border-radius: 50%;
}
.sc-list strong { color: var(--ink); font-weight: 600; }

.highlight-payoneer {
  color: var(--amber);
  position: relative;
  white-space: nowrap;
}
.highlight-payoneer::after {
  content: "";
  position: absolute;
  left: 0; bottom: 1px;
  width: 100%; height: 2px;
  background: var(--amber);
  border-radius: 2px;
  opacity: .5;
}

/* ===== Why ===== */
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.wf-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: var(--bg-tint);
  border-radius: 14px;
  margin-bottom: 16px;
}
.why-feature h4 { font-size: 1.08rem; margin-bottom: 8px; }
.why-feature p { font-size: .9rem; color: var(--slate); }

/* ===== Process ===== */
.process { background: var(--bg-soft); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  background: linear-gradient(120deg, var(--navy), var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 12px;
}
.step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--slate); }

/* ===== Contact ===== */
.contact { background: linear-gradient(180deg, var(--bg-soft), #fff); }
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: var(--navy);
  background-image: radial-gradient(70% 90% at 100% 0%, rgba(247,148,29,.22), transparent 55%);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.contact-card .section-title, .contact-card .section-lead { color: #fff; }
.contact-card .section-lead { color: rgba(255,255,255,.82); }
.contact-list { margin-top: 28px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.9); }
.contact-list a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-list a:hover { border-color: var(--amber); }

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 16px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23,41,140,.10);
}
.form-note {
  font-size: .9rem;
  color: var(--navy);
  font-weight: 600;
  text-align: center;
}

/* ===== Footer ===== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 60px 0 28px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand { max-width: 280px; }
.footer-logo { width: 60px; border-radius: 12px; background: #fff; padding: 6px; margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; }
.footer-col h5 {
  color: #fff; font-size: .95rem; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: .06em; font-size: .8rem;
}
.footer-col a { display: block; font-size: .92rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; font-size: .86rem; flex-wrap: wrap; gap: 10px;
}
.footer-tag { color: var(--amber); font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card, .hero-orb, .hero-bg::after, .hero::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 480px; margin-inline: auto; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; padding: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
    visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav-link { padding: 14px; border-radius: 12px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 70px; }
  .cards-grid, .steps, .why-grid, .footer-inner { grid-template-columns: 1fr; }
  .hero-actions .btn, .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; }
  .contact-card, .contact-form { padding: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  /* Stack hero cards normally on small screens */
  .hero-visual { min-height: 0; }
  .hero-orb { display: none; }
  .hero-cards { position: static; display: flex; flex-direction: column; gap: 14px; }
  .hero-cards .hero-card { position: static; width: 100%; animation: none; }
}
