/* =========================================================
   SR INFOTECH — PREMIUM DESIGN SYSTEM
   ========================================================= */

:root {
  --bg: #050816;
  --bg-soft: #0a1020;
  --surface: #0d1426;
  --surface-light: #121b31;
  --text: #f5f7ff;
  --muted: #9aa5bd;
  --line: rgba(255,255,255,.10);
  --accent: #7c5cff;
  --accent-2: #00d9ff;
  --max: 1200px;
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: min(92%, var(--max));
  margin-inline: auto;
}

/* ================= HEADER ================= */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5,8,22,.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124,92,255,.7);
  border-radius: 50%;
  font-weight: 800;
  background: linear-gradient(135deg,#171039,#071e29);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name strong {
  font-size: .9rem;
  letter-spacing: .12em;
}

.brand-name small {
  margin-top: 5px;
  color: var(--muted);
  font-size: .55rem;
  letter-spacing: .18em;
}

.desktop-nav {
  display: flex;
  gap: 30px;
}

.desktop-nav a {
  color: var(--muted);
  font-size: .9rem;
  transition: .25s;
}

.desktop-nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
}

.nav-cta span {
  color: var(--accent-2);
}

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

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 78px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
}

.eyebrow {
  color: var(--accent-2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  margin-bottom: 22px;
}

.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 18px var(--accent-2);
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: .91;
  letter-spacing: -.065em;
  font-weight: 800;
}

.hero h1 span,
h2 span {
  display: block;
  background: linear-gradient(100deg,var(--accent),var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 600px;
  margin: 32px 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .25s, box-shadow .25s;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: white;
  background: linear-gradient(100deg,var(--accent),#426cff);
  box-shadow: 0 12px 40px rgba(92,75,255,.28);
}

.button-ghost {
  border: 1px solid var(--line);
  color: var(--muted);
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 35px;
  color: #66728d;
  font-size: .72rem;
  letter-spacing: .12em;
}

/* ================= AI VISUAL ================= */

.intelligence-visual {
  position: relative;
  width: min(520px, 90vw);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.visual-ring {
  position: absolute;
  border: 1px solid rgba(124,92,255,.28);
  border-radius: 50%;
}

.ring-one {
  width: 82%;
  height: 82%;
  animation: spin 20s linear infinite;
}

.ring-two {
  width: 62%;
  height: 62%;
  border-color: rgba(0,217,255,.28);
  animation: spin 14s linear infinite reverse;
}

.ring-three {
  width: 42%;
  height: 42%;
  animation: spin 9s linear infinite;
}

.visual-core {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  background: radial-gradient(circle,#24215d,#090c1d 70%);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow:
    0 0 70px rgba(124,92,255,.35),
    inset 0 0 40px rgba(0,217,255,.08);
}

.core-symbol {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.core-label {
  margin-top: 5px;
  color: var(--accent-2);
  font-size: .5rem;
  letter-spacing: .25em;
}

.node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 20px var(--accent-2);
}

.node-one { top: 10%; left: 48%; }
.node-two { right: 9%; top: 48%; }
.node-three { bottom: 12%; left: 48%; }
.node-four { left: 8%; top: 47%; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

.orb-one {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 10%;
  left: 35%;
}

.orb-two {
  width: 240px;
  height: 240px;
  background: var(--accent-2);
  right: 10%;
  bottom: 5%;
}

/* ================= SECTIONS ================= */

.section {
  padding: 130px 0;
}

.dark-section {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

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

h2 {
  font-size: clamp(2.8rem,5vw,5.2rem);
  line-height: .98;
  letter-spacing: -.05em;
}

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

.section-copy p + p {
  margin-top: 25px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}

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

/* ================= SOLUTIONS ================= */

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

.solution-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
  transition: .3s;
}

.solution-card:hover {
  transform: translateY(-7px);
  border-color: rgba(124,92,255,.5);
  background: rgba(124,92,255,.06);
}

.solution-card.featured {
  background: linear-gradient(145deg,rgba(124,92,255,.16),rgba(0,217,255,.035));
}

.card-number {
  color: #59647b;
  font-size: .72rem;
}

.card-icon {
  margin: 40px 0 20px;
  color: var(--accent-2);
  font-size: 1.8rem;
}

.solution-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.solution-card p {
  color: var(--muted);
  font-size: .92rem;
}

.solution-card a {
  position: absolute;
  left: 30px;
  bottom: 28px;
  color: var(--accent-2);
  font-size: .8rem;
  font-weight: 700;
}

/* ================= AI ================= */

.ai-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.large-copy {
  max-width: 600px;
  margin: 30px 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.ai-features {
  border-top: 1px solid var(--line);
}

.ai-feature {
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.ai-feature strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

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

/* ================= INDUSTRIES ================= */

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 60px;
}

.industry-list span {
  padding: 15px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  transition: .25s;
}

.industry-list span:hover {
  color: white;
  border-color: var(--accent);
}

/* ================= CAREERS / CONTACT ================= */

.careers,
.contact-box {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 90px;
  align-items: center;
}

.careers p,
.contact-box p {
  color: var(--muted);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.contact-section {
  background:
    radial-gradient(circle at 80% 30%,rgba(124,92,255,.13),transparent 35%);
}

/* ================= FOOTER ================= */

footer {
  padding: 60px 0 25px;
  background: #03050e;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  margin-bottom: 18px;
}

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

.footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: .85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 70px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #5d677c;
  font-size: .72rem;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-layout,
  .split,
  .ai-layout,
  .careers,
  .contact-box,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero {
    padding-top: 130px;
  }

  .intelligence-visual {
    width: 360px;
  }

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

}

@media (max-width: 600px) {

  .section {
    padding: 90px 0;
  }

  .hero h1 {
    font-size: clamp(3.4rem,17vw,5rem);
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .intelligence-visual {
    width: 300px;
  }

  .visual-core {
    width: 110px;
    height: 110px;
  }

  .core-symbol {
    font-size: 1.5rem;
  }

  .footer-grid,
  .footer-bottom {
    flex-direction: column;
  }

}
