/* ========================================
   🎛️  FULL CONTROL PANEL
   ======================================== */
:root {
  /* COLORS */
  --bg-color: #040F10;
  --text-color: #C8CBCC;

  /* LOGO */
  --logo-size: 340px;
  --logo-size-tablet: 200px;
  --logo-size-mobile: 110px;
  --logo-margin-bottom: 15px;
  --logo-margin-bottom-tablet: 25px;
  --logo-margin-bottom-mobile: 18px;
  --logo-border-radius: 0px;

  /* ===== CODE OVERLAY (ON TOP OF LOGO) ===== */
  --code-font-size: 26px;
  --code-font-size-tablet: 14px;
  --code-font-size-mobile: 11px;
  --code-opacity: 0.6;
  --code-density: 150;
  --code-density-tablet: 100;
  --code-density-mobile: 60;
  --code-speed: 0.9;
  --code-color: #040F10; 
  --code-offset-y: -39px;   /* ← Negative = up, Positive = down */
  --code-offset-x: 0px;    /* ← Negative = left, Positive = right */

  
  /* DESCRIPTION */
  --desc-font: 'Montserrat', sans-serif;
  --desc-font-weight: 300;
  --desc-size: clamp(0.85rem, 1.3vw, 1.3rem);
  --desc-size-tablet: clamp(0.7rem, 1.1vw, 0.9rem);
  --desc-size-mobile: clamp(0.55rem, 0.8vw, 0.65rem);
  --desc-line-height: 1.1;
  --desc-line-height-tablet: 1.4;
  --desc-line-height-mobile: 1.3;
  --desc-max-width: 400px;
  --desc-max-width-tablet: 85%;
  --desc-max-width-mobile: 90%;
  --desc-margin-bottom: 15px;
  --desc-margin-bottom-tablet: 25px;
  --desc-margin-bottom-mobile: 18px;
  --desc-text-align: center;
  --desc-text-transform: none;

  /* VECTOR LINES */
  --line-color: var(--text-color);
  --line-height: 3px;
  --line-width: 340px;
  --line-width-tablet: 220px;
  --line-width-mobile: 140px;
  --line-side-width: 15px;
  --line-side-width-tablet: 18px;
  --line-side-width-mobile: 10px;
  --line-opacity: 0.6;

  /* TITLE */
  --title-font: 'Montserrat', sans-serif;
  --title-font-weight: 700;
  --title-size: clamp(0.9rem, 1.4vw, 1.5rem);
  --title-size-tablet: clamp(0.7rem, 1.1vw, 0.85rem);
  --title-size-mobile: clamp(0.55rem, 0.8vw, 0.65rem);
  --title-letter-spacing: 0.03em;
  --title-text-transform: uppercase;
  --title-padding-x: 15px;
  --title-padding-x-tablet: 12px;
  --title-padding-x-mobile: 8px;

  /* SUBTITLE */
  --subtitle-font: 'Bebas Neue', sans-serif;
  --subtitle-size: clamp(2.8rem, 1.1vw, 1.1rem);         /* ✅ FIXED */
  --subtitle-size-tablet: clamp(0.6rem, 0.8vw, 0.7rem);
  --subtitle-size-mobile: clamp(0.5rem, 0.7vw, 0.6rem);
  --subtitle-letter-spacing: 0.05em;
  --subtitle-text-transform: uppercase;
  --subtitle-margin-top: 5px;
  --subtitle-margin-top-tablet: 6px;
  --subtitle-margin-top-mobile: 4px;

  /* SUBTITLE ANIMATION */
  --status-duration: 2s;
  --status-min-opacity: 0.7;
  --status-max-opacity: 1;

  /* BUTTON */
  --btn-padding: 14px 48px;
  --btn-padding-tablet: 12px 32px;
  --btn-padding-mobile: 8px 18px;
  --btn-font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  --btn-font-size-tablet: clamp(0.6rem, 0.7vw, 0.7rem);
  --btn-font-size-mobile: clamp(0.5rem, 0.6vw, 0.6rem);
  --btn-margin-top: 40px;
  --btn-margin-top-tablet: 30px;
  --btn-margin-top-mobile: 20px;
  --btn-border-radius: 60px;
  --btn-opacity: 0.85;
  --btn-gradient-1: #831f83;
  --btn-gradient-2: #71f7ff;
  --btn-gradient-3: #ffffff;
  --btn-inset-top: 3px;
  --btn-inset-bottom: 3px;
  --btn-inset-left: 13px;
  --btn-inset-right: 13px;
  --btn-inset-top-tablet: 2.5px;
  --btn-inset-bottom-tablet: 2.5px;
  --btn-inset-left-tablet: 8px;
  --btn-inset-right-tablet: 8px;
  --btn-inset-top-mobile: 2px;
  --btn-inset-bottom-mobile: 2px;
  --btn-inset-left-mobile: 5px;
  --btn-inset-right-mobile: 5px;

  /* SPACING */
  --gap-between-elements: 8px;
  --gap-between-elements-tablet: 6px;
  --gap-between-elements-mobile: 4px;

  /* CONTENT POSITION */
  --content-offset-y: 0px;
  --content-offset-x: 0px;

  /* PAGE PADDING */
  --page-padding: 20px;
  --page-padding-mobile: 12px;
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
  background: var(--bg-color);
}

