/* AtoZ Crypto Course — копия оригинала: цвета, шрифты, стили */

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

:root {
  --color-bg-dark: #0f0d1d;
  --color-text-dark: #161C2D;
  --color-btn: #32373c;
  --color-btn-hover: #40464d;
  --color-white: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Roboto', 'Rubik', system-ui, sans-serif;
  font-size: 21px;
  line-height: 1.6;
  color: var(--color-text-dark);
  font-weight: inherit;
  text-transform: inherit;
  font-style: inherit;
  text-decoration: none;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-bg-dark);
  color: var(--color-white);
}

/* Header */
.atoz-header {
  background: transparent;
  padding: 1rem 0;
}
.atoz-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.atoz-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
}
.atoz-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.atoz-nav a {
  color: #000;
  font-weight: 700;
}
.atoz-nav a:hover { text-decoration: underline; }
.atoz-nav a.active {
  color: #c00;
  text-decoration: underline;
}

.atoz-nav-toggle {
  display: none;
  padding: 0.5rem;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

/* Main */
.atoz-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  text-transform: inherit;
  font-style: inherit;
}
h1 {
  font-family: "Rubik", sans-serif;
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 56px;
  letter-spacing: 5.5px;
  color: #0084FF;
  margin-top: 0;
  text-align: center;
}
h2 { font-size: 1.35rem; margin-top: 2rem; margin-bottom: 0.5rem; }
h3 { font-size: 1.15rem; margin-top: 1.5rem; }

p { margin: 0 0 1rem; }
ul { padding-left: 1.5rem; margin: 0 0 1rem; }

/* Buttons / CTA */
.atoz-btn {
  display: inline-block;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  background: #0084FF;
  color: var(--color-white);
  font-size: 1.125em;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.atoz-btn:hover {
  background: #0066cc;
  color: var(--color-white);
  text-decoration: none;
}

.atoz-btn-easy-wrap {
  text-align: center;
  margin: 1.5rem 0;
}
.atoz-btn-easy {
  border-radius: 0;
  font-size: 1.6875em;
}
.atoz-btn-easy:hover {
  text-decoration: none;
}
.atoz-btn-buy {
  text-transform: uppercase;
  border-radius: 3px;
}
.atoz-btn-buy:hover {
  text-decoration: none;
}

/* YouTube embed */
.atoz-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1.5rem auto;
  max-width: 80%;
  max-height: 80%;
}
.atoz-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.atoz-video-wrap--half {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.atoz-video-wrap--hero-small {
  width: 100%;
  margin: 0 auto;
  max-height: none;
}

.atoz-main-course-lead {
  width: 100%;
  text-decoration: underline;
  margin: 0 0 1rem;
  text-align: center;
}
.atoz-price-crossed {
  font-size: 1.5em;
}

/* Main course: video + text 50/50 */
.atoz-main-course-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0;
  align-items: flex-start;
}
.atoz-main-course-hero__video {
  flex: 1 1 50%;
  min-width: 280px;
}
.atoz-main-course-hero__text {
  flex: 1 1 50%;
  min-width: 280px;
}

@media (min-width: 769px) {
  .atoz-main-course-hero {
    flex-wrap: nowrap;
  }
  .atoz-main-course-hero__video {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .atoz-main-course-hero__text {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Four blocks (2×2) */
.atoz-four-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}
.atoz-four-blocks__item {
  text-align: center;
  padding: 1.5rem 1rem;
}
.atoz-four-blocks__title {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  color: #0084FF;
}
.atoz-four-blocks__text {
  margin: 0;
  color: #000;
  text-align: center;
}
@media (max-width: 768px) {
  .atoz-four-blocks {
    grid-template-columns: 1fr;
  }
}
.atoz-four-blocks-foot {
  width: 100%;
  text-align: center;
  text-decoration: underline;
  margin: 1.5rem 0;
}
.atoz-example-label {
  text-align: center;
  text-decoration: underline;
  font-family: 'Roboto', 'Rubik', system-ui, sans-serif;
}

/* Accordion (course index) */
.atoz-accordion {
  margin: 2rem 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}
.atoz-accordion-item {
  border-bottom: 1px solid #ddd;
}
.atoz-accordion-item:last-child {
  border-bottom: none;
}
.atoz-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: left;
  color: inherit;
  background: #f8f8f8;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.atoz-accordion-trigger:hover {
  background: #eee;
}
.atoz-accordion-item.is-open .atoz-accordion-trigger {
  background: #eee;
}
.atoz-accordion-title {
  flex: 1;
}
.atoz-accordion-icon {
  flex-shrink: 0;
  margin-left: 0.5rem;
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}
.atoz-accordion-item.is-open .atoz-accordion-icon {
  transform: rotate(180deg);
}
.atoz-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #fff;
}
.atoz-accordion-item.is-open .atoz-accordion-panel {
  max-height: 800px;
}
.atoz-accordion-panel ul {
  margin: 0;
  padding: 1rem 1rem 1rem 2.5rem;
  border-top: 1px solid #eee;
}
.atoz-accordion-panel > p {
  margin: 0;
  padding: 1rem 1rem 1rem 2.5rem;
  border-top: 1px solid #eee;
}

