@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg:        #08090e;
  --bg-dark:   #050508;
  --bg-card:   #0f1018;
  --bg-border: rgba(255,255,255,0.06);
  --accent:    #6d6aff;
  --accent-2:  #a78bfa;
  --white:     #f4f4f8;
  --gray:      rgba(255,255,255,0.45);
  --gray-dim:  rgba(255,255,255,0.18);
  --font:      'Inter', system-ui, sans-serif;
  --radius:    6px;
  --tr:        0.3s ease;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── UTILITIES ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; }
.section--dark { background: var(--bg-dark); }

.section-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  padding: 4px 12px;
  border: 1px solid rgba(109,106,255,0.3);
  border-radius: 100px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tr);
  border: 1.5px solid transparent;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover { background: #5855e8; border-color: #5855e8; }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--bg-border);
}
.btn--outline:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }

.btn--full { width: 100%; justify-content: center; }

/* ── TOPBAR ── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  height: 36px;
  background: rgba(8,9,14,0.97);
  border-bottom: 1px solid var(--bg-border);
  backdrop-filter: blur(12px);
}

.topbar__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.38);
}

.topbar__left svg,
.topbar__right svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  stroke: var(--accent);
  opacity: 0.7;
}

.topbar__right a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.38);
  transition: color var(--tr);
}
.topbar__right a:hover { color: var(--white); }

.topbar__divider {
  width: 1px;
  height: 12px;
  background: var(--bg-border);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 100;
  transition: var(--tr);
}

.nav.scrolled {
  background: rgba(8, 9, 14, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-border);
}

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__logo-text {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
}

.nav__logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 12px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  transition: var(--tr);
}
.nav__links a:hover { color: var(--white); }

.nav__cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}
.nav__cta:hover { background: #5855e8 !important; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: var(--tr);
}

.nav__mobile {
  display: flex;
  flex-direction: column;
  background: rgba(8,9,14,0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--bg-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1);
}
.nav__mobile.open { max-height: 420px; }
.nav__mobile a {
  padding: 15px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  border-bottom: 1px solid var(--bg-border);
  transition: var(--tr);
}
.nav__mobile a:hover { color: var(--white); }

.nav__mobile-lang {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px;
  border-top: 1px solid var(--bg-border);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(109,106,255,0.12) 0%, transparent 70%);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 28px 80px;
  width: 100%;
}

.hero__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero__title {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 700px;
}

[lang="ka"] .hero__title { max-width: 1000px; font-size: 60px; }

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

.hero__sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--gray);
  max-width: 460px;
  margin-bottom: 44px;
  line-height: 1.7;
}

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

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── ABOUT ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__lead {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 18px;
}

.about__body {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 40px;
}

.about__stats {
  display: flex;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--bg-border);
}

.about__stat-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.about__stat-label {
  display: block;
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.5px;
}

.about__visual-col { position: relative; }

.about__card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  z-index: 1;
}

.about__card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.about__card-text {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  margin-bottom: 28px;
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}

.about__card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about__card-skills span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent-2);
  background: rgba(109,106,255,0.1);
  border: 1px solid rgba(109,106,255,0.2);
  padding: 5px 12px;
  border-radius: 100px;
}

.about__deco {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,106,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ── SERVICES ── */
.services__intro {
  font-size: 16px;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 56px;
  line-height: 1.7;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color var(--tr), transform var(--tr);
}
.service-card:hover {
  border-color: rgba(109,106,255,0.35);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 20px;
}
.service-card__icon svg { width: 100%; height: 100%; }

.service-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card__text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card__list li {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding-left: 14px;
  position: relative;
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── PORTFOLIO ── */
.portfolio__intro {
  font-size: 16px;
  color: var(--gray);
  max-width: 480px;
  margin-bottom: 48px;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* ── PORTFOLIO TABS ── */
.ptabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
}

.ptab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--bg-border);
  background: transparent;
  color: var(--gray);
  cursor: pointer;
  transition: var(--tr);
}
.ptab svg { width: 14px; height: 14px; }
.ptab:hover { border-color: rgba(109,106,255,0.35); color: var(--white); }
.ptab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.ptab-panel {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  position: absolute;
  width: 100%;
  transition: opacity .35s ease, transform .35s ease;
}
.ptab-panel.active {
  opacity: 1;
  transform: none;
  pointer-events: all;
  position: relative;
}
/* wrap panels so absolute positioning works during transition */
.ptabs-body {
  position: relative;
  overflow: hidden;
}

/* ── APP CARD ── */
.app-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 16px;
  overflow: hidden;
}

.app-card__hero {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
}

.app-card__screens {
  position: relative;
  width: 100%;
  height: 100%;
}

