:root {
  --bg: #060a14;
  --surface: rgba(14, 20, 36, 0.94);
  --surface-strong: #0f1629;
  --surface-soft: #131b30;
  --surface-elevated: #182038;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --accent-glow: rgba(0, 212, 255, 0.25);
  --text: #e8edf5;
  --muted: #8b9cb3;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(0, 212, 255, 0.28);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 64px rgba(2, 6, 20, 0.45);
  --max-width: 1280px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 85% -10%, rgba(0, 212, 255, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 40% at 5% 100%, rgba(56, 120, 200, 0.08), transparent 45%),
    linear-gradient(180deg, #030610 0%, var(--bg) 40%, #080d1a 100%);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

main {
  overflow-x: hidden;
}

button {
  font: inherit;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 212, 255, 0.06), transparent 22%),
    radial-gradient(circle at 88% 8%, rgba(99, 179, 237, 0.08), transparent 20%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* ── Header ── */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 20, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.logo a {
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-btn {
  white-space: nowrap;
  font-size: 0.9rem;
  padding: 11px 22px;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #020617;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.btn-inline {
  margin-top: 20px;
  font-size: 0.9rem;
  padding: 12px 24px;
}

.map-btn {
  padding: 10px 18px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0, 212, 255, 0.3);
  font-size: 0.88rem;
}

.map-btn:hover {
  background: rgba(0, 212, 255, 0.18);
  color: #fff;
}

/* ── Hero ── */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: 88vh;
  padding: 72px 48px 56px;
  max-width: calc(var(--max-width) + 96px);
  margin: 0 auto;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  color: #f4f7fc;
  letter-spacing: -0.02em;
}

.hero-text {
  margin-top: 22px;
  font-size: 1.05rem;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-trust {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-trust > span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.client-tags li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 255, 0.18);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-highlights {
  display: grid;
  gap: 18px;
}

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.highlight-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.card-icon {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0.7;
}

.highlight-card h3 {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.highlight-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ── Stats ── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0 48px 64px;
  max-width: calc(var(--max-width) + 96px);
  margin: 0 auto;
}

.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.stat-box h2 {
  color: var(--accent);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-box p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ── Sections ── */

.section-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 600;
}

.section-intro h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #f0f4fa;
}

.section-intro p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
}

.about,
.services,
.projects,
.why-section,
.contact-section {
  padding: 72px 0 24px;
}

.vision-grid {
  padding: 72px 0 24px;
}

/* ── About ── */

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0 48px;
  max-width: calc(var(--max-width) + 96px);
  margin: 0 auto;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.about-card h3 {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.accent-card {
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.06) 0%, var(--surface) 60%);
  border-color: rgba(0, 212, 255, 0.15);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  color: var(--muted);
  font-size: 0.92rem;
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ── Cards ── */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}

/* ── Services ── */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 0 48px;
  max-width: calc(var(--max-width) + 96px);
  margin: 0 auto;
}

.service-panel-wide {
  grid-column: 1 / -1;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.service-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.service-panel h3 {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.service-panel ul,
.service-columns {
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.service-panel li {
  color: var(--muted);
  font-size: 0.9rem;
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}

.service-panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ── Expertise / Tech Tags ── */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0 48px;
  max-width: calc(var(--max-width) + 96px);
  margin: 0 auto;
}

.feature-card h3 {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tags span {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.feature-card:hover .tech-tags span {
  border-color: rgba(0, 212, 255, 0.15);
}

.tech-tags.compact span {
  font-size: 0.72rem;
  padding: 4px 9px;
}

/* ── Projects ── */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0 48px;
  max-width: calc(var(--max-width) + 96px);
  margin: 0 auto;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.project-client {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-domain {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.project-card h3 {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.project-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  flex: 1;
}

.project-card .tech-tags {
  margin-top: auto;
  padding-top: 8px;
}

/* ── Why Section ── */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0 48px;
  max-width: calc(var(--max-width) + 96px);
  margin: 0 auto;
}

.why-card h3 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Contact ── */

.contact-section .contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  padding: 0 48px 64px;
  max-width: calc(var(--max-width) + 96px);
  margin: 0 auto;
}

.contact-form {
  background: var(--surface-strong);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #5a6a82;
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238b9cb3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
  margin-top: 4px;
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-card h3 {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.contact-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.contact-line span {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5a6a82;
  min-width: 48px;
}

.contact-line a {
  color: var(--text);
  text-decoration: none;
}

.contact-line a:hover {
  color: var(--accent);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-card .btn {
  font-size: 0.88rem;
  padding: 11px 20px;
}

/* ── Footer ── */

footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  background: rgba(4, 7, 14, 0.95);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

footer p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.footer-tagline {
  margin-top: 8px;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ── Responsive ── */

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 32px 40px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .expertise-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 16px 20px;
    flex-wrap: wrap;
  }

  nav {
    gap: 18px;
    order: 3;
    width: 100%;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    padding: 48px 20px 32px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .stats,
  .about-grid,
  .service-grid,
  .expertise-grid,
  .project-grid,
  .why-grid,
  .contact-section .contact-grid {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-panel-wide {
    grid-column: auto;
  }

  .contact-form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .header-actions {
    flex-direction: column;
    width: 100%;
  }

  .header-actions .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
