:root {
  color-scheme: light;
  --bg: #f5f8fc;
  --bg-strong: #ffffff;
  --ink: #07111f;
  --muted: #5b677a;
  --line: rgba(12, 27, 48, 0.12);
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --blue: #0969ff;
  --blue-2: #00a4ff;
  --cyan: #37d5ff;
  --silver: #c9d3df;
  --charcoal: #0a1220;
  --shadow: 0 24px 80px rgba(3, 22, 50, 0.14);
  --radius: 8px;
  --max: 1180px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050914;
  --bg-strong: #090f1d;
  --ink: #f7fbff;
  --muted: #aab7c8;
  --line: rgba(202, 219, 240, 0.16);
  --panel: rgba(12, 22, 39, 0.68);
  --panel-strong: rgba(12, 22, 39, 0.92);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(9, 105, 255, 0.15), transparent 35rem),
    linear-gradient(180deg, var(--bg), var(--bg-strong));
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  width: min(calc(100% - 28px), var(--max));
  height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(6, 14, 28, 0.56);
  color: #fff;
  transform: translateX(-50%);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(5, 12, 24, 0.86);
  border-color: rgba(90, 183, 255, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #1187ff, #061b38);
  color: #fff;
  font-weight: 900;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.28), 0 14px 34px rgba(0, 118, 255, 0.28);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.theme-toggle,
.nav-toggle {
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  cursor: pointer;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.theme-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: -6px 0 0 0 #0969ff inset;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 11px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  background: #fff;
  margin: 3px 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px max(22px, calc((100vw - var(--max)) / 2)) 40px;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/sri-sai-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 18, 0.98) 0%, rgba(2, 8, 18, 0.76) 39%, rgba(2, 8, 18, 0.26) 78%),
    linear-gradient(180deg, rgba(2, 8, 18, 0.55), rgba(2, 8, 18, 0.9));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.1rem, 11vw, 7.6rem);
  text-wrap: balance;
}

.tagline {
  margin: 20px 0 0;
  color: #e9f6ff;
  font-size: clamp(1.25rem, 2.6vw, 2.1rem);
  font-weight: 800;
}

.hero-copy {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.8;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 18px 44px rgba(0, 105, 255, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #061629;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(16px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  position: relative;
  flex: 0 0 18px;
}

.quote-icon {
  border: 2px solid currentColor;
  border-radius: 4px;
}

.quote-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  left: 4px;
  top: 7px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.calendar-icon {
  border: 2px solid currentColor;
  border-radius: 4px;
}

.calendar-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 5px;
  height: 2px;
  background: currentColor;
}

.call-icon {
  border-left: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
  border-radius: 0 0 0 12px;
  transform: rotate(-18deg);
}

.chat-icon {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.chat-icon::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -3px;
  border: 4px solid transparent;
  border-left-color: currentColor;
  transform: rotate(35deg);
}

.hero-stats {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(100%, 780px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 60px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.hero-stats span {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px;
  background: rgba(4, 14, 29, 0.54);
  color: rgba(255, 255, 255, 0.76);
}

.hero-stats strong {
  color: #fff;
  font-size: 1.7rem;
}

.section {
  padding: 96px max(22px, calc((100vw - var(--max)) / 2));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  text-wrap: balance;
}

.about-grid,
.contact-layout,
.app-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.about-copy,
.contact-info,
.contact-form,
.service-card,
.testimonial-card,
.faq-list,
.phone-stage {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.about-copy {
  padding: 30px;
  line-height: 1.8;
  color: var(--muted);
}

.about-copy p {
  margin: 0;
}

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

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

.metric-grid article {
  min-height: 132px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--panel-strong), rgba(9, 105, 255, 0.08));
}

.metric-grid strong {
  color: var(--blue);
  font-size: 1.5rem;
}

.metric-grid span,
.service-card li,
.feature-card,
.product-card h3,
.portfolio-item span,
.app-feature-grid span,
.testimonial-card small {
  color: var(--muted);
}

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

.service-card {
  min-height: 410px;
  padding: 22px;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(9, 105, 255, 0.34);
}

.service-card h3 {
  margin: 18px 0 14px;
  font-size: 1.25rem;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(9, 105, 255, 0.96), rgba(55, 213, 255, 0.7));
  box-shadow: 0 18px 38px rgba(9, 105, 255, 0.24);
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  border-color: #fff;
}

