/* ============ VARIABLES ============ */
:root {
  --font-family-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --color-text-main: #1c1c1e;
  --color-text-grey: #86868B;
  --color-text-darkgrey: rgba(24, 24, 24, 0.7);
  --color-text-light: #fff;
  --color-accent: #fe2c55;
  --color-accent-dark: #b6002a;
  --color-link-hover: #ff4a4a;
  --color-bg-dark: #000000;
  --color-bg-main: #fff;
  --color-border: #eee;
}

/* ============ FONTS ============ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

/* ============ RESET ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-main);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============ TYPOGRAPHY ============ */
h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 56px;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 0.5em;
}

h2, h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.25px;
  line-height: 1.2;
  margin-bottom: 0.4em;
}

p {
  font-family: var(--font-family-main);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
}


/* --- LINKS --- */
a {
  color: var(--color-accent);
  transition: color 0.2s;
}

/* --- IMAGES --- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- BUTTONS AND INPUTS BASE --- */
button {
  font: inherit;
  cursor: pointer;
}
input, button {
  border: none;
  outline: none;
}
input {
  font-size: var(--font-input);
}

/* --- MOBILE ADAPTIVE HEADINGS --- */
@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }
  h2, h3 {
    font-size: 22px;
  }
  p {
    font-size: 16px;
  }
}

/* ============ CONTAINER ============ */
.container {
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
  margin-right: auto;
  margin-left: auto;
  max-width: 100%;
}
@media (min-width: 576px)   { .container { max-width: 540px; } }
@media (min-width: 768px)   { .container { max-width: 720px; } }
@media (min-width: 992px)   { .container { max-width: 960px; } }
@media (min-width: 1200px)  { .container { max-width: 1140px; } }
@media (min-width: 1400px)  { .container { max-width: 1320px; } }
@media (min-width: 1800px)  { .container { max-width: 1700px; } }

/* ============ HEADER & NAVBAR ============ */
.bg-white {
  background-color: var(--color-bg-main);
}

.bg-black {
  background-color: var(--color-bg-dark);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  position: relative;
  margin-bottom: 30PX;
}
.navbar__logo-block img {
  height: 35px;
  display: block;
}
.navbar__support {
  display: flex;
  align-items: center;
}

/* --- SUPPORT TOOLTIP--- */
.support-tooltip {
  position: relative;
  display: inline-block;
}
.support-tooltip__trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}
.support-tooltip__trigger img {
  width: 40px;
  height: 40px;
}

.support-tooltip__content {
  position: absolute;
  top: -10px;
  right: 50px;
  min-width: unset;
  background: #ffffff;
  color: #000000;
  padding: 11px 32px;
  border-radius: 6px;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 10;
  white-space: nowrap;
}
.support-tooltip:hover .support-tooltip__content,
.support-tooltip__trigger:focus + .support-tooltip__content {
  opacity: 1;
  visibility: visible;
}
.support-tooltip__text {
  margin-bottom: 0;
  font-size: 14px;
}
.support-tooltip__link {
  display: inline;
  font-size: 14px;
  word-break: break-all;
  color: var(--color-link-hover);
  text-decoration: none;
  font-weight: bold;
}

@media (max-width: 768px) {
  .navbar__logo-block img {
    height: 22px;
  }
  .support-tooltip__trigger img {
    height: 22px;
    width: 22px;
  }
  .support-tooltip__content {
    right: 30px;
  }
}

/* ============ CONTACT SECTION ============ */
.contact-section {
  flex: 1;
}
.contact {
  text-align: center;
  padding: 60px 16px;
}

.contact__title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-text-main);
  margin-bottom: 24px;
}

.contact__text {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-darkgrey);
  margin-bottom: 16px;
}

.contact__email {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: none;
}

.contact__email:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact__title {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .contact__text {
    font-size: 16px;
  }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--color-bg-main);
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
  margin-top: 48px;
  font-size: 16px;
  color: var(--color-text-grey);
}
.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.footer__brand {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__logo {
  margin-bottom: -2px;
  height: 20px;
  display: block;
}
.footer__year {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1;
}
.footer__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__link {
  color: var(--color-text-grey);
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.footer__link:hover {
  color: var(--color-link-hover);
}
@media (max-width: 768px) {
  .footer__container {
    gap: 10px;
  }
  .footer__logo {
    height: 14px;
    display: block;
  }
  .footer__year {
    font-size: 10px;
    display: block;
  }
  .footer__links {
    gap: 20px;
    margin-left: 0;
  }
  .footer__link {
    font-size: 10px;
  }
}