.app-card__screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: opacity 0.5s ease;
}
.app-card__screen--light {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
}
.app-card__hero:hover .app-card__screen--dark  { opacity: 0; }
.app-card__hero:hover .app-card__screen--light { opacity: 1; }

.app-card__badge {
  position: absolute;
  top: 20px; right: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 100px;
}
.app-card__badge svg { width: 13px; height: 13px; }

.app-card__body { padding: 36px 40px 40px; }

.app-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.app-card__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}

.app-card__desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
  max-width: 620px;
}

.app-card__cta { white-space: nowrap; flex-shrink: 0; margin-top: 28px; }

.app-card__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.app-feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--bg-border);
  border-radius: 10px;
  transition: border-color var(--tr), background var(--tr);
}
.app-feat:hover { border-color: rgba(109,106,255,0.25); background: rgba(109,106,255,0.05); }

.app-feat__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(109,106,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-feat__icon svg { width: 16px; height: 16px; stroke: var(--accent); }

.app-feat h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}
.app-feat p { font-size: 12px; color: var(--gray); line-height: 1.55; }

.app-card__meta {
  display: flex;
  gap: 0;
  border: 1px solid var(--bg-border);
  border-radius: 10px;
  overflow: hidden;
}

.app-meta-item {
  flex: 1;
  padding: 14px 20px;
  border-right: 1px solid var(--bg-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.app-meta-item:last-child { border-right: none; }
.app-meta-item span { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-dim); }
.app-meta-item strong { font-size: 13px; font-weight: 600; color: var(--white); }

/* ── PORTFOLIO CARD ── */
.pcard {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.pcard:hover {
  transform: translateY(-4px);
  border-color: rgba(109,106,255,0.25);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}

.pcard__screens {
  position: relative;
  background: #0a0b12;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.pcard__desktop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}
.pcard:hover .pcard__desktop { transform: scale(1.03); }

.pcard__mobile {
  position: absolute;
  bottom: 12px;
  right: 14px;
  width: 18%;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  object-fit: cover;
  object-position: top;
  aspect-ratio: 9/16;
}

.pcard__info {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pcard__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
}

.pcard__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.pcard__desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
}

.pcard__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 6px;
  transition: gap var(--tr), opacity var(--tr);
}
.pcard__link svg { width: 14px; height: 14px; }
.pcard__link:hover { gap: 10px; opacity: 0.8; }

/* ── PROCESS ── */
.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 56px;
}

.process__step {
  flex: 1;
  padding: 0 24px;
}

.process__step:first-child { padding-left: 0; }
.process__step:last-child  { padding-right: 0; }

.process__line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--accent), rgba(109,106,255,0.2));
  margin-top: 20px;
  flex-shrink: 0;
}

.process__num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 14px;
}

.process__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.process__text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* ── CONTACT ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact__text {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--tr);
}
.contact__item:hover { color: var(--white); }
.contact__item svg { width: 18px; height: 18px; stroke: var(--accent); flex-shrink: 0; }

.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form__group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.form__group input,
.form__group select,
.form__group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color var(--tr);
  resize: none;
}

.form__group input::placeholder,
.form__group textarea::placeholder { color: rgba(255,255,255,0.2); }

.form__group select { display: none; }

.form__group input:focus,
.form__group textarea:focus {
  border-color: rgba(109,106,255,0.5);
  background: rgba(109,106,255,0.04);
}

/* ── CUSTOM SELECT ── */
.cselect {
  position: relative;
}

