/* ==========================================================================
   SAIS — Smart AI System
   VERSION: 13.2 — 2026-04-19 — screenshot image support (iframe removed)
   Base: v13.1 verbatim (unchanged) + v13.2 patches appended at end
   ========================================================================== */

/* Language switching — only show current language content */
[data-lang="ka"] .lang-en,
[data-lang="en"] .lang-ka {
  display: none !important;
}

:root {
  /* Default tweakable tokens */
  --accent-1: #3366FF;
  --accent-2: #6699FF;
  --accent-soft: #e9f0ff;
  --bg: #fdfdfd;
  --bg-tone: #f7f8fb;
  --ink: #0a0f1f;
  --ink-2: #1a2036;
  --ink-3: #4a5168;
  --ink-4: #7a819a;
  --line: rgba(10, 15, 31, 0.08);
  --line-2: rgba(10, 15, 31, 0.04);
  --glass: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 1px 2px rgba(10, 15, 31, 0.04), 0 2px 8px rgba(10, 15, 31, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 15, 31, 0.06), 0 12px 32px rgba(10, 15, 31, 0.06);
  --shadow-lg: 0 8px 24px rgba(51, 102, 255, 0.12), 0 24px 64px rgba(51, 102, 255, 0.08);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans Georgian", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "calt";
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* Page backdrop — subtle ambient glows */
.page {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}
.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(102, 153, 255, 0.12), transparent 60%),
    radial-gradient(700px 500px at -10% 40%, rgba(51, 102, 255, 0.08), transparent 60%),
    radial-gradient(800px 500px at 110% 90%, rgba(102, 153, 255, 0.10), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1280px;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 20px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 8px 28px rgba(10, 15, 31, 0.06);
  transition: padding 0.3s ease, top 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.nav-logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  position: relative;
  box-shadow: 0 4px 14px rgba(51, 102, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
}
.nav-logo-mark::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 7px;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.25));
  pointer-events: none;
}

.nav-menu {
  display: flex;
  gap: 4px;
  justify-self: center;
}
.nav-menu a {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink-3);
  border-radius: 100px;
  transition: all 0.2s;
  font-weight: 500;
}
.nav-menu a:hover {
  color: var(--ink);
  background: rgba(10, 15, 31, 0.04);
}

.nav-right {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-self: end;
}

.lang-switch {
  display: flex;
  background: rgba(10, 15, 31, 0.04);
  border-radius: 100px;
  padding: 3px;
  font-size: 12px;
  font-weight: 600;
  font-family: "JetBrains Mono", monospace;
}
.lang-switch button {
  padding: 5px 10px;
  border-radius: 100px;
  color: var(--ink-4);
  transition: all 0.2s;
}
.lang-switch button.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(10, 15, 31, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: white;
  box-shadow: 0 2px 6px rgba(51, 102, 255, 0.25), 0 8px 20px rgba(51, 102, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(51, 102, 255, 0.3), 0 12px 28px rgba(51, 102, 255, 0.25);
}
.btn-ghost {
  background: rgba(10, 15, 31, 0.04);
  color: var(--ink);
}
.btn-ghost:hover {
  background: rgba(10, 15, 31, 0.08);
}
.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
}
.btn-whatsapp:hover {
  background: #25D366;
  color: white;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px 0 120px;
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-canvas canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 100px;
  background: white;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 0 0 3px rgba(51, 102, 255, 0.15);
  position: relative;
}
.badge-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent-1);
  opacity: 0.3;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.8); opacity: 0; }
}

