/* Load Google Font */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* Reset styles */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

a {
  text-decoration: none;
  text-transform: none;
  color: #4a90e2;
}

a:hover {
  text-decoration: underline;
}

body {
  line-height: 1;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-size: 19px;
  background-color: #fefefe;
  color: #04143a;
  background-size: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  transition: background-color 0.4s ease, color 0.4s ease;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

p {
  color: #15171a;
  font-size: 18px;
  line-height: 31px;
}

strong {
  font-weight: 700;
  color: #04143a;
}

em {
  font-style: italic;
}

code {
  font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
  font-size: 0.88em;
  background-color: #f1f3f5;
  color: #e03131;
  padding: 2px 6px;
  border-radius: 4px;
}

div,
footer {
  box-sizing: border-box;
}

footer,
.container {
  max-width: 1100px;
  height: auto;
  margin: 60px auto;
}

/* Hero Section */
.hero {
  margin: 140px auto 100px auto;
  position: relative;
}

@media (max-width: 1024px) {
  .hero {
    margin: 60px auto 60px auto;
  }
}

h1.name {
  font-size: 94px;
  font-weight: 700;
  display: inline-block;
  letter-spacing: -1.5px;
  color: #04143a;
}

#strike {
  text-decoration: line-through;
  text-decoration-color: #e53935;
  color: #e53935;
  display: inline;
}

.subtitle {
  display: block;
  font-size: 24px;
  font-weight: 300;
  color: #81899c;
  margin-top: 10px;
}

.lead {
  font-size: 42px;
  font-weight: 300;
  margin-top: 50px;
  line-height: 54px;
  color: #15171a;
}

.lead em {
  color: #e53935;
  font-weight: 400;
}

