:root {
  --black: #050408;
  --black-soft: #09070e;
  --surface: #100c17;
  --surface-light: #171020;
  --purple: #7c3aed;
  --purple-bright: #a855f7;
  --purple-soft: #c084fc;
  --white: #f8f5ff;
  --text: #ded7e8;
  --muted: #978ba3;
  --line: rgba(168,85,247,.18);
  --green: #57e6a0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 5%, rgba(124,58,237,.11), transparent 25%),
    radial-gradient(circle at 90% 40%, rgba(168,85,247,.07), transparent 25%),
    var(--black);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}

/* PHANTOM HEADER */

header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(5,4,8,.9);
  backdrop-filter: blur(18px);
}

.navigation {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.logo img {
  width: 49px;
  height: 49px;
  object-fit: contain;
  border-radius: 13px;
  filter: drop-shadow(0 0 16px rgba(168,85,247,.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 23px;
}

.nav-links a {
  color: #aaa0b4;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--purple-soft);
}

.portal-link {
  color: var(--purple-soft);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

/* BUTTONS */

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), #5420af);
  color: white;
  box-shadow: 0 12px 35px rgba(124,58,237,.24);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  transition: .2s;
}

.button:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--purple-bright), var(--purple));
}

.button-light,
.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  color: var(--white);
  box-shadow: none;
}

/* HOME HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 125px 0;
  background:
    linear-gradient(rgba(124,58,237,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.035) 1px, transparent 1px),
    var(--black);
  background-size: 64px 64px;
  color: var(--white);
}

.hero::before {
  position: absolute;
  width: 700px;
  height: 700px;
  content: "";
  top: -400px;
  left: -260px;
  border-radius: 50%;
  background: rgba(124,58,237,.2);
  filter: blur(100px);
}

.hero::after {
  position: absolute;
  width: 600px;
  height: 600px;
  content: "";
  right: -300px;
  bottom: -350px;
  border-radius: 50%;
  background: rgba(168,85,247,.13);
  filter: blur(100px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 370px;
  align-items: center;
  gap: 80px;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 25px;
  color: var(--white);
  font-size: clamp(54px, 7vw, 88px);
  line-height: .93;
  letter-spacing: -5px;
  text-shadow: 0 15px 55px rgba(124,58,237,.22);
}

.hero p {
  max-width: 650px;
  color: #b8afc2;
  font-size: 17px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 31px;
}

.hero-logo {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-logo::before {
  position: absolute;
  width: 310px;
  height: 310px;
  content: "";
  border-radius: 50%;
  background: rgba(124,58,237,.2);
  filter: blur(65px);
}

.hero-logo img {
  position: relative;
  z-index: 2;
  width: min(340px,100%);
  object-fit: contain;
  filter:
    drop-shadow(0 30px 35px rgba(0,0,0,.55))
    drop-shadow(0 0 20px rgba(168,85,247,.25));
}

/* INTERIOR PAGE HERO */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 105px 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 0%, rgba(124,58,237,.17), transparent 30%),
    var(--black-soft);
  color: var(--white);
}

.page-hero::before {
  position: absolute;
  width: 380px;
  height: 380px;
  content: "";
  top: -240px;
  right: -120px;
  border-radius: 50%;
  background: rgba(168,85,247,.15);
  filter: blur(70px);
}

.page-hero small {
  color: var(--purple-soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
}

.page-hero h1 {
  position: relative;
  max-width: 850px;
  margin: 18px 0;
  color: var(--white);
  font-size: clamp(48px,7vw,78px);
  line-height: .96;
  letter-spacing: -4px;
}

.page-hero p {
  max-width: 670px;
  color: #aaa0b4;
  line-height: 1.75;
}

/* GENERAL SECTIONS */

.section {
  position: relative;
  padding: 95px 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 45px;
}

.section-title small {
  color: var(--purple-soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
}

.section-title h2 {
  margin: 14px 0;
  color: var(--white);
  font-size: clamp(39px,5vw,61px);
  line-height: 1;
  letter-spacing: -3px;
}

.section-title p {
  color: var(--muted);
  line-height: 1.75;
}

.purple-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(124,58,237,.08), transparent 35%),
    var(--black-soft);
}

/* SERVICES */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 17px;
}

.service {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--surface-light), var(--surface));
  box-shadow: 0 20px 55px rgba(0,0,0,.3);
  transition: .22s;
}

.service:hover {
  border-color: rgba(168,85,247,.5);
  transform: translateY(-6px);
}

.service::after {
  position: absolute;
  width: 150px;
  height: 150px;
  content: "";
  top: -100px;
  right: -90px;
  border-radius: 50%;
  background: rgba(168,85,247,.12);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 10px;
  background: rgba(124,58,237,.13);
  color: var(--purple-soft);
  font-weight: 900;
}

.service h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 23px;
}

.service p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.service a {
  display: inline-block;
  margin-top: 15px;
  color: var(--purple-soft);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

/* STEPS */

.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
}

.step-number {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(124,58,237,.15);
  color: var(--purple-soft);
  font-weight: 900;
  box-shadow: 0 0 25px rgba(124,58,237,.1);
}

.step h3 {
  margin: 21px 0 10px;
  color: var(--white);
}

.step p {
  color: var(--muted);
  line-height: 1.75;
}

/* ABOUT */

.two-column {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
}

.two-column h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(40px,5vw,58px);
  line-height: 1;
  letter-spacing: -3px;
}

.copy {
  color: var(--muted);
  line-height: 1.85;
}