body {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--page-padding);
}

/* ========================================
   CONTENT
   ======================================== */
.content {
  text-align: center;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  transform: translate(var(--content-offset-x), var(--content-offset-y));
}

/* ========================================
   LOGO WRAPPER
   ======================================== */
.logo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: var(--logo-margin-bottom);
}

.logo-img {
  width: var(--logo-size);
  max-width: 90vw;
  height: auto;
  display: block;
}

/* ========================================
   CODE OVERLAY — MASKED TO LOGO SHAPE
   ======================================== */
.code-overlay {
  position: absolute;
  top: var(--code-offset-y);
  left: var(--code-offset-x);
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;

  -webkit-mask-image: url('logoH1main.svg');
  mask-image: url('logoH1main.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

/* ========================================
   DESCRIPTION
   ======================================== */
.description {
  font-family: var(--desc-font);
  font-weight: var(--desc-font-weight);
  font-size: var(--desc-size);
  line-height: var(--desc-line-height);
  color: var(--text-color);
  max-width: var(--desc-max-width);
  margin-bottom: var(--desc-margin-bottom);
  text-align: var(--desc-text-align);
  text-transform: var(--desc-text-transform);
  padding: 0 20px;
}

/* ========================================
   VECTOR LINES
   ======================================== */
.line-top,
.line-bottom {
  width: var(--line-width);
  max-width: 80vw;
  height: var(--line-height);
  background: var(--line-color);
  margin: 0 auto;
  opacity: var(--line-opacity);
}

.line-top {
  margin-bottom: var(--gap-between-elements);
}

.line-bottom {
  margin-top: var(--gap-between-elements);
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: var(--gap-between-elements) 0;
}

.line-side {
  height: var(--line-height);
  background: var(--line-color);
  width: var(--line-side-width);
  opacity: var(--line-opacity);
  flex-shrink: 0;
}

/* ========================================
   TITLE
   ======================================== */
.title-text {
  font-family: var(--title-font);
  font-weight: var(--title-font-weight);
  font-size: var(--title-size);
  letter-spacing: var(--title-letter-spacing);
  color: var(--text-color);
  padding: 0 var(--title-padding-x);
  white-space: nowrap;
  text-transform: var(--title-text-transform);
}

/* ========================================
   SUBTITLE
   ======================================== */
.subtitle-text {
  font-family: var(--subtitle-font);
  font-size: var(--subtitle-size);
  letter-spacing: var(--subtitle-letter-spacing);
  margin-top: var(--subtitle-margin-top);
  color: var(--text-color);
  text-transform: var(--subtitle-text-transform);
  animation: statusPulse var(--status-duration) ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: var(--status-min-opacity); }
  50% { opacity: var(--status-max-opacity); }
}

/* ========================================
   BUTTON
   ======================================== */
.contact-btn-wrapper {
  position: relative;
  display: inline-block;
  padding: var(--btn-padding);
  border-radius: var(--btn-border-radius);
  margin-top: var(--btn-margin-top);
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: none;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}

.btn-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--btn-border-radius);
  background: linear-gradient(
    270deg,
    var(--btn-gradient-1),
    var(--btn-gradient-2),
    var(--btn-gradient-3),
    var(--btn-gradient-1),
    var(--btn-gradient-2),
    var(--btn-gradient-3)
  );
  background-size: 400% 100%;
  animation: gradientWave 4s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}

