/* Author: G2G Group - Vasil Tediashvili */
:root {
  --bg: #05070f;
  --bg-2: #0b1220;
  --card: rgba(15, 22, 40, 0.78);
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #eef3f8;
  --muted: #aab7c6;
  --accent: #35f0c5;
  --accent-2: #f3b24c;
  --accent-3: #6ad4ff;
  --accent-4: #ff7ad9;
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Fira Sans", "Noto Sans Georgian", "Noto Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(850px 460px at -10% -10%, rgba(53, 240, 197, 0.28), transparent 60%),
    radial-gradient(900px 520px at 110% -20%, rgba(106, 212, 255, 0.22), transparent 55%),
    radial-gradient(1200px 640px at 50% 120%, rgba(255, 122, 217, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  position: relative;
  overflow-x: hidden;
}

.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 22px 80px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.auth-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.auth-name {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-align: right;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-warning {
  position: absolute;
  top: -18px;
  right: 0;
  background: rgba(227, 93, 93, 0.18);
  border: 1px solid rgba(227, 93, 93, 0.55);
  color: #ffb3b3;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: conic-gradient(from 210deg, var(--accent), var(--accent-3), var(--accent-4), var(--accent-2), var(--accent));
  box-shadow: 0 12px 30px rgba(53, 240, 197, 0.35);
}

.brand h1 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.4px;
}

.lang-switch {
  display: inline-flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px;
}

.lang-switch button {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.lang-switch button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.auth-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 18, 36, 0.65);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.auth-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.auth-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4);
}

.auth-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #0b0f1a;
  border: 2px solid var(--bg);
}

.auth-badge--red {
  background: #e35d5d;
}

.auth-badge--yellow {
  background: #f0b429;
}

.auth-badge--green {
  background: #2ed3b7;
}

.hero {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 32px;
  align-items: center;
}

.hero-card {
  padding: 28px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: 0 18px 40px var(--shadow);
  backdrop-filter: blur(10px);
  animation: rise 650ms ease forwards;
}

.hero h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 3.8vw, 46px);
  letter-spacing: 0.4px;
}

.hero p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 17px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  color: #021815;
  background: linear-gradient(120deg, var(--accent), var(--accent-3), var(--accent-4));
  font-weight: 700;
  box-shadow: 0 12px 25px rgba(53, 240, 197, 0.3);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.cta-row--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-row--split .cta {
  justify-content: center;
  width: 100%;
}

.cta-contact {
  font-weight: 700;
  color: var(--text);
}

