/* =========================================================
   === 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;
}

/* =========================================================
   === BASE STYLES ===
========================================================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

/* =========================================================
   === HERO SECTION ===
========================================================= */

.hero {
  width: 100%;
  background-image: url('assets/background-intro.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 120px 40px;
  position: relative;
  font-family: "Blender Pro", sans-serif;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.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;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

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

.hero-text h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 20px 0;
}

.hero-text p {
  font-size: clamp(16px, 1.8vw, 18px);
  color: #d0d0e0;
  margin-bottom: 32px;
  line-height: 1.6;
}

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

.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", sans-serif;
  cursor: pointer;
  text-align: center;
}

.btn.primary {
  background-color: #e71e26;
  border: none;
  border-radius: 54px;
  color: #fff;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 700;
  line-height: 100%;
  padding: clamp(20px, 2vw, 29px) clamp(40px, 5vw, 72px);
  text-transform: uppercase;
}

.btn.primary:hover {
  background: #ff4c48;
}


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

.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: clamp(14px, 1.5vw, 16px);
  color: #bbb;
}

.hero-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 0;
}

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

/* Image */
.hero-image {
  flex-shrink: 0;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}

/* =========================================================
   === CAPTCHA STYLES ===
========================================================= */

.captcha-container {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

canvas#captcha {
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  display: block;
  max-width: 100%;
  height: auto;
}

.captcha-input {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
  width: 100%;
  max-width: 200px;
  font-size: 16px;
  font-family: "Blender Pro", sans-serif;
}

.captcha-refresh {
  cursor: pointer;
  color: #e71e26;
  font-size: 14px;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  font-family: "Blender Pro", sans-serif;
}

.captcha-refresh:hover {
  color: #ff4c48;
}

.captcha-error {
  color: #ff4c48;
  font-size: 14px;
  display: none;
  font-weight: 600;
}

/* =========================================================
   === RESPONSIVE STYLES ===
========================================================= */

/* Large tablets and below (1200px) */
@media (max-width: 1200px) {
  .hero {
    padding: 100px 40px;
  }
  
  .hero-inner {
    gap: 40px;
  }
  
  .hero-image img {
    max-width: 400px;
  }
}

/* Tablets (1024px) */
@media (max-width: 1024px) {
  .hero {
    padding: 80px 40px;
    min-height: 500px;
  }
  
  .hero-image img {
    max-width: 350px;
  }
}

/* Small tablets (900px) */
@media (max-width: 900px) {
  .hero {
    padding: 60px 30px;
  }
  
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

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

  .hero-buttons {
    justify-content: center;
  }
  
  .hero-features {
    text-align: center;
  }

  .hero-image img {
    max-width: 400px;
  }
  
  .captcha-container {
    align-items: center;
  }
}

/* Large mobile (768px) */
@media (max-width: 768px) {
  .hero {
    padding: 50px 24px;
  }
  
  .hero-text h1 {
    margin-bottom: 16px;
  }
  
  .hero-text p {
    margin-bottom: 24px;
  }
  
  .hero-buttons {
    margin-bottom: 30px;
  }
  
  .hero-image img {
    max-width: 320px;
  }
}

/* Mobile (640px) */
@media (max-width: 640px) {
  .hero {
    padding: 40px 20px;
    min-height: auto;
  }
  
  .hero-inner {
    gap: 30px;
  }
  
  .hero-text {
    text-align: left;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .btn.primary,
  .btn.secondary {
    width: 100%;
  }

  .btn.primary {
    padding: 18px 32px;
  }

  .btn.secondary {
    padding: 14px 28px;
  }
  
  .hero-features {
    text-align: left;
  }
  
  .hero-image img {
    max-width: 280px;
  }
  
  .captcha-container {
    align-items: flex-start;
    width: 100%;
  }
  
  .captcha-input {
    max-width: 100%;
  }
}

/* Small mobile (480px) */
@media (max-width: 480px) {
  .hero {
    padding: 30px 16px;
  }
  
  .hero-inner {
    gap: 24px;
  }
  
  .btn.primary {
    padding: 16px 28px;
    font-size: 16px;
  }

  .btn.secondary {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .hero-image img {
    max-width: 240px;
  }
}

/* Extra small mobile (360px) */
@media (max-width: 360px) {
  .hero {
    padding: 24px 12px;
  }
  
  .hero-text h1 {
    font-size: 28px;
  }
  
  .btn.primary {
    padding: 14px 24px;
    font-size: 14px;
  }
  
  .hero-image img {
    max-width: 200px;
  }
}