/* 
  Struv Digital PayGate
  Compliance Website Styles
  Brand: Struvarion / StruvConnect
*/

:root {
  --black: #050507;
  --black-soft: #0b0b0f;
  --charcoal: #111118;
  --charcoal-light: #181824;
  --white: #ffffff;
  --off-white: #f7f3ea;
  --muted: #b9b2a4;
  --muted-dark: #5f5a50;
  --gold: #d9a441;
  --gold-light: #f0c66a;
  --gold-dark: #8c651f;
  --border: rgba(217, 164, 65, 0.22);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--off-white);
  background: var(--black);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.25rem;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 7, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 164, 65, 0.18);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--black);
  font-weight: 900;
  box-shadow: 0 0 28px rgba(217, 164, 65, 0.32);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.94rem;
  color: var(--muted);
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--gold-light);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 86px;
  background:
    radial-gradient(circle at 20% 20%, rgba(217, 164, 65, 0.18), transparent 30%),
    radial-gradient(circle at 82% 35%, rgba(217, 164, 65, 0.12), transparent 28%),
    linear-gradient(180deg, var(--black), var(--charcoal));
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% 0 -10%;
  height: 260px;
  background: linear-gradient(90deg, transparent, rgba(217, 164, 65, 0.16), transparent);
  transform: rotate(-3deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

.hero-content h2 {
  color: var(--gold-light);
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-top: -6px;
}

.hero-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 14px 34px rgba(217, 164, 65, 0.26);
}

.btn-secondary {
  color: var(--off-white);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.trust-note {
  max-width: 680px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(11, 11, 15, 0.8);
  box-shadow: var(--shadow);
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(217, 164, 65, 0.14);
  color: var(--gold-light);
  font-weight: 800;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 18px rgba(240, 198, 106, 0.8);
}

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.workflow-item > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--black);
  background: var(--gold);
  font-size: 0.85rem;
  font-weight: 900;
}

.workflow-item strong {
  display: block;
  color: var(--white);
  margin-bottom: 4px;
}

.workflow-item p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.section {
  padding: 82px 0;
}

.light-section {
  background: var(--off-white);
  color: var(--black-soft);
}

.light-section .eyebrow {
  color: var(--gold-dark);
}

.light-section .section-heading p,
.light-section .feature-card p,
.light-section .step-card p {
  color: var(--muted-dark);
}

.dark-section {
  background:
    radial-gradient(circle at 88% 10%, rgba(217, 164, 65, 0.12), transparent 28%),
    var(--black-soft);
  color: var(--off-white);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.section-heading > p:not(.eyebrow) {
  font-size: 1.05rem;
}

.feature-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.step-card {
  padding: 26px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid rgba(17, 17, 24, 0.08);
  box-shadow: 0 18px 42px rgba(17, 17, 24, 0.08);
}

.feature-card h3,
.step-card h3 {
  color: var(--black-soft);
}

.step-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 900;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.split-grid p {
  color: var(--muted);
  font-size: 1.05rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--off-white);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 700;
}

.compliance-section {
  background:
    linear-gradient(135deg, rgba(217, 164, 65, 0.13), transparent 45%),
    var(--charcoal);
}

.compliance-box {
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.compliance-box p {
  max-width: 1000px;
  color: var(--muted);
  font-size: 1.04rem;
}

.cta-section {
  background: var(--black);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 10% 20%, rgba(217, 164, 65, 0.16), transparent 32%),
    var(--charcoal-light);
  border: 1px solid var(--border);
}

.cta-box p {
  color: var(--muted);
  max-width: 720px;
}

.site-footer {
  background: #030304;
  color: var(--muted);
  border-top: 1px solid rgba(217, 164, 65, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 32px;
  padding: 48px 0 32px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
}

.site-footer h3 {
  color: var(--gold-light);
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 24px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 10px;
}

/* Interior page support */

.page-hero {
  padding: 74px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(217, 164, 65, 0.15), transparent 28%),
    var(--charcoal);
}

.page-hero p {
  max-width: 860px;
  color: var(--muted);
  font-size: 1.08rem;
}

.content-section {
  padding: 72px 0;
  background: var(--off-white);
  color: var(--black-soft);
}

.content-wrap {
  max-width: 920px;
}

.content-wrap h2 {
  margin-top: 34px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.content-wrap h3 {
  margin-top: 28px;
  color: var(--black-soft);
}

.content-wrap p,
.content-wrap li {
  color: var(--muted-dark);
}

.content-wrap a {
  color: var(--gold-dark);
  font-weight: 800;
}

.content-wrap ul,
.content-wrap ol {
  padding-left: 22px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.info-card {
  padding: 24px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid rgba(17, 17, 24, 0.08);
  box-shadow: 0 18px 42px rgba(17, 17, 24, 0.08);
}

.info-card h3 {
  margin-top: 0;
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid rgba(17, 17, 24, 0.08);
  box-shadow: 0 18px 42px rgba(17, 17, 24, 0.08);
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  font-weight: 800;
  color: var(--black-soft);
}

.form-row input,
.form-row textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 24, 0.16);
  font: inherit;
  color: var(--black-soft);
  background: #fff;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  color: var(--muted-dark);
  font-size: 0.92rem;
}

/* Responsive */

@media (max-width: 980px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .brand-logo img {
    width: 180px;
  }

  .site-nav {
    font-size: 0.9rem;
  }

  .hero {
    padding: 66px 0;
  }

  .hero-actions,
  .cta-box {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-card,
  .compliance-box,
  .cta-box {
    padding: 22px;
  }

  .feature-grid,
  .steps-grid,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .page-hero {
    padding: 58px 0;
  }

  .content-section {
    padding: 56px 0;
  }

  .workflow-item {
    grid-template-columns: 1fr;
  }
}