:root {
  --red: #BD1E20;
  --red-hover: #9A1618;
  --anthracite: #3E3E3E;
  --dark: #1A1A1A;
  --grey-bg: #F7F7F8;
  --grey-border: #E5E5E7;
  --grey-text: #6B7280;
  --grey-label: #9CA3AF;
  --white: #FFFFFF;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: var(--white)
}

h1,
h2,
.zen {
  font-family: 'Zen Dots', serif
}

h2 {
  font-size: 2rem;
  margin-bottom: .5rem;
  color: var(--dark)
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: .5rem
}

p {
  color: var(--grey-text);
  line-height: 1.7
}

.section-sub {
  font-size: .95rem;
  color: var(--grey-text);
  max-width: 600px;
  margin: 0 auto 3rem
}

.red-band {
  width: 100%;
  height: 4px;
  background: var(--red)
}

.red-band.thin {
  height: 2px
}

section {
  padding: 5rem 0
}

section.alt {
  background: var(--grey-bg)
}

/* NAV */
.navbar {
  padding: .9rem 0;
  transition: padding .3s ease;
  border-bottom: 1px solid var(--grey-border);
  background: var(--white)
}

.navbar-brand img {
  height: 55px;
  transition: height .3s ease
}

.navbar-brand {
  padding: 0
}

.navbar.shrunk {
  padding: .4rem 0
}

.navbar.shrunk .navbar-brand img {
  height: 50px
}

.navbar-toggler {
  border: none;
  padding: .5rem;
  position: relative;
  width: 36px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none !important;
  box-shadow: none !important
}

.navbar-toggler:focus {
  box-shadow: none !important
}

.toggler-bar {
  display: block;
  width: 24px;
  height: 2px !important;
  min-height: 2px;
  max-height: 2px;
  background: var(--anthracite);
  border-radius: 2px;
  transition: all .3s ease
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
  opacity: 0
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

.nav-link {
  font-size: .85rem;
  font-weight: 500;
  color: var(--anthracite) !important;
  letter-spacing: .3px;
  padding: .5rem 1rem !important
}

.nav-link:hover {
  color: var(--red) !important
}

.lang-btn {
  border: 1px solid var(--grey-border);
  border-radius: 4px;
  padding: .3rem .6rem;
  font-size: .75rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--white);
  color: var(--anthracite);
  transition: all .2s
}

.lang-btn:hover,
.lang-btn.active {
  border-color: var(--red);
  color: var(--red)
}

.lang-mobile {
  display: none;
  gap: .4rem
}

.lang-desktop {
  display: block
}

.lang-dropdown-toggle {
  border: 1px solid var(--grey-border);
  border-radius: 4px;
  padding: .35rem .75rem;
  font-size: .82rem;
  font-weight: 500;
  background: var(--white);
  color: var(--anthracite);
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: .4rem
}

.lang-dropdown-toggle:hover {
  border-color: var(--red);
  color: var(--red)
}

.lang-dropdown-toggle::after {
  font-size: .6rem
}

.dropdown-menu {
  min-width: auto;
  border: 1px solid var(--grey-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  border-radius: 6px;
  padding: .25rem 0
}

.lang-dd-item {
  font-size: .85rem;
  padding: .45rem 1rem;
  color: var(--anthracite)
}

.lang-dd-item:hover,
.lang-dd-item.active {
  color: var(--red);
  background: rgba(189, 30, 32, .04)
}

.lang-switcher {
  display: flex;
  gap: .4rem;
  align-items: center
}

/* HERO */
#hero {
  padding: 6rem 0 5rem;
  position: relative
}

#hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word
}

#hero h1 .red {
  color: var(--red)
}

#hero .lead {
  font-size: 1.1rem;
  color: var(--grey-text);
  max-width: 540px;
  line-height: 1.7
}

.hero-icon {
  height: 90px;
  margin-bottom: 2rem
}

.btn-tyrant {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: .75rem 2rem;
  font-weight: 600;
  font-size: .9rem;
  border-radius: 4px;
  transition: all .2s;
  letter-spacing: .3px
}

.btn-tyrant:hover {
  background: var(--red-hover);
  color: var(--white);
  transform: translateY(-1px)
}

.btn-outline-tyrant {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  padding: .7rem 2rem;
  font-weight: 600;
  font-size: .9rem;
  border-radius: 4px;
  transition: all .2s
}

.btn-outline-tyrant:hover {
  background: var(--red);
  color: var(--white)
}

.hero-illus {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: 420px
}

/* HERO STATS */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  max-width: 100%
}

.hero-stat {
  flex: 0 0 auto
}