/* Testimonials */
.atoz-testimonial {
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid #ddd;
}
.atoz-testimonial img {
  max-width: 80px;
  height: auto;
  border-radius: 50%;
  margin-right: 1rem;
  vertical-align: middle;
}
.atoz-testimonial blockquote { margin: 0.5rem 0; }
.atoz-testimonial .author { font-weight: 700; }
.atoz-testimonial .location { font-size: 0.9rem; color: #666; }
.atoz-stars {
  margin: 0.25rem 0;
  font-size: 1.1rem;
}
.atoz-stars .fa-star {
  color: #e6c200;
}

/* Footer */
.atoz-footer {
  background: var(--color-bg-dark);
  color: #aaa;
  padding: 3rem 1rem 2rem;
  margin-top: 3rem;
}
.atoz-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.atoz-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.atoz-footer nav li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35em;
  margin-bottom: 0.4em;
}
.atoz-footer-icon {
  font-size: 0.7em;
  color: #c00;
}
.atoz-footer nav a {
  color: #aaa;
}
.atoz-footer nav a:hover { text-decoration: underline; }
.atoz-footer-company { font-size: 0.95rem; line-height: 1.5; }

/* Contact: form + map */
.atoz-contact-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
  margin-top: 1rem;
}
.atoz-contact-form {
  flex: 0 1 400px;
}
.atoz-contact-map {
  flex: 1 1 320px;
  min-width: 280px;
  border-radius: 4px;
  overflow: hidden;
  background: #eee;
}
.atoz-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* Forms */
.atoz-form {
  max-width: 400px;
}
.atoz-form label { display: block; margin-bottom: 0.25rem; }
.atoz-form input,
.atoz-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.atoz-form button[type="submit"] {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
}

/* Utilities */
.atoz-success { color: #0a0; font-weight: 600; margin: 1rem 0; }
del { color: #000; }

@media (max-width: 768px) {
  .atoz-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .atoz-nav {
    display: none;
    width: 100%;
    order: 3;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.15);
  }
  .atoz-nav.is-open {
    display: block;
  }
  .atoz-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .atoz-nav li {
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  .atoz-nav a {
    display: block;
    padding: 0.75rem 0;
  }
  .atoz-header-inner {
    flex-wrap: wrap;
  }
}

@media (min-width: 769px) {
  .atoz-nav-toggle { display: none !important; }
}

/* Cookie Consent Styles */
.cc-deny {
  background-color: #666 !important;
  color: #ffffff !important;
  margin-left: 10px;
}
.cc-deny:hover {
  background-color: #555 !important;
}
.cc-revoke,
.cc-revoke.cc-bottom,
.cc-revoke.cc-left,
div.cc-revoke {
  cursor: pointer !important;
  background-color: #2A52C3 !important;
  color: #ffffff !important;
  padding: 12px !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  position: fixed !important;
  bottom: 20px !important;
  left: 20px !important;
  top: auto !important;
  right: auto !important;
  z-index: 9999 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
  text-align: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  transform: none !important;
}
.cc-revoke:hover,
.cc-revoke.cc-bottom:hover,
.cc-revoke.cc-left:hover,
div.cc-revoke:hover {
  background-color: #1e3d8f !important;
}
.cc-revoke i,
.cc-revoke.cc-bottom i,
.cc-revoke.cc-left i,
div.cc-revoke i {
  margin: 0 !important;
}

/* Cookie Consent Message Alignment */
.cc-message,
.cc-window .cc-message,
.cc-content .cc-message {
  text-align: left !important;
}
.cc-window {
  text-align: left !important;
}
.cc-content {
  text-align: left !important;
}
