:root {
  color-scheme: dark;
  --bg-gradient-start: #0b1a33;
  --bg-gradient-end: #030714;
  --primary: #68d4ff;
  --primary-glow: rgba(104, 212, 255, 0.65);
  --text: #e9f1ff;
  --muted: rgba(233, 241, 255, 0.72);
  --card-bg: rgba(11, 26, 51, 0.65);
  --card-border: rgba(104, 212, 255, 0.15);
  --surface: rgba(12, 22, 42, 0.8);
  --white: #ffffff;
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
}

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

body {
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(104, 212, 255, 0.08), transparent 40%),
    linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  left: -999px;
  top: 1.25rem;
  background: rgba(3, 7, 20, 0.92);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(104, 212, 255, 0.5);
  z-index: 20;
  transition: transform 0.3s ease;
}

.skip-link:focus {
  left: 1.25rem;
  transform: translateY(0);
  outline: none;
}

#network-background {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 15% 45%, rgba(255, 255, 255, 0.12), transparent 55%);
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.5rem, 4vw, 4rem);
  background: rgba(3, 7, 20, 0.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(104, 212, 255, 0.1);
  z-index: 10;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(104, 212, 255, 0.35);
  background: rgba(104, 212, 255, 0.08);
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-toggle:focus-visible,
.nav-toggle:hover {
  background: rgba(104, 212, 255, 0.18);
  box-shadow: 0 0 0 4px rgba(104, 212, 255, 0.12);
}

.nav-toggle__bar {
  width: 1.2rem;
  height: 2px;
  background: var(--white);
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle__bar + .nav-toggle__bar {
  margin-top: 0.25rem;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--white);
}

.cta-button {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: rgba(104, 212, 255, 0.14);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-button:hover,
.cta-button:focus {
  background: rgba(104, 212, 255, 0.24);
  box-shadow: 0 0 20px rgba(104, 212, 255, 0.3);
}

.hero {
  padding: clamp(4rem, 12vh, 10rem) clamp(1.5rem, 5vw, 5rem);
  display: flex;
  align-items: center;
}

.hero__content {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.eyebrow {
  letter-spacing: 0.4em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  font-weight: 600;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__actions a {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__actions a.primary {
  background: var(--primary);
  color: #021026;
  box-shadow: 0 12px 30px rgba(104, 212, 255, 0.35);
}

.hero__actions a.secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero__actions a:hover,
.hero__actions a:focus {
  transform: translateY(-2px);
}

.proposal {
  padding: clamp(4rem, 12vh, 8rem) clamp(1.5rem, 5vw, 5rem);
}

.proposal h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 2rem;
}

.proposal__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.proposal__grid article {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(1, 5, 15, 0.35);
}

.proposal__grid h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.proposal__grid ul {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}

.section {
  padding: clamp(4rem, 12vh, 7rem) clamp(1.5rem, 5vw, 5rem);
}

.section--light {
  background: rgba(255, 255, 255, 0.04);
}

.section__content {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.chatbot-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: min(360px, calc(100% - 2rem));
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.chatbot-panel {
  width: 100%;
  background: rgba(5, 12, 30, 0.92);
  border: 1px solid rgba(104, 212, 255, 0.22);
  border-radius: 1.5rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 520px;
  max-height: 80vh;
  min-height: 360px;
  box-shadow: 0 25px 45px rgba(1, 5, 15, 0.65);
  backdrop-filter: blur(16px);
}

.chatbot-panel__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.chatbot-panel__header h3 {
  margin-top: 0.35rem;
  font-size: 1.35rem;
}

.chatbot-panel__header p {
  color: var(--muted);
  font-size: 0.9rem;
}

.chatbot-panel__minimize {
  border: 1px solid rgba(104, 212, 255, 0.35);
  border-radius: 999px;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(104, 212, 255, 0.12);
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.chatbot-panel__minimize:hover,
.chatbot-panel__minimize:focus-visible {
  background: rgba(104, 212, 255, 0.2);
}

.chatbot-launcher {
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #03112a;
  font-weight: 600;
  padding: 0.95rem 1.5rem;
  box-shadow: 0 18px 30px rgba(8, 20, 40, 0.4);
  cursor: pointer;
}

.chatbot-widget--open .chatbot-launcher {
  display: none;
}

.chatbot-widget--collapsed .chatbot-panel {
  display: none;
}

.chatbot-widget--collapsed .chatbot-launcher {
  display: inline-flex;
}

@media (max-width: 600px) {
  .chatbot-widget {
    width: calc(100% - 1.5rem);
    right: 0.75rem;
    left: 0.75rem;
  }
}

.chatbot__messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 0.25rem;
}

.chatbot__message {
  display: flex;
}

.chatbot__message--jisam {
  justify-content: flex-start;
}

.chatbot__message--user {
  justify-content: flex-end;
}

.chatbot__bubble {
  max-width: 90%;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(104, 212, 255, 0.12);
  border: 1px solid rgba(104, 212, 255, 0.25);
  font-size: 0.95rem;
  line-height: 1.4;
}

.chatbot__message--user .chatbot__bubble {
  background: rgba(104, 212, 255, 0.2);
  border-color: rgba(104, 212, 255, 0.45);
}

.chatbot__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chatbot__form textarea {
  width: 100%;
  resize: none;
  min-height: 96px;
  border-radius: 0.85rem;
  border: 1px solid rgba(104, 212, 255, 0.3);
  background: rgba(3, 7, 20, 0.75);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
}

.chatbot__form textarea:focus-visible {
  outline: 2px solid rgba(104, 212, 255, 0.8);
  outline-offset: 3px;
}

.chatbot__form button {
  align-self: flex-end;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #03112a;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chatbot__form button:hover,
.chatbot__form button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(104, 212, 255, 0.3);
}

.chatbot__note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section__intro {
  color: var(--muted);
  max-width: 640px;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

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

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 1.75rem;
  display: grid;
  gap: 1.25rem;
  box-shadow: 0 20px 45px rgba(1, 5, 15, 0.28);
}

.testimonial blockquote {
  font-size: 0.98rem;
  color: var(--white);
  line-height: 1.7;
}

.testimonial__name {
  font-weight: 600;
  display: block;
}

.testimonial__title {
  color: var(--muted);
  font-size: 0.85rem;
}

.solutions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 1.75rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.steps {
  display: grid;
  gap: 1.5rem;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  padding-left: 3.5rem;
  position: relative;
}

.steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: rgba(104, 212, 255, 0.18);
  border: 1px solid rgba(104, 212, 255, 0.5);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--primary);
}

.contact {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact__form {
  display: grid;
  gap: 1.2rem;
}

.contact__form label {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact__form input,
.contact__form textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: inherit;
  resize: vertical;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: 1px solid var(--primary);
  box-shadow: 0 0 0 3px rgba(104, 212, 255, 0.15);
}

.contact__form button {
  justify-self: start;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #021026;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact__form button:hover,
.contact__form button:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px rgba(104, 212, 255, 0.3);
}

.site-footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

body.nav-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1024px) {
  .site-header {
    padding: 1.25rem clamp(1.5rem, 4vw, 3.25rem);
  }

  .site-nav {
    gap: 1.25rem;
  }

  .cta-button {
    padding: 0.6rem 1.4rem;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.25rem;
    padding: clamp(4rem, 10vh, 8rem) clamp(1.5rem, 6vw, 4rem);
  }

  .hero__content {
    max-width: 100%;
  }

  .section__content {
    max-width: min(760px, 100%);
  }

  .steps li {
    padding-left: 3rem;
  }

  .steps li::before {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 10px;
  }
}

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

  .contact__form button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .site-header__brand {
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: rgba(3, 7, 20, 0.85);
    border: 1px solid rgba(104, 212, 255, 0.1);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 20px 50px rgba(2, 8, 18, 0.65);
  }

  .site-nav a {
    padding: 0.35rem 0;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-header.is-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .hero {
    align-items: stretch;
    padding-top: 6rem;
  }

  .hero__content {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions a {
    width: 100%;
    text-align: center;
  }

  .proposal__grid article {
    padding: 1.5rem;
  }

  .section {
    padding: 3.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding-inline: 1.25rem;
  }

  .hero {
    padding-inline: 1.25rem;
  }

  .proposal {
    padding-inline: 1.25rem;
  }

  .section {
    padding-inline: 1.25rem;
  }

  .testimonials {
    gap: 1.25rem;
  }

  .testimonial {
    padding: 1.5rem;
  }
}
