/* ======================================================
   VNMIQ BrandIQ™ Assessment
   styles.css
   ====================================================== */

:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --panel: #101010;
  --panel-light: #161616;

  --text: #f7f7f7;
  --muted: #a5a5a5;
  --subtle: #707070;

  --line: #262626;
  --line-light: #3a3a3a;

  --red: #ff3b30;
  --red-dark: #d92d25;
  --red-soft: rgba(255, 59, 48, 0.1);

  --white: #ffffff;

  --max-width: 980px;

  --radius-large: 26px;
  --radius-medium: 16px;
  --radius-small: 12px;

  --shadow:
    0 25px 80px rgba(0, 0, 0, 0.45);
}


/* ======================================================
   RESET
   ====================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  min-height: 100vh;

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  color: var(--text);

  background:
    radial-gradient(
      circle at 85% 5%,
      rgba(255, 59, 48, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 10% 70%,
      rgba(255, 255, 255, 0.025),
      transparent 35%
    ),
    var(--bg);

  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}


/* ======================================================
   LAYOUT
   ====================================================== */

.site-shell {
  width:
    min(
      calc(100% - 32px),
      var(--max-width)
    );

  margin: 0 auto;

  padding:
    28px
    0
    60px;
}

.page-section {
  width: 100%;
}

.hidden {
  display: none !important;
}

.active-section {
  display: block;
}


/* ======================================================
   HEADER
   ====================================================== */

.site-header {
  display: flex;

  align-items: center;

  justify-content:
    space-between;

  gap: 20px;

  margin-bottom: 40px;
}

.brand-logo {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  color: var(--white);

  text-decoration: none;

  font-size: 1.05rem;

  font-weight: 900;

  letter-spacing: 0.16em;
}

.brand-icon {
  width: 12px;

  height: 12px;

  border-radius: 2px;

  background: var(--red);

  transform:
    rotate(45deg);

  box-shadow:
    0 0 20px
    rgba(255, 59, 48, 0.55);
}

.header-label {
  padding:
    8px
    12px;

  border:
    1px solid
    var(--line);

  border-radius:
    999px;

  color: var(--muted);

  font-size:
    0.72rem;

  font-weight:
    700;

  letter-spacing:
    0.12em;
}


/* ======================================================
   MAIN CARD
   ====================================================== */

.assessment-card {
  padding:
    clamp(
      26px,
      5vw,
      56px
    );

  border:
    1px solid
    var(--line);

  border-radius:
    var(--radius-large);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.025),
      rgba(255,255,255,0.008)
    );

  box-shadow:
    var(--shadow);
}

.hero-card {
  overflow: hidden;
}


/* ======================================================
   TYPOGRAPHY
   ====================================================== */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width:
    820px;

  margin-bottom:
    22px;

  font-size:
    clamp(
      2.8rem,
      8vw,
      5.7rem
    );

  line-height:
    0.95;

  letter-spacing:
    -0.055em;

  font-weight:
    900;
}

h2 {
  margin-bottom:
    14px;

  font-size:
    clamp(
      1.9rem,
      4vw,
      3rem
    );

  line-height:
    1.05;

  letter-spacing:
    -0.04em;
}

h3 {
  line-height:
    1.25;
}

.eyebrow {
  margin-bottom:
    14px;

  color:
    var(--red);

  font-size:
    0.75rem;

  font-weight:
    850;

  letter-spacing:
    0.18em;

  text-transform:
    uppercase;
}

.hero-copy {
  max-width:
    720px;

  margin-bottom:
    10px;

  color:
    #ececec;

  font-size:
    clamp(
      1.1rem,
      2vw,
      1.35rem
    );

  font-weight:
    650;

  line-height:
    1.5;
}

.body-copy {
  max-width:
    760px;

  color:
    var(--muted);

  font-size:
    1rem;

  line-height:
    1.65;
}


/* ======================================================
   BUTTONS
   ====================================================== */

.btn {
  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    10px;

  min-height:
    50px;

  padding:
    14px
    20px;

  border:
    0;

  border-radius:
    var(--radius-small);

  font-weight:
    800;

  text-decoration:
    none;

  cursor:
    pointer;

  transition:
    all 0.18s ease;
}

.btn-primary {
  color:
    var(--white);

  background:
    var(--red);
}

.btn-primary:hover {
  background:
    var(--red-dark);

  transform:
    translateY(-1px);
}

.btn-secondary {
  color:
    var(--text);

  border:
    1px solid
    var(--line-light);

  background:
    transparent;
}

.btn-secondary:hover {
  border-color:
    #666;

  background:
    rgba(255,255,255,0.025);
}

.btn:disabled {
  opacity:
    0.35;

  cursor:
    not-allowed;

  transform:
    none;
}


/* ======================================================
   HERO FEATURES
   ====================================================== */

