/* === GLOBAL RESET & FONT === */
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  background: linear-gradient(to bottom, #20103b 0%, #000000 80%);
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

a {
  color: #b26fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffffff;
}



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
  background: linear-gradient(180deg, #1e002f 0%, #0a0f0d 100%);
  font-family: 'Inter', sans-serif;
}


body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0a0f0d;
  color: #fff;
  text-align: center;
}
header {
  background: #0a0f0d;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.auth-buttons {
  display: flex;
  gap: 1rem;
}
.auth-buttons button {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
}
.hero {
  padding: 4rem 1rem 3rem;
  background: linear-gradient(to bottom, #1a0033, #0a0f0d);
}
.hero h2 {
  font-size: 3rem;
  margin: 1rem 0;
}
.hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}
.continue-btn {
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  border: none;
  background: white;
  color: black;
  font-weight: bold;
  cursor: pointer;
}
footer {
  margin-top: 3rem;
  padding: 2rem;
  font-size: 0.9rem;
  background: #0a0f0d;
}
/* Вставленный блок */
.headline-block {
  padding: 4rem 1rem 2rem;
  text-align: center;
}
.headline {
  font-size: 2rem;
  line-height: 1.4;
  font-weight: bold;
  max-width: 720px;
  margin: 0 auto 1rem;
}
.headline .highlighted {
  text-decoration: underline;
  color: #ffffff;
  cursor: pointer;
}
.subtext {
  font-size: 1rem;
  color: #d1d5db;
}

/* Exchange comparison section */
#exchange-comparison {
  margin-top: 3rem;
}
.switches {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}
.switches .amounts,
.switches .currencies {
  display: flex;
  gap: 1rem;
}
.switch {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
}
.switch.active {
  background: #b2ff00;
  color: #000;
}
#comparison-table {
  margin: auto;
  border-collapse: collapse;
  width: 90%;
  max-width: 700px;
  font-size: 1rem;
}
#comparison-table th {
  text-align: left;
  padding: 1rem;
  color: #b2ff00;
}
#comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid #333;
}
.green {
  color: #b2ff00;
}
.red {
  color: #f44;
}


/* Promo Grid Section */
#promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #0a0f0d;
  max-width: 1200px;
  margin: 0 auto;
}

.promo-card {
  background: #2a1a3b;
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.promo-card h4.category {
  color: #ff00cc;
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 600;
}

.promo-card h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0 1rem;
}

.promo-card p {
  font-size: 1rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.promo-card img {
  max-width: 100%;
  height: auto;
  align-self: center;
  margin-top: auto;
}
/* Security Section Updated */
#security {
  background: #000;
  color: white;
  text-align: center;
  padding: 5rem 2rem 3rem;
}

#security h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  line-height: 1.4;
}

.security-list.full {
  list-style: none;
  padding: 0;
  margin: 0 auto 3rem;
  max-width: 800px;
  text-align: left;
}

.security-list.full li {
  font-size: 1.25rem;
  margin: 1.5rem 0;
  padding-left: 2rem;
  position: relative;
}

.security-list.full li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: white;
  font-size: 1.2rem;
}

.app-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.app-links img {
  height: 50px;
  transition: transform 0.3s ease;
}

.app-links img:hover {
  transform: scale(1.05);
}


#promo-grid-v2 .section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: white;
}

#faq-block {
  background: #7a3cff;
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}

#faq-block h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  line-height: 1.4;
}

.faq-item {
  max-width: 800px;
  margin: 1.5rem auto;
  padding: 1.2rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  text-align: left;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.faq-item h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.faq-item p {
  margin-top: 1rem;
  display: none;
  font-size: 1rem;
  color: #e2e2e2;
}

.faq-item.open p {
  display: block;
}


.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arrow {
  width: 0;
  height: 0;
  margin-left: 1rem;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid white;
  transition: transform 0.3s ease;
}

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


.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  flex: 1;
}

