
:root {
  --bg: #070b14;
  --surface: #0d1422;
  --surface-light: #111c2e;
  --blue: #4c8dff;
  --cyan: #69d5ff;
  --text: #f4f7ff;
  --muted: #929eb2;
  --border: rgba(255,255,255,.09);
  --font: "DM Sans", sans-serif;
  --display: "Space Grotesk", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, textarea, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--blue);
  color: white;
}

.announcement {
  background: #0b1321;
  border-bottom: 1px solid var(--border);
  color: #c3cee0;
  text-align: center;
  font-size: 12px;
  padding: 9px 15px;
  letter-spacing: .3px;
}

.status-dot {
  display: inline-block;
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #51dfa0;
  box-shadow: 0 0 12px #51dfa0;
  margin-right: 7px;
}

.header {
  height: 82px;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7,11,20,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-symbol {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: linear-gradient(135deg,#4c8dff,#2760ce);
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 0 24px rgba(76,141,255,.3);
}

.logo-light {
  color: #8996aa;
  font-weight: 400;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  color: #aab5c8;
}

.navigation a {
  transition: .25s;
}

.navigation a:hover {
  color: white;
}

.nav-cta {
  background: #152b4d;
  color: white !important;
  padding: 11px 19px;
  border: 1px solid #315b99;
  border-radius: 8px;
}

.nav-cta span {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 25px;
  cursor: pointer;
}

.hero {
  min-height: 690px;
  padding: 100px 8% 85px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .23;
  background-image:
    linear-gradient(rgba(100,150,255,.08) 1px, transparent 1px),
    linear-gradient(90deg,rgba(100,150,255,.08) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(to bottom,black,transparent);
}

.hero::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: #174eac;
  filter: blur(180px);
  opacity: .17;
  top: -220px;
  right: 3%;
  z-index: -1;
}

.hero-content {
  width: 56%;
  position: relative;
  z-index: 2;
}

.eyebrow, .section-label {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.eyebrow {
  display: flex;
  align-items: center;
  margin-bottom: 26px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(48px,6.3vw,82px);
  line-height: 1.08;
  letter-spacing: -4px;
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(100deg,#71aaff,#55c7ff 60%,#a7a9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 480px;
  color: var(--muted);
  margin-top: 25px;
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 14px 23px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
  border: 1px solid transparent;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: linear-gradient(110deg,#397be9,#2760ca);
  color: white;
  box-shadow: 0 9px 30px rgba(45,106,220,.2);
}

.button-primary:hover {
  box-shadow: 0 10px 38px rgba(65,140,255,.4);
}

.button-secondary {
  border-color: var(--border);
  color: #d3dced;
  background: rgba(255,255,255,.025);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 58px;
}

.proof-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(73,153,255,.13);
}

.hero-proof strong, .hero-proof span {
  display: block;
  font-size: 12px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 11px;
}

.hero-visual {
  width: 44%;
  height: 460px;
  position: relative;
  display: grid;
  place-items: center;
}

.visual-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: #2866dc;
  filter: blur(110px);
  opacity: .35;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(110,172,255,.18);
  border-radius: 50%;
}

.orbit-one {
  width: 390px;
  height: 390px;
}

.orbit-two {
  width: 300px;
  height: 300px;
  border-style: dashed;
  animation: spin 30s linear infinite;
}

.visual-center {
  position: relative;
  z-index: 2;
}

.center-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  padding: 10px;
  background: linear-gradient(140deg,#83c6ff,#285ac1,#a0aaff);
  box-shadow: 0 0 70px rgba(64,132,255,.3);
}

.center-inner {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg,#152c50,#080e1c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.nexus-mark {
  font-family: var(--display);
  font-size: 100px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg,#fff,#69baff);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.center-caption {
  color: #a6c8ff;
  letter-spacing: 3px;
  font-size: 9px;
  margin-top: 7px;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 17px;
  background: rgba(16,29,50,.88);
  border: 1px solid rgba(110,166,255,.2);
  backdrop-filter: blur(15px);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}

.card-top {
  top: 48px;
  right: -4px;
}

.card-bottom {
  bottom: 47px;
  left: -12px;
}

.mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #193e73;
  color: #82c9ff;
  font-size: 17px;
}

.floating-card strong, .floating-card small {
  display: block;
  white-space: nowrap;
}

.floating-card strong {
  font-size: 11px;
}

.floating-card small {
  color: var(--muted);
  font-size: 10px;
}

.hero-bottom {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 25px;
  padding-top: 19px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: #6f7c91;
  font-size: 9px;
  letter-spacing: 1.5px;
}

.hero-bottom a {
  color: #a8bad5;
}

.trust-strip {
  padding: 25px 8%;
  text-align: center;
  background: #0a111e;
  border-block: 1px solid var(--border);
  color: #8191a9;
  font-size: 11px;
  letter-spacing: 2px;
}

.section {
  padding: 115px 8%;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 48px;
}

.section-heading h2, .about-content h2, .contact-panel h2 {
  font-family: var(--display);
  font-size: clamp(36px,4.5vw,57px);
  line-height: 1.15;
  letter-spacing: -2px;
  margin-top: 16px;
}

.muted {
  color: #77859b;
}

.section-heading > p {
  max-width: 320px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 17px;
}

.service-card {
  padding: 31px 27px;
  min-height: 285px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(145deg,#101a2a,#0b111d);
  transition: .3s;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(89,158,255,.4);
}

.featured-service {
  background: linear-gradient(145deg,#132c4e,#0b1526);
  border-color: rgba(88,151,255,.3);
}

.service-number {
  color: #647b9e;
  font-size: 10px;
  letter-spacing: 1px;
}

.service-icon {
  width: 47px;
  height: 47px;
  margin: 24px 0 20px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #19355e;
  color: #7bbcff;
  font-size: 23px;
}

.service-card h3 {
  font-family: var(--display);
  font-size: 19px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  min-height: 66px;
}

.service-card a {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  color: #82b8ff;
}

.work-section {
  background: #090f1a;
}

.project-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #101827;
  border: 1px solid var(--border);
  border-radius: 17px;
  overflow: hidden;
}

.project-preview {
  min-height: 370px;
  display: grid;
  place-items: center;
  padding: 30px;
  background: radial-gradient(circle at center,#344d3d,#101c18 75%);
}

.project-browser {
  width: 100%;
  max-width: 470px;
  overflow: hidden;
  border-radius: 9px;
  background: #f5f0e8;
  box-shadow: 0 25px 70px rgba(0,0,0,.35);
  transform: rotate(-2deg);
}

.browser-bar {
  height: 28px;
  padding: 0 10px;
  background: #e7e3dc;
  display: flex;
  align-items: center;
  gap: 5px;
}

.browser-bar > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9d9a94;
}

.browser-bar small {
  color: #777;
  font-size: 8px;
  margin-left: auto;
}

.saffron-screen {
  height: 255px;
  padding: 25px 30px;
  color: #263526;
  background: linear-gradient(115deg,#f1e9d9,#d8ddc9);
}

.saffron-nav {
  font-family: Georgia,serif;
  font-size: 15px;
  letter-spacing: 2px;
}

.saffron-nav span {
  color: #9b7742;
}

.saffron-copy {
  margin-top: 48px;
}

.saffron-copy small {
  font-size: 7px;
  letter-spacing: 2px;
}

.saffron-copy h3 {
  font-family: Georgia,serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.05;
  margin: 10px 0;
}

.saffron-copy > span {
  font-size: 7px;
  letter-spacing: 1px;
}

.project-info {
  padding: 45px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-info h3 {
  font-family: var(--display);
  font-size: 27px;
  margin: 14px 0;
}

.project-info p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.project-tags span {
  font-size: 10px;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: #aabbd3;
}

.project-link {
  color: #83baff;
  font-size: 12px;
  margin-top: 29px;
}

.about-section {
  min-height: 460px;
  padding: 100px 8%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg,#0d1b31,#101a2a);
  border-block: 1px solid var(--border);
}

.about-decoration {
  position: absolute;
  right: 10%;
  top: -110px;
  font-family: var(--display);
  font-size: 500px;
  font-weight: 700;
  line-height: 1;
  color: rgba(90,151,255,.035);
  pointer-events: none;
}

.about-content {
  position: relative;
  max-width: 600px;
}

.about-content p {
  max-width: 510px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin: 24px 0 28px;
}

.contact-section {
  background: #080e19;
}

.contact-panel {
  max-width: 800px;
  margin: auto;
  padding: 55px;
  background: linear-gradient(145deg,#111f34,#0c1422);
  border: 1px solid rgba(102,161,255,.18);
  border-radius: 19px;
  box-shadow: 0 25px 80px rgba(0,0,0,.2);
}

.contact-panel > p {
  color: var(--muted);
  margin: 15px 0 30px;
  font-size: 13px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0a1220;
  color: white;
  outline: none;
  font-size: 12px;
  transition: .2s;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: #518fe9;
  box-shadow: 0 0 0 3px rgba(81,143,233,.1);
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: #6e7c91;
}

.contact-form select {
  color: #aab8cc;
}

.contact-form select option {
  background: #101827;
}

.contact-form textarea {
  resize: vertical;
}

.form-submit {
  width: fit-content;
  border: none;
}

.form-note {
  margin-top: 13px !important;
  font-size: 10px !important;
  color: #71829b !important;
}

.footer {
  padding: 32px 8%;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #8290a5;
  font-size: 11px;
}

.footer .logo {
  color: white;
  font-size: 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 950px) {
  .header { padding-inline: 5%; }
  .hero { padding-inline: 5%; }
  .hero-bottom { left: 5%; right: 5%; }
  .hero-content { width: 60%; }
  .hero-visual { width: 40%; }
  .center-ring { width: 175px; height: 175px; }
  .nexus-mark { font-size: 78px; }
  .orbit-one { width: 310px; height: 310px; }
  .orbit-two { width: 250px; height: 250px; }
  .section, .about-section { padding-inline: 5%; }
}

@media (max-width: 700px) {
  .announcement { font-size: 10px; }
  .header { height: 70px; }
  .menu-toggle { display: block; }
  .navigation {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    padding: 25px 6%;
    background: #0b1423;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 21px;
  }
  .navigation.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero {
    padding-top: 75px;
    padding-bottom: 110px;
    display: block;
  }
  .hero-content { width: 100%; }
  .hero h1 {
    font-size: clamp(46px,11vw,67px);
    letter-spacing: -2.8px;
  }
  .hero-description { font-size: 13px; }
  .hero-visual {
    width: 100%;
    height: 340px;
    margin-top: 35px;
  }
  .center-ring { width: 165px; height: 165px; }
  .orbit-one { width: 280px; height: 280px; }
  .orbit-two { width: 225px; height: 225px; }
  .card-top { right: 0; top: 12px; }
  .card-bottom { left: 0; bottom: 10px; }
  .hero-bottom {
    bottom: 20px;
    gap: 10px;
    font-size: 8px;
  }
  .hero-bottom span:nth-child(2) { display: none; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card p { min-height: auto; }
  .project-card { grid-template-columns: 1fr; }
  .project-preview { min-height: 300px; padding: 20px; }
  .project-info { padding: 30px 25px; }
  .saffron-screen { height: 220px; }
  .saffron-copy { margin-top: 35px; }
  .about-section { padding-block: 80px; }
  .about-decoration { font-size: 300px; right: 0; top: 10px; }
  .contact-panel { padding: 30px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* NEXUS DIGITAL — SCROLL REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* NEXUS DIGITAL — BUSINESS CONTACT DETAILS */

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 12px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 0;
}

.detail-icon {
  color: var(--cyan);
  font-size: 20px;
}

.contact-detail small,
.contact-detail a,
.contact-detail div > span {
  display: block;
}

.contact-detail small {
  color: #7e9bbc;
  font-size: 9px;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.contact-detail a,
.contact-detail div > span {
  font-size: 10px;
  color: #dce7f7;
  overflow-wrap: anywhere;
}

.contact-detail a:hover {
  color: var(--cyan);
}

@media (max-width: 700px) {
  .contact-details {
    grid-template-columns: 1fr;
  }
}