@media(max-width:576px) {
  .hero-stat {
    flex: 0 0 calc(50% - 1rem)
  }
}

.hero-stat {
  text-align: left
}

.hero-stat-val {
  font-family: 'Zen Dots', serif;
  font-size: 1.5rem;
  color: var(--red);
  line-height: 1.2
}

.hero-stat-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey-label);
  font-weight: 500;
  margin-top: .25rem
}

/* FEATURES */
.feature-card {
  padding: 2rem;
  border: 1px solid var(--grey-border);
  border-radius: 8px;
  height: 100%;
  transition: border-color .2s
}

.feature-card:hover {
  border-color: var(--red)
}

.feature-icon {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 1rem
}

/* TERMINAL */
.terminal {
  background: #151520;
  border-radius: 8px;
  padding: 0;
  margin-top: 3rem;
  overflow: hidden;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 100%
}

.terminal-bar {
  background: #0c0c14;
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%
}

.terminal-dot.r {
  background: #ff5f57
}

.terminal-dot.y {
  background: #ffbd2e
}

.terminal-dot.g {
  background: #28c840
}

.terminal-title {
  color: #a1a1b5;
  font-size: 14px;
  margin-left: .6rem;
  letter-spacing: .3px
}

.terminal-body {
  padding: 0 1.5rem 1.25rem;
  overflow-x: auto;
  max-width: 100%
}

.terminal-body code {
  color: #b0b0c8;
  white-space: pre;
  display: block;
  font-size: 12px !important
}

.t-date {
  color: #8888a8
}

.t-ip {
  color: #e8e8f0
}

.t-blocked {
  color: #ff4d4d;
  font-weight: 700
}

.t-banned {
  color: #ff1a1a;
  font-weight: 700;
  text-decoration: underline
}

.t-allowed {
  color: #4ade80;
  font-weight: 700
}

.t-flagged {
  color: #fbbf24;
  font-weight: 700
}

.t-trusted {
  color: #34d399;
  font-weight: 700
}

.t-whitelisted {
  color: #60a5fa;
  font-weight: 700
}

.t-reason {
  color: #ff8888
}

.t-info {
  color: #a0a0bc
}

.t-green-info {
  color: #86efac
}

.t-blue-info {
  color: #93c5fd
}

.t-warn {
  color: #fcd34d
}

.t-arrow {
  color: #555570
}

@media(min-width:1400px) {
  .nav-link {
    font-size: .95rem !important;
    padding: .5rem 1.15rem !important
  }

  .lang-dropdown-toggle {
    font-size: .9rem
  }
}

@media(max-width:991px) {
  .navbar {
    padding: .4rem 0 !important
  }

  .navbar-brand img {
    height: 38px !important
  }

  .navbar.shrunk .navbar-brand img {
    height: 35px !important
  }

  .navbar-collapse {
    padding: 1rem 0 .5rem
  }

  .navbar-nav .nav-link {
    padding: .7rem 0 !important;
    font-size: .95rem;
    border-bottom: 1px solid var(--grey-border)
  }

  .lang-switcher {
    padding-top: 1rem;
    margin-top: .5rem
  }

  .lang-mobile {
    display: flex !important
  }

  .lang-desktop {
    display: none !important
  }
}

@media(max-width:768px) {
  .terminal {
    font-size: .75rem
  }

  .terminal-body {
    padding: .75rem 1rem
  }

  .terminal-body code {
    font-size: .75rem !important
  }
}

/* COMPARISON */
.compare-table {
  width: 100%;
  border-collapse: collapse
}

.compare-table th {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 1rem 1.5rem;
  text-align: left
}

.compare-table th.col-generic {
  color: var(--grey-text);
  background: var(--grey-bg);
  border-radius: 8px 0 0 0
}

.compare-table th.col-tyrant {
  color: var(--white);
  background: var(--red);
  border-radius: 0 8px 0 0
}

.compare-table td {
  padding: .85rem 1.5rem;
  font-size: .88rem;
  border-bottom: 1px solid var(--grey-border);
  vertical-align: top
}

.compare-table td.generic {
  color: var(--grey-text);
  background: var(--white)
}

.compare-table td.tyrant {
  color: var(--dark);
  background: rgba(189, 30, 32, .04);
  font-weight: 500
}

.compare-table tr:last-child td.generic {
  border-radius: 0 0 0 8px
}

.compare-table tr:last-child td.tyrant {
  border-radius: 0 0 8px 0
}

.compare-table .check {
  color: var(--red);
  margin-right: .4rem
}

