
:root {
  --background: #101426;
  --surface: #171d34;
  --purple: #9670ff;
  --light-purple: #bca5ff;
  --white: #f7f7ff;
  --muted: #a7acc0;
  --border: rgba(188, 165, 255, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(ellipse at 12% 10%, rgba(126, 84, 218, .22), transparent 36%), radial-gradient(ellipse at 88% 65%, rgba(50, 65, 140, .18), transparent 34%), linear-gradient(145deg, #0c1020, #17142b 55%, #0c1020);
  background-attachment: fixed;
  color: var(--white);
  font-family: Arial, sans-serif;
  line-height: 1.7;
}

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

.header {
  min-height: 78px;
  padding: 15px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 1px;
}

.brand small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 2px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--purple);
  border-radius: 9px;
  font-size: 23px;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a {
  color: var(--muted);
  font-size: 13px;
}

nav a:hover {
  color: var(--light-purple);
}

.nav-cta {
  background: var(--purple);
  color: white;
  padding: 10px 17px;
  border-radius: 6px;
}

.menu-button {
  display: none;
  background: transparent;
  color: white;
  border: 0;
  font-size: 26px;
}

.hero {
  min-height: 580px;
  padding: 80px 9%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 35px;
  overflow: hidden;
}

.tag {
  display: inline-block;
  color: var(--light-purple);
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(43px, 6vw, 68px);
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero h1 span,
.section-heading h2 span,
.intro h2 span,
.callout h2 span {
  color: var(--light-purple);
}

.hero-content > p:not(.tag) {
  color: var(--muted);
  max-width: 490px;
  font-size: 15px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 12px 21px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 13px;
  transition: 0.3s;
}

.primary {
  background: var(--purple);
  color: white;
}

.primary:hover {
  background: #7951df;
  transform: translateY(-3px);
}

.secondary {
  border: 1px solid var(--border);
}

.secondary:hover {
  border-color: var(--purple);
}

.hero-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 28px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #a98aff;
  border-radius: 50%;
  margin-right: 7px;
}

.hero-art {
  min-height: 350px;
  display: grid;
  place-items: center;
  position: relative;
}

.circle {
  position: absolute;
  border-radius: 50%;
}

.circle-one {
  width: 280px;
  height: 280px;
  background: #9670ff1b;
  box-shadow: 0 0 80px #9670ff33;
}

.circle-two {
  width: 190px;
  height: 190px;
  border: 1px solid #bca5ff66;
}

.growth-card {
  position: relative;
  width: 280px;
  padding: 25px;
  border: 1px solid var(--border);
  background: #1b2038;
  border-radius: 12px;
  box-shadow: 0 20px 60px #0008;
}

.card-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}

.card-mark {
  color: var(--light-purple);
  font-size: 20px;
  font-weight: bold;
}

.chart {
  height: 125px;
  display: flex;
  align-items: end;
  gap: 13px;
  border-bottom: 1px solid var(--border);
  margin: 20px 0;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, #7650d8, #c0a3ff);
  border-radius: 5px 5px 0 0;
}

.bar-one { height: 35%; }
.bar-two { height: 55%; }
.bar-three { height: 43%; }
.bar-four { height: 75%; }
.bar-five { height: 95%; }

.growth-card h3 {
  font-size: 15px;
}

.growth-card p {
  color: var(--muted);
  font-size: 12px;
}

.intro {
  padding: 70px 9%;
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.intro h2 {
  font-size: 34px;
  line-height: 1.3;
}

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

.section {
  padding: 85px 9%;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.25;
}

.section-heading > p {
  color: var(--muted);
  margin-top: 12px;
}

.centered {
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
  margin-top: 40px;
}

.about-visual {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #28234b, #171d34);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.about-symbol {
  font-size: 100px;
  font-weight: bold;
  color: var(--light-purple);
  text-shadow: 0 0 35px #9670ff66;
}

.about-visual > span {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--muted);
}

.about-text h3 {
  font-size: 23px;
  margin-bottom: 15px;
}

.about-text p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 15px;
}

.text-link {
  color: var(--light-purple);
  font-size: 13px;
  display: inline-block;
  margin-top: 10px;
}

.services {
  background: var(--surface);
}

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

.service-card {
  padding: 28px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--purple);
}

.service-icon {
  color: var(--light-purple);
  font-size: 27px;
  font-weight: bold;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

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

.service-card a {
  display: inline-block;
  color: var(--light-purple);
  margin-top: 20px;
  font-size: 12px;
}

.benefits {
  max-width: 700px;
  margin: 40px auto 0;
  display: grid;
  gap: 20px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
}

.benefit > span {
  color: var(--light-purple);
  font-size: 30px;
}

.benefit h3 {
  font-size: 16px;
}

.benefit p {
  color: var(--muted);
  font-size: 13px;
}

.callout {
  padding: 80px 8%;
  text-align: center;
  background: linear-gradient(135deg, #29204b, #111629);
}

.callout h2 {
  font-size: clamp(30px, 5vw, 44px);
  margin-bottom: 12px;
}

.callout p {
  color: var(--muted);
  margin-bottom: 25px;
}

.contact {
  background: var(--surface);
}

.contact-panel {
  margin-top: 35px;
  padding: 35px;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.contact-label {
  color: var(--light-purple);
  font-size: 10px;
  letter-spacing: 2px;
}

.contact-panel h3 {
  font-size: 21px;
  margin: 10px 0;
}

.contact-panel p {
  color: var(--muted);
  font-size: 13px;
  max-width: 480px;
}

.footer {
  text-align: center;
  padding: 35px 8%;
}

.footer > p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}

.footer-credit {
  color: var(--muted);
  font-size: 12px;
  margin-top: 22px;
}

.footer-credit a {
  color: var(--light-purple);
  font-weight: bold;
}

.copyright {
  font-size: 10px !important;
}

@media (max-width: 800px) {
  .header {
    padding: 14px 6%;
  }

  .menu-button {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    left: 0;
    top: 78px;
    width: 100%;
    padding: 22px 7%;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
  }

  nav.active {
    display: flex;
  }

  .hero,
  .intro,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 65px 7%;
  }

  .hero-art {
    min-height: 300px;
  }

  .section {
    padding: 70px 7%;
  }

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

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    text-align: center;
  }

  .growth-card {
    width: 245px;
  }
}


/* A² Tech portfolio demo notice */
.demo-notice {
  padding: 10px 6%;
  text-align: center;
  background: #251b42;
  color: #e6dcff;
  border-bottom: 1px solid rgba(188, 165, 255, 0.25);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
}
.demo-notice a { color: #ffffff; text-decoration: underline; margin-left: 12px; }
@media (max-width: 520px) {
  .demo-notice { line-height: 1.7; }
  .demo-notice a { display: block; margin-left: 0; }
}

/* Layered backgrounds and keyboard-friendly mobile navigation */
.hero, .section, .callout, .intro {
  background-color: rgba(13, 17, 34, .48);
}
@media (max-width: 800px) {
  .menu-button { display: block; cursor: pointer; }
  nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 22px 8%;
    background: rgba(19, 22, 43, .98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  nav.active { display: flex; }
}


/* Accessible navigation and visible keyboard focus */
.menu-button { cursor: pointer; padding: 7px 10px; border-radius: 8px; }
nav a:focus-visible, .menu-button:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--light-purple); outline-offset: 3px; }