.copy h3 {
  margin-top: 32px;
  color: var(--white);
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 17px;
}

.contact-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--surface-light), var(--surface));
  box-shadow: 0 20px 55px rgba(0,0,0,.28);
}

.contact-card small {
  color: var(--purple-soft);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.7px;
}

.contact-card h3 {
  margin: 14px 0;
  color: var(--white);
  font-size: 24px;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-card a:not(.button) {
  color: var(--purple-soft);
  font-weight: 900;
}

/* FORMS AND CALENDAR */

.form-wrap,
.calendar-wrap {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 25px 70px rgba(0,0,0,.4);
}

.form-wrap iframe {
  width: 100%;
  min-height: 900px;
  display: block;
  border: 0;
}

.calendly-inline-widget {
  min-width: 320px;
  height: 700px;
}

/* STATUS */

.status-box {
  padding: 35px;
  border: 1px solid rgba(87,230,160,.16);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--surface-light), var(--surface));
  box-shadow: 0 25px 65px rgba(0,0,0,.3);
}

.status-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.status-header h2 {
  margin: 0;
  color: var(--white);
}

.operational {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
}

.system {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.system:last-child {
  border-bottom: 0;
}

.system span {
  color: var(--muted);
}

.system strong {
  color: var(--green);
  font-size: 10px;
}

/* LEGAL */

.legal {
  max-width: 850px;
}

.legal h2 {
  margin-top: 42px;
  color: var(--white);
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.85;
}

.legal a {
  color: var(--purple-soft);
}

/* CALL TO ACTION */

.cta {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 50%, rgba(124,58,237,.15), transparent 30%),
    var(--surface);
  color: white;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(37px,5vw,58px);
  letter-spacing: -3px;
}

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

/* PORTFOLIO */

.project-showcase {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, #181020, #0b080f);
  box-shadow: 0 30px 80px rgba(0,0,0,.38);
}

.project-preview {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,150,190,.18), transparent 32%),
    linear-gradient(145deg, #2c1425, #0d080e);
}

.project-browser {
  width: min(440px,82%);
  overflow: hidden;
  border-radius: 12px;
  background: #fff8f4;
  box-shadow: 0 30px 75px rgba(0,0,0,.5);
  transform: rotate(-2deg);
}

.browser-top {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #201720;
}

.browser-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a98798;
}

.browser-content {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 40px;
  color: #4b2237;
  text-align: center;
}

.browser-content small {
  color: #b0527c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
}

.browser-content h3 {
  margin: 15px 0;
  font-family: Georgia, serif;
  font-size: 35px;
}

.browser-content p {
  color: #795a69;
  line-height: 1.6;
}

.project-information {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 60px;
}

.project-information small {
  color: var(--purple-soft);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
}

.project-information h2 {
  margin: 15px 0;
  color: var(--white);
  font-size: clamp(37px,5vw,57px);
  line-height: 1;
  letter-spacing: -3px;
}

.project-information p {
  color: var(--muted);
  line-height: 1.8;
}

.project-details {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 28px;
}

.project-details span {
  padding: 8px 11px;
  border-radius: 7px;
  background: rgba(124,58,237,.11);
  color: var(--purple-soft);
  font-size: 10px;
  font-weight: 800;
}

/* FOOTER */

footer {
  padding: 65px 0 25px;
  border-top: 1px solid var(--line);
  background: #030205;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

footer .logo {
  color: white;
}

.footer-description {
  max-width: 390px;
  color: #8f849a;
  font-size: 12px;
  line-height: 1.75;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links strong {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 10px;
}

.footer-links a {
  color: #958a9f;
  font-size: 12px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--purple-soft);
}

.copyright {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #706677;
  font-size: 9px;
}

@media (max-width:900px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .two-column,
  .project-showcase {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    margin-top: 35px;
  }

  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .project-information {
    padding: 45px 30px;
  }

  .cta-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width:600px) {
  .wrap {
    width: min(100% - 25px,1120px);
  }

  .navigation {
    min-height: 68px;
  }

  .logo img {
    width: 42px;
    height: 42px;
  }

  .portal-link {
    font-size: 10px;
  }

  .hero,
  .page-hero {
    padding: 75px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 51px;
    letter-spacing: -3px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .section {
    padding: 70px 0;
  }

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

  .form-wrap,
  .calendar-wrap {
    padding: 7px;
  }

  .form-wrap iframe {
    min-height: 1050px;
  }

  .calendly-inline-widget {
    height: 800px;
  }

  .project-preview {
    min-height: 390px;
  }

  .project-browser {
    width: 88%;
  }

  .browser-content {
    min-height: 260px;
    padding: 25px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

/* Professional Photon Nodes branding corrections */

.logo img {
  display: block !important;
  width: 49px !important;
  height: 49px !important;
  min-width: 49px !important;
  object-fit: contain !important;
  border-radius: 12px;
  background: #0a0710;
}

.hero h1,
.page-hero h1,
.section-title h2,
.two-column h2,
.cta h2,
.project-information h2 {
  font-family: Arial, Helvetica, sans-serif;
}

.hero {
  background:
    radial-gradient(circle at 75% 20%, rgba(124,58,237,.15), transparent 30%),
    linear-gradient(145deg, #07050b, #0d0814);
}

.hero h1 {
  max-width: 820px;
}

.button {
  border-radius: 7px;
}

.service,
.contact-card,
.status-box,
.project-showcase {
  border-radius: 10px;
}

@media (max-width:600px) {
  .logo img {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }
}