.feature-grid {
  display:
    grid;

  grid-template-columns:
    repeat(
      3,
      1fr
    );

  gap:
    14px;

  margin-top:
    38px;
}

.feature-card {
  display:
    flex;

  align-items:
    flex-start;

  gap:
    14px;

  padding:
    18px;

  border:
    1px solid
    var(--line);

  border-radius:
    var(--radius-medium);

  background:
    var(--panel);
}

.feature-number {
  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  flex:
    0 0 42px;

  width:
    42px;

  height:
    42px;

  border:
    1px solid
    rgba(255,59,48,0.4);

  border-radius:
    50%;

  color:
    var(--red);

  background:
    var(--red-soft);

  font-weight:
    900;
}

.feature-card h3 {
  margin:
    0
    0
    5px;

  font-size:
    0.95rem;
}

.feature-card p {
  margin:
    0;

  color:
    var(--muted);

  font-size:
    0.84rem;

  line-height:
    1.45;
}


/* ======================================================
   FORMS
   ====================================================== */

form {
  margin-top:
    28px;
}

.form-grid {
  display:
    grid;

  grid-template-columns:
    repeat(
      2,
      1fr
    );

  gap:
    18px;
}

.form-group {
  display:
    flex;

  flex-direction:
    column;
}

.full-width {
  grid-column:
    1 / -1;
}

label {
  margin-bottom:
    7px;

  color:
    #dedede;

  font-size:
    0.82rem;

  font-weight:
    750;
}

input,
select {
  width:
    100%;

  padding:
    14px
    15px;

  border:
    1px solid
    var(--line);

  border-radius:
    var(--radius-small);

  outline:
    none;

  color:
    var(--text);

  background:
    #090909;

  transition:
    border-color
    0.15s ease;
}

input::placeholder {
  color:
    #555;
}

input:focus,
select:focus {
  border-color:
    var(--red);
}

.form-error {
  margin-top:
    14px;

  color:
    #ff8e87;

  font-size:
    0.86rem;
}

#profileForm .btn {
  margin-top:
    24px;
}


/* ======================================================
   PROGRESS
   ====================================================== */

.progress-header {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    16px;

  margin-bottom:
    9px;

  color:
    var(--muted);

  font-size:
    0.82rem;

  font-weight:
    650;
}

.progress-track {
  width:
    100%;

  height:
    8px;

  overflow:
    hidden;

  border-radius:
    999px;

  background:
    #222;

  margin-bottom:
    38px;
}

.progress-bar {
  width:
    0;

  height:
    100%;

  border-radius:
    inherit;

  background:
    var(--red);

  transition:
    width
    0.25s ease;
}


/* ======================================================
   QUESTIONS
   ====================================================== */

.question-area {
  min-height:
    420px;
}

.question-title {
  max-width:
    800px;

  margin-bottom:
    26px;

  font-size:
    clamp(
      1.6rem,
      4vw,
      2.5rem
    );

  line-height:
    1.14;

  letter-spacing:
    -0.035em;
}

.answer-options {
  display:
    grid;

  gap:
    11px;
}

.answer-option {
  display:
    flex;

  align-items:
    flex-start;

  gap:
    14px;

  width:
    100%;

  padding:
    16px
    17px;

  border:
    1px solid
    var(--line);

  border-radius:
    14px;

  color:
    var(--text);

  text-align:
    left;

  background:
    #0c0c0c;

  cursor:
    pointer;

  transition:
    all
    0.16s ease;
}

.answer-option:hover {
  border-color:
    #515151;

  background:
    #121212;
}

.answer-option.selected {
  border-color:
    var(--red);

  background:
    var(--red-soft);
}

.answer-number {
  display:
    grid;

  place-items:
    center;

  flex:
    0 0 32px;

  width:
    32px;

  height:
    32px;

  border:
    1px solid
    #454545;

  border-radius:
    50%;

  color:
    #ddd;

  font-size:
    0.8rem;

  font-weight:
    900;
}

.answer-option.selected
.answer-number {
  color:
    white;

  border-color:
    var(--red);

  background:
    var(--red);
}

.answer-copy {
  padding-top:
    4px;

  color:
    #dedede;

  line-height:
    1.45;
}

.assessment-navigation {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    14px;

  margin-top:
    32px;

  padding-top:
    24px;

  border-top:
    1px solid
    var(--line);
}


/* ======================================================
   RESULTS HEADER
   ====================================================== */

.results-hero {
  display:
    grid;

  grid-template-columns:
    180px
    1fr;

  align-items:
    center;

  gap:
    30px;

  padding-bottom:
    32px;

  border-bottom:
    1px solid
    var(--line);
}


/* ======================================================
   SCORE RING
   ====================================================== */

.score-ring {
  --score: 0;

  position:
    relative;

  display:
    grid;

  place-items:
    center;

  width:
    165px;

  height:
    165px;

  border-radius:
    50%;

  background:
    conic-gradient(
      var(--red)
      calc(var(--score) * 1%),
      #242424
      0
    );
}