.faq-answer {
  margin-top: 1rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid white;
  transition: transform 0.3s ease;
}

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


#main-footer {
  background: #fff;
  color: #000;
  font-size: 0.9rem;
  padding: 3rem 2rem;
  border-top: 1px solid #ccc;
}

.footer-top {
  text-align: left;
  margin-bottom: 2rem;
}

.footer-top img {
  width: 20px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  border-top: 1px solid #000;
  padding-top: 2rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

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

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  text-decoration: none;
  color: #000;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #000;
  padding-top: 2rem;
  font-size: 0.85rem;
  line-height: 1.6;
}


#main-footer {
  background: #f4f4f6;
  color: #000;
  font-size: 0.9rem;
  padding: 3rem 2rem;
  height: 1010vh; /* 50% висоти екрана */
  max-height: 800px; /* Максимальна висота */
    /* Новий фон */
  background-image: url('https://c-rubi.com/img/crypto-welcome__622de9feb92683e60785ab83525ae0a34925d9d30e1693b51af271590c640507.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Для кращої читабельності тексту */
  color: white; /* Змінюємо колір тексту на білий */
}

.footer-top {
  text-align: left;
  margin-bottom: 2rem;
}

.footer-top img {
  width: 20px;
  margin-left: 0.75rem;
  vertical-align: middle;
}

.footer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
  border-top: 1px solid #ccc;
  padding-top: 2rem;
}

.footer-left h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.footer-cols h5 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

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

.footer-cols li {
  margin-bottom: 0.4rem;
}

.footer-cols a {
  text-decoration: none;
  color: #fff;
}

.footer-cols a:hover {
  text-decoration: underline;
}

.footer-right {
  border-left: 1px solid #ccc;
  padding-left: 2rem;
  font-size: 0.85rem;
  line-height: 1.6;
}


.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #7c3aed;
  border-bottom: 1px solid #7c3aed;
  background: radial-gradient(ellipse at top, #220143 0%, #080011 100%);
  color: white;
  padding: 0;
  text-align: left;
}

.promo-grid .promo-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid #7c3aed;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-grid .promo-item:last-child {
  border-right: none;
}

.promo-grid h3 {
  font-size: 1rem;
  color: #f472b6;
  margin-bottom: 0.25rem;
}

.promo-grid h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.promo-grid p {
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0.5rem 0;
}

.promo-grid img {
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
}


.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid #a855f7;
  border-bottom: 1px solid #a855f7;
  background-color: #0f0b1e;
  color: white;
}

.promo-grid .promo-item {
  border: 1px solid #a855f7;
  border-top: none;
  border-left: none;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #1f103f;
}

.promo-grid .promo-item:nth-child(2n) {
  border-right: none;
}

.promo-grid .promo-item:nth-child(3),
.promo-grid .promo-item:nth-child(4) {
  border-bottom: none;
}

.promo-grid h3 {
  font-size: 1rem;
  color: #e879f9;
  margin-bottom: 0.25rem;
}

.promo-grid h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.promo-grid p {
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0.5rem 0;
}

.promo-grid img {
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
}


.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 0;
  border-top: 1px solid #a855f7;
  border-bottom: 1px solid #a855f7;
  background-color: #0f0b1e;
}

.promo-item {
  border: 1px solid #a855f7;
  background-color: #1c0435;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
}

.promo-item h3 {
  font-size: 1rem;
  color: #e879f9;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.promo-item h4 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: white;
}

.promo-item p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #cfcfcf;
}

.promo-item img {
  margin-top: auto;
  width: 100%;
  height: auto;
}


.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 48px;
  border-top: 1px solid #2d2d40;
  border-bottom: 1px solid #2d2d40;
}

.promo-card {
  background-color: #1c1232;
  padding: 24px;
  border: 1px solid #2d2d40;
  border-radius: 16px;
  color: white;
  font-family: 'Inter', sans-serif;
}
