
:root {
  --bg: #0b0b12;
  --surface: #13131e;
  --surface-light: #1b1b29;
  --purple: #9b6bff;
  --purple-light: #c0a3ff;
  --text: #f5f2ff;
  --muted: #aaa5bb;
  --border: rgba(180, 145, 255, 0.17);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

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

.header {
  min-height: 76px;
  padding: 16px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(11, 11, 18, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
}

.logo span:first-child,
.logo-dot {
  color: var(--purple);
}

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

.nav a {
  color: var(--muted);
  font-size: 14px;
  transition: 0.3s;
}

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

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

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

.hero {
  min-height: 570px;
  padding: 85px 9%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.eyebrow {
  color: var(--purple-light);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 3px;
  margin-bottom: 17px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.12;
  max-width: 650px;
  margin-bottom: 23px;
}

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

.hero-description {
  color: var(--muted);
  max-width: 520px;
  font-size: 16px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 7px;
  font-weight: bold;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.3s;
}

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

.btn-primary:hover {
  background: #8050e8;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
}

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

.hero-note {
  margin-top: 25px;
  color: #777187;
  font-size: 13px;
}

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

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-one {
  width: 230px;
  height: 230px;
  background: rgba(139, 92, 246, 0.19);
  box-shadow: 0 0 90px rgba(139, 92, 246, 0.25);
}

.orb-two {
  width: 140px;
  height: 140px;
  border: 1px solid rgba(192, 163, 255, 0.5);
}

.tech-card {
  position: relative;
  width: 260px;
  padding: 32px;
  background: rgba(24, 22, 39, 0.93);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px #0008;
  text-align: center;
}

.code-symbol {
  color: var(--purple-light);
  font-size: 55px;
  font-weight: bold;
}

.tech-card h3 {
  margin-top: 12px;
}

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

.tech-line {
  height: 5px;
  width: 100%;
  background: #55427c;
  border-radius: 10px;
  margin-top: 22px;
}

.tech-line.short {
  width: 65%;
  margin: 10px auto 0;
  background: #322746;
}

.stats {
  padding: 30px 9%;
  background: var(--surface);
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stats strong {
  color: var(--purple-light);
  font-size: 27px;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 90px 9%;
}

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

.section-subtitle {
  color: var(--muted);
  margin-top: 12px;
  max-width: 550px;
}

.center {
  text-align: center;
}

.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-content {
  color: var(--muted);
  max-width: 550px;
}

.about-content p + p {
  margin-top: 18px;
}

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

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

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

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

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(155, 107, 255, 0.16);
  color: var(--purple-light);
  font-size: 26px;
  margin-bottom: 20px;
}

.service-card h3,
.project-info h3 {
  margin-bottom: 12px;
}

.service-card p,
.project-info p {
  color: var(--muted);
  font-size: 14px;
}

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

.project-card {
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: 0.3s;
}

.project-art {
  min-height: 220px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.project-art > span {
  position: absolute;
  top: 15px;
  left: 17px;
  color: var(--purple-light);
  font-size: 11px;
  letter-spacing: 2px;
}

.art-one {
  background: linear-gradient(135deg, #1e1740, #11111d);
}

.mock-window {
  width: 75%;
  padding: 16px;
  background: #25213b;
  border: 1px solid #55427c;
  border-radius: 8px;
}

.mock-dots {
  color: var(--purple-light);
  font-size: 8px;
  margin-bottom: 20px;
}

.mock-heading {
  width: 70%;
  height: 13px;
  background: #c0a3ff;
  border-radius: 5px;
}

.mock-text {
  width: 90%;
  height: 7px;
  background: #71658a;
  margin-top: 12px;
  border-radius: 5px;
}

.mock-button {
  width: 55px;
  height: 19px;
  background: #8b5cf6;
  border-radius: 4px;
  margin-top: 20px;
}

.art-two {
  background: linear-gradient(135deg, #17142d, #28204b);
}

.ai-circle {
  width: 110px;
  height: 110px;
  border: 2px solid var(--purple-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 40px;
  color: var(--purple-light);
  box-shadow: 0 0 40px #9b6bff55;
}

.ai-caption {
  position: absolute;
  bottom: 22px;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
}

.art-three {
  background: linear-gradient(135deg, #151c30, #22163c);
}

.dashboard {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.dashboard div {
  height: 55px;
  border: 1px solid #7353a7;
  background: #39285b;
  border-radius: 6px;
}

.project-info {
  padding: 22px;
}

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

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

.cta {
  text-align: center;
  padding: 85px 8%;
  background: linear-gradient(130deg, #17102b, #0b0b12);
}

.cta h2 {
  font-size: clamp(30px, 5vw, 46px);
  margin-bottom: 15px;
}

.cta > p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 25px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.contact-form label {
  font-size: 13px;
  color: var(--purple-light);
  margin-top: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: white;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--purple);
}

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

.submit-btn {
  margin-top: 12px;
}

.form-status {
  color: var(--purple-light);
  font-size: 13px;
}

.footer {
  padding: 35px 8%;
  text-align: center;
  background: #08080e;
  border-top: 1px solid var(--border);
}

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

.footer .copyright {
  margin-top: 20px;
  font-size: 11px;
}

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

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    padding: 22px 6%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav.active {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 65px 7%;
  }

  .hero-visual {
    min-height: 280px;
  }

  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .section {
    padding: 70px 7%;
  }
}

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

  .hero-buttons .btn {
    text-align: center;
  }

  .stats {
    justify-content: flex-start;
    padding-left: 8%;
  }
}


/* A² Support AI floating website assistant */
.support-ai-fab {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 1000;
  border: 1px solid rgba(192,163,255,.45);
  border-radius: 999px;
  padding: 14px 18px;
  background: #8b5cf6;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 35px rgba(0,0,0,.4);
  cursor: pointer;
}
.support-ai-panel {
  position: fixed;
  right: 22px;
  bottom: 155px;
  z-index: 1001;
  width: min(390px, calc(100vw - 28px));
  height: min(590px, calc(100vh - 190px));
  background: #10101a;
  border: 1px solid #5a408a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 70px #000b;
  display: none;
}
.support-ai-panel.is-open { display: block; }
.support-ai-panel iframe { width: 100%; height: 100%; border: 0; }
.support-ai-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid #5a408a;
  border-radius: 50%;
  color: #fff;
  background: #211a32;
  cursor: pointer;
  font-size: 18px;
}
@media (max-width: 480px) {
  .support-ai-fab { right: 14px; bottom: 82px; padding: 12px 15px; }
  .support-ai-panel { right: 8px; bottom: 140px; width: calc(100vw - 16px); height: min(560px, calc(100vh - 165px)); }
}
