/* ─────────────────────────────── TOKENS ─────────────────────────────── */
:root {
  --bg: #0a0c12;
  --surface: #10141f;
  --surface-2: #161b28;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --accent: #4f7cff;
  --accent-2: #a259ff;
  --accent-3: #00e5c8;
  --text: #e8eaf0;
  --text-muted: #7a849a;
  --text-dim: #4a5368;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 16px;
}

/* ─────────────────────────────── RESET ─────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ─────────────────────────────── UTILITIES ─────────────────────────────── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding-block: clamp(4rem, 10vw, 7rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-label.light {
  color: var(--accent-3);
}

.section-label.light::before {
  background: var(--accent-3);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.625rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 0 24px rgba(79, 124, 255, .35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(79, 124, 255, .55);
}

.btn-ghost {
  border: 1.5px solid var(--border-hover);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.full-w {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-sm);
}

/* ─────────────────────────────── 3CX WIDGET OVERRIDES ─────────────────────────────── */
/* Hide the default 3CX floating bubble globally. The chat will only open via custom UI triggers */
call-us-selector {
  display: none !important;
}

/* ─────────────────────────────── NAVBAR ─────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding-block: 1rem;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 12, 18, .85);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  word-spacing: 0;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.logo-icon {
  font-size: 1.5rem;
  line-height: 1;
  filter: hue-rotate(200deg);
}

.logo-accent {
  color: var(--accent);
  letter-spacing: -.02em;
  word-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  padding: .4rem .85rem;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.btn-support {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important;
  padding: .45rem 1.1rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 0 20px rgba(79, 124, 255, .3);
  transition: var(--transition) !important;
}

.btn-support:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(79, 124, 255, .5) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─────────────────────────────── HERO ─────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(79, 124, 255, .12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 70%, rgba(162, 89, 255, .08) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-block: 3rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 10px var(--accent-3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .4
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.03em;
}

.stat>span:last-child {
  font-size: .78rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero visual */
.hero-visual {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 580px;
  height: 580px;
  pointer-events: none;
  z-index: 1;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid var(--border);
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 200px;
  height: 200px;
  animation: spin 20s linear infinite;
  border-color: rgba(79, 124, 255, .25);
}

.ring-2 {
  width: 340px;
  height: 340px;
  animation: spin 30s linear infinite reverse;
  border-color: rgba(162, 89, 255, .15);
}

.ring-3 {
  width: 480px;
  height: 480px;
  animation: spin 45s linear infinite;
  border-color: rgba(79, 124, 255, .08);
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg)
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg)
  }
}

.orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, var(--accent-2) 60%, transparent 100%);
  filter: blur(2px);
  box-shadow: 0 0 60px rgba(79, 124, 255, .6), 0 0 120px rgba(79, 124, 255, .3);
  animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1)
  }

  50% {
    transform: translate(-50%, -50%) scale(1.12)
  }
}

/* ─────────────────────────────── ABOUT ─────────────────────────────── */
.about-section {
  background: var(--surface);
}

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

.about-left h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.about-left p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-top: 1.75rem;
}

.badge {
  padding: .35rem .9rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  border: 1.5px solid var(--border-hover);
  color: var(--text-muted);
  background: var(--surface-2);
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.a-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.a-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.a-icon {
  font-size: 1.75rem;
  margin-bottom: .75rem;
}

.a-card h4 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.a-card p {
  font-size: .85rem;
  color: var(--text-muted);
}

/* ─────────────────────────────── SOLUTIONS ─────────────────────────────── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sol-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.sol-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.sol-card.featured {
  background: linear-gradient(135deg, rgba(79, 124, 255, .08), rgba(162, 89, 255, .06));
  border-color: rgba(79, 124, 255, .3);
}

.sol-icon {
  font-size: 2rem;
}

.sol-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.sol-card p {
  font-size: .875rem;
  color: var(--text-muted);
}

.sol-card ul {
  margin-left: 0;
}

.sol-card ul li {
  font-size: .8rem;
  color: var(--text-dim);
  padding: .25rem 0;
  border-top: 1px solid var(--border);
}

.sol-card ul li:first-child {
  border-top: none;
}

.sol-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.sol-link:hover {
  gap: .4rem;
  color: var(--accent-2);
}

/* ─────────────────────────────── SERVICES ─────────────────────────────── */
.services-section {
  background: var(--surface);
}

.services-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.srv-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.srv-card:hover {
  border-color: rgba(79, 124, 255, .4);
  transform: translateY(-4px);
  box-shadow: 0 4px 28px rgba(79, 124, 255, .1);
}

.srv-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--border-hover);
  font-variant-numeric: tabular-nums;
}

.srv-card h3 {
  font-size: 1rem;
  font-weight: 700;
}

.srv-card p {
  font-size: .86rem;
  color: var(--text-muted);
  flex: 1;
}

.srv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .25rem;
}

.srv-tags span {
  padding: .25rem .65rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-dim);
}

/* ─────────────────────────────── QUICK SUPPORT ─────────────────────────────── */
.support-section {
  background: linear-gradient(135deg, rgba(79, 124, 255, .07), rgba(162, 89, 255, .05) 60%, rgba(0, 229, 200, .04));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.support-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.support-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.support-text p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.support-channels {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  width: 100%;
}

.channel-card:hover {
  border-color: var(--accent-3);
  transform: translateX(4px);
}

.ch-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.channel-card strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
}

.channel-card small {
  color: var(--text-muted);
  font-size: .8rem;
}

.support-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.support-form-wrap h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

/* ─────────────────────────────── CONTACT ─────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.info-item strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .15rem;
}

.info-item small {
  color: var(--text-muted);
  font-size: .82rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

/* ─────────────────────────────── INPUTS ─────────────────────────────── */
input,
textarea,
select {
  width: 100%;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: .875rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-dim);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 124, 255, .12);
}

select option {
  background: var(--surface-2);
  color: var(--text);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  font-size: .8rem;
  color: var(--accent-3);
  margin-top: .25rem;
  min-height: 1.2em;
}

/* ─────────────────────────────── FOOTER ─────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: .875rem;
  margin-top: .75rem;
  max-width: 200px;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.fl-col {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.fl-col strong {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dim);
  margin-bottom: .25rem;
}

.fl-col a {
  font-size: .875rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.fl-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.5rem;
  font-size: .8rem;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-dim);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--text-muted);
}

/* ─────────────────────────────── SCROLL FADE-IN ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    width: 380px;
    height: 380px;
    right: -40px;
  }

  .ring-3 {
    width: 320px;
    height: 320px;
  }

  .ring-2 {
    width: 230px;
    height: 230px;
  }

  .ring-1 {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 70px 0 0;
    background: rgba(10, 12, 18, .97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .hero-visual {
    display: none;
  }

  .about-grid,
  .support-inner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-cards {
    grid-template-columns: 1fr 1fr;
  }

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

  .services-row {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 2rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .about-cards {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat-divider {
    display: none;
  }
}