@font-face {
    font-family: 'IBM Plex Sans';
    src: url('/main/fonts/IBMPlexSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/main/fonts/SpaceGrotesk-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
}

:root {
  --bs-primary-rgb: 214, 64, 41;
  --bs-primary: #D64029 !important;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
  --bs-border-color: #dee2e6;
  --bs-link-color: #0d6efd;
}

html, body, #root {
    height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

body {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color) !important;
    font-family: 'IBM Plex Sans', sans-serif;
}

body, p, a, span, div, input, button, select {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    color: #000;
}

a {
    color: var(--bs-link-color) !important;
    text-decoration: none !important;
}
a:hover {
  text-decoration: none !important;
  font-weight: 700 !important;
}


.nav-link {
    color: var(--bs-body-color) !important;
}
.nav-link:hover {
    color: #000 !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  font-weight: 700 !important;
}

.navbar .nav-link:hover > span,
.navbar .nav-link:focus > span {
  font-weight: 700 !important;
}

.btn a,
a.btn {
    color: inherit !important;
    text-decoration: none !important;
}

.btn-outline-dark {
    color: var(--bs-body-color) !important;
    border-color: var(--bs-body-color) !important;
    background-color: transparent !important;
}

.btn-outline-dark:hover {
    color: #fff !important;
    background-color: var(--bs-body-color) !important;
    border-color: var(--bs-body-color) !important;
}

button.btn.btn-red,
a.btn.btn-red {
    color: #fff !important;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
button.btn.btn-red:hover,
a.btn.btn-red:hover {
    color: #fff !important;
    background-color: #C13A25;
    border-color: #C13A25;
}

.hr-dotted {
    border: 0;
    border-top: 2px dotted #d0d0d0;
    margin: 4rem 0;
}

.navbar-main {
    background-color: #fff;
    border-bottom: 1px solid var(--bs-border-color);
    padding: 0.75rem 0;
}
.navbar-main .navbar-brand img {
    max-height: 40px;
}
.navbar-main .nav-link {
    color: var(--bs-body-color) !important;
    font-weight: 500 !important;
}
.navbar-main .btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d !important;
}
.navbar-main .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff !important;
}

.btn {
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.25rem !important;
}
.btn-outline-dark {
    font-weight: 400 !important;
}


.section-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3rem);
}

.stats-section {
    background-color: #fff;
    padding-top: 3rem;
}

.stats-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.stats-title {
  margin-bottom: 0.4rem;
}

.stats-subtitle {
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
}

.stats-left .text-muted {
  margin-bottom: 0.1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}


.stats-button {
    min-width: 150px;
}

.stats-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.stats-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
    height: 90px;
    width: 100%;
}

.stat-card.full-width {
    grid-column: 1 / -1;
    width: 100%;
    min-width: unset;
}

.stat-label {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #6c757d;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--bs-primary) !important;
    text-align: center;
    line-height: 1.1;
    white-space: normal;
}

.chart-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chart-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.chart-container {
    width: 100%;
    height: 300px;
}

.stats-chart {
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (min-width: 992px) {
  .stats-chart {
    margin-top: 1.1rem;
  }
}


.card-accent-top a {
  color: #000 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-family: 'Space Grotesk', sans-serif !important;
}

.card-accent-top a:hover {
  color: #C13A25 !important;
  text-decoration: underline !important;
}



@media (max-width: 992px) {
    .stats-layout {
        grid-template-columns: 1fr;
    }
    .stats-cards {
        grid-template-columns: 1fr;
    }
    .stat-card.full-width {
        grid-column: 1 / -1;
    }
}

.card-accent-top {
    border: 1px solid var(--bs-border-color);
    border-top: 4px solid var(--bs-primary);
    padding: 1.5rem;
    height: 100%;
}
.card-accent-top img {
    max-width: 50px;
}

.org-logos-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}
.org-logos-container img {
    max-height: 45px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}
.org-logos-container img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.pricing-title {
  color: #D64029 !important;
  font-size: clamp(2.0rem, 6vw, 2.6em);
  font-weight: 700;
  line-height: 1.2;
}
.text-psiphon-red {
  color: #D64029 !important;
}
.toc a,
.toc a:visited,
.toc a:hover,
.toc a:active {
  color: #000 !important;
  font-weight: bold;
  text-decoration: underline !important;
}


#cookieConsent {
    background-color: rgba(20, 20, 20, 0.9);
    color: #ccc;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    padding: 12px 20px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.cookie-banner-link {
    color: #fcc984;
    text-decoration: underline !important;
    font-weight: 500;
    white-space: nowrap;
}

.cookieConsentOK {
    background-color: var(--bs-primary);
    color: #fff !important;
    border: 1px solid var(--bs-primary);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.3s, border-color 0.3s;
    text-decoration: none !important;
}

.cookieConsentOK:hover {
    background-color: #C13A25;
    border-color: #C13A25;
    color: #fff !important;
    text-decoration: none !important;
}
.content-wrapper {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 20px;
}
.extra-py {
  padding-top: 6rem;
  padding-bottom: 1rem;
}
.contact-narrow {
  max-width: 1000px;
  margin: 0 auto;
}

.hero-section {
  width: 100%;
  background-color: #f9f9f9;
}

.contact-section {
    padding: 4rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: #6c757d;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: #D64029;
}

.form-group input,
.form-group textarea {
    border: 1px solid #ccc;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'IBM Plex Sans', sans-serif;
    color: #212529;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #D64029;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn.btn-red {
    background-color: #D64029;
    color: #fff;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn.btn-red:hover {
    background-color: #C13A25;
}

.form-status {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        flex-direction: column;
    }
}
