@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&display=swap");

body {
  background: #fff;
  color: #000;
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 999px;
}
* {
  scrollbar-width: thin;
  scrollbar-color: #000 #f1f5f9;
}

/* ================================
   HERO
================================ */
.cr-hero {
  padding-top: 28px;
  min-height: 58vh;
  background: #000;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.cr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: crGrid 14s linear infinite;
}

@keyframes crGrid {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 60px 60px;
  }
}

.cr-hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 10%;
  max-width: 860px;
}

.cr-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.cr-hero-tag span {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  display: inline-block;
}

.cr-hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.95;
  color: #fff;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(24px);
  animation: crIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.cr-hero h1 em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.28);
}

.cr-hero p {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  max-width: 520px;
  line-height: 1.7;
  opacity: 0;
  animation: crIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

@keyframes crIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cr-hero-cta {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: #00f0fe;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 4px 14px #16e3f1;
  transition: all 0.25s ease;
  opacity: 0;
  animation: crIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

/* ================================
   SHARED
================================ */
.cr-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.35);
  margin-bottom: 14px;
  display: block;
}

/* ================================
   WHY CYVEX
================================ */
.cr-why {
  padding: 80px 10%;
  background: #f8f8f8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.cr-why-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cr-why-left h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.5px;
  color: #000;
  margin-bottom: 20px;
}

.cr-why-left h2 span {
  color: rgba(0, 0, 0, 0.25);
}

.cr-why-left p {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.8;
  font-weight: 300;
}

.cr-why-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cr-why-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.cr-why-item.cr-visible {
  opacity: 1;
  transform: translateY(0);
}

.cr-why-item:last-child {
  border-bottom: none;
}

.cr-why-icon {
  width: 40px;
  height: 40px;
  background: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}

.cr-why-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.cr-why-item p {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
  line-height: 1.6;
  font-weight: 300;
}

/* ================================
   APPLY SECTION
================================ */
.cr-apply {
  padding: 80px 10%;
  background: #fff;
}

.cr-apply-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.cr-apply-left h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #000;
  margin-bottom: 14px;
}

.cr-apply-left > p {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 32px;
}

.cr-info-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cr-info-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #f8f8f8;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 8px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

.cr-info-card i {
  font-size: 16px;
  color: #000;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.cr-info-card img {
  height: 20px;
  color: #000;
  width: 20px;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

/* ================================
   FORM
================================ */
.cr-form-wrap {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 36px;
}

.cr-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cr-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cr-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}

.cr-field label span {
  color: rgba(0, 0, 0, 0.3);
}

.cr-field input {
  width: 100%;
  padding: 11px 14px;
  background: #f8f8f8;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  color: #000;
  outline: none;
  transition: all 0.2s ease;
}

.cr-field input:focus {
  border-color: #000;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.cr-field-error {
  font-size: 12px;
  color: rgb(180, 0, 0);
  font-weight: 400;
  min-height: 16px;
}

.cr-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  line-height: 1.6;
}

.cr-privacy input[type="checkbox"] {
  accent-color: #000;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.cr-privacy a {
  color: #000;
  text-decoration: underline;
}

/* ================================
   UPLOAD AREA
================================ */
.cr-upload-area {
  border: 2px dashed rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  background: #f8f8f8;
}

.cr-upload-area:hover,
.cr-upload-area.dragover {
  border-color: #000;
  background: #f0f0f0;
}

.cr-upload-placeholder i {
  font-size: 32px;
  color: rgba(0, 0, 0, 0.25);
  margin-bottom: 10px;
  display: block;
}

.cr-upload-placeholder p {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 500;
  margin-bottom: 4px;
}

.cr-upload-placeholder span {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.3);
  font-weight: 300;
}

/* PREVIEW */
.cr-upload-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.cr-upload-preview > img {
  height: 39px;
  color: #000;
  flex-shrink: 0;
}

.cr-upload-preview-info {
  flex: 1;
}

.cr-upload-preview-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin-bottom: 3px;
  word-break: break-word;
}

.cr-upload-preview-info span {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
  font-weight: 300;
}

.cr-remove-btn {
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.5);
  font-size: 13px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cr-remove-btn:hover {
  background: rgba(180, 0, 0, 0.08);
  color: rgb(180, 0, 0);
}

/* SUBMIT */
.cr-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  align-self: flex-start;
}

.cr-submit:hover {
  background: #222;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .cr-apply-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cr-why-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .cr-form-row {
    grid-template-columns: 1fr;
  }
  .cr-form-wrap {
    padding: 24px;
  }
}

/* ================================
   TOAST
================================ */
.cr-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
  color: #fff;
  background: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 999999999999999999999999999999999999999999999;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.cr-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.cr-toast.error {
  background: rgb(180, 0, 0);
}

@media (max-width: 600px) {
  #cr-toast {
    right: 12px;
    left: 12px;
  }
  .cr-toast {
    max-width: none;
  }
}