.compare-table .cross {
  color: var(--grey-label);
  margin-right: .4rem
}

.compare-tagline {
  font-size: 1rem;
  color: var(--grey-text);
  font-style: italic;
  margin-top: 2rem;
  text-align: center
}

.compare-tagline strong {
  color: var(--dark);
  font-style: normal
}

.compare-note {
  font-size: .82rem;
  color: var(--grey-text);
  text-align: center;
  margin-top: .75rem;
  padding: .75rem 1.5rem;
  background: var(--grey-bg);
  border-radius: 6px;
  border: 1px solid var(--grey-border)
}

@media(max-width:768px) {

  .compare-table th,
  .compare-table td {
    padding: .65rem .75rem;
    font-size: .78rem
  }
}

/* PERFORMANCE */
.perf-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem
}

.perf-stat {
  text-align: center;
  flex: 0 0 calc(25% - 1.5rem)
}

.perf-stat-val {
  font-family: 'Zen Dots', serif;
  font-size: 2rem;
  color: var(--red);
  line-height: 1.2
}

.perf-stat-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey-label);
  font-weight: 500;
  margin-top: .35rem
}

.perf-card {
  padding: 1.5rem;
  border: 1px solid var(--grey-border);
  border-radius: 8px;
  height: 100%;
  transition: border-color .2s
}

.perf-card:hover {
  border-color: var(--red)
}

.perf-card h3 {
  font-size: 1rem
}

.perf-icon {
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: .75rem
}

@media(max-width:768px) {
  .perf-stat {
    flex: 0 0 calc(50% - 1rem)
  }

  .perf-stat-val {
    font-size: 1.5rem
  }
}

/* HOW IT WORKS */
.step-num {
  font-family: 'Zen Dots', serif;
  font-size: 2.5rem;
  color: var(--red);
  opacity: .3;
  margin-bottom: .5rem
}

.step-card {
  text-align: center;
  padding: 1.5rem
}

/* SECTORS */
.sector-card {
  border: 1px solid var(--grey-border);
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
  transition: border-color .2s
}

.sector-card:hover {
  border-color: var(--red)
}

.sector-icon {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 1rem;
  display: block;
  text-align: center
}

.sector-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: .75rem;
  text-align: center
}

.sector-card p {
  font-size: .88rem;
  margin-bottom: 1rem
}

.sector-list {
  list-style: none;
  padding: 0;
  margin: 0
}

.sector-list li {
  font-size: .82rem;
  color: var(--grey-text);
  padding: .25rem 0;
  display: flex;
  align-items: baseline;
  gap: .5rem
}

.sector-arrow {
  color: var(--red);
  font-size: .6rem
}

html[dir="rtl"] .sector-list li {
  flex-direction: row-reverse;
  text-align: right
}

/* BUSINESS IMPACT */
.impact-card {
  text-align: center;
  padding: 1.5rem
}

.impact-icon {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: .75rem
}

.impact-card h3 {
  font-size: .95rem;
  font-weight: 600
}

.impact-card p {
  font-size: .82rem
}

/* PRICING */
.price-card {
  border: 1px solid var(--grey-border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: border-color .2s;
  position: relative
}

.price-card:hover {
  border-color: var(--red)
}

.price-card.featured {
  border: 2px solid var(--red)
}

.price-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
  border-radius: 8px 8px 0 0
}

.price-name {
  font-family: 'Zen Dots', serif;
  font-size: 1.1rem;
  margin-bottom: .5rem
}

.price-tag {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem
}

.price-tag span {
  font-size: .85rem;
  font-weight: 400;
  color: var(--grey-text)
}

.price-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left
}

.price-list li {
  padding: .4rem 0;
  font-size: .85rem;
  color: var(--grey-text);
  border-bottom: 1px solid var(--grey-border)
}

.price-list li:last-child {
  border: none
}

.price-list li i {
  color: var(--red);
  margin-right: .5rem
}

.pricing-note {
  font-size: .82rem;
  color: var(--grey-text);
  margin-top: 2rem
}

/* TEAM */
.team-box {
  text-align: center;
  padding: 2rem
}

.team-icon {
  font-size: 3rem;
  color: var(--red);
  margin-bottom: 1rem
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--grey-border);
  padding: 1.25rem 0
}

.faq-q {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.faq-q:hover {
  color: var(--red)
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: .9rem;
  transition: max-height .4s ease;
  padding-top: .75rem;
  opacity: 0;
  transition: max-height .4s ease, opacity .3s ease
}

.faq-item.open .faq-a {
  max-height: 500px;
  opacity: 1
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg)
}