.cselect__trigger {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 11px 40px 11px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color var(--tr), background var(--tr), color var(--tr);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cselect__trigger.has-value { color: var(--white); }
.cselect__trigger:hover,
.cselect.open .cselect__trigger {
  border-color: rgba(109,106,255,0.5);
  background: rgba(109,106,255,0.04);
}

.cselect__arrow {
  width: 16px;
  height: 16px;
  stroke: var(--gray);
  flex-shrink: 0;
  transition: transform var(--tr);
  pointer-events: none;
}
.cselect.open .cselect__arrow { transform: rotate(180deg); }

.cselect__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #13141f;
  border: 1px solid rgba(109,106,255,0.25);
  border-radius: 10px;
  overflow: hidden;
  z-index: 200;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.cselect.open .cselect__dropdown {
  opacity: 1;
  transform: none;
  pointer-events: all;
}

.cselect__option {
  padding: 11px 16px;
  font-size: 14px;
  color: var(--gray);
  cursor: pointer;
  transition: background var(--tr), color var(--tr);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cselect__option:last-child { border-bottom: none; }
.cselect__option:hover { background: rgba(109,106,255,0.1); color: var(--white); }
.cselect__option.selected { color: var(--accent); background: rgba(109,106,255,0.08); }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--bg-border);
  padding: 48px 0 28px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer__brand p {
  font-size: 13px;
  color: var(--gray);
  margin-top: 10px;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: 28px;
}
.footer__links a {
  font-size: 13px;
  color: var(--gray);
  transition: color var(--tr);
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid var(--bg-border);
  padding-top: 20px;
  font-size: 12px;
  color: var(--gray-dim);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid    { gap: 48px; }
  .process__steps { flex-wrap: wrap; gap: 32px; }
  .process__line  { display: none; }
  .process__step  { flex: 1 1 calc(50% - 16px); padding: 0; }
  .app-card__features { grid-template-columns: repeat(2, 1fr); }
  .app-card__head { flex-direction: column; }
  .app-card__cta  { margin-top: 0; }
}

@media (max-width: 768px) {
  [lang="ka"] .hero__title { font-size: 27px; line-height: 1.25; }
  .topbar { display: none; }
  .nav { top: 0; }
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  /* Mobile header layout: burger left, logo center, cart right */
  .nav__inner { position: relative; }
  .nav__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav__right { gap: 4px; }
  .about__grid    { grid-template-columns: 1fr; gap: 40px; }
  .services__grid { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: 1fr; gap: 20px; }
  .app-card__features { grid-template-columns: 1fr 1fr; }
  .app-card__body { padding: 24px 20px 28px; }
  .app-card__meta { flex-wrap: wrap; }
  .app-meta-item { flex: 1 1 calc(50% - 1px); border-bottom: 1px solid var(--bg-border); }
  .contact__grid  { grid-template-columns: 1fr; gap: 48px; }
  .form__row      { grid-template-columns: 1fr; }
  .footer__inner  { flex-direction: column; gap: 32px; }
  .process__step  { flex: 1 1 100%; }
  .about__stats   { gap: 24px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .contact__form { padding: 24px 18px; }
  .footer__links { flex-wrap: wrap; gap: 16px; }
}

/* ── HAMBURGER OPEN ── */
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SCROLL-IN ANIMATION ── */
.service-card, .process__step, .about__stat {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.service-card.visible, .process__step.visible, .about__stat.visible {
  opacity: 1;
  transform: none;
}
.service-card:nth-child(2), .process__step:nth-child(3) { transition-delay: 0.1s; }
.service-card:nth-child(3), .process__step:nth-child(5) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.05s; }
.service-card:nth-child(5) { transition-delay: 0.15s; }
.service-card:nth-child(6) { transition-delay: 0.25s; }
.about__stat:nth-child(2) { transition-delay: 0.1s; }
.about__stat:nth-child(3) { transition-delay: 0.2s; }

/* ── PLUGIN CARDS ── */
.plugins__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plugin-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.plugin-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109,106,255,0.3);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

.plugin-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plugin-card__logo {
  height: 38px;
  display: flex;
  align-items: center;
}
.plugin-card__logo svg { height: 38px; }

.plugin-card__logo--bog { /* BOG orange tint bg */ }
.plugin-card__logo--tbc { /* TBC blue tint */ }

.plugin-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--bg-border);
  padding: 5px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.plugin-card__badge svg { width: 11px; height: 11px; }

.plugin-card__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.plugin-card__desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
}