.score-ring::before {
  content:
    "";

  position:
    absolute;

  inset:
    12px;

  border-radius:
    50%;

  background:
    var(--bg-soft);
}

.score-inner {
  position:
    relative;

  z-index:
    2;

  display:
    flex;

  align-items:
    baseline;

  gap:
    4px;
}

.overall-score {
  font-size:
    3.25rem;

  font-weight:
    900;

  letter-spacing:
    -0.06em;
}

.score-total {
  color:
    var(--muted);

  font-size:
    0.85rem;
}


/* ======================================================
   RESULTS SIGNALS
   ====================================================== */

.results-grid {
  display:
    grid;

  grid-template-columns:
    repeat(
      2,
      1fr
    );

  gap:
    14px;

  margin-top:
    26px;
}

.result-panel {
  padding:
    20px;

  border:
    1px solid
    var(--line);

  border-radius:
    var(--radius-medium);

  background:
    var(--panel);
}

.result-label {
  margin-bottom:
    8px;

  color:
    var(--muted);

  font-size:
    0.7rem;

  font-weight:
    850;

  letter-spacing:
    0.13em;

  text-transform:
    uppercase;
}

.result-panel h3 {
  margin:
    0;

  font-size:
    1.1rem;
}


/* ======================================================
   PILLAR RESULTS
   ====================================================== */

.pillar-section {
  margin-top:
    42px;
}

.section-heading {
  margin-bottom:
    24px;
}

.pillar-results {
  display:
    grid;

  gap:
    18px;
}

.pillar-result {
  padding:
    17px
    18px;

  border:
    1px solid
    var(--line);

  border-radius:
    14px;

  background:
    #0c0c0c;
}

.pillar-heading {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    18px;

  margin-bottom:
    10px;
}

.pillar-name {
  font-size:
    0.9rem;

  font-weight:
    750;
}

.pillar-score {
  color:
    var(--text);

  font-size:
    0.92rem;

  font-weight:
    900;
}

.pillar-track {
  width:
    100%;

  height:
    9px;

  overflow:
    hidden;

  border-radius:
    999px;

  background:
    #272727;
}

.pillar-fill {
  height:
    100%;

  border-radius:
    inherit;

  background:
    linear-gradient(
      90deg,
      var(--red),
      #ff8179
    );
}


/* ======================================================
   NEXT STEP
   ====================================================== */

.next-step-card {
  margin-top:
    38px;

  padding:
    26px;

  border:
    1px solid
    rgba(255,59,48,0.42);

  border-radius:
    18px;

  background:
    linear-gradient(
      135deg,
      rgba(255,59,48,0.1),
      rgba(255,59,48,0.025)
    );
}

.next-step-card h2 {
  max-width:
    720px;
}

.button-row {
  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    12px;

  margin-top:
    24px;
}

.submission-status {
  margin:
    18px
    0
    0;

  color:
    var(--subtle);

  font-size:
    0.78rem;
}


/* ======================================================
   FOOTER
   ====================================================== */

.site-footer {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    20px;

  margin-top:
    28px;

  padding:
    18px
    4px;

  color:
    #666;

  font-size:
    0.74rem;

  letter-spacing:
    0.05em;
}


/* ======================================================
   MOBILE
   ====================================================== */

@media
(max-width: 760px) {

  .site-shell {
    width:
      min(
        calc(100% - 20px),
        var(--max-width)
      );

    padding-top:
      16px;
  }


  .site-header {
    margin-bottom:
      22px;
  }


  .header-label {
    font-size:
      0.6rem;

    padding:
      7px
      9px;
  }


  .assessment-card {
    padding:
      24px
      18px;

    border-radius:
      20px;
  }


  h1 {
    font-size:
      clamp(
        2.7rem,
        14vw,
        4rem
      );
  }


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


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


  .full-width {
    grid-column:
      auto;
  }


  .question-area {
    min-height:
      auto;
  }


  .assessment-navigation {
    flex-direction:
      column-reverse;
  }


  .assessment-navigation
  .btn {
    width:
      100%;
  }


  .results-hero {
    grid-template-columns:
      1fr;

    gap:
      20px;
  }


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


  .button-row {
    flex-direction:
      column;
  }


  .button-row
  .btn {
    width:
      100%;
  }


  .site-footer {
    flex-direction:
      column;

    align-items:
      flex-start;
  }

}


/* ======================================================
   VERY SMALL SCREENS
   ====================================================== */

@media
(max-width: 420px) {

  .brand-logo {
    font-size:
      0.9rem;
  }


  .header-label {
    display:
      none;
  }


  .answer-option {
    padding:
      14px;
  }


  .score-ring {
    width:
      145px;

    height:
      145px;
  }


  .overall-score {
    font-size:
      2.8rem;
  }

}
