/* ---------------------------------------------------
   VARIABLES & RESET
--------------------------------------------------- */
:root {
  --primary: #4f46e5;
  --accent: #f97316;
  --bg: #020617;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --card: #0f172a;
  --border-subtle: rgba(148,163,184,0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  background: radial-gradient(circle at top, #1d2440 0, #020617 55%, #000 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------------------------------------------------
   PAGE TRANSITION
--------------------------------------------------- */
#page-transition {
  position: fixed;
  inset: 0;
  background: #020617;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 9999;
}

#page-transition.active {
  opacity: 1;
}

/* ---------------------------------------------------
   ANIMATIONS
--------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------
   HEADER
--------------------------------------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(15,23,42,0.6);
  border-bottom: 1px solid rgba(148,163,184,0.15);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: conic-gradient(from 180deg, var(--primary), #22c55e, var(--accent), var(--primary));
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.7);
}

.logo-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: width 0.2s ease-out;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
}

/* BUTTONS */
.btn {
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  transition: all 0.18s ease-out;
}

.btn-outline {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  box-shadow: 0 14px 35px rgba(79, 70, 229, 0.55);
}

.btn-outline:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(79, 70, 229, 0.7);
}

.btn-primary {
  border: 1px solid rgba(148,163,184,0.6);
  color: var(--muted);
  background: rgba(15,23,42,0.7);
}

.btn-primary:hover {
  border-color: #e5e7eb;
  color: #e5e7eb;
  background: rgba(15,23,42,0.9);
}

/* ---------------------------------------------------
   HERO
--------------------------------------------------- */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.35), transparent 55%);
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.25);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-title span {
  background: linear-gradient(135deg, #e5e7eb, #a5b4fc);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-meta strong {
  color: var(--text);
}
/* HERO VISUAL */
.hero-visual {
  display: flex;
  justify-content: center;
  animation: fadeUp 0.9s ease forwards;
  opacity: 0;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
  padding: 1.2rem 1.1rem;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.25), transparent 55%), var(--bg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-card-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-card-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.metric {
  padding: 0.7rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.metric-label {
  font-size: 0.7rem;
  color: var(--muted);
}

.metric-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.metric-trend {
  font-size: 0.7rem;
  color: #4ade80;
}

.metric-blue {
  color: #38bdf8;
}

/* ---------------------------------------------------
   HERO GRAPH — PREMIUM ANIMATED VERSION
--------------------------------------------------- */

.hero-graph {
  position: relative;
  height: 90px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.35), transparent 60%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  overflow: hidden;
  margin-bottom: 0.8rem;
}

/* Moving line graph */
.hero-graph-line {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' width='420' height='90'>\
    <polyline points='0,70 40,60 80,65 120,45 160,50 200,30 240,35 280,20 320,25 360,15 420,20' \
    fill='none' stroke='rgba(148,163,184,0.55)' stroke-width='3' stroke-linecap='round'/>\
  </svg>") repeat-x;
  background-size: 420px 90px;
  animation: graphSlide 7s linear infinite;
  opacity: 0.9;
}

@keyframes graphSlide {
  from { background-position: 0 0; }
  to   { background-position: -420px 0; }
}

/* Pulse dot following the curve */
.hero-graph-pulse {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.55);
  animation: graphPulse 7s linear infinite;
}

@keyframes graphPulse {
  0%   { left: 0px;   top: 70px; }
  20%  { left: 80px;  top: 65px; }
  40%  { left: 160px; top: 45px; }
  60%  { left: 240px; top: 35px; }
  80%  { left: 320px; top: 25px; }
  100% { left: 420px; top: 20px; }
}

/* ---------------------------------------------------
   HERO ORBIT — PREMIUM ANIMATED VERSION
--------------------------------------------------- */

.hero-orbit {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  border: 1px dashed rgba(148,163,184,0.35);
  top: -50px;
  right: -90px;
  animation: orbitSpin 22s linear infinite;
  opacity: 0.7;
}


.hero-orbit-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(79,70,229,0.55);

  /* Center inside orbit */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  animation: orbitDot 22s linear infinite;
}

@keyframes orbitDot {
  from {
    transform: translate(-50%, -50%) rotate(0deg) translateX(120px) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg) translateX(120px) rotate(-360deg);
  }
}


/* ---------------------------------------------------
   SECTIONS
--------------------------------------------------- */
section {
  margin-top: 4rem;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.section-title {
  font-size: 1.8rem;
  margin: 0.6rem 0;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 36rem;
}

/* ---------------------------------------------------
   SERVICES
--------------------------------------------------- */
.services-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card {
  border-radius: 18px;
  padding: 1.3rem;
  background: radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.18), transparent 55%), var(--bg);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
}

.service-icon {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.service-title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.service-text {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.service-meta {
  font-size: 0.8rem;
  color: rgba(209, 213, 219, 0.9);
}

/* ---------------------------------------------------
   PROCESS
--------------------------------------------------- */
.process-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.step {
  border-radius: 18px;
  padding: 1.3rem;
  background: var(--bg);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.step-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.step-title {
  font-size: 1.05rem;
  margin: 0.4rem 0;
}

.step-text {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------------------------------------------------
   CONTACT
--------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
}

.contact-card {
  margin-top: 1.4rem;
  border-radius: 18px;
  padding: 1.3rem;
  background: var(--bg);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.contact-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
  font-size: 0.9rem;
}

.contact-row:last-of-type {
  border-bottom: none;
}

form {
  margin-top: 1.4rem;
  border-radius: 18px;
  padding: 1.3rem;
  background: var(--bg);
  border: 1px solid rgba(148, 163, 184, 0.45);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  padding: 0.55rem 0.6rem;
  font-size: 0.9rem;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(79,70,229,0.5);
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
  border-top: 1px solid rgba(148,163,184,0.25);
  margin-top: 3rem;
  padding: 1.5rem 1.5rem 2rem;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

/* ---------------------------------------------------
   RESPONSIVE
--------------------------------------------------- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-wrap: wrap;
  }
  .nav-links {
    display: none;
  }
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
}
/* ---------------------------------------------------
   END OF FILE — All sections merged successfully
--------------------------------------------------- */

/* Nothing else to add — your stylesheet is now complete,
   with the premium animated graph + orbit integrated
   exactly in place, without altering your visual identity. */
