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

/* ─── Variables ─── */
:root {
  --primary:       #1a3a5c;
  --primary-light: #2d5f8a;
  --accent:        #00c4a7;
  --accent-dark:   #009e86;
  --dark:          #0f1923;
  --gray-900:      #1a2332;
  --gray-800:      #243044;
  --gray-100:      #f0f4f8;
  --white:         #ffffff;
  --text-muted:    #8a9bb0;

  --font: 'Inter', sans-serif;
  --radius: 10px;
  --transition: 0.2s ease;
}

/* ─── Base ─── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.7;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

/* ─── Utilities ─── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 56px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.badge--accent {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.badge--accent-fill {
  background: rgba(0, 196, 167, 0.1);
  color: var(--accent);
}

.badge--purple {
  background: rgba(167, 139, 250, 0.1);
  color: #a78bfa;
}

.badge--amber {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

/* ─── Fade-in animation ─── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: filter var(--transition), transform var(--transition);
  text-decoration: none;
}

.btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn--accent {
  background: var(--accent);
  color: var(--dark);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  filter: none;
  transform: translateY(-1px);
}

.btn--outline-purple {
  background: transparent;
  color: #a78bfa;
  border: 1px solid #a78bfa;
}

.btn--outline-purple:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, border-bottom 0.3s ease;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.navbar__logo {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}

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

.nav-menu a {
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.nav-menu a:hover { color: var(--white); }

.nav-cta {
  background: var(--accent);
  color: var(--dark) !important;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.88rem;
  transition: filter var(--transition), transform var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0f1923 0%, #1a2332 100%);
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

/* dot grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* accent glow behind headline */
.hero::after {
  content: '';
  position: absolute;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0,196,167,0.09) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 0;
}

.hero__badge {
  margin-bottom: 28px;
  justify-content: center;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  padding: 0 40px;
}

.stat:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat__value {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.1;
}