@keyframes gradientWave {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.btn-solid-bg {
  position: absolute;
  top: var(--btn-inset-top);
  bottom: var(--btn-inset-bottom);
  left: var(--btn-inset-left);
  right: var(--btn-inset-right);
  border-radius: calc(var(--btn-border-radius) - 2px);
  background: var(--bg-color);
  z-index: 1;
  pointer-events: none;
}

.btn-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  color: var(--text-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: var(--btn-font-size);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: var(--btn-opacity);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.contact-btn-wrapper:hover .btn-text {
  opacity: 1;
}

.contact-btn-wrapper:hover .btn-gradient-bg {
  animation-duration: 1.5s;
}

/* ========================================
   RESPONSIVE — TABLET
   ======================================== */
@media (max-width: 1024px) {
  :root {
    --logo-size: var(--logo-size-tablet);
    --logo-margin-bottom: var(--logo-margin-bottom-tablet);
    --code-font-size: var(--code-font-size-tablet);
    --code-density: var(--code-density-tablet);
    --desc-size: var(--desc-size-tablet);
    --desc-line-height: var(--desc-line-height-tablet);
    --desc-max-width: var(--desc-max-width-tablet);
    --desc-margin-bottom: var(--desc-margin-bottom-tablet);
    --line-width: var(--line-width-tablet);
    --line-side-width: var(--line-side-width-tablet);
    --title-size: var(--title-size-tablet);
    --title-padding-x: var(--title-padding-x-tablet);
    --subtitle-size: var(--subtitle-size-tablet);
    --subtitle-margin-top: var(--subtitle-margin-top-tablet);
    --btn-padding: var(--btn-padding-tablet);
    --btn-font-size: var(--btn-font-size-tablet);
    --btn-margin-top: var(--btn-margin-top-tablet);
    --gap-between-elements: var(--gap-between-elements-tablet);
    --btn-inset-top: var(--btn-inset-top-tablet);
    --btn-inset-bottom: var(--btn-inset-bottom-tablet);
    --btn-inset-left: var(--btn-inset-left-tablet);
    --btn-inset-right: var(--btn-inset-right-tablet);
  }
}

/* ========================================
   RESPONSIVE — MOBILE
   ======================================== */
@media (max-width: 480px) {
  :root {
    --logo-size: var(--logo-size-mobile);
    --logo-margin-bottom: var(--logo-margin-bottom-mobile);
    --code-font-size: var(--code-font-size-mobile);
    --code-density: var(--code-density-mobile);
    --desc-size: var(--desc-size-mobile);
    --desc-line-height: var(--desc-line-height-mobile);
    --desc-max-width: var(--desc-max-width-mobile);
    --desc-margin-bottom: var(--desc-margin-bottom-mobile);
    --line-width: var(--line-width-mobile);
    --line-side-width: var(--line-side-width-mobile);
    --title-size: var(--title-size-mobile);
    --title-padding-x: var(--title-padding-x-mobile);
    --subtitle-size: var(--subtitle-size-mobile);
    --subtitle-margin-top: var(--subtitle-margin-top-mobile);
    --btn-padding: var(--btn-padding-mobile);
    --btn-font-size: var(--btn-font-size-mobile);
    --btn-margin-top: var(--btn-margin-top-mobile);
    --gap-between-elements: var(--gap-between-elements-mobile);
    --page-padding: var(--page-padding-mobile);
    --btn-inset-top: var(--btn-inset-top-mobile);
    --btn-inset-bottom: var(--btn-inset-bottom-mobile);
    --btn-inset-left: var(--btn-inset-left-mobile);
    --btn-inset-right: var(--btn-inset-right-mobile);
  }
  .description {
    padding: 0 15px;
  }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .subtitle-text {
    animation: none !important;
    opacity: var(--status-min-opacity) !important;
  }
}