.faq-chevron {
  transition: transform .2s;
  color: var(--grey-label)
}

/* CONTACT */
.contact-input {
  border: 1px solid var(--grey-border);
  border-radius: 4px;
  padding: .7rem 1rem;
  font-size: .9rem;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  transition: border-color .2s
}

.contact-input:focus {
  outline: none;
  border-color: var(--red)
}

textarea.contact-input {
  min-height: 120px;
  resize: vertical
}

.contact-select {
  appearance: auto;
  cursor: pointer;
  color: var(--grey-text)
}

.contact-select:focus {
  color: var(--dark)
}

.contact-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: .75rem
}

.contact-info-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .9rem;
  color: var(--grey-text)
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--grey-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.1rem;
  flex-shrink: 0
}

.btn-lg {
  padding: .85rem 2rem !important;
  font-size: .95rem !important;
  letter-spacing: 1px;
  text-transform: uppercase
}

/* CONFIRMATION */
.confirm-box {
  border: 1px solid var(--grey-border);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  background: var(--white)
}

.confirm-icon {
  font-size: 3.5rem;
  color: var(--red);
  margin-bottom: 1.25rem
}

.confirm-icon i {
  display: inline-block
}

.confirm-msg {
  font-size: .95rem;
  color: var(--grey-text);
  line-height: 1.7;
  margin-bottom: 1.5rem
}

.confirm-sep {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 1.5rem
}

.confirm-ref {
  background: var(--grey-bg);
  border: 1px solid var(--grey-border);
  border-radius: 6px;
  padding: .85rem 1.25rem;
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem
}

.confirm-ref-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey-label);
  font-weight: 600
}

.confirm-ref-val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .88rem;
  color: var(--dark);
  font-weight: 500
}

.confirm-note {
  font-size: .8rem;
  color: var(--grey-label);
  margin-top: 1rem
}

/* FOOTER */
footer {
  background: var(--dark);
  color: var(--grey-label);
  padding: 3rem 0 0;
  font-size: .8rem;
  margin-bottom: 0
}

footer a {
  color: var(--grey-label);
  text-decoration: none;
  transition: color .2s
}

footer a:hover {
  color: var(--white)
}

.footer-logo {
  height: 28px;
  margin-bottom: .75rem;
}

.footer-heading {
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0
}

.footer-links li {
  margin-bottom: .6rem
}

.footer-links a {
  font-size: .85rem
}

.footer-tagline {
  font-size: .78rem;
  color: var(--grey-label);
  margin-bottom: 1rem;
  font-style: italic
}

.footer-social {
  display: flex;
  gap: .75rem;
  justify-content: flex-end
}

.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all .2s
}

.footer-social a:hover {
  border-color: var(--red);
  color: var(--red)
}

.footer-bottom {
  background: var(--red);
  padding: 1rem 0;
  width: 100%;
  margin: 0
}

.footer-legal {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: .75rem
}

.footer-legal span {
  color: rgba(255, 255, 255, .5)
}

.footer-copy {
  font-size: .75rem;
  color: var(--white)
}

.footer-legal a {
  color: var(--white) !important;
  opacity: .85
}

.footer-legal a:hover {
  opacity: 1
}

html[dir="rtl"] .footer-social {
  justify-content: flex-start
}

/* RTL */
html[dir="rtl"] body {
  font-family: 'DM Sans', sans-serif
}

html[dir="rtl"] .price-list {
  text-align: right
}

html[dir="rtl"] .price-list li i {
  margin-right: 0;
  margin-left: .5rem
}

html[dir="rtl"] .navbar-nav {
  padding-right: 0
}

@media(max-width:768px) {
  #hero h1 {
    font-size: 1.75rem
  }

  h2 {
    font-size: 1.5rem
  }

  section {
    padding: 3.5rem 0
  }

  .hero-icon {
    height: 56px
  }

  .hero-stats {
    gap: 1.5rem
  }

  .hero-stat-val {
    font-size: 1.2rem
  }

  .terminal {
    font-size: .6rem
  }

  .terminal-body {
    padding: .75rem 1rem
  }

  .contact-info-list {
    margin-top: 1.5rem
  }

  .footer-social {
    justify-content: flex-start
  }

  .sector-card {
    padding: 1.5rem
  }
}

@media(max-width:400px) {
  #hero h1 {
    font-size: 1.5rem
  }

  .hero-stats {
    gap: 1rem
  }

  .hero-stat-val {
    font-size: 1rem
  }

  .btn-tyrant,
  .btn-outline-tyrant {
    padding: .6rem 1.2rem;
    font-size: .82rem
  }
}