:root {
  /* Napradha brand palette — premium dark + glow */
  --color-bg: #06060c;
  --color-surface: rgba(255, 255, 255, 0.045);
  --color-surface-2: rgba(255, 255, 255, 0.07);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-text: #f5f5f7;
  --color-text-muted: rgba(245, 245, 247, 0.62);
  --color-violet: #8b5cf6;
  --color-violet-2: #6c47ff;
  --color-teal: #00e0b8;
  --glow-violet: rgba(139, 92, 246, 0.35);
  --glow-teal: rgba(0, 224, 184, 0.28);

  --radius-sm: 10px;
  --radius-lg: 18px;

  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

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

ul {
  list-style: none;
}

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

/* Ambient glow orbs */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.glow--a {
  width: 32rem;
  height: 32rem;
  top: -10rem;
  left: -8rem;
  background: var(--color-violet);
  animation: float-a 22s ease-in-out infinite;
}

.glow--b {
  width: 26rem;
  height: 26rem;
  top: 30%;
  right: -10rem;
  background: var(--color-teal);
  animation: float-b 26s ease-in-out infinite;
}

.glow--c {
  width: 28rem;
  height: 28rem;
  bottom: -12rem;
  left: 20%;
  background: var(--color-violet-2);
  animation: float-a 30s ease-in-out infinite reverse;
}

@keyframes float-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(3rem, 2rem); }
}

@keyframes float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-2.5rem, 3rem); }
}

.section,
.navbar,
.hero,
.trust,
.cta,
.footer {
  position: relative;
  z-index: 1;
}

.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.section__header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.75rem;
}

.section__header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section__header p {
  color: var(--color-text-muted);
}

.text-gradient {
  background: linear-gradient(100deg, var(--color-violet) 0%, var(--color-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(120deg, var(--color-violet-2), var(--color-violet));
  color: #fff;
  box-shadow: 0 0 0 0 var(--glow-violet);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -4px var(--glow-violet);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn--ghost:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 6, 12, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.navbar__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: 'Arial Black', 'Arial', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.38);
  text-transform: lowercase;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.navbar__links {
  display: flex;
  gap: 2rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

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

.navbar__cta {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 5rem 1.5rem 4rem;
}

.hero__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.badge__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-teal);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--glow-teal); }
  50% { opacity: 0.6; box-shadow: 0 0 0 5px transparent; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.hero__subtext {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  max-width: 32rem;
  margin-bottom: 2rem;
}

@media (max-width: 960px) {
  .hero__subtext {
    margin: 0 auto 2rem;
  }
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

@media (max-width: 960px) {
  .hero__actions {
    justify-content: center;
  }
}

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

@media (max-width: 640px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.stat-card__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  color: var(--color-teal);
}

.stat-card__label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Hero visual */
.hero__visual {
  position: relative;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.hero__frame img {
  width: 100%;
  aspect-ratio: 9 / 7;
  object-fit: cover;
  opacity: 0.92;
}

.hero__frame-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.25), transparent 60%);
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: rgba(15, 15, 24, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.55);
  font-size: 0.8125rem;
}

.float-card strong {
  display: block;
  font-size: 0.875rem;
}

.float-card span {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.float-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--color-teal);
  color: #06060c;
  font-weight: 700;
}

.float-card__icon--accent {
  background: var(--color-violet);
}

.float-card--top {
  top: -1.25rem;
  left: -1.25rem;
}

.float-card--bottom {
  bottom: -1.25rem;
  right: -1.25rem;
}

@media (max-width: 640px) {
  .float-card {
    display: none;
  }
}

/* Trust strip */
.trust {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
}

.trust__label {
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.ticker {
  overflow: hidden;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: scroll 28s linear infinite;
}

.ticker__list {
  display: flex;
  gap: 3rem;
  padding: 0 1.5rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 50px -20px var(--glow-violet);
}

.card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

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

.card ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.card li {
  padding-left: 1rem;
  position: relative;
}

.card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-teal);
}

/* Process timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-violet), var(--color-teal));
  opacity: 0.35;
}

@media (max-width: 900px) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}

.timeline__step {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.timeline__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-violet-2), var(--color-teal));
  color: #06060c;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  margin-bottom: 1rem;
}

.timeline__step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline__step p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* Work — carousel (3 cards, arrows, dots) like Selected work screenshot */
.work-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "prev viewport next"
    "dots dots dots";
  align-items: center;
  column-gap: 0.85rem;
  row-gap: 1.35rem;
}

.work-carousel__btn--prev { grid-area: prev; }
.work-carousel__btn--next { grid-area: next; }
.work-carousel__viewport { grid-area: viewport; min-width: 0; }
.work-carousel__dots { grid-area: dots; }

.work-carousel__btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 224, 184, 0.45);
  background: rgba(0, 224, 184, 0.18);
  color: var(--color-teal);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.work-carousel__btn:hover:not(:disabled) {
  background: rgba(0, 224, 184, 0.32);
  transform: scale(1.05);
}

.work-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.work-carousel__btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.work-carousel__viewport {
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.work-carousel__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1.25rem;
  width: max-content;
  transition: transform 0.45s ease;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .work-carousel__track {
    transition: none;
  }
}

.work-card {
  flex: 0 0 var(--work-card-width, 18rem);
  width: var(--work-card-width, 18rem);
  min-width: var(--work-card-width, 18rem);
  max-width: var(--work-card-width, 18rem);
  display: block;
  color: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 224, 184, 0.5);
}

.work-card img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.work-card__cover {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1e0e42, #061c24 55%, #0a3d36);
}

.work-card__cover span {
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.work-card__cover--chatellite {
  background: linear-gradient(145deg, #1a0b2e, #5b21b6 48%, #f97316);
}

.work-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  text-align: left;
}

.work-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.4rem;
}

.work-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.work-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.work-carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(245, 245, 247, 0.28);
  cursor: pointer;
}

.work-carousel__dot.is-active {
  background: var(--color-teal);
}

@media (max-width: 640px) {
  .work-carousel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "viewport"
      "dots";
  }

  .work-carousel__btn {
    display: none;
  }
}

/* Tech Stack */
.stack__tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.stack__tab {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

.stack__tab.is-active {
  background: linear-gradient(120deg, var(--color-violet-2), var(--color-violet));
  border-color: transparent;
  color: #fff;
}

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

.pill {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.875rem;
  color: var(--color-text);
}

/* CTA */
.cta {
  padding: 6rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, var(--glow-violet), transparent 70%);
  z-index: 0;
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0 auto;
}

.cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.cta p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.cta .hero__actions {
  justify-content: center;
  margin-bottom: 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 1.5rem 1.5rem;
}

.footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer__brand p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  max-width: 20rem;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

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

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-muted);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.footer__social a:hover {
  color: var(--color-teal);
  border-color: var(--color-teal);
}

.footer__copy {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
