
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      /* Acuron AI Dark Theme (default) */
      --cyan: #06b6d4;
      --cyan-dark: #0891b2;
      --cyan-light: rgba(6, 182, 212, 0.1);
      --cyan-text: #67e8f9;
      --bg: #0f172a;
      --surface: #1e293b;
      --surface-hover: #334155;
      --border: #334155;
      --border-focus: #06b6d4;
      --text: #f8fafc;
      --text-muted: #94a3b8;
      --text-hint: #64748b;
      --red: #ef4444;
      --amber: #f59e0b;
      --green: #10b981;
      --radius: 10px;
      --radius-sm: 6px;
      /* Nav specific */
      --nav-bg: #0a0a0a;
      --nav-text: rgba(255, 255, 255, 0.7);
      --nav-text-active: #ffffff;
      --nav-border: rgba(255, 255, 255, 0.07);
      --nav-icon-border: rgba(255, 255, 255, 0.15);
      --nav-icon-bg: rgba(255, 255, 255, 0.05);
    }

    [data-theme="light"] {
      --bg: #f1f5f9;
      --surface: #ffffff;
      --surface-hover: #f8fafc;
      --border: #e2e8f0;
      --border-focus: #0891b2;
      --text: #0f172a;
      --text-muted: #475569;
      --text-hint: #94a3b8;
      --cyan-light: rgba(6, 182, 212, 0.08);
      --cyan-text: #0891b2;
      /* Nav specific light */
      --nav-bg: #ffffff;
      --nav-text: rgba(15, 23, 42, 0.65);
      --nav-text-active: #0f172a;
      --nav-border: rgba(0, 0, 0, 0.08);
      --nav-icon-border: rgba(0, 0, 0, 0.12);
      --nav-icon-bg: rgba(0, 0, 0, 0.04);
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      line-height: 1.5;
    }

    /* NAV */
    .nav {
      background: var(--nav-bg);
      padding: 0 2.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
      position: sticky;
      top: 0;
      z-index: 100;
      border-bottom: 1px solid var(--nav-border);
      transition: background 0.3s, border-color 0.3s;
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }

    .nav-brand img {
      height: 34px;
      width: 34px;
      border-radius: 50%;
      object-fit: cover;
    }

    .nav-name {
      font-size: 16px;
      color: var(--nav-text-active);
      font-weight: 600;
      letter-spacing: -0.3px;
      transition: color 0.3s;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
    }

    .nav-links a {
      font-size: 14px;
      color: var(--nav-text);
      text-decoration: none;
      font-weight: 400;
      transition: color 0.2s;
      white-space: nowrap;
    }

    .nav-links a:hover {
      color: var(--nav-text-active);
    }

    .nav-links a.active {
      color: var(--nav-text-active);
      font-weight: 500;
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .nav-contact-btn {
      font-size: 13px;
      color: var(--cyan);
      font-weight: 500;
      text-decoration: none;
      border: 1px solid var(--cyan);
      padding: 7px 18px;
      border-radius: 6px;
      transition: all 0.2s;
      white-space: nowrap;
    }

    .nav-contact-btn:hover {
      background: var(--cyan);
      color: #000;
    }

    .nav-theme-icon {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: 1px solid var(--nav-icon-border);
      background: var(--nav-icon-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s;
      flex-shrink: 0;
    }

    .nav-theme-icon:hover {
      background: var(--nav-icon-bg);
      border-color: var(--cyan);
    }

    .nav-theme-icon svg {
      width: 16px;
      height: 16px;
      color: var(--nav-text);
      transition: color 0.3s;
    }


    /* LAYOUT */
    .page {
      max-width: 900px;
      margin: 0 auto;
      padding: 2rem 1.5rem 4rem;
    }

    /* STEP TABS */
    .steps {
      display: flex;
      gap: 0;
      margin-bottom: 2rem;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      background: var(--surface);
    }

    .step-tab {
      flex: 1;
      padding: 12px 8px;
      text-align: center;
      font-size: 13px;
      color: var(--text-muted);
      border-right: 1px solid var(--border);
      cursor: pointer;
      transition: all 0.2s;
      user-select: none;
    }

    .step-tab:last-child {
      border-right: none;
    }

    .step-tab.active {
      background: var(--cyan-light);
      color: var(--cyan-text);
      font-weight: 500;
      border-bottom: 2px solid var(--cyan);
    }

    .step-tab.done {
      background: var(--surface-hover);
      color: var(--text);
    }

    .step-tab span {
      display: block;
      font-size: 11px;
      opacity: 0.7;
      margin-top: 2px;
    }

    /* SECTION PANELS */
    .panel {
      display: none;
    }

    .panel.active {
      display: block;
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(5px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* FORM HEADER */
    .form-hero {
      background: linear-gradient(145deg, var(--surface), rgba(30, 41, 59, 0.4));
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 2rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .hero-top {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }

    .hero-logo {
      width: 40px;
      height: 40px;
      background: #000;
      border: 1px solid var(--border);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 16px;
      letter-spacing: -1px;
    }

    .hero-co {
      font-size: 14px;
      color: var(--text-muted);
      font-weight: 500;
    }

    .hero-title {
      font-size: 24px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 8px;
      letter-spacing: -0.5px;
    }

    .hero-sub {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .hero-tags {
      display: flex;
      gap: 8px;
      margin-top: 16px;
      flex-wrap: wrap;
    }

    .htag {
      font-size: 12px;
      padding: 4px 12px;
      border-radius: 20px;
      font-weight: 500;
      background: var(--surface-hover);
      border: 1px solid var(--border);
      color: var(--text);
    }

    .htag-cyan {
      color: var(--cyan-text);
      border-color: var(--cyan-dark);
      background: var(--cyan-light);
    }

    /* FORM CARDS */
    .fcard {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.75rem;
      margin-bottom: 1.25rem;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .fcard-title {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--cyan-text);
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .fcard-title svg {
      width: 16px;
      height: 16px;
    }

    /* FIELDS */
    .field {
      margin-bottom: 1.25rem;
    }

    .field:last-child {
      margin-bottom: 0;
    }

    .grid2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .grid3 {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 16px;
    }

    label {
      display: block;
      font-size: 14px;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 8px;
    }

    .req {
      color: var(--red);
      margin-left: 2px;
    }

    input[type=text],
    input[type=email],
    input[type=tel],
    input[type=number],
    input[type=url],
    input[type=date],
    select,
    textarea {
      width: 100%;
      padding: 10px 14px;
      font-size: 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: #0f172a;
      color: var(--text);
      font-family: inherit;
      transition: all 0.2s;
    }

    input:focus,
    select:focus,
    textarea:focus {
      outline: none;
      border-color: var(--border-focus);
      box-shadow: 0 0 0 3px var(--cyan-light);
    }

    textarea {
      resize: vertical;
      min-height: 100px;
      line-height: 1.6;
    }

    .hint {
      font-size: 12px;
      color: var(--text-hint);
      margin-top: 6px;
    }

    /* CHECKBOXES & RADIO */
    .check-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .check-grid-1 {
      grid-template-columns: 1fr;
    }

    .check-grid-3 {
      grid-template-columns: 1fr 1fr 1fr;
    }

    .check-item,
    .radio-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 14px;
      color: var(--text);
      cursor: pointer;
      padding: 10px 12px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: var(--surface);
      transition: all 0.2s;
      line-height: 1.4;
    }

    .check-item:hover,
    .radio-item:hover {
      border-color: var(--text-muted);
      background: var(--surface-hover);
    }

    .check-item input:checked+span,
    .radio-item input:checked+span {
      color: var(--cyan-text);
    }

    .check-item:has(input:checked),
    .radio-item:has(input:checked) {
      border-color: var(--cyan);
      background: var(--cyan-light);
    }

    /* Disabled state for checkboxes */
    .check-item.disabled {
      opacity: 0.5;
      cursor: not-allowed;
      border-color: var(--border);
      background: var(--surface);
    }

    .check-item input,
    .radio-item input {
      width: 16px;
      height: 16px;
      accent-color: var(--cyan);
      flex-shrink: 0;
      margin-top: 2px;
      cursor: pointer;
    }

    /* BUTTONS */
    .btn-row {
      display: flex;
      gap: 12px;
      margin-top: 2rem;
    }

    .btn-primary {
      flex: 1;
      padding: 14px;
      background: var(--cyan);
      color: #000;
      border: none;
      border-radius: var(--radius-sm);
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      font-family: inherit;
      transition: all 0.2s;
      box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
    }

    .btn-primary:hover {
      background: var(--cyan-text);
      transform: translateY(-1px);
      box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
    }

    .btn-back {
      padding: 14px 24px;
      background: transparent;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 15px;
      color: var(--text);
      cursor: pointer;
      font-family: inherit;
      transition: all 0.2s;
    }

    .btn-back:hover {
      background: var(--surface-hover);
      border-color: var(--text-muted);
    }

    /* ASSESSMENT SECTION */
    .assess-hero {
      background: linear-gradient(145deg, #1e293b, #0f172a);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 2rem;
      margin-bottom: 1.5rem;
    }

    .assess-title {
      font-size: 22px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 8px;
      letter-spacing: -0.5px;
    }

    .assess-sub {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .rules-row {
      display: flex;
      gap: 10px;
      margin-top: 16px;
      flex-wrap: wrap;
    }

    .rule-badge {
      font-size: 12px;
      padding: 6px 12px;
      border-radius: 20px;
      font-weight: 500;
    }

    .rb-red {
      background: rgba(239, 68, 68, 0.15);
      color: #fca5a5;
      border: 1px solid rgba(239, 68, 68, 0.3);
    }

    .rb-amber {
      background: rgba(245, 158, 11, 0.15);
      color: #fcd34d;
      border: 1px solid rgba(245, 158, 11, 0.3);
    }

    .rb-teal {
      background: rgba(16, 185, 129, 0.15);
      color: #6ee7b7;
      border: 1px solid rgba(16, 185, 129, 0.3);
    }

    /* Highlight Section */
    .highlight-box {
      background: rgba(245, 158, 11, 0.05);
      border-left: 4px solid var(--amber);
      padding: 16px;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      margin-bottom: 20px;
    }

    .highlight-box p {
      font-size: 14px;
      color: #fcd34d;
      font-weight: 500;
      margin-bottom: 12px;
    }

    /* PROGRESS */
    .prog-wrap {
      background: var(--surface);
      border-radius: 99px;
      height: 6px;
      margin-bottom: 1.5rem;
      border: 1px solid var(--border);
    }

    .prog-bar {
      height: 6px;
      border-radius: 99px;
      background: var(--cyan);
      transition: width 0.4s ease;
      box-shadow: 0 0 10px var(--cyan);
    }

    /* DONE */
    .done-card {
      background: var(--surface);
      border: 1px solid var(--cyan-dark);
      border-radius: var(--radius);
      padding: 3rem 2rem;
      text-align: center;
      display: none;
      box-shadow: 0 0 30px rgba(6, 182, 212, 0.1);
    }

    .done-icon {
      width: 64px;
      height: 64px;
      background: var(--cyan-light);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.5rem;
      font-size: 28px;
      color: var(--cyan-text);
      border: 1px solid var(--cyan-dark);
    }

    .done-title {
      font-size: 24px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 8px;
    }

    .done-sub {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }

    /* QUESTION CARD */
    .q-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.75rem;
    }

    .q-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.25rem;
    }

    .q-counter {
      font-size: 13px;
      color: var(--text-muted);
      font-weight: 500;
    }

    .cat-badge {
      font-size: 11px;
      padding: 4px 11px;
      border-radius: 20px;
      font-weight: 500;
    }

    .cat-purple {
      background: rgba(99, 102, 241, 0.15);
      color: #a5b4fc;
    }

    .cat-teal {
      background: rgba(16, 185, 129, 0.15);
      color: #6ee7b7;
    }

    .cat-coral {
      background: rgba(239, 68, 68, 0.1);
      color: #fca5a5;
    }

    .timer-row {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 1.25rem;
      background: var(--surface-hover);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 14px;
    }

    .timer-svg {
      width: 54px;
      height: 54px;
      flex-shrink: 0;
    }

    .timer-info strong {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
    }

    .timer-info p {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 3px;
      line-height: 1.5;
    }

    .q-text {
      font-size: 15px;
      font-weight: 500;
      color: var(--text);
      line-height: 1.7;
      margin-bottom: 1.25rem;
    }

    .paste-warn {
      background: rgba(245, 158, 11, 0.08);
      border: 1px solid rgba(245, 158, 11, 0.3);
      border-radius: var(--radius-sm);
      padding: 9px 13px;
      font-size: 12px;
      color: #fcd34d;
      margin-bottom: 12px;
      display: none;
      align-items: center;
      gap: 7px;
      font-weight: 500;
    }

    .answer-box {
      width: 100%;
      padding: 13px;
      font-size: 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      background: var(--surface-hover);
      color: var(--text);
      font-family: inherit;
      resize: none;
      min-height: 150px;
      line-height: 1.65;
      transition: border-color 0.15s, box-shadow 0.15s;
    }

    .answer-box:focus {
      outline: none;
      border-color: var(--cyan);
      box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
      background: var(--surface);
    }

    .answer-box:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      background: var(--surface);
    }

    .char-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 8px;
      margin-bottom: 1.25rem;
    }

    .char-count {
      font-size: 12px;
      color: var(--text-muted);
    }

    .time-up-msg {
      font-size: 12px;
      color: #fca5a5;
      font-weight: 500;
      display: none;
      align-items: center;
      gap: 5px;
    }

    .q-btn-row {
      display: flex;
      gap: 10px;
    }

    .btn-skip {
      padding: 12px 20px;
      background: transparent;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 14px;
      color: var(--text-muted);
      cursor: pointer;
      font-family: inherit;
      transition: all 0.2s;
    }

    .btn-skip:hover {
      background: var(--surface-hover);
    }

    .btn-next {
      flex: 1;
      padding: 12px;
      background: var(--cyan);
      color: #000;
      border: none;
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      font-family: inherit;
      transition: all 0.2s;
    }

    .btn-next:hover {
      opacity: 0.9;
    }

    .btn-next:disabled {
      background: var(--surface-hover);
      color: var(--text-muted);
      cursor: not-allowed;
    }

    .stats-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-bottom: 1.5rem;
    }

    .stat {
      background: var(--surface-hover);
      border-radius: var(--radius-sm);
      padding: 14px;
      border: 1px solid var(--border);
    }

    .stat-val {
      font-size: 26px;
      font-weight: 700;
      color: var(--cyan);
    }

    .stat-lbl {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 3px;
    }

    @media (max-width: 600px) {

      .grid2,
      .grid3 {
        grid-template-columns: 1fr;
      }

      .check-grid {
        grid-template-columns: 1fr;
      }

      .steps {
        flex-wrap: wrap;
      }

      .step-tab {
        min-width: 50%;
        border-bottom: 1px solid var(--border);
      }

      .stats-row {
        grid-template-columns: 1fr 1fr;
      }
    }

    /* DATE PICKER WRAPPER */
    .date-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      cursor: pointer;
    }

    .date-wrapper input[type="date"] {
      flex: 1;
      padding-left: 2.4rem;
      cursor: pointer;
    }

    .date-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      opacity: 0;
      cursor: pointer;
    }

    .date-icon {
      position: absolute;
      left: 11px;
      width: 16px;
      height: 16px;
      color: var(--text-muted);
      pointer-events: none;
      z-index: 1;
    }