.metrics {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.metric {
  padding: 18px;
  border-radius: 18px;
  background: rgba(15, 22, 40, 0.72);
  border: 1px solid var(--stroke);
  animation: floatIn 700ms ease forwards;
  position: relative;
}

.metric strong {
  display: block;
  font-size: 22px;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

section {
  margin-top: 64px;
}

.section-title {
  margin: 0 0 18px;
  font-size: 26px;
}

.section-desc {
  margin: 0 0 24px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.categories,
.extra-directions {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15, 22, 40, 0.9), rgba(8, 14, 28, 0.6)),
    radial-gradient(600px 220px at 0% 0%, rgba(53, 240, 197, 0.12), transparent 60%),
    radial-gradient(500px 240px at 100% 20%, rgba(106, 212, 255, 0.14), transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.categories::after,
.extra-directions::after {
  content: "";
  position: absolute;
  inset: -40px;
  background-image:
    linear-gradient(120deg, rgba(53, 240, 197, 0.05), transparent 40%),
    linear-gradient(40deg, rgba(106, 212, 255, 0.05), transparent 45%);
  pointer-events: none;
}

.categories .section-title,
.extra-directions .section-title {
  position: relative;
  z-index: 1;
}

.parallax-grid::before {
  content: "";
  position: absolute;
  inset: -10px;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
}

.parallax-grid {
  position: relative;
  perspective: 900px;
}

.parallax-grid .card {
  transition: transform 220ms ease, box-shadow 220ms ease;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.parallax-grid .card:hover {
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.45);
}

.parallax-grid .card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(53, 240, 197, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.parallax-grid .card:hover::before {
  opacity: 1;
}

.card {
  padding: 20px;
  border-radius: 18px;
  background: rgba(15, 22, 40, 0.75);
  border: 1px solid var(--stroke);
  box-shadow: 0 16px 32px var(--shadow);
  animation: fadeUp 700ms ease forwards;
  position: relative;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #0e111a;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  font-weight: 700;
}

.list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.pricing {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.price-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(15, 22, 40, 0.85);
  border: 1px solid var(--stroke);
  position: relative;
}

.price-card h3 {
  margin: 0 0 10px;
}

.price {
  font-size: 28px;
  margin: 8px 0;
}

.footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.auth-section {
  position: relative;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.auth-card {
  border-radius: 20px;
  padding: 22px;
  background: rgba(12, 18, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.4);
  position: relative;
}

.auth-card h3 {
  margin: 0 0 8px;
}

.auth-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.form-alert {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(227, 93, 93, 0.16);
  border: 1px solid rgba(227, 93, 93, 0.4);
  color: #ffd5d5;
  font-size: 13px;
}

.form-success {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(46, 211, 183, 0.16);
  border: 1px solid rgba(46, 211, 183, 0.4);
  color: #d6fff6;
  font-size: 13px;
}

.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.form-row label {
  font-size: 13px;
  color: var(--muted);
}

.form-row input,
.form-row select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 24, 0.8);
  color: var(--text);
  font-family: inherit;
}

.form-row input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(12, 18, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 10px;
}

.newsletter-card h3 {
  margin: 0;
  font-size: 18px;
}

.newsletter-card p {
  margin: 0;
  color: var(--muted);
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.newsletter-form input {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 24, 0.8);
  color: var(--text);
  font-family: inherit;
}

.newsletter-form button {
  border: none;
}

@media (max-width: 680px) {
  .newsletter-form {
    grid-template-columns: 1fr;
  }

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

.profile-section {
  margin-top: 36px;
}

.profile-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.status-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #0b0f1a;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.profile-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(12, 18, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
  margin-bottom: 18px;
}

.profile-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.profile-form {
  display: grid;
  gap: 16px;
}

.profile-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.profile-grid[data-profile] {
  display: none;
}

.profile-summary {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.profile-summary span {
  color: var(--text);
  font-weight: 600;
  margin-right: 6px;
}

.profile-paid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(46, 211, 183, 0.08);
  border: 1px solid rgba(46, 211, 183, 0.2);
  margin-bottom: 12px;
  font-size: 14px;
}

.profile-paid strong {
  color: var(--text);
}

.profile-paid--standalone {
  margin-top: 10px;
}

.profile-usage {
  display: grid;
  gap: 12px;
}

.profile-usage-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-usage-fill {
  height: 100%;
  background: linear-gradient(90deg, #2ed3b7, #6fd0ff);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.profile-usage-meta {
  font-size: 14px;
  color: var(--muted);
}

.profile-subform {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.profile-subgrid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.profile-table {
  display: grid;
  gap: 12px;
}

.profile-table-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(8, 12, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-table-head {
  font-weight: 600;
  color: var(--text);
  background: rgba(8, 12, 24, 0.8);
}

.profile-table-form {
  display: contents;
}

.profile-substatus {
  font-size: 13px;
  color: var(--muted);
}

.profile-subactions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-subactions button {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.profile-subactions button:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.profile-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.profile-note--ok {
  color: #6fe8d5;
}

.profile-note--error {
  color: #ffb3b3;
}

.profile-actions {
  display: flex;
  justify-content: flex-end;
}

.profile-collapsible {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.profile-collapse-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}

.profile-collapse-body.is-open {
  max-height: 420px;
  opacity: 1;
}

.input-error {
  border-color: #ff7a7a !important;
  box-shadow: 0 0 0 1px rgba(255, 122, 122, 0.4);
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #ffb3b3;
}

.dashboard-preview {
  margin-top: 28px;
  padding: 24px;
  border-radius: 24px;
  background:
    linear-gradient(140deg, rgba(10, 18, 34, 0.9), rgba(8, 14, 28, 0.7)),
    radial-gradient(540px 240px at 10% 0%, rgba(53, 240, 197, 0.15), transparent 60%),
    radial-gradient(520px 240px at 100% 20%, rgba(106, 212, 255, 0.18), transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 42px rgba(0, 0, 0, 0.45);
}

.dashboard-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.dashboard-head h3 {
  margin: 0 0 6px;
}

.dashboard-head p {
  margin: 0;
  color: var(--muted);
}

.dashboard-actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ghost-btn {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.header-tools {
  margin-left: 8px;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(46, 211, 183, 0.12);
  border: 1px solid rgba(46, 211, 183, 0.55);
  box-shadow: 0 10px 22px rgba(46, 211, 183, 0.18);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.header-tools:hover,
.header-tools:focus-visible {
  border-color: rgba(46, 211, 183, 0.9);
  box-shadow:
    0 0 0 2px rgba(46, 211, 183, 0.25),
    0 0 18px rgba(46, 211, 183, 0.9);
  transform: translateY(-1px);
}

.dashboard-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.dashboard-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(10, 16, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.dashboard-card strong {
  display: block;
  margin-bottom: 6px;
}

.dashboard-card span {
  color: var(--muted);
  font-size: 13px;
}

.dashboard-timeline {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(10, 16, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.timeline-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(53, 240, 197, 0.6);
}

.modules-page {
  position: relative;
}

.modules-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 24px;
}

.modules-sidebar {
  padding: 18px;
  border-radius: 18px;
  background: rgba(10, 16, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 24px;
  height: fit-content;
}

.sidebar-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-bottom: 12px;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sidebar-list li {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(8, 12, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
  position: relative;
}

.sidebar-list li.active {
  border-color: rgba(53, 240, 197, 0.5);
  box-shadow: 0 14px 24px rgba(53, 240, 197, 0.15);
}

.sidebar-list li:hover {
  transform: translateY(-2px);
}

.modules-detail {
  display: grid;
  gap: 18px;
}

.module-detail-card {
  padding: 20px;
  border-radius: 18px;
  background: rgba(12, 18, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.module-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.module-detail-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(53, 240, 197, 0.15);
  color: var(--accent);
  font-weight: 600;
}

.partners {
  position: relative;
}

.partners-controls {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  gap: 8px;
}

.partners-nav {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 18, 36, 0.7);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.partners-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
}

.partners-slider {
  overflow: hidden;
  padding: 8px 4px;
}

.partners-track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.partners-page {
  min-width: 100%;
}

.partners-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 38px;
  row-gap: 38px;
}

.partners-page .partners-row + .partners-row {
  margin-top: 32px;
}

.partner-card {
  padding: 20px;
  border-radius: 18px;
  background: rgba(12, 18, 36, 0.8);
  border: 1px solid rgba(106, 212, 255, 0.22);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  text-align: center;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  animation: partnerFloat 8s ease-in-out infinite;
  position: relative;
}

:where(
  .card,
  .price-card,
  .metric,
  .auth-card,
  .dashboard-card,
  .module-detail-card,
  .timeline-item,
  .sidebar-list li,
  .module-modal-panel
)::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(106, 212, 255, 0.25);
  opacity: 0.1;
  transition: opacity 320ms ease;
  pointer-events: none;
}

:where(
  .card,
  .price-card,
  .metric,
  .auth-card,
  .dashboard-card,
  .module-detail-card,
  .timeline-item,
  .sidebar-list li,
  .module-modal-panel
):hover::after {
  opacity: 0.75;
  animation: neonFlicker 1.2s linear infinite;
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(53, 240, 197, 0.35);
  opacity: 0.15;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.partner-logo {
  width: clamp(90px, 12vw, 140px);
  height: clamp(70px, 10vw, 110px);
  border-radius: 16px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 1px;
  color: #0a0f1b;
  background:
    linear-gradient(140deg, rgba(53, 240, 197, 0.9), rgba(106, 212, 255, 0.9));
  box-shadow: 0 16px 30px rgba(53, 240, 197, 0.25);
}

.partner-logo--image {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
  padding: 8px 12px;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  display: block;
}

.partner-card h3 {
  margin: 0 0 8px;
}

.partner-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.partner-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(106, 212, 255, 0.65);
  box-shadow:
    0 24px 36px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(106, 212, 255, 0.25);
}

.partner-card:hover::before {
  opacity: 0.8;
  animation: neonFlicker 1.2s linear infinite;
}

.partners-row .partner-card:nth-child(2) {
  animation-delay: -2s;
}

.partners-row .partner-card:nth-child(3) {
  animation-delay: -4s;
}

@keyframes partnerFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes neonFlicker {
  0%,
  100% {
    opacity: 0.85;
    box-shadow: 0 0 14px rgba(53, 240, 197, 0.35);
  }
  10% {
    opacity: 0.2;
  }
  20% {
    opacity: 0.75;
    box-shadow: 0 0 22px rgba(106, 212, 255, 0.4);
  }
  35% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.9;
    box-shadow: 0 0 26px rgba(53, 240, 197, 0.55);
  }
  65% {
    opacity: 0.4;
  }
  80% {
    opacity: 0.95;
    box-shadow: 0 0 20px rgba(106, 212, 255, 0.5);
  }
  90% {
    opacity: 0.25;
  }
}

.module-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 34px rgba(0, 0, 0, 0.4);
}

.module-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 50;
}

.module-modal[hidden] {
  display: none;
}

.module-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 14, 0.75);
  backdrop-filter: blur(6px);
}

.module-modal-panel {
  position: relative;
  width: min(920px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 22px;
  background: rgba(10, 16, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.module-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 12, 24, 0.8);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

.profile-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 60;
}

.profile-modal[hidden] {
  display: none;
}

.profile-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 14, 0.75);
  backdrop-filter: blur(6px);
}

.profile-modal-panel {
  position: relative;
  width: min(720px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 22px;
  background: rgba(10, 16, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.profile-modal-panel h3 {
  margin-top: 0;
}

.profile-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 12, 24, 0.8);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

.module-modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.module-modal-thumb {
  height: 140px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.module-modal-title {
  margin: 0 0 16px;
  font-size: 22px;
}

.module-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.module-meta-grid .label,
.module-modal-description .label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}

.module-meta-grid .value,
.module-modal-description .value {
  color: var(--text);
  font-size: 14px;
}

.module-modal-description p {
  margin: 0;
  line-height: 1.6;
}

.module-modal-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

[data-lang] {
  display: none;
}

[data-lang].active {
  display: block;
}

.inline.active {
  display: inline;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  padding: 26px;
  border-radius: 26px;
  background: rgba(8, 14, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.orbit {
  position: absolute;
  inset: 14% 10%;
  border-radius: 50%;
  border: 1px dashed rgba(106, 212, 255, 0.4);
  animation: orbitSpin 18s linear infinite;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 12px rgba(106, 212, 255, 0.8);
}

.orbit::before {
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit::after {
  bottom: 14%;
  right: 8%;
  background: var(--accent-4);
  box-shadow: 0 0 12px rgba(255, 122, 217, 0.7);
}

.orbit-core {
  position: absolute;
  inset: 33% 35%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #8ff5e0 40%, rgba(53, 240, 197, 0.1) 70%);
  box-shadow: 0 0 30px rgba(53, 240, 197, 0.65);
}

.code-swipe {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(53, 240, 197, 0.14), transparent 45%),
    linear-gradient(40deg, rgba(106, 212, 255, 0.16), transparent 50%);
  pointer-events: none;
}

.code-stack {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 190px;
}

.code-card {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(7, 12, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Fira Mono", "Noto Sans Georgian", monospace;
  font-size: 12px;
  color: rgba(239, 252, 255, 0.9);
}

.code-card span {
  color: var(--accent);
}

.hero-visual-caption {
  position: absolute;
  top: 18px;
  left: 20px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-visual-caption::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(53, 240, 197, 0.7);
}

.module-ladder {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  position: relative;
  align-items: start;
  overflow: visible;
  margin-bottom: 36px;
}

.module-step {
  position: relative;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(15, 26, 50, 0.85), rgba(8, 14, 28, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  will-change: transform;
  animation: modulePulse 7s ease-in-out infinite;
}

.module-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(106, 212, 255, 0.2), transparent 55%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='120' viewBox='0 0 240 120'><rect width='240' height='120' fill='none'/><g fill='none' stroke='rgba(106,212,255,0.22)' stroke-width='1'><path d='M8 20h30M50 20h24M82 20h28'/><path d='M8 44h42M56 44h18M82 44h30'/><path d='M8 68h36M50 68h24M80 68h34'/><path d='M8 92h40M54 92h20M78 92h30'/></g></svg>");
  opacity: 0.85;
  pointer-events: none;
  animation: scanGlow 6s linear infinite;
}

.module-step::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(106, 212, 255, 0.25);
  opacity: 0.12;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.module-step:nth-child(2) {
  transform: translateY(6px);
  animation-delay: -1.5s;
}

.module-step:nth-child(3) {
  transform: translateY(12px);
  animation-delay: -3s;
}

.module-step:nth-child(4) {
  transform: translateY(18px);
  animation-delay: -4.5s;
}

.module-photo {
  height: 140px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 20%, rgba(53, 240, 197, 0.7), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(106, 212, 255, 0.55), transparent 50%),
    linear-gradient(130deg, rgba(7, 12, 24, 0.95), rgba(10, 20, 40, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  filter: drop-shadow(0 10px 20px rgba(53, 240, 197, 0.15));
}

.module-photo::before {
  content: "";
  position: absolute;
  inset: 12px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  opacity: 0.7;
}

.module-photo::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 120deg, transparent, rgba(53, 240, 197, 0.35), transparent 60%);
  opacity: 0.6;
  animation: photoSpin 9s linear infinite;
}

.module-step:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 30px 46px rgba(0, 0, 0, 0.55);
  border-color: rgba(106, 212, 255, 0.5);
}

.module-step:hover .module-photo {
  filter: brightness(1.2) saturate(1.1);
}

.module-step:hover::before {
  opacity: 0.75;
  animation: neonFlicker 1.2s linear infinite;
}

.module-step strong {
  font-size: 16px;
  margin-bottom: 6px;
}

.module-step span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.module-step strong[data-lang] {
  display: none;
}

.module-step strong[data-lang].active {
  display: block;
}

.module-step span[data-lang] {
  display: none;
}

.module-step span[data-lang].active {
  display: block;
}

.module-step .tag span[data-lang].active {
  display: inline;
}

.module-icon {
  width: 168px;
  height: 168px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--text);
  box-shadow: none;
  margin: 0;
  position: absolute;
  inset: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.module-icon svg {
  width: 90px;
  height: 90px;
  fill: currentColor;
}

.module-step .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(53, 240, 197, 0.15);
  color: var(--accent);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.categories .grid {
  position: relative;
}

.categories .grid::before {
  content: "";
  position: absolute;
  inset: -10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='260' viewBox='0 0 420 260'><rect width='420' height='260' fill='none'/><g fill='rgba(106,212,255,0.12)' font-family='monospace' font-size='14'><text x='12' y='28'>0101010010010110</text><text x='220' y='50'>101010010110</text><text x='64' y='92'>001101010011</text><text x='280' y='110'>010011101001</text><text x='30' y='150'>110010011100</text><text x='210' y='170'>0011010101</text><text x='100' y='210'>010110010111</text><text x='260' y='232'>101001010011</text></g></svg>");
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: driftBg 18s linear infinite;
  background-size: 420px 260px;
}

.categories-grid .card {
  animation: cardFloat 7.5s ease-in-out infinite;
  transform-style: preserve-3d;
}

.categories-grid .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(106, 212, 255, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.categories-grid .card:hover::after {
  opacity: 1;
}

.categories-grid .card:nth-child(2) {
  animation-delay: -1.5s;
}

.categories-grid .card:nth-child(3) {
  animation-delay: -3s;
}

.categories-grid .card:nth-child(4) {
  animation-delay: -4.5s;
}

.categories-grid .card:nth-child(5) {
  animation-delay: -6s;
}

.categories-grid .card:nth-child(6) {
  animation-delay: -7.5s;
}

.categories-grid .card.is-active {
  border-color: rgba(53, 240, 197, 0.6);
  box-shadow: 0 26px 40px rgba(53, 240, 197, 0.2);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes driftBg {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 420px 260px;
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(6px, -10px, 0);
  }
}

@keyframes modulePulse {
  0%,
  100% {
    box-shadow: 0 22px 34px rgba(0, 0, 0, 0.42);
  }
  50% {
    box-shadow: 0 26px 42px rgba(53, 240, 197, 0.18);
  }
}

@keyframes scanGlow {
  0% {
    transform: translateX(-20%) translateY(-10%);
  }
  50% {
    transform: translateX(10%) translateY(8%);
  }
  100% {
    transform: translateX(20%) translateY(12%);
  }
}

@keyframes photoSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual {
    min-height: 320px;
  }

  .code-stack {
    margin-top: 170px;
  }

  .module-step:nth-child(2),
  .module-step:nth-child(3),
  .module-step:nth-child(4) {
    transform: none;
  }

  .modules-layout {
    grid-template-columns: 1fr;
  }

  .modules-sidebar {
    position: static;
  }

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

  .partners-controls {
    position: static;
    margin-bottom: 16px;
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .shell {
    padding: 32px 18px 64px;
  }

  header {
    gap: 12px;
  }

  .brand h1 {
    font-size: 18px;
  }

  .auth-user {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .auth-name {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 260px;
  }

  .metrics {
    margin-top: 24px;
  }
}

@media (max-width: 520px) {
  .shell {
    padding: 28px 16px 52px;
  }

  .hero-card {
    padding: 22px;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-summary {
    font-size: 13px;
  }

  .profile-actions {
    justify-content: stretch;
  }

  .profile-actions .ghost-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .hero h2 {
    font-size: 28px;
  }

  .section-title {
    font-size: 22px;
  }

  .auth-warning {
    top: -22px;
    font-size: 10px;
  }
}

@media (min-width: 1400px) {
  .shell {
    max-width: 1400px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  }

  .hero-visual {
    min-height: 520px;
  }
}

@media (min-width: 1800px) {
  .shell {
    max-width: 1600px;
  }

  .hero h2 {
    font-size: 52px;
  }
}
