@font-face {
  font-family: "Wix Madefor Display";
  src: url("../fonts/WixMadeforDisplay-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Wix Madefor Display";
  src: url("../fonts/WixMadeforDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Wix Madefor Display";
  src: url("../fonts/WixMadeforDisplay-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Wix Madefor Display";
  src: url("../fonts/WixMadeforDisplay-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Wix Madefor Display";
  src: url("../fonts/WixMadeforDisplay-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Wix Madefor Display";
  src: url("../fonts/WixMadeforDisplay-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Mardoto";
  src: url("../fonts/Mardoto-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Mardoto";
  src: url("../fonts/Mardoto-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Mardoto";
  src: url("../fonts/Mardoto-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Mardoto";
  src: url("../fonts/Mardoto-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Mardoto";
  src: url("../fonts/Mardoto-Black.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

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

:root {
  --green: #00ff1e;
  --black: #000000;
  --dark: #042222;
  --dark-bg: #030f0f;
  --gray-bg: #f7f7f7;
  --white: #ffffff;
  --radius-card: 30px;
  --radius-sm: 20px;
  --radius-pill: 100px;
  --radius-nav: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Wix Madefor Display", "Mardoto", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--black);
  background: var(--white);
}

.hidden { display: none !important; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

/* ── Navbar ────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 16px);
  max-width: 1424px;
  background: var(--white);
  border-radius: var(--radius-nav);
  z-index: 100;
  transition: box-shadow 0.3s;
}

#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
}

.nav-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-logo-img {
  height: 22px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-weight: 500;
  font-size: 14px;
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.6; }

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

.lang-switcher {
  display: flex;
  gap: 2px;
}

.lang-btn {
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  color: var(--black);
  background: none;
  border: 0.1px solid var(--black);
  border-radius: var(--radius-nav);
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}
.lang-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #eee;
}
.mobile-menu a {
  font-weight: 500;
  font-size: 14px;
  color: var(--black);
  text-decoration: none;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn-pill-black {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--green);
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  padding: 16px;
  border-radius: var(--radius-pill);
  border: 0.5px solid var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.btn-pill-black:hover { opacity: 0.85; }

.btn-pill-black.btn-small {
  padding: 6px 16px;
  font-size: 14px;
}

.btn-pill-black.btn-inline {
  font-size: 16px;
  padding: 6px 16px;
  color: var(--white);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  color: var(--black);
  font-family: inherit;
  font-weight: 400;
  font-size: 14px;
  padding: 10px 10px 10px 16px;
  border-radius: var(--radius-pill);
  border: 0.5px solid var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-pill-outline:hover { background: #f5f5f5; }

.arrow-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  background: url('../images/arrow-icon.svg') center/contain no-repeat;
  flex-shrink: 0;
}

.user-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ── Badge ────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 10px;
  border: 1px solid var(--green);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  background: transparent;
}

/* ── Sections ─────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-gray { background: var(--gray-bg); border-radius: var(--radius-card); margin: 0 78px; }

.section-header {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.section-title {
  font-weight: 600;
  font-size: 48px;
  line-height: 1.1;
  color: var(--dark);
}

html[lang="hy"] .section-title {
  font-weight: 500;
  line-height: 1.25;
  font-size: 42px;
}

.section-desc {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  max-width: 711px;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  padding: 136px 0 60px;
  text-align: center;
}

.hero-title {
  font-weight: 600;
  font-size: 64px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  max-width: 960px;
  margin: 0 auto;
}

html[lang="hy"] .hero-title {
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-size: 56px;
}

.hero-subtitle {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  max-width: 749px;
  margin: 32px auto 0;
}

html[lang="hy"] .hero-subtitle {
  line-height: 1.8;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 48px;
}

.hero-dashboard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 60px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 80px;
}

.hero-card {
  background: var(--white);
  border: 0.37px solid var(--black);
  border-radius: 18.66px;
  overflow: hidden;
  box-shadow: 0 2.5px 2.5px rgba(0,0,0,0.05);
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.4s ease, transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card:hover,
.hero-card.active {
  border-color: var(--green);
  transform: scale(1.03);
}

.hero-card img {
  display: block;
  object-fit: cover;
  border-radius: 7px;
}

.hero-card-main {
  width: 506px;
  height: 319px;
  border-radius: 25.66px;
  border-width: 0.51px;
  padding: 16px;
}

.hero-card-main img {
  width: 474px;
  height: 287px;
  border-radius: 10px;
}

.hero-card-side {
  width: 368px;
  height: 232px;
  padding: 12px;
}

.hero-card-side img {
  width: 344px;
  height: 208px;
  border-radius: 7px;
}

/* ── Stats ────────────────────────────────────────────────────── */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 112px;
}

.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-weight: 600;
  font-size: 40px;
  color: var(--black);
}

.stat-label {
  font-weight: 400;
  font-size: 12px;
  color: var(--black);
}

/* ── Features (horizontal scroll) ─────────────────────────────── */
.features-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 80px 40px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.features-scroll::-webkit-scrollbar { display: none; }

.feature-card {
  flex-shrink: 0;
  width: 367px;
  min-height: 300px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius-card);
  padding: 28px 34px 26px 19px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.feature-card:hover,
.feature-card.active {
  border: 2px solid var(--green);
  transform: scale(1.05);
  box-shadow: none;
}

.feature-card h3 {
  font-weight: 600;
  font-size: 22px;
  color: var(--black);
}

.feature-card p {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--black);
}

.feature-card.feature-green {
  background: #068861;
  border-color: #068861;
}
.feature-card.feature-green h3,
.feature-card.feature-green p {
  color: var(--white);
}

/* ── How It Works ─────────────────────────────────────────────── */
.steps-row {
  display: flex;
  gap: 0;
  margin-top: 20px;
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 20px;
  position: relative;
}

.step-item:not(:last-child) {
  border-right: 1px solid #ddd;
}

.step-dot {
  width: 22px;
  height: 22px;
  display: block;
}

.step-item h3 {
  font-weight: 700;
  font-size: 18px;
  color: var(--black);
}

.step-item p {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: var(--black);
}

/* ── Audience Cards ───────────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.audience-card {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: 28px 34px 26px 19px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  cursor: pointer;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.audience-card:hover,
.audience-card.active {
  border-color: var(--green);
  transform: scale(1.03);
}

.audience-card h3 {
  font-weight: 600;
  font-size: 22px;
  color: var(--black);
}

.audience-card p {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--black);
}

.audience-card-img {
  width: 100%;
  height: 163px;
  border-radius: 16px;
  overflow: hidden;
}

.audience-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── CTA Box ──────────────────────────────────────────────────── */
.cta-box {
  border: 2px solid var(--green);
  border-radius: var(--radius-card);
  padding: 80px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.cta-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.cta-outline {
  background: var(--white);
  border-color: var(--black);
  height: 38px;
  padding: 8px;
  gap: 0;
}

.cta-login-link {
  font-size: 12px;
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.2s;
}
.cta-login-link:hover { opacity: 0.6; }

/* ── Contact ──────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.contact-map {
  min-height: 460px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--black);
}

.contact-info-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.contact-info-card:hover {
  border-color: var(--green);
  transform: scale(1.02);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
}

.contact-form {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form h3 {
  font-weight: 600;
  font-size: 20px;
  color: var(--black);
  margin-bottom: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  background: var(--light-bg);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
}

.contact-form button[type="submit"] {
  align-self: flex-start;
}

.form-status {
  font-size: 14px;
  min-height: 20px;
}
.form-status.success { color: var(--green); }
.form-status.error { color: #e53e3e; }

/* ── Legal Pages ─────────────────────────────────────────────── */
.legal-page {
  padding: 140px 0 80px;
  min-height: 80vh;
  background: var(--white);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.legal-content h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.legal-content .legal-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8e8e8;
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark-bg);
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-bg);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  color: #444;
}

.legal-content ul, .legal-content ol {
  margin: 12px 0 20px 24px;
  padding: 0;
}

.legal-content li {
  margin-bottom: 8px;
  color: #444;
}

.legal-content a {
  color: var(--green);
  text-decoration: underline;
}

.legal-content a:hover {
  opacity: 0.8;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.legal-content table th,
.legal-content table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #e0e0e0;
}

.legal-content table th {
  background: #f5f5f5;
  font-weight: 600;
  color: var(--dark-bg);
}

.legal-content table td {
  color: #444;
}

.legal-content strong {
  color: var(--dark-bg);
}

@media (max-width: 768px) {
  .legal-page { padding: 100px 20px 60px; }
  .legal-content h1 { font-size: 28px; }
  .legal-content h2 { font-size: 20px; }
  .legal-content { font-size: 15px; }
  .legal-content table { font-size: 13px; }
  .legal-content table th,
  .legal-content table td { padding: 8px 10px; }
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--dark-bg);
  border-radius: var(--radius-nav);
  margin-top: -10px;
  color: var(--white);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 80px;
  display: flex;
  align-items: flex-start;
  gap: 90px;
}

.footer-brand { max-width: 247px; }

.footer-logo {
  font-weight: 600;
  font-size: 20px;
  display: block;
  margin-bottom: 32px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-divider {
  width: 1px;
  min-height: 160px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

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

.footer-col h4 {
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 18px;
  color: var(--white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; }

.footer-bottom {
  text-align: center;
  font-size: 14px;
  padding: 24px 0 32px;
  opacity: 0.6;
}

/* ── Animations ───────────────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .section-gray { margin: 0 20px; }
  .hero-title { font-size: 44px; }
  html[lang="hy"] .hero-title { font-size: 38px; }
  .section-title { font-size: 36px; }
  html[lang="hy"] .section-title { font-size: 32px; }
  .stats-row { gap: 48px; }
  .audience-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .steps-row { flex-direction: column; gap: 32px; }
  .step-item:not(:last-child) { border-right: none; border-bottom: 1px solid #ddd; padding-bottom: 32px; }
  .footer-inner { flex-direction: column; gap: 40px; padding: 40px 32px; }
  .footer-divider { width: 100%; min-height: 1px; height: 1px; }
  .features-scroll { padding: 0 32px 32px; }
  .hero-dashboard { padding: 0 32px; }
  .hero-card-main, .hero-card-side { width: auto; height: auto; }
  .hero-card-main { flex: 1.38; aspect-ratio: 506/319; padding: 12px; }
  .hero-card-main img { width: 100%; height: 100%; }
  .hero-card-side { flex: 1; aspect-ratio: 368/232; padding: 10px; }
  .hero-card-side img { width: 100%; height: 100%; }
}

@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-title { font-size: 26px; letter-spacing: -0.01em; }
  html[lang="hy"] .hero-title { font-size: 24px; }
  .hero-subtitle { font-size: 12px; max-width: 294px; margin: 20px auto 0; }
  .hero-actions { flex-direction: row; gap: 4px; margin-top: 32px; }
  .hero-actions .btn-pill-black:not(.btn-inline) { font-size: 10px; padding: 10px 14px; gap: 6px; }
  .hero-actions .btn-pill-outline { font-size: 9px; padding: 6px 6px 6px 10px; gap: 6px; }
  .hero-actions .btn-pill-outline .btn-inline { font-size: 9px; padding: 4px 8px; }
  .hero-actions .arrow-icon { width: 14px; height: 14px; }
  .cta-actions { flex-direction: row; gap: 4px; }
  .hero-dashboard {
    flex-direction: row;
    align-items: flex-end;
    gap: 8px;
    padding: 0 16px;
    margin-top: 40px;
  }
  .hero-card { border-width: 1px; border-radius: 10px; padding: 4px; }
  .hero-card-main {
    width: 33%;
    height: auto;
    aspect-ratio: 131/225;
    align-self: flex-start;
    border-radius: 10px;
    padding: 4px;
  }
  .hero-card-main img { width: 100%; height: 100%; border-radius: 6px; }
  .hero-card-side {
    width: 29%;
    height: auto;
    aspect-ratio: 114/187;
    padding: 4px;
  }
  .hero-card-side img { width: 100%; height: 100%; border-radius: 6px; }
  .section-title { font-size: 28px; }
  .section { padding: 48px 0; }
  .hero { padding: 100px 0 40px; }
  .stats-row { flex-direction: column; gap: 24px; }
  .cta-box { padding: 40px 24px; }
  #navbar { top: 6px; width: calc(100% - 12px); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 300px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Lightbox ─────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox.open .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: var(--white);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.lightbox-close:hover {
  transform: scale(1.1);
  background: var(--green);
}