/* Integrity Status Box */
.integrity-banner {
  margin: 50px auto 0 auto;
  padding: 20px 26px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: -10px 10px 30px #e2e4e8, 10px -10px 30px #ffffff;
  border: 1px solid #edf0f5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.integrity-banner-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #5b6a9a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.integrity-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

.pill-pass {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.pill-fail {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.pill-badge {
  font-weight: 700;
  font-size: 12px;
  padding: 1px 6px;
  border-radius: 4px;
}

.pill-pass .pill-badge {
  background: #059669;
  color: #ffffff;
}

.pill-fail .pill-badge {
  background: #dc2626;
  color: #ffffff;
}

.banner-action {
  display: flex;
  align-items: center;
  gap: 10px;
}

.copy-btn {
  background: #04143a;
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.copy-btn:hover {
  background: #1e3a8a;
  transform: translateY(-1px);
}

.copy-btn:active {
  transform: translateY(0);
}

/* Sections Layout */
.sections {
  vertical-align: top;
  display: inline-block;
  min-height: 50px;
}

.sectionleft {
  width: 42%;
}

.sectionright {
  width: 57%;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #04143a;
}

.section-title.yepyep {
  color: #059669;
}

/* List Card */
.list-card.example {
  margin: 20px 40px 30px 0;
  padding: 25px 25px 15px 25px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: -20px 20px 60px #d9d9d9, 20px -20px 60px #ffffff;
  border: 1px solid #f1f3f6;
}

.list-card div {
  width: 100%;
}

.list-card div p {
  font-size: 18px;
  color: #4b5563;
  line-height: 27px;
  margin-bottom: 22px;
}

.list-card div p:first-of-type {
  margin-top: 55px;
}

/* Chat bubble (Telegram/Slack style) */
.slack {
  padding-bottom: 18px;
  position: relative;
  clear: both;
  overflow: hidden;
}

.slack img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  float: left;
  margin-right: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.slack-content {
  overflow: hidden;
}

.slack .slackname {
  font-weight: 700;
  font-size: 15px;
  color: #1d1c1d;
  display: inline-block;
}

.slack .slacktime {
  font-size: 13px;
  color: #9ca3af;
  margin-left: 8px;
  font-weight: 400;
}

.slack .slackmessage {
  font-size: 15.5px;
  color: #1f2937;
  line-height: 22px;
  display: block;
  margin-top: 4px;
}

.slack.maintainer .slackname {
  color: #4f46e5;
}

.slack .tag {
  background: #e0e7ff;
  color: #4338ca;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 6px;
  text-transform: uppercase;
}

/* Lists styling */
.container ul {
  list-style: none;
  font-size: 18px;
  color: #4b5563;
  line-height: 26px;
  margin-bottom: 24px;
  margin-left: 20px;
  margin-top: -10px;
}

.container ul li {
  margin-bottom: 12px;
}

.nonos ul li:before {
  content: '×';
  color: #dc2626;
  font-weight: bold;
  font-size: 20px;
  padding-right: 10px;
  display: inline-block;
}

.yepyep ul li:before {
  content: '✓';
  font-size: 16px;
  font-weight: bold;
  color: #059669;
  padding-right: 10px;
  display: inline-block;
}

/* Info Cards / FAQ */
.cards-row {
  margin: 60px auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: -10px 10px 30px #e9ecf1, 10px -10px 30px #ffffff;
  border: 1px solid #edf0f5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: -15px 15px 40px #dde1e9, 15px -15px 40px #ffffff;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #04143a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card p {
  font-size: 16px;
  color: #4b5563;
  line-height: 24px;
}

/* Footer */
footer {
  width: 100%;
  min-height: 150px;
  font-size: 14.5px;
  padding: 100px 150px 80px 150px !important;
  margin-top: 60px !important;
  color: #616061;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(238, 238, 238, 1) 45%
  );
  max-width: none !important;
  margin-bottom: 0 !important;
  font-weight: 400;
  clear: both;
}

footer p {
  color: #616061;
  font-size: 15px;
  line-height: 26px;
  margin-bottom: 12px;
}

footer a {
  color: #dc2626;
  text-decoration: underline;
  font-weight: 600;
}

footer a:hover {
  text-decoration: none;
}

.other-languages {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #d1d5db;
}

.other-languages p,
.other-languages ul,
.other-languages li {
  display: inline;
}

.other-languages li {
  margin: 0 4px;
}

.other-languages li a {
  color: #4a90e2;
  text-decoration: none;
}

.other-languages li a:hover {
  text-decoration: underline;
}

.other-languages li:after {
  content: ',';
}

.other-languages li:last-child:before {
  content: '& ';
}

.other-languages li:last-child:after {
  content: '.';
}

/* Toast message */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #04143a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Typed cursor */
.typed-cursor {
  opacity: 1;
  animation: typedBlink 0.7s infinite;
  color: #e53935;
  font-weight: 300;
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
  footer,
  .container {
    padding: 20px;
    margin: 0 auto;
  }

  footer {
    padding: 80px 20px 60px 20px !important;
  }

  .list-card.example {
    margin: 20px 0;
  }
}

@media (max-width: 840px) {
  .sections {
    width: 100%;
    display: block;
    margin-bottom: 30px;
  }

  .sectionleft,
  .sectionright {
    width: 100%;
  }

  .list-card div p:first-of-type {
    margin-top: 15px;
  }

  .lead {
    font-size: 28px;
    line-height: 38px;
    margin-top: 35px;
  }

  .integrity-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  h1.name {
    font-size: 44px;
  }

  .subtitle {
    font-size: 18px;
  }

  .lead {
    font-size: 21px;
    line-height: 30px;
    margin-top: 30px;
  }

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

  .list-card.example {
    padding: 18px 16px 10px 16px;
  }

  .slack .slackmessage {
    font-size: 14.5px;
  }

  p {
    font-size: 16px;
    line-height: 27px;
  }

  .container ul {
    font-size: 16px;
    margin-left: 10px;
  }

  .pill {
    font-size: 12px;
    padding: 4px 10px;
  }
}