.hero-title {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 24px 0 20px;
  color: var(--ink);
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--accent-1) 20%, var(--accent-2) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-desc {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 540px;
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  max-width: 640px;
}
.hero-stat {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.hero-stat:first-child { border-left: none; padding-left: 0; }
.hero-stat-value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.hero-stat-label {
  font-size: 12px;
  color: var(--ink-4);
  margin-top: 4px;
  line-height: 1.3;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

/* ==========================================================================
   Section shared
   ========================================================================== */
.section {
  padding: 120px 0;
  position: relative;
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent-1);
}
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 680px;
}
.section-title .accent {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 420px;
  padding-bottom: 8px;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--line);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(51, 102, 255, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(51, 102, 255, 0.2);
}
.service-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--ink-4);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(51, 102, 255, 0.1), rgba(102, 153, 255, 0.05));
  border: 1px solid rgba(51, 102, 255, 0.15);
  display: grid;
  place-items: center;
  color: var(--accent-1);
  margin: 12px 0 24px;
  position: relative;
}
.service-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 50%);
  pointer-events: none;
}
.service-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.service-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  flex: 1;
}
.service-arrow {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--accent-1);
  font-weight: 500;
  transition: gap 0.2s;
}
.service-card:hover .service-arrow { gap: 10px; }

/* ==========================================================================
   Process
   ========================================================================== */
.process-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(247, 248, 251, 0.8) 20%, rgba(247, 248, 251, 0.8) 80%, transparent);
  pointer-events: none;
}
.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-line {
  position: absolute;
  top: 32px;
  left: calc(12.5% + 40px);
  right: calc(12.5% + 40px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-1) 20%, var(--accent-2) 80%, transparent);
  opacity: 0.3;
}
.process-step {
  text-align: left;
  position: relative;
}
.process-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.process-num::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent-1), var(--accent-2), var(--accent-1));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.process-step:hover .process-num::before { opacity: 1; }
.process-step:hover .process-num {
  color: var(--accent-1);
}
.process-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.process-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio-featured {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 24px;
  background: #0a0f1f;
  color: white;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  isolation: isolate;
}
.portfolio-featured-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, #3366FF 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, #6699FF 0%, transparent 40%),
    radial-gradient(circle at 60% 20%, #a5c0ff 0%, transparent 35%),
    linear-gradient(135deg, #0a0f1f, #1a2554);
  animation: mesh-drift 20s ease-in-out infinite alternate;
  z-index: -1;
}
@keyframes mesh-drift {
  0% { transform: scale(1) rotate(0deg); filter: hue-rotate(0deg); }
  100% { transform: scale(1.15) rotate(5deg); filter: hue-rotate(15deg); }
}
.portfolio-featured-content {
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.portfolio-featured-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  align-self: flex-start;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
  animation: pulse-live 2s infinite;
}
@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.0); }
}
.portfolio-featured-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 24px 0 20px;
}
.portfolio-featured-desc {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
}
.portfolio-featured-meta {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}
.portfolio-meta-item .k {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.portfolio-meta-item .v {
  font-size: 14px;
  font-weight: 500;
  margin-top: 4px;
}
.portfolio-featured-preview {
  position: relative;
  padding: 48px;
  display: grid;
  place-items: center;
}
.browser-mock {
  width: 100%;
  max-width: 460px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-6deg) rotateX(4deg);
  transition: transform 0.4s ease;
}
.portfolio-featured:hover .browser-mock {
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg) scale(1.02);
}
.browser-mock-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #f3f4f7;
  border-bottom: 1px solid rgba(10, 15, 31, 0.05);
  align-items: center;
}
.browser-dots { display: flex; gap: 5px; }
.browser-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #dadce4;
}
.browser-url {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--ink-4);
  margin-left: 8px;
  padding: 3px 10px;
  background: white;
  border-radius: 100px;
  flex: 1;
}
.browser-mock-body {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #e9f0ff, #f7f9ff);
  position: relative;
  padding: 18px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}