.computer-icon::before {
  width: 28px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 4px;
}

.computer-icon::after {
  width: 22px;
  height: 2px;
  bottom: 16px;
  background: #fff;
}

.cctv-icon::before {
  width: 30px;
  height: 15px;
  border: 2px solid #fff;
  border-radius: 12px 6px 6px 12px;
  transform: rotate(-12deg);
}

.cctv-icon::after {
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  right: 16px;
}

.network-icon::before {
  width: 31px;
  height: 25px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.network-icon::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 12px 9px 0 #fff, -12px 9px 0 #fff;
}

.cloud-icon::before {
  width: 31px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 20px;
}

.cloud-icon::after {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  top: 17px;
}

.devops-icon::before {
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.devops-icon::after {
  width: 18px;
  height: 2px;
  background: #fff;
  box-shadow: 0 8px 0 #fff, 0 -8px 0 #fff;
  transform: rotate(-35deg);
}

.microsoft-icon::before {
  width: 12px;
  height: 12px;
  background: #fff;
  box-shadow: 15px 0 0 #fff, 0 15px 0 #fff, 15px 15px 0 #fff;
}

.chip-grid,
.feature-grid,
.product-grid,
.app-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.chip-grid span,
.app-feature-grid span {
  min-height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: center;
  font-weight: 750;
}

.why {
  background: linear-gradient(180deg, rgba(9, 105, 255, 0.06), transparent);
}

.feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card {
  min-height: 116px;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  font-weight: 800;
}

.feature-card span {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  position: relative;
}

.feature-card span::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 6px;
  left: 8px;
  top: 9px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  min-height: 188px;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent),
    var(--panel);
  overflow: hidden;
}

.product-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.product-visual {
  width: 92px;
  height: 70px;
  display: block;
  position: relative;
  transform: perspective(220px) rotateX(14deg) rotateY(-18deg);
  filter: drop-shadow(0 18px 22px rgba(9, 105, 255, 0.22));
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 6px;
  background: linear-gradient(145deg, #eaf5ff, #77869a 52%, #14223a);
}

.laptop-shape::before {
  width: 80px;
  height: 46px;
  border: 3px solid #09182b;
}

.laptop-shape::after {
  width: 92px;
  height: 13px;
  left: -6px;
  top: 48px;
}

.desktop-shape::before,
.server-shape::before,
.printer-shape::before,
.router-shape::before,
.switch-shape::before,
.ups-shape::before,
.storage-shape::before,
.nas-shape::before,
.firewall-shape::before,
.biometric-shape::before {
  width: 74px;
  height: 58px;
}

.camera-shape::before {
  width: 78px;
  height: 28px;
  top: 14px;
  border-radius: 20px 8px 8px 20px;
}

.camera-shape::after {
  width: 24px;
  height: 24px;
  right: 8px;
  top: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #081426 38%, #dceeff 41%);
}

.server-shape::after,
.switch-shape::after,
.nas-shape::after,
.firewall-shape::after {
  width: 52px;
  height: 4px;
  left: 11px;
  top: 16px;
  background: #37d5ff;
  box-shadow: 0 13px 0 #37d5ff, 0 26px 0 #37d5ff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portfolio-item {
  min-height: 250px;
  display: grid;
  align-items: end;
  padding: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(4, 10, 20, 0.1), rgba(4, 10, 20, 0.84)),
    url("assets/sri-sai-hero.png") center / cover;
}

.portfolio-item:nth-child(2) {
  background-position: 64% 46%;
}

.portfolio-item:nth-child(3) {
  background-position: 80% 55%;
}

.portfolio-item:nth-child(4) {
  background-position: 48% 30%;
}

.portfolio-item:nth-child(5) {
  background-position: 38% 70%;
}

.portfolio-item:nth-child(6) {
  background-position: 72% 72%;
}