.plugin-card__methods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pm-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid;
}
.pm-badge--visa      { color: #4169E1; border-color: rgba(65,105,225,0.35); background: rgba(65,105,225,0.08); }
.pm-badge--mc        { color: #EB5757; border-color: rgba(235,87,87,0.35); background: rgba(235,87,87,0.08); }
.pm-badge--amex      { color: #2196F3; border-color: rgba(33,150,243,0.35); background: rgba(33,150,243,0.08); }
.pm-badge--installment { color: #A78BFA; border-color: rgba(167,139,250,0.35); background: rgba(167,139,250,0.08); }
.pm-badge--cards     { color: rgba(255,255,255,0.6); border-color: var(--bg-border); background: rgba(255,255,255,0.04); }
.pm-badge--apple     { color: rgba(255,255,255,0.6); border-color: var(--bg-border); background: rgba(255,255,255,0.04); }
.pm-badge--qr        { color: #4CAF50; border-color: rgba(76,175,80,0.35); background: rgba(76,175,80,0.08); }
.pm-badge--ertguli   { color: #FF9800; border-color: rgba(255,152,0,0.35); background: rgba(255,152,0,0.08); }

.plugin-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--bg-border);
  border-radius: 8px;
}
.plugin-card__features li {
  font-size: 12.5px;
  color: var(--gray);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.plugin-card__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.plugin-card__cta { margin-top: auto; text-align: center; justify-content: center; }

@media (max-width: 1024px) {
  .plugins__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .plugins__grid { grid-template-columns: 1fr; }
}

/* ── CLIENTS SLIDER ── */
.clients {
  padding: 48px 0;
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
  overflow: hidden;
  background: var(--bg);
}

.clients__label {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-bottom: 28px;
}

.clients__track-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.clients__track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: clients-scroll 28s linear infinite;
}
.clients__track:hover { animation-play-state: paused; }

.clients__track img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.35;
  transition: opacity var(--tr), filter var(--tr);
  flex-shrink: 0;
}
.clients__track img:hover { opacity: 0.85; filter: brightness(0) invert(1); }

.clients__track img[src*="a2.svg"] {
  filter: saturate(0) brightness(1.8);
  opacity: 0.4;
}
.clients__track img[src*="a2.svg"]:hover {
  filter: saturate(0) brightness(2.2);
  opacity: 0.75;
}

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── NAV CART BUTTON ── */
.nav__cart-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  transition: color var(--tr);
}
.nav__cart-btn:hover { color: var(--white); }

/* ── CART SIDEBAR ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100%;
  background: #0d0e18;
  border-left: 1px solid var(--bg-border);
  z-index: 501;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--bg-border);
  flex-shrink: 0;
}
.cart-sidebar__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cart-sidebar__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  display: flex;
  padding: 4px;
  border-radius: 6px;
  transition: color var(--tr), background var(--tr);
}
.cart-sidebar__close:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.cart-sidebar__close svg { width: 18px; height: 18px; }

.cart-sidebar__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-sidebar__body::-webkit-scrollbar { width: 4px; }
.cart-sidebar__body::-webkit-scrollbar-track { background: transparent; }
.cart-sidebar__body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.cart-sidebar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 10px;
}
.cart-sidebar__thumb {
  width: 56px; height: 40px;
  border-radius: 6px;
  overflow: hidden;
  background: #070810;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-sidebar__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cart-sidebar__info { flex: 1; min-width: 0; }
.cart-sidebar__tag { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.cart-sidebar__name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-sidebar__price { font-size: 14px; font-weight: 800; color: var(--white); white-space: nowrap; }
.cart-sidebar__remove {
  background: none;
  border: none;
  color: rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}
.cart-sidebar__remove:hover { color: #ef4444; background: rgba(239,68,68,0.08); }
.cart-sidebar__remove svg { width: 14px; height: 14px; }

.cart-sidebar__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 40px 0;
  color: rgba(255,255,255,0.2);
}
.cart-sidebar__empty svg { width: 44px; height: 44px; stroke: rgba(255,255,255,0.12); }
.cart-sidebar__empty p { font-size: 14px; font-weight: 600; }
.cart-sidebar__empty span { font-size: 12px; }

.cart-sidebar__foot {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--bg-border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-sidebar__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bg-border);
  margin-bottom: 2px;
}
.cart-sidebar__total span:last-child { color: var(--accent); font-size: 18px; }

.cart-sidebar__checkout-link {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  padding: 6px;
  transition: color var(--tr);
}
.cart-sidebar__checkout-link:hover { color: var(--white); }

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(109,106,255,0.4);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.scroll-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: all;
}
.scroll-top:hover { background: #5855e8; }
.scroll-top svg { width: 18px; height: 18px; stroke: #fff; }

@media (max-width: 480px) {
  .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

/* ── LANG DROPDOWN ── */
.lang-switcher {
  position: relative;
  margin-right: 8px;
}

.lang-drop__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  padding: 5px 10px 5px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--tr), border-color var(--tr);
  white-space: nowrap;
}
.lang-drop__toggle:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); }
.lang-drop__flag { border-radius: 2px; display: block; flex-shrink: 0; }
.lang-drop__label { font-size: 12px; }
.lang-drop__arrow {
  flex-shrink: 0;
  opacity: .5;
  transition: transform .2s ease;
}
.lang-switcher.open .lang-drop__arrow { transform: rotate(180deg); }

.lang-drop__menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 10px;
  padding: 6px;
  min-width: 140px;
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  z-index: 200;
}
.lang-switcher.open .lang-drop__menu { display: flex; }

.lang-btn {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font);
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--tr), background var(--tr);
  text-align: left;
  width: 100%;
}
.lang-btn img { border-radius: 2px; display: block; flex-shrink: 0; }
.lang-btn:hover { color: var(--white); background: rgba(255,255,255,.06); }
.lang-btn.active { color: var(--white); background: rgba(109,106,255,.12); }

@media (max-width: 768px) {
  .lang-switcher { display: none; }
}

/* mobile menu lang buttons */
.nav__mobile-lang .lang-btn {
  display: flex;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 8px;
}
