@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg-main: #0a0d14;
  --bg-card: #0f141c;
  --bg-stat: #0f141c;
  --border-color: #1e2638;
  --border-hover: #334155;
  --text-primary: #f1f5f9;
  --text-muted: #8492a6;
  --brand-blue: #5865f2;
}

* {
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  scroll-behavior: smooth;
  background-color: var(--bg-main) !important;
  color: var(--text-primary);
}

/* Section Header Styles */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  margin-bottom: 0.25rem;
}

.title.section-title {
  color: #fff !important;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Feature Cards */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.25rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s ease;
}

.feature-card:last-child {
  margin-bottom: 0.5rem;
}

.feature-card:hover {
  border-color: var(--border-hover);
}

.feature-index {
  display: inline-block;
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 0.35rem;
}

.feature-card .title {
  color: #fff !important;
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card .subtitle {
  color: var(--text-muted) !important;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 480px;
}

/* Clean Mockup Image Holder */
.mockup-frame {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-frame img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: #06080c;
  display: block;
}

/* Stats Section */
.stat-card {
  background: var(--bg-stat);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem 1rem;
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-name {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-name i {
  color: var(--brand-blue);
}

/* Back to Top */
#backtotop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #151c28;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: opacity 0.2s ease, background 0.2s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

#backtotop.show {
  opacity: 1;
  visibility: visible;
}

#backtotop:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* Normal Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}