.mock-skel-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-skel-head::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}
.mock-skel-head::after {
  content: "";
  flex: 1;
  height: 6px;
  background: rgba(10, 15, 31, 0.1);
  border-radius: 100px;
  max-width: 120px;
}
.mock-skel-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mock-skel-body > div {
  background: white;
  border-radius: 8px;
  border: 1px solid rgba(10, 15, 31, 0.05);
  min-height: 80px;
  position: relative;
  overflow: hidden;
}
.mock-skel-body > div::after {
  content: "";
  position: absolute;
  bottom: 10px; left: 10px; right: 10px;
  height: 4px;
  border-radius: 4px;
  background: rgba(10, 15, 31, 0.08);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.portfolio-card {
  position: relative;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--line);
  min-height: 260px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(51, 102, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.portfolio-card:hover::before { opacity: 1; }
.portfolio-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(51, 102, 255, 0.2);
  transform: translateY(-2px);
}
.portfolio-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.portfolio-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  letter-spacing: 0.03em;
  align-self: flex-start;
}
.portfolio-status.live {
  background: rgba(74, 222, 128, 0.12);
  color: #16a34a;
}
.portfolio-status.dev {
  background: rgba(251, 146, 60, 0.12);
  color: #ea580c;
}
.portfolio-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.portfolio-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 14px 0 8px;
}
.portfolio-url {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--accent-1);
  margin-bottom: 14px;
}
.portfolio-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 380px;
}
.portfolio-thumb {
  width: 140px;
  height: 140px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft), #f5f7ff);
  border: 1px solid rgba(51, 102, 255, 0.12);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  align-self: center;
  flex-shrink: 0;
}
.portfolio-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(51, 102, 255, 0.04) 8px 9px);
}
.portfolio-thumb svg { position: relative; z-index: 1; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.about-text p { margin-bottom: 22px; }
.about-text strong {
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(180deg, transparent 60%, rgba(51, 102, 255, 0.15) 60%);
}
.about-glass {
  position: relative;
  padding: 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
}
.about-glass::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 20%, rgba(51, 102, 255, 0.2), transparent 50%);
  z-index: -1;
}
.about-glass-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-1);
  margin-bottom: 20px;
}
.about-features { display: grid; gap: 4px; }
.about-feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 14px 0;
  align-items: start;
  border-bottom: 1px solid var(--line-2);
}
.about-feature:last-child { border-bottom: none; }
.about-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(51, 102, 255, 0.12), rgba(102, 153, 255, 0.06));
  border: 1px solid rgba(51, 102, 255, 0.15);
  color: var(--accent-1);
  display: grid;
  place-items: center;
}
.about-feature-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.about-feature-desc {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
  line-height: 1.45;
}

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.team-card {
  position: relative;
}
.team-photo-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-soft), #f5f7ff);
  margin-bottom: 16px;
  transition: transform 0.3s;
}
.team-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: conic-gradient(from 0deg, var(--accent-1), var(--accent-2), var(--accent-1));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.team-card:hover .team-photo-wrap {
  transform: translateY(-4px);
}
.team-card:hover .team-photo-wrap::before {
  opacity: 1;
}
.team-photo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(51, 102, 255, 0.04) 12px 13px),
    linear-gradient(135deg, var(--accent-soft), #f5f7ff);
  color: var(--accent-1);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  flex-direction: column;
  gap: 8px;
}
.team-photo-initials {
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.team-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.team-role {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.4;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-method {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding 0.2s;
}
.contact-method:hover { padding-left: 6px; }
.contact-method:last-child { border-bottom: none; }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(51, 102, 255, 0.1), rgba(102, 153, 255, 0.05));
  border: 1px solid rgba(51, 102, 255, 0.15);
  color: var(--accent-1);
  display: grid;
  place-items: center;
}
.contact-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}
.contact-value {
  font-size: 16px;
  font-weight: 500;
  margin-top: 2px;
  color: var(--ink);
}

.contact-form {
  position: relative;
  padding: 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 70% 30%, rgba(51, 102, 255, 0.15), transparent 50%);
  z-index: -1;
}
.form-row {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}
.form-row label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-row input,
.form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 15px;
  color: var(--ink);
  transition: all 0.2s;
  font-family: inherit;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-1);
  box-shadow: 0 0 0 4px rgba(51, 102, 255, 0.12), 0 0 24px rgba(51, 102, 255, 0.08);
}
.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  background: linear-gradient(180deg, transparent, rgba(247, 248, 251, 0.6));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.footer-col a:hover { color: var(--accent-1); }
.footer-about {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 20px 0 0;
  max-width: 340px;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-4);
}

