/* PraHub — landing */
:root {
  --bg: #07090f;
  --bg-elevated: #0c111b;
  --bg-card: #101722;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8eef7;
  --muted: #8b97ab;
  --accent: #2ee6a6;
  --accent-dim: rgba(46, 230, 166, 0.14);
  --accent-strong: #1bc98a;
  --glow: rgba(46, 230, 166, 0.22);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 14px;
  --header-h: 72px;
  --max: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 {
  font-size: clamp(2.35rem, 5.5vw, 3.75rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  max-width: 22ch;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--accent);
  color: #04140e;
  border-radius: 8px;
  font-weight: 600;
}

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

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

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

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 9, 15, 0.9);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  z-index: 2;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--accent) 0%, #0ea5e9 100%);
  box-shadow: 0 0 24px var(--glow);
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 3px;
  background: var(--bg);
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.header-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid var(--line);
  z-index: 2;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.25s var(--ease),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

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

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

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.btn-accent {
  background: var(--accent);
  color: #04140e;
  box-shadow: 0 0 0 0 transparent;
}

.btn-accent:hover {
  background: var(--accent-strong);
  box-shadow: 0 10px 30px var(--glow);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 4.5rem 0 5.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  animation: grid-drift 28s linear infinite;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-glow-a {
  width: 420px;
  height: 420px;
  top: 8%;
  left: 55%;
  background: var(--glow);
  animation: float-a 12s ease-in-out infinite;
}

.hero-glow-b {
  width: 360px;
  height: 360px;
  bottom: 5%;
  left: 10%;
  background: rgba(14, 165, 233, 0.16);
  animation: float-b 15s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.hero-lead {
  margin-top: 1.25rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

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

.section-head {
  margin-bottom: 2.75rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-desc {
  margin-top: 0.85rem;
  max-width: 34rem;
  color: var(--muted);
}

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

.service-card {
  padding: 1.5rem 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 55%),
    var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    border-color 0.25s ease,
    transform 0.25s var(--ease),
    background 0.25s ease;
}

.service-card:hover {
  border-color: rgba(46, 230, 166, 0.35);
  transform: translateY(-3px);
  background: linear-gradient(180deg, var(--accent-dim), transparent 60%),
    var(--bg-card);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 11px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(46, 230, 166, 0.18);
}

.service-card h3 {
  margin-bottom: 0.55rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* About */
.section-about {
  background:
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(46, 230, 166, 0.06), transparent 60%),
    var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.about-body {
  display: grid;
  gap: 1rem;
  color: var(--muted);
}

.about-points {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.about-points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text);
  font-weight: 500;
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}

/* Contact */
.section-contact {
  padding-bottom: 6rem;
}

.contact-box {
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(46, 230, 166, 0.1), transparent 50%),
    var(--bg-card);
  text-align: center;
}

.contact-box .section-desc {
  margin-inline: auto;
}

.contact-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

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

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

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

  .reveal,
  .hero-grid,
  .hero-glow-a,
  .hero-glow-b,
  .btn,
  .service-card {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes grid-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(64px);
  }
}

@keyframes float-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30px, 24px);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(24px, -20px);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .section-about .section-head {
    margin-bottom: 0;
  }
}

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

  .nav-toggle {
    display: grid;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: 0;
    margin: 0;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    background: rgba(7, 9, 15, 0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.95rem 0.35rem;
    font-size: 1.2rem;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }

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

  .hero {
    padding-top: 3.25rem;
    min-height: auto;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
