/* =========================================================
   === BLENDER PRO FONT FAMILY (only Book, Bold, Heavy) ===
========================================================= */

@font-face {
  font-family: "Blender Pro";
  src: url("../fonts/BlenderPro-Book.woff2") format("woff2"),
       url("../fonts/BlenderPro-Book.woff") format("woff"),
       url("../fonts/BlenderPro-Book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Blender Pro";
  src: url("../fonts/BlenderPro-Bold.woff2") format("woff2"),
       url("../fonts/BlenderPro-Bold.woff") format("woff"),
       url("../fonts/BlenderPro-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Blender Pro";
  src: url("../fonts/BlenderPro-Heavy.woff2") format("woff2"),
       url("../fonts/BlenderPro-Heavy.woff") format("woff"),
       url("../fonts/BlenderPro-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

/* =========================================================
   === HEADER ===
========================================================= */
.site-header {
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
  padding: 12px 0;
  font-family: "Blender Pro";
  font-weight: 900;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* ✅ лого слева, гамбургер справа */
  padding: 16px 20px;
}


/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo img {
  height: 42px;
  width: auto;
  display: block;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #111;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
  transition: color 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.main-nav a img {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}

.main-nav a:hover {
  color: #ff073a;
}

.main-nav .cta {
  background: #ff073a;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.main-nav .cta:hover {
  background: #ff305d;
  transform: translateY(-2px);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown.active > a img {
  transform: rotate(180deg);
}

/* =========================================================
   === MEGA MENU ===
========================================================= */

.mega-menu {
  position: fixed;
  top: 66px;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 998;
  max-height: calc(100vh - 66px);
  overflow-y: auto;
  background-image: url('../assets/background-mega.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 300px;
}

.mega-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  gap: 80px;
}

.mega-menu-section {
  flex: 1;
}

.mega-menu-section h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 32px;
  color: #9e9e9e;
  font-weight: 700;
}

.mega-menu-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 1px;
  background: red;
  border-radius: 1px;
}

.mega-menu-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mega-menu-section li a {
  color: #111;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
  transition: color 0.2s ease;
  display: block;
}

.mega-menu-section li a:hover {
  color: #ff073a;
}

.mega-menu-section .disclaimer {
  margin-top: 24px;
  font-size: 12px;
  color: #666;
}

.social-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.social-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* =========================================================
   === 2. HERO SECTION ===
========================================================= */

body {
  margin: 0;
  padding: 0;
}

.hero {
  width: 100%;
  background-image: url('assets/background-intro.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 120px 0;
  position: relative;
  font-family: "Blender Pro";
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 25, 0.4);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-size: 54px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  color: #d0d0e0;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: "Blender Pro";
}

.btn.primary {
  background-color: #e71e26;
  border: none;
  border-radius: 54px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
  padding: 29px 72px;
  text-transform: uppercase;
}

.btn.primary:hover {
  background: #ff4c48;
  transform: translateY(-2px);
}

.btn.secondary {
  border: 2px solid #fff;
  color: #fff;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Features list */
.hero-features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  color: #bbb;
}

.hero-features li {
  margin-bottom: 10px;
}

.hero-features strong {
  color: #fff;
}

/* Image */
.hero-image img {
  width: 480px;
  max-width: 100%;
  height: auto;
}

/* =========================================================
   === 3. INFO SECTION ===
========================================================= */
.info-section {
  background: #fff;
  color: #111;
  padding: 120px 0;
  text-align: center;
  font-family: "Blender Pro";
}

.info-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-title {
  margin-bottom: 60px;
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #111;
  text-align: center;
  width: 100%;
}

/* Cards */
.cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  width: 100%;
  flex-wrap: wrap;
}

.card {
  background: #f8f8f8;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 50px 30px;
  width: 340px;
  height: 420px; /* ✅ фиксированная высота */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  font-family: "Blender Pro";
  box-sizing: border-box;
}

/* выравнивание контента внутри */
.card .icon {
  margin-bottom: 24px;
}

.card h3 {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.card p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  flex-grow: 1;
}


.tronbull-gif {
  max-width: 350px;
  height: auto;
  border-radius: 16px;
  animation: fadeIn 1s ease-in-out;
}

/* =========================================================
   === 4. LEARN | GROW | BUILD SECTION ===
========================================================= */

.learn-grow-build {
  padding: 80px 0;
  background: #fff;
  font-family: "Blender Pro";
}

.learn-grow-build .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.learn-grow-build .content {
  flex: 1 1 500px;
}

.learn-grow-build h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 30px;
  color: #111;
}

.learn-grow-build p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 40px;
  max-width: 600px;
}

.learn-grow-build .btn {
  display: inline-block;
  background-color: #e51e25;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 40px;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.learn-grow-build .btn:hover {
  background-color: #c0191f;
  transform: translateY(-2px);
}

.learn-grow-build .image {
  flex: 1 1 400px;
  text-align: center;
}

.learn-grow-build .image img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   === 5. FOOTER ===
========================================================= */

.site-footer {
  background: #ffffff;
  color: #111;
  border-top: 1px solid #dcdcdc;
  font-family: "Blender Pro";
  padding: 28px 16px 40px;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Socials */
.site-footer__socials {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: flex-start;
  padding: 10px 0 30px;
}

.social-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-column li {
  margin: 12px 0;
}

.social-column a {
  color: #111;
  text-decoration: none;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: color 0.18s ease, transform 0.12s ease;
}

.social-column a i {
  font-size: 18px;
  width: 22px;
  text-align: center;
}

.social-column a:hover {
  color: #e51e25;
  transform: translateX(4px);
}

/* Also of interest */
.site-footer__also {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 0;
  text-align: center;
}

.also-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.also-links a:first-child {
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
}

.also-links a {
  color: #111;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.15s ease;
}

.also-links a:hover {
  color: #e51e25;
}

/* Divider */
.site-footer__divider {
  height: 1px;
  background: #e9ecef;
  margin: 22px 0;
}

/* Bottom */
.site-footer__bottom {
  text-align: center;
  padding-top: 18px;
}

.site-footer__logo {
  width: 70px;
  height: auto;
  display: inline-block;
  margin-bottom: 12px;
}

.site-footer__copyright {
  margin: 0;
  font-size: 14px;
  color: #444;
}

.site-footer__copyright a {
  color: #111;
  text-decoration: none;
  margin-left: 8px;
  font-weight: 500;
}

.site-footer__copyright a:hover {
  color: #e51e25;
}
/* =========================================================
   === HAMBURGER MENU ===
========================================================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #111;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Анимация при открытии */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Мобильная адаптация */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  }

  .main-nav.open {
    max-height: 400px; /* можно увеличить при необходимости */
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .main-nav a {
    display: block;
    padding: 12px 20px;
    font-size: 18px;
  }
}


/* =========================================================
   === 6. RESPONSIVE STYLES ===
========================================================= */

/* Tablets and below (1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .mega-menu-content {
    gap: 40px;
    padding: 40px 20px;
  }

  .hero {
    padding: 80px 0;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-image img {
    width: 400px;
  }

  .learn-grow-build h2 {
    font-size: 38px;
  }

  .info-section {
    padding: 80px 0;
  }
}

/* Navigation breakpoint (900px) */
@media (max-width: 900px) {
  /* Header */
  .site-header {
    padding: 10px 0;
  }

  .logo img {
    height: 36px;
  }

  .main-nav ul {
    gap: 20px;
  }

  .main-nav a {
    font-size: 18px;
  }

  .main-nav .cta {
    padding: 8px 14px;
    font-size: 16px;
  }

  /* Mega Menu */
  .mega-menu-content {
    flex-direction: column;
    gap: 40px;
    padding: 30px 20px;
  }

  .mega-menu-section h3::after {
    width: 200px;
  }

  .social-columns {
    grid-template-columns: 1fr 1fr;
  }

  /* Hero */
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    margin-top: 20px;
  }

  .hero-image img {
    width: 100%;
    max-width: 400px;
  }

  /* Info Section */
  .cards {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .card {
    max-width: 80%;
  }

  .info-title {
    font-size: 26px;
  }

  /* Learn Grow Build */
  .learn-grow-build {
    padding: 60px 0;
  }

  .learn-grow-build .container {
    flex-direction: column;
    text-align: center;
  }

  .learn-grow-build .content {
    flex: 1 1 100%;
  }

  .learn-grow-build p {
    max-width: 100%;
  }

  /* Footer */
  .site-footer__socials {
    gap: 40px;
    flex-wrap: wrap;
  }
.social-columns {
    grid-template-columns: 1fr 1fr;
  }
  .social-column a {
    font-size: 16px;
  }

  .site-footer__also {
    padding: 20px 16px;
  }

  .also-links a {
    font-size: 18px;
  }
}


/* Mobile portrait (640px) */
@media (max-width: 640px) {
  /* Header */
  .logo img {
    height: 32px;
  }
  .main-nav ul {
    gap: 8px;
  }
  .main-nav a {
    font-size: 16px;
    padding: 8px 0;
  }
  /* Mega Menu */
  .mega-menu-content {
    padding: 20px 16px;
  }
  .mega-menu-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .mega-menu-section h3::after {
    width: 150px;
  }
  .mega-menu-section li a {
    font-size: 16px;
  }
  .mega-menu-section ul {
    gap: 12px;
  }
  /* Hero */
  .hero {
    padding: 40px 0;
  }
  .hero-text {
    text-align: left;
    margin-left: 20px;
  }
  .hero-text p {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    align-items: stretch;
  }
  .btn.primary,
  .btn.secondary {
    width: 60%;
    text-align: center;
    display: block;
  }
  .btn.primary {
    margin-left: 10px;
    padding: 22px 44px;
    font-size: 20px;
  }
  .btn.secondary {
    padding: 12px 24px;
    font-size: 14px;
  }
  .hero-features {
    font-size: 14px;
  }
  /* Info Section */
  .info-section {
    padding: 60px 0;
  }
  .info-title {
    font-size: 22px;
    margin-bottom: 40px;
  }
  .card {
    max-width: 100%;
    padding: 40px 24px;
  }
  .card h3 {
    font-size: 18px;
  }
  .card p {
    font-size: 14px;
  }
  /* Learn Grow Build */
  .learn-grow-build {
    padding: 50px 0;
  }
  .learn-grow-build h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .learn-grow-build p {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .learn-grow-build .btn {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    max-width: 300px;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
  }
  /* Footer */
  .site-footer {
    padding: 24px 16px 32px;
  }
  .site-footer__socials {
    align-items: center;
    margin-left: 100px;
    display: grid; /* меняем с flex на grid */
    grid-template-columns: 1fr 1fr; /* две колонки */
    gap: 20px;
    padding-bottom: 20px;
  }

  .social-column ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0;
  }
.social-column ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравниваем влево для лучшего вида */
}
.social-columns {
    grid-template-columns: 1fr 1fr;
}

  .social-column a {
    font-size: 15px;
  }
  .site-footer__also {
    padding: 16px 0;
    gap: 12px;
  }
  .also-links {
    flex-direction: column;
    gap: 10px;
  }
  .also-links a:first-child {
    font-size: 18px;
  }
  .also-links a {
    font-size: 16px;
  }
  .site-footer__logo {
    width: 56px;
  }
  .site-footer__copyright {
    font-size: 13px;
  }
}
/* Extra small devices (480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .hero-text {
    text-align: left;
    margin-left: 20px;
  }
  .hero-text p {
    font-size: 18px;
  }
  .info-title {
    font-size: 20px;
    letter-spacing: 1px;
  }
  .learn-grow-build h2 {
    font-size: 24px;
  }
  .card {
    padding: 30px 20px;
  }
  .card .icon img {
    width: 50px;
    height: 50px;
  }
   .site-footer__socials {
    align-items: center;
    margin-left: 70px;
    display: grid; /* меняем с flex на grid */
    grid-template-columns: 1fr 1fr; /* две колонки */
    gap: 20px;
    padding-bottom: 20px;
  }

  .btn.primary {
    margin-left: -20px;
    padding: 14px 24px;
    font-size: 14px;
  }
}