/* Uyova Solutions — uyova.com
   Logo swap: see the comment on .brand in index.html and README.md */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070c1a;
  --bg-elevated: #0b1326;
  --bg-alt: #0a1122;
  --bg-card: #0e1730;
  --bg-header: rgba(7, 12, 26, 0.78);
  --border: rgba(150, 176, 255, 0.14);
  --border-strong: rgba(150, 176, 255, 0.28);
  --text: #f4f7ff;
  --text-muted: #c3cbe0;
  --text-soft: #a9b4cd;
  --accent: #7b9bff;
  --accent-2: #8b6cf7;
  --accent-bright: #9db4ff;
  --grad: linear-gradient(135deg, #5b8cff 0%, #8b6cf7 100%);
  --glow: rgba(91, 140, 255, 0.28);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --max: 1120px;
  --font: "Plus Jakarta Sans", "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3, p, ul, ol, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: #fff;
  color: #070c1a;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.container-narrow {
  width: min(760px, calc(100% - 2.5rem));
}

/* Header
   ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 12, 26, 0.92);
}

.header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--border);
  overflow: hidden;
}

.brand-logo {
  display: none;
  height: 32px;
  width: auto;
}

.brand.has-logo .brand-mark {
  display: none;
}

.brand.has-logo .brand-logo {
  display: block;
}

.wordmark {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font: inherit;
  font-size: 0.975rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  color: #fff;
  filter: brightness(1.07);
  box-shadow: 0 10px 28px rgba(91, 140, 255, 0.42);
}

.btn:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  box-shadow: none;
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  color: var(--text);
  background: rgba(150, 176, 255, 0.08);
  filter: none;
  box-shadow: none;
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  box-shadow: 0 6px 16px var(--glow);
}

.btn-block {
  width: 100%;
}

/* Hero
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--header-h));
  min-height: max(36rem, calc(100svh - var(--header-h)));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 15% 40%, rgba(70, 100, 220, 0.16), transparent 60%), var(--bg);
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(46vw, 640px);
  z-index: 0;
  pointer-events: none;
  background-image: url("images/hero-waves.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 4.5rem 0 5rem;
  max-width: 40rem;
  margin-left: max((100% - min(var(--max), calc(100% - 2.5rem))) / 2, 1.25rem);
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.15rem;
  padding: 0.28rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(12, 20, 42, 0.7);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  line-height: 1.12;
  letter-spacing: -0.038em;
  font-weight: 700;
  max-width: 14ch;
}

.hero-sub {
  margin-top: 1.35rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  margin-top: 1.5rem;
  color: var(--text-soft);
  font-size: 0.875rem;
}

.hero-meta a {
  color: var(--text-soft);
  text-decoration: none;
}

.hero-meta a:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}

/* Sections
   ------------------------------------------------------------------ */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2,
.contact-copy h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-weight: 700;
}

.section-intro {
  margin-top: 0.85rem;
  color: var(--text-muted);
}

/* Services
   ------------------------------------------------------------------ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.55rem;
}

.card p,
.steps p,
.proof-card p,
.founder-body p,
.faq-list p {
  color: var(--text-muted);
  font-size: 0.975rem;
}

/* How we work
   ------------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  counter-reset: none;
}

.steps li {
  position: relative;
  padding: 1.2rem 0.85rem 1.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.steps h3 {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.process-note {
  margin-top: 1.75rem;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 46rem;
}

/* Proof
   ------------------------------------------------------------------ */
.proof-disclaimer {
  font-size: 0.95rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.proof-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.45rem;
}

.proof-stat {
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.65rem;
  background: linear-gradient(135deg, #e8edff 0%, #d2c6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #e8edff; /* fallback if clip is unsupported */
}

.proof-card p strong {
  color: var(--text);
  font-weight: 600;
}

.proof-card-wide {
  grid-column: 1 / -1;
}

/* Founder
   ------------------------------------------------------------------ */
.founder-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem 3.5rem;
  align-items: start;
}

.founder-wrap .section-head {
  margin-bottom: 0;
}

.founder-body {
  display: grid;
  gap: 1.05rem;
  max-width: 42rem;
}

.founder-body p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* FAQ
   ------------------------------------------------------------------ */
.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  letter-spacing: -0.015em;
  padding: 1.05rem 1.8rem 1.05rem 0;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--text-soft);
  border-bottom: 2px solid var(--text-soft);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-list details p {
  padding: 0 0 1.15rem;
  max-width: 62ch;
}

/* Contact
   ------------------------------------------------------------------ */
.section-contact {
  background:
    radial-gradient(ellipse 70% 80% at 80% 20%, rgba(139, 108, 247, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(91, 140, 255, 0.12), transparent 55%),
    var(--bg);
  border-top: 1px solid var(--border);
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.contact-copy p {
  margin-top: 1rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.contact-email {
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-email a {
  color: var(--text);
  text-decoration: none;
}

.contact-email a:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}

.contact-copy .btn {
  margin-top: 1.5rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}

.form-intro {
  margin-bottom: 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.optional {
  font-weight: 400;
  color: var(--text-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: rgba(7, 12, 26, 0.7);
  color: var(--text);
  font: inherit;
  font-size: 0.975rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8b96b0;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(150, 176, 255, 0.45);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.25);
}

.form-note,
.form-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.contact-form .btn {
  margin-top: 0.25rem;
}

/* Footer
   ------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2rem;
  background: #050814;
}

.footer-inner p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-inner a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}

.footer-note {
  margin-top: 0.4rem;
  font-size: 0.82rem !important;
}

/* Responsive
   ------------------------------------------------------------------ */
@media (max-width: 980px) {
  .service-grid,
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .founder-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-visual {
    width: 100%;
    opacity: 0.5;
    background-size: cover;
    background-position: 80% top;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 72%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 72%);
  }

  .hero-inner {
    max-width: 42rem;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 1rem;
  }

  .container,
  .container-narrow,
  .header-inner,
  .hero-inner {
    width: min(var(--max), calc(100% - 2rem));
  }

  .hero-inner {
    margin-left: auto;
    padding: 3.25rem 0 3.75rem;
  }

  .hero {
    min-height: 0;
    align-items: flex-start;
  }

  .hero h1 {
    max-width: none;
  }

  .section {
    padding: 3.75rem 0;
  }

  .section-contact {
    padding-bottom: 4.25rem;
  }

  .service-grid,
  .proof-grid,
  .steps,
  .field-row {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1.15rem;
    background: rgba(7, 12, 26, 0.97);
    border-bottom: 1px solid var(--border);
  }

  .site-header.is-open {
    background: #070c1a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header.is-open .site-nav {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 0;
    background: #070c1a;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li a {
    display: block;
    padding: 0.8rem 0.4rem;
    font-size: 1.05rem;
  }

  .site-nav .btn {
    margin: 0.5rem 0 0.25rem;
    width: 100%;
  }

  .site-header.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .wordmark {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 1400px) {
  .hero-visual {
    width: min(42vw, 720px);
  }
}

.nowrap {
  white-space: nowrap;
}
