html { font-size: 18px; }

:root {
  --vexel-primary: #f97316;
  --vexel-secondary: #4f46e5;
}

::selection {
  background-color: rgba(249,115,22,0.4);
  color: white;
}
*:focus-visible {
  outline: 2px solid var(--vexel-primary);
  outline-offset: 3px;
}

body {
  background: radial-gradient(circle at top, #1c1c1c 0, #050505 55%, #000 100%);
  color: white;
  padding-top: 120px;
  margin: 0;
  cursor: none;
  opacity: 1;
  transition: opacity .25s ease-out;
}

:is(a, button) {
  cursor: none;
}

.link-fill {
  position: relative;
  isolation: isolate;
  color: inherit;
  transition: color .18s ease;
}
.link-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(249,115,22,.22), rgba(249,115,22,.38));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  z-index: -1;
  border-radius: 6px;
}
.link-fill:hover {
  color: #FFFFFF;
}
.link-fill:hover::after {
  transform: scaleX(1);
}

.magnet-hover {
  transition: transform .18s ease, box-shadow .18s ease;
}

.page-exit { opacity: 0; }

/* LOADER */
#loader {
  transition: opacity .5s ease-out, transform .5s ease-out;
}

.loader-hide {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}

/* Cursor */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 26px; height: 26px;
  border-radius: 9999px;
  border: 2px solid rgba(249,115,22,0.95);
  background: rgba(249,115,22,0.08);
  box-shadow:
    0 0 0 1px rgba(249,115,22,0.35),
    0 0 18px rgba(249,115,22,0.7);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 60;
  opacity: 0;
  transition:
    transform 0.08s ease-out,
    width 0.08s ease-out,
    height 0.08s ease-out,
    background 0.08s ease-out,
    border-color 0.08s ease-out,
    box-shadow 0.08s ease-out,
    opacity 0.1s ease-out;
}

.cursor-fill {
  width: 38px !important;
  height: 38px !important;
  background: rgba(249,115,22,0.22);
  border-color: rgba(249,115,22,1);
  box-shadow:
    0 0 0 1px rgba(249,115,22,0.6),
    0 0 34px rgba(249,115,22,1);
}

/* Loader icon pulse */
.logo-mark-loader {
  animation: logoPulse 1.2s ease-in-out infinite;
}
@keyframes logoPulse {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.13); }
  100% { transform: scale(1); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.reveal-visible {
  opacity: 1; transform: translateY(0);
}

/* Section patterns + frames */
.section-pattern {
  position: relative;
  overflow: hidden;
}
.section-pattern::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image:
    radial-gradient(circle at top left, rgba(249,115,22,.16), transparent 60%),
    radial-gradient(circle at bottom right, rgba(79,70,229,.22), transparent 60%);
  opacity: .7;
  pointer-events: none;
}

.section-frame {
  border-radius: 1.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(10,10,10,0.9);
  box-shadow: 0 24px 60px rgba(0,0,0,.7);
  overflow: hidden;
}

.section-pill {
  border-radius: 9999px;
  padding: 4px 14px;
  border: 1px solid rgba(249,115,22,.4);
  background: rgba(249,115,22,.09);
}

/* Buttons */
.btn-primary, .btn-ghost {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
  padding: .75rem 1.8rem;
  font-weight: 600;
  font-size: .9rem;
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease, border-radius .18s ease;
}
.btn-primary {
  background: rgba(249,115,22,.14);
  color: #ffd7b0;
  border: 1px solid rgba(249,115,22,.55);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #f97316, #fb923c);
  transform: translateX(-100%);
  transition: transform .25s ease;
  z-index: -1;
}
.btn-primary:hover {
  color: #050505;
  border-radius: 999px;
  box-shadow: 0 0px 0px rgba(249,115,22,.45);
}
.btn-primary:hover::before {
  transform: translateX(0);
}
.btn-primary:active { transform: scale(.97); }

/* Ghost button */
.btn-ghost {
  border: 1px solid rgba(249,115,22,.45);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  color: #fed7aa;
}
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(249,115,22,.8), rgba(249,115,22,1));
  transform: translateX(-100%);
  transition: transform .25s ease;
  z-index: -1;
  opacity: 0.9;
}
.btn-ghost:hover {
  color: #050505;
  border-radius: 999px;
  border-color: rgba(249,115,22,1);
  box-shadow: 0 00px 0px rgba(249,115,22,.35);
}
.btn-ghost:hover::before {
  transform: translateX(0);
}

/* Client logo wall */
.client-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}
.client-pill {
  width: 100%;
  padding: 1rem 1.3rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(120deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  color: #f9fafb;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  display: grid;
  place-items: center;
  min-height: 110px;
}
.client-pill--feature {
  min-height: 170px;
  background: linear-gradient(145deg, rgba(249,115,22,0.18), rgba(255,255,255,0.05));
  border-color: rgba(249,115,22,0.45);
}