.portfolio-item span {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
}

.app-section {
  background: linear-gradient(180deg, transparent, rgba(9, 105, 255, 0.08), transparent);
}

.app-layout {
  grid-template-columns: 410px 1fr;
  align-items: center;
}

.phone-stage {
  min-height: 620px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 12%, rgba(55, 213, 255, 0.28), transparent 18rem),
    var(--panel);
}

.phone-frame {
  width: 286px;
  height: 584px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  background: linear-gradient(145deg, #e7edf7, #151d2b 18%, #050914 78%, #aab6c6);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.phone-screen {
  height: 100%;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(9, 105, 255, 0.2), rgba(4, 10, 20, 0.96)),
    #06101f;
  color: #fff;
  overflow: hidden;
}

.app-topbar,
.app-actions,
.mini-grid {
  display: grid;
  gap: 8px;
}

.app-topbar {
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
}

.app-topbar span,
.app-topbar button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.app-greeting {
  margin-top: 34px;
}

.app-greeting small,
.status-panel span {
  color: rgba(255, 255, 255, 0.68);
}

.app-greeting h3 {
  margin: 8px 0 0;
  font-size: 2rem;
  line-height: 1.04;
}

.app-actions {
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
}

.app-actions button {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  font-weight: 800;
}

.status-panel {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.status-panel strong {
  display: block;
  margin-top: 5px;
}

.route-line {
  height: 8px;
  margin-top: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.route-line i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  animation: pulseRoute 2.2s infinite ease-in-out;
}

.mini-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}

.mini-grid span {
  min-height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.app-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  min-height: 236px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 22px;
}

.avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}

.avatar-one {
  background: linear-gradient(145deg, #0969ff, #37d5ff);
}

.avatar-two {
  background: linear-gradient(145deg, #0a1220, #77869a);
}

.avatar-three {
  background: linear-gradient(145deg, #00a4ff, #101827);
}

.stars {
  display: block;
  color: #ffb02e;
  letter-spacing: 0.08em;
}

.testimonial-card p {
  color: var(--muted);
  line-height: 1.6;
}

.testimonial-card strong,
.testimonial-card small {
  display: block;
}

.faq-list {
  display: grid;
  overflow: hidden;
}

.faq-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 22px;
  text-align: left;
  cursor: pointer;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item span {
  font-weight: 850;
}

.faq-item strong {
  color: var(--blue);
  font-size: 1.2rem;
}

.faq-item p {
  grid-column: 1 / -1;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.7;
  transition: max-height 220ms ease;
}

.faq-item[aria-expanded="true"] p {
  max-height: 160px;
}

.contact-layout {
  grid-template-columns: 1.2fr 0.8fr;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 760;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  color: var(--ink);
  padding: 12px 13px;
  outline: 0;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(9, 105, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(9, 105, 255, 0.12);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.contact-info {
  padding: 26px;
}

.contact-info h3 {
  margin: 0 0 18px;
  font-size: 1.7rem;
}

.contact-info a,
.contact-info p {
  display: block;
  color: var(--muted);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(9, 105, 255, 0.16), transparent);
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 46px max(22px, calc((100vw - var(--max)) / 2));
  background: #050914;
  color: #fff;
}

.site-footer p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 12px 24px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulseRoute {
  0%,
  100% {
    width: 58%;
  }
  50% {
    width: 76%;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(5, 12, 24, 0.95);
    backdrop-filter: blur(20px);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .theme-toggle {
    justify-self: end;
  }

  .about-grid,
  .contact-layout,
  .app-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .portfolio-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .chip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid,
  .app-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-layout {
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    height: 62px;
    gap: 8px;
  }

  .brand strong {
    max-width: 132px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14.5vw, 3.8rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .metric-grid,
  .service-grid,
  .feature-grid,
  .chip-grid,
  .product-grid,
  .portfolio-grid,
  .testimonial-grid,
  .app-feature-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .service-card {
    min-height: 0;
  }

  .phone-stage {
    min-height: 560px;
  }

  .phone-frame {
    width: min(286px, 100%);
    height: 550px;
  }

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

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

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