.stat__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── PROBLEM ─── */
.problem {
  background: var(--gray-900);
  padding: 80px 0;
  border-top: 1px solid rgba(0, 196, 167, 0.1);
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.problem-card {
  background: var(--gray-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform var(--transition), border-color var(--transition);
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.problem-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.problem-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.problem-card__text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
}

.tag--red   { background: rgba(239, 68, 68, 0.15);  color: #f87171; }
.tag--amber { background: rgba(251, 191, 36, 0.15);  color: #fbbf24; }

/* ─── LENS ─── */
.lens {
  background: var(--dark);
  padding: 100px 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.product-layout--reverse { direction: rtl; }
.product-layout--reverse > * { direction: ltr; }

.product__badge { margin-bottom: 20px; }

.product__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
}

.product__text {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.97rem;
}

.check-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: var(--accent);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L8 12.58l7.3-7.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
}

.check-list--purple li::before {
  background: #a78bfa;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pill {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
}

.pill--accent { background: rgba(0, 196, 167, 0.12); color: var(--accent); }
.pill--purple { background: rgba(167, 139, 250, 0.12); color: #a78bfa; }

/* ─── Browser Mockup ─── */
.mockup-browser {
  background: #1a2332;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
}

.mockup-browser__bar {
  background: #243044;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot--red    { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green  { background: #28c840; }

.mockup-browser__url {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.mockup-browser__body {
  background: #f8fafc;
  padding: 20px;
  color: #1a2332;
}

.mockup-header {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a3a5c;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.mockup-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
}

.mockup-card__value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a3a5c;
}

.mockup-card__label {
  font-size: 0.65rem;
  color: #8a9bb0;
  margin-top: 2px;
}

.mockup-shap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
}

.mockup-shap__title {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1a2332;
  margin-bottom: 10px;
}

.shap-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.shap-row__label {
  font-size: 0.65rem;
  color: #64748b;
  width: 80px;
  flex-shrink: 0;
}

.shap-bar-track {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.shap-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: #00c4a7;
}

.shap-row__val {
  font-size: 0.62rem;
  color: #8a9bb0;
  width: 28px;
  text-align: right;
}

/* ─── Terminal Mockup ─── */
.mockup-terminal {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  font-family: 'Courier New', Courier, monospace;
}

.mockup-terminal__bar {
  background: #161b22;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-terminal__title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.mockup-terminal__body {
  padding: 20px 24px;
  font-size: 0.82rem;
  line-height: 1.9;
}

.terminal-line { display: block; }
.t-gray    { color: #6e7681; }
.t-green   { color: #00ff88; }
.t-red     { color: #ff4444; }
.t-accent  { color: var(--accent); }
.t-amber   { color: #fbbf24; }
.t-white   { color: #c9d1d9; }

.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─── WHY ─── */
.why {
  background: var(--dark);
  padding: 80px 0;
}

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

.why-card {
  background: var(--gray-900);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), border-color var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 196, 167, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 196, 167, 0.06) inset;
}

.why-card:hover .why-card__icon {
  background: rgba(0, 196, 167, 0.18);
}

.why-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 196, 167, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  transition: background var(--transition);
}

.why-card__icon svg {
  width: 20px;
  height: 20px;
}

.why-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.why-card__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── TIMELINE ─── */
.timeline-section {
  background: var(--gray-900);
  padding: 80px 0;
  border-top: 1px solid rgba(0, 196, 167, 0.1);
}

.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0 20px;
  align-items: start;
  padding: 20px 0;
}

.timeline-item:nth-child(odd) .timeline-item__content {
  grid-column: 1;
  text-align: right;
}

.timeline-item:nth-child(odd) .timeline-item__empty {
  grid-column: 3;
}

.timeline-item:nth-child(even) .timeline-item__content {
  grid-column: 3;
  grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-item__empty {
  grid-column: 1;
  grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-item__dot {
  grid-column: 2;
  grid-row: 1;
}

.timeline-item__dot {
  grid-column: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 1;
  align-self: center;
  flex-shrink: 0;
}

.timeline-item__dot--past    { background: rgba(0, 196, 167, 0.2); color: var(--accent); border: 2px solid var(--accent); }
.timeline-item__dot--present { background: rgba(251, 191, 36, 0.2); color: #fbbf24; border: 2px solid #fbbf24; animation: pulse 2s ease-in-out infinite; }
.timeline-item__dot--future  { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); border: 2px solid rgba(255,255,255,0.15); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(251, 191, 36, 0); }
}

.timeline-item__date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.timeline-item--present .timeline-item__date { color: #fbbf24; }
.timeline-item--future  .timeline-item__date { color: var(--text-muted); }

.timeline-item__title {
  font-size: 0.97rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.timeline-item__text {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── CONTACT ─── */
.contact {
  background: var(--dark);
  padding: 80px 0;
}

.contact__single {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.contact__single .contact-links {
  align-items: center;
}

.contact__email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 196, 167, 0.08);
  border: 1px solid rgba(0, 196, 167, 0.3);
  color: var(--accent);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  margin-bottom: 24px;
}

.contact__email-btn:hover {
  background: rgba(0, 196, 167, 0.15);
  border-color: rgba(0, 196, 167, 0.5);
  transform: translateY(-1px);
}

.contact__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.contact__text {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 0.97rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.contact-link:hover { color: var(--white); }

.contact-link__icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}


/* ─── FOOTER ─── */
.footer {
  background: var(--gray-900);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__logo {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__col-title {
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--white); }

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__bottom {
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  /* Navbar */
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #0f1923;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
  }

  .nav-menu.open { display: flex; }

  .nav-menu li { width: 100%; }

  .nav-menu a {
    display: block;
    padding: 12px 24px;
  }

  .nav-menu .nav-cta {
    margin: 8px 24px;
    display: inline-block;
  }

  .hamburger { display: flex; }

  /* Grids */
  .problem__grid,
  .why__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .product-layout,
  .product-layout--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  /* Timeline */
  .timeline::before { left: 20px; transform: none; }

  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 0 16px;
  }

  .timeline-item:nth-child(odd) .timeline-item__content,
  .timeline-item:nth-child(even) .timeline-item__content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-item__dot,
  .timeline-item:nth-child(even) .timeline-item__dot {
    grid-column: 1;
    grid-row: 1;
  }

  .timeline-item__empty { display: none; }

  /* Hero */
  .hero__stats { gap: 28px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.9rem; }
  .btn { padding: 10px 18px; font-size: 0.88rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .section-title { font-size: 1.45rem; margin-bottom: 36px; }
  .product__title { font-size: 1.4rem; }
}
