/* DaiTeck - base: global, header, hero (shared by all pages) */
/* =========================
   GLOBAL SETTINGS
========================= */
:root {
  --bg: #061225;
  --bg-light: #0a1b33;
  --card: #0a1a30;
  --cyan: #13dfd0;
  --blue: #249bff;
  --white: #f5f8ff;
  --muted: #a8b9d1;
  --border: rgba(36, 155, 255, .28);
  --font: "B Nazanin", Tahoma, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.9;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

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

section {
  scroll-margin-top: 90px;
}

.section {
  padding: 72px 0;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

.section-label {
  display: inline-block;
  color: var(--cyan);
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 5px;
}

.section-heading h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.5;
  color: var(--white);
}

.section-heading p {
  color: var(--muted);
  font-size: 19px;
  margin-top: 10px;
}

.gradient-text {
  color: var(--cyan);
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  inset: 8px 0 auto;
  z-index: 1000;
  padding: 0 4%;
  transition: top .25s ease;
}

.header-inner {
  width: min(1120px, 100%);
  min-height: 70px;
  margin: auto;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  direction: rtl;
  background: rgba(5, 18, 37, .91);
  border: 1px solid rgba(75, 169, 255, .27);
  border-radius: 15px;
  box-shadow: 0 12px 35px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header.scrolled {
  top: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  order: 2;
  flex-shrink: 0;
}

.brand-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #061225;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font: 900 25px Arial, sans-serif;
  box-shadow: 0 0 24px rgba(19,223,208,.18);
}

.brand-name {
  display: block;
  font: 800 24px Arial, sans-serif;
  line-height: 1.3;
  letter-spacing: -.7px;
}

.brand-name span {
  color: var(--cyan);
}

.brand-tagline {
  display: block;
  color: #94a8c4;
  font: 8px Arial, sans-serif;
  letter-spacing: 1.7px;
  margin-top: 3px;
}

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

.nav-link {
  position: relative;
  color: #d1dced;
  font-size: 20px;
  font-weight: bold;
  white-space: nowrap;
  transition: color .2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width .25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 20px;
  border: 1px solid transparent;
  border-radius: 50px;
  font-size: 19px;
  font-weight: bold;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.btn-primary {
  color: #041427;
  background: linear-gradient(110deg, var(--blue), var(--cyan));
  box-shadow: 0 5px 22px rgba(19,223,208,.12);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(19,223,208,.25);
}

.btn-outline {
  color: var(--white);
  border-color: var(--blue);
  background: transparent;
}

.nav-cta {
  order: 0;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 43px;
  height: 43px;
  color: white;
  border: 1px solid #ffffff28;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: white;
  transition: transform .2s, opacity .2s;
}

.menu-toggle.open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  isolation: isolate;
  padding: 145px 0 45px;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(0,119,255,.16), transparent 42%),
    radial-gradient(ellipse at 10% 70%, rgba(0,223,210,.08), transparent 32%),
    linear-gradient(145deg, #061225, #08182d 65%, #061225);
  overflow: hidden;
  background-image: url(../img/daiTeck-background01.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .14;
  background-image:
    linear-gradient(rgba(80,150,255,.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80,150,255,.2) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: linear-gradient(to left, black, transparent 85%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 50px;
}

.hero-copy {
  max-width: 540px;
}

.hero-kicker {
  color: var(--cyan);
  font-size: 18px;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(34px, 4.2vw, 53px);
  line-height: 1.55;
  margin-bottom: 16px;
}

.hero h1 span {
  display: block;
  color: var(--cyan);
}

.hero-description {
  color: #bdcce0;
  font-size: 20px;
  line-height: 2;
  max-width: 510px;
}

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

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

.visual-orb {
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: rgba(0,126,255,.19);
  filter: blur(65px);
}

.code-window {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 22px;
  border-radius: 19px;
  border: 1px solid rgba(48,161,255,.55);
  background: linear-gradient(145deg, rgba(13,36,66,.98), rgba(4,15,32,.96));
  box-shadow: 0 25px 70px rgba(0,0,0,.3), 0 0 35px rgba(36,155,255,.08);
  transform: perspective(900px) rotateY(-4deg);
}

.code-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ffffff18;
}

.dots {
  display: flex;
  gap: 6px;
  direction: ltr;
}

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6475;
}

.dots i:nth-child(2) {
  background: #ffc75e;
}

.dots i:nth-child(3) {
  background: var(--cyan);
}

.code-title {
  color: #b7c9e1;
  font: 11px Arial, sans-serif;
}

.code {
  direction: ltr;
  text-align: left;
  padding-top: 20px;
  font: 13px/2.2 Consolas, monospace;
  color: #c3d4ea;
  overflow: hidden;
}

.code .blue { color: #65aaff; }
.code .cyan { color: var(--cyan); }
.code .orange { color: #ffca87; }
.code .purple { color: #c8a4ff; }

.code-footer {
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid #ffffff18;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #bbccdf;
  font-size: 16px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