/* ==========================================================================
   Tweaks panel
   ========================================================================== */
.tweaks {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 20px;
  z-index: 200;
  font-size: 13px;
}
.tweaks-title {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 16px;
  color: var(--ink-3);
}
.tweaks-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.tweaks-label {
  font-size: 12px;
  color: var(--ink-3);
}
.tweaks-options {
  display: flex;
  gap: 4px;
}
.tweaks-options button {
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 6px;
  background: var(--bg-tone);
  color: var(--ink-3);
}
.tweaks-options button.active {
  background: var(--ink);
  color: white;
}
.tweaks-color {
  display: flex;
  gap: 6px;
}
.tweaks-color button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
}
.tweaks-color button.active {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 2px white;
}

/* ==========================================================================
   Responsive (lean — desktop first for this design)
   ========================================================================== */
@media (max-width: 980px) {
  .hero-inner { padding: 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .portfolio-featured { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================================
   v13.1 PATCHES — minimal additions, no existing rules overridden
   ========================================================================== */

/* Patch 1: Hero title — wider, fix gradient text clipping, shift slightly left */
.hero-title {
  max-width: 900px;
  line-height: 1.15;
  padding-bottom: 0.15em;
}
.hero-title .accent {
  display: inline-block;
  padding-bottom: 0.18em;
  line-height: 1.1;
}
.hero-inner {
  padding-left: 80px;
  padding-right: 40px;
}
@media (max-width: 1100px) {
  .hero-inner {
    padding-left: 40px;
    padding-right: 24px;
  }
}

/* Patch 2: Hide empty hero-visual column (no image needed) */
.hero-visual {
  display: none;
}
.hero-grid {
  grid-template-columns: 1fr;
}

/* Patch 3: Logo image support (nav + footer) */
.nav-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.nav-logo-mark:has(img) {
  background: transparent;
  box-shadow: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
}
.nav-logo-mark:has(img)::after {
  display: none;
}
.nav-logo-text {
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

/* Patch 4: Featured card — FORCE white text (override color: inherit from link) */
a.portfolio-featured-link {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  transition: transform 0.3s ease;
}
a.portfolio-featured-link:hover {
  transform: translateY(-4px);
}
a.portfolio-featured-link .portfolio-featured-content,
a.portfolio-featured-link .portfolio-featured-title,
a.portfolio-featured-link .portfolio-featured-label,
a.portfolio-featured-link .portfolio-meta-item .v {
  color: #fff;
}
a.portfolio-featured-link .portfolio-featured-desc {
  color: rgba(255, 255, 255, 0.85);
}
a.portfolio-featured-link .portfolio-meta-item .k {
  color: rgba(255, 255, 255, 0.6);
}

/* Patch 5: Portfolio card links */
a.portfolio-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Patch 6: Real logo in portfolio thumb — properly centered with padding */
.portfolio-thumb {
  padding: 18px;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  border-radius: 0;
  display: block;
  margin: auto;
}
.portfolio-thumb:not(.no-logo) .portfolio-thumb-fallback {
  display: none;
}
.portfolio-thumb:not(.no-logo)::before {
  opacity: 0.5;
}

/* Patch 7: LIVE iframe preview for featured card */
.portfolio-live-preview {
  width: 100%;
  max-width: 520px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-6deg) rotateX(4deg);
  transition: transform 0.4s ease;
}
.portfolio-featured-link:hover .portfolio-live-preview {
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg) scale(1.02);
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f3f4f7;
  border-bottom: 1px solid rgba(10, 15, 31, 0.06);
}
.browser-chrome .browser-dots {
  display: flex;
  gap: 5px;
}
.browser-chrome .browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dadce4;
}
.browser-chrome .browser-url {
  flex: 1;
  background: white;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  color: #666;
  font-family: "JetBrains Mono", monospace;
  border: 1px solid rgba(10, 15, 31, 0.05);
}
.iframe-wrap {
  position: relative;
  width: 100%;
  height: 340px;
  background: white;
  overflow: hidden;
}
.iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  /* Render iframe at 200% and scale down to 50% — shows more content, looks cleaner */
  width: 200%;
  height: 680px;
  border: 0;
  transform: scale(0.5);
  transform-origin: 0 0;
  pointer-events: none;
}
.iframe-click-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

/* Patch 8: Team real photos */
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.team-photo.photo-loaded .team-photo-initials,
.team-photo.photo-loaded .photo-placeholder {
  display: none;
}

/* Patch 9: Form validation notices */
.form-notice {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
}
.notice-success {
  background: rgba(74, 222, 128, 0.12);
  color: #0d7a2f;
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.notice-error {
  background: rgba(255, 80, 80, 0.1);
  color: #b42020;
  border: 1px solid rgba(255, 80, 80, 0.25);
}

/* Patch 10: WhatsApp floating button */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25D366 0%, #20BD5A 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4), 0 0 0 4px rgba(37, 211, 102, 0.08);
  z-index: 90;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
}
.wa-float svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

/* Patch 11: Mobile menu (hidden on desktop) */
.mobile-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

@media (max-width: 980px) {
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
  }
  .mobile-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
  }
  .mobile-menu {
    display: block;
    position: fixed;
    top: 80px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
    box-shadow: var(--shadow-md);
  }
  .mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .mobile-menu a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-2);
    color: var(--ink-3);
    font-size: 16px;
    font-weight: 500;
  }
  .mobile-menu a:last-child {
    border-bottom: none;
  }
  .nav-right > .btn:not(.mobile-toggle) {
    display: none;
  }
}

/* ==========================================================================
   v13.2 PATCHES — Portfolio featured: screenshot image replaces iframe
   Added: 2026-04-19
   No v13.1 rules overridden. Legacy .iframe-wrap rules kept for safety.
   ========================================================================== */

/* Screenshot container — new element inside .portfolio-live-preview,
   replaces .iframe-wrap (which is kept above but unused) */
.preview-screenshot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e9f0ff, #f7f9ff);
  overflow: hidden;
}
.preview-screenshot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.portfolio-featured-link:hover .preview-screenshot img {
  transform: scale(1.04);
}

/* Stronger hover scale for screenshot — overrides v13.1 Patch 7 hover
   (same specificity, later in cascade = this wins, intentional) */
.portfolio-featured-link:hover .portfolio-live-preview {
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg) scale(1.03);
}

/* Animated fallback — shown if smartzugdidi-preview.jpg not uploaded yet.
   No empty box: shimmer header + 6 shine-animated content blocks. */
.preview-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e9f0ff 0%, #f7f9ff 100%);
  overflow: hidden;
}
.preview-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 24px, rgba(51, 102, 255, 0.035) 24px 25px);
  pointer-events: none;
}
.fallback-inner {
  position: absolute;
  inset: 0;
  padding: 22px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  z-index: 1;
}
.fallback-header {
  height: 14px;
  max-width: 140px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-1));
  background-size: 200% 100%;
  animation: fb-shimmer 2.5s linear infinite;
}
@keyframes fb-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.fallback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
}
.fallback-grid > div {
  background: white;
  border: 1px solid rgba(10, 15, 31, 0.06);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(10, 15, 31, 0.04);
}
.fallback-grid > div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(51, 102, 255, 0.12) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: fb-shine 3s ease-in-out infinite;
}
.fallback-grid > div:nth-child(1)::after { animation-delay: 0.00s; }
.fallback-grid > div:nth-child(2)::after { animation-delay: 0.15s; }
.fallback-grid > div:nth-child(3)::after { animation-delay: 0.30s; }
.fallback-grid > div:nth-child(4)::after { animation-delay: 0.45s; }
.fallback-grid > div:nth-child(5)::after { animation-delay: 0.60s; }
.fallback-grid > div:nth-child(6)::after { animation-delay: 0.75s; }
@keyframes fb-